/**
 * Status styles: Loading states and spinner animation
 */

/* Status container */
.status-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-2xl);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

/* Spinner */
.spinner {
    color: var(--color-primary);
}

.spinner svg {
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Status message */
.status-message {
    color: var(--color-text-muted);
    font-size: var(--font-size-lg);
    margin: 0;
}

/* Secondary thinking message */
.status-thinking {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
    opacity: 0.8;
    font-style: italic;
    min-height: 1.5em;
    transition: opacity 0.3s ease-in-out;
}

.status-thinking.fade-out {
    opacity: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .spinner svg {
        animation: none;
    }

    /* Use opacity pulse instead */
    .spinner {
        animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
        0%, 100% {
            opacity: 1;
        }
        50% {
            opacity: 0.5;
        }
    }
}
