/* Azure Deep Research Styles */

/* Loading spinner animation */
.loading-spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 3px solid #0078d4; /* Azure blue */
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Checkmark for completed research */
.checkmark {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #10b981; /* Green color */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.checkmark:after {
    content: '✓';
    font-size: 14px;
}

/* Progress step styling */
.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 2px solid #e5e7eb;
    position: relative;
    z-index: 1;
}

.step-active .step-icon {
    border-color: #0078d4;
    background-color: #0078d4;
    color: white;
}

.step-complete .step-icon {
    border-color: #10b981;
    background-color: #10b981;
    color: white;
}

/* Markdown content styling */
.prose {
    line-height: 1.7;
}

.prose h1, .prose h2, .prose h3 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    color: #0078d4;
}

.prose h1 {
    font-size: 1.875rem;
    font-weight: 700;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.prose p {
    margin-bottom: 1rem;
}

.prose ul, .prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose a {
    color: #0078d4;
    text-decoration: underline;
}

.prose blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    color: #6b7280;
}

.prose code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f3f4f6;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

/* Fade-in animation for results */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Pulse animation for active thinking */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 120, 212, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 120, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 120, 212, 0); }
}

.pulse {
    animation: pulse 2s infinite;
}
