/* Thinking Block Component Styles */
.thinking-block {
    background: transparent;
    border: none;
    border-left: 2px solid rgba(253, 121, 168, 0.3);
    border-radius: 0;
    margin-bottom: 8px;
    overflow: hidden;
    animation: thinkAppear 0.35s var(--ease-out);
    padding-left: 12px;
    text-indent: 0;
}

.thinking-block__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    cursor: pointer;
    user-select: none;
    font-size: 12.5px;
    color: var(--text-dim);
    transition: background 0.2s var(--ease-out);
}

.thinking-block__header:hover {
    background: transparent;
}

.thinking-block__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 12px;
}

.thinking-block--streaming .thinking-block__icon {
    animation: thinkPulse 1.6s ease-in-out infinite;
}

.thinking-block__label {
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 0.3px;
}

.thinking-block__label--done {
    color: var(--success);
}

.thinking-block__duration {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: auto;
}

.thinking-block__toggle {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.3s var(--ease-out);
}

.thinking-block__toggle--open {
    transform: rotate(180deg);
}

.thinking-block__content {
    padding: 4px 0 8px 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text-dim);
    word-wrap: break-word;
    display: none;
    border-top: none;
    max-height: 320px;
    overflow-y: auto;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC",
        sans-serif;
}

.thinking-block__content--show {
    display: block;
}

.thinking-block--streaming .thinking-block__content--show {
    display: block;
}

/* Responsive */
@media (max-width: 600px) {
    .thinking-block__content {
        max-height: 200px;
        font-size: 12px;
    }

    .thinking-block__header {
        padding: 7px 12px;
        font-size: 11.5px;
    }
}
