/* ============================================
   AI GENERATION + CHAT STYLES - TEACHER LABS
   Include after teacher-labs-shared.css
   ============================================ */

/* File Upload Dropzone - THE MISSING STYLES! */
.file-upload-dropzone {
    background: white;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.file-upload-dropzone:hover {
    border-color: var(--brand);
    background: #f8fbff;
}

.file-upload-dropzone.drag-over {
    border-color: var(--brand);
    background: #f0f5fa;
}

.file-upload-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--brand);
}

.file-upload-instructions {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.file-upload-instructions strong {
    color: var(--brand);
    font-weight: 600;
}

.file-upload-types {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Uploaded Files List */
#uploadedFilesList {
    margin-top: 10px;
}

#uploadedFilesList p {
    color: #78350f;
    font-size: 0.85rem;
    margin: 0;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.file-icon {
    font-size: 1.2rem;
}

.file-name {
    flex: 1;
    color: var(--ink);
    font-weight: 500;
    word-break: break-word;
}

.file-size {
    font-size: 0.75rem;
    color: var(--muted);
}

.file-remove {
    background: #fee2e2;
    border: none;
    color: #dc2626;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.file-remove:hover {
    background: #fecaca;
}

/* Import/Quick Start Section */
.import-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.import-section h4 {
    margin: 0 0 8px 0;
    color: #0369a1;
    font-size: 1.1rem;
    font-weight: 700;
}

.import-section p {
    margin: 0 0 12px 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.import-btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.2);
}

.import-btn:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
}

.import-btn:active {
    transform: translateY(0);
}

/* ============================================
   TEACHER CHAT INTERFACE STYLES
   ============================================ */

/* Teacher AI Chat Modal */
.teacher-ai-chat {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.teacher-chat-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1200px;
    max-height: 92vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Chat Header - Teacher Labs Colors */
.teacher-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--brand) 0%, #254a7f 100%);
    color: white;
    gap: 12px;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.chat-icon {
    font-size: 1.4rem;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-minimize,
.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.8rem;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.chat-minimize:hover,
.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Minimized Chat State */
.teacher-chat-container.minimized {
    width: 320px;
    height: 56px;
    max-width: 320px;
    max-height: 56px;
    top: auto;
    bottom: 20px;
    right: 20px;
    left: auto;
    transform: none;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(47, 93, 159, 0.3);
    border: 2px solid var(--brand);
}

.teacher-chat-container.minimized:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 6px 16px rgba(47, 93, 159, 0.4);
    transform: translateY(-2px);
}

.teacher-chat-container.minimized .chat-messages,
.teacher-chat-container.minimized .chat-input-area {
    display: none;
}

.teacher-chat-container.minimized .teacher-chat-header {
    cursor: pointer;
    padding: 12px 16px;
}

.teacher-chat-container.minimized .chat-download-btns {
    display: none !important;
}

.teacher-chat-container.minimized .chat-title {
    font-size: 1rem;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #F6F8FC;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 90%;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.teacher-message {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-message.sage-message {
    align-self: flex-start;
    align-items: flex-start;
}

.message-content {
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.6;
    word-wrap: break-word;
    font-size: 1rem;
}

.teacher-message .message-content {
    background: linear-gradient(135deg, var(--brand), #254a7f);
    color: white;
}

.sage-message .message-content {
    background: white;
    color: var(--ink);
    border: 2px solid var(--border);
    padding: 16px 20px;
}

/* ============================================
   HTML TABLE STYLING IN CHAT MESSAGES
   ============================================ */

/* Tables in Sage messages */
.sage-message table,
.message-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 0.8em 0 1em 0;  /* Small top margin for breathing room */
    font-size: 14px;
    line-height: 1.4;
    background: white;
}

/* Prevent excessive white space from consecutive line breaks */
.sage-message .message-content br + br + br,
.message-content br + br + br {
    display: none;  /* Hides 3rd+ consecutive <br> tags */
}

/* Horizontal rules before tables should have minimal margin */
.sage-message hr,
.message-content hr {
    margin: 0.3em 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

/* Paragraphs with bold text (Name:, Date:, etc.) */
.sage-message p,
.message-content p {
    margin: 0.4em 0;
}

/* Headers near tables */
.sage-message h1,
.message-content h1 {
    margin: 0.5em 0 0.3em 0;
}

.sage-message h2,
.message-content h2 {
    margin: 0.4em 0 0.3em 0;
}

.sage-message h3,
.message-content h3 {
    margin: 0.3em 0 0.2em 0;
}

/* Reduce spacing on elements immediately before tables */
.sage-message p + table,
.message-content p + table,
.sage-message h1 + table,
.message-content h1 + table,
.sage-message h2 + table,
.message-content h2 + table,
.sage-message h3 + table,
.message-content h3 + table {
    margin-top: 0.5em;  /* Small gap between text and table */
}

/* Reduce bottom margin on paragraphs/headings before tables */
.sage-message p:has(+ table),
.message-content p:has(+ table),
.sage-message h1:has(+ table),
.message-content h1:has(+ table),
.sage-message h2:has(+ table),
.message-content h2:has(+ table),
.sage-message h3:has(+ table),
.message-content h3:has(+ table) {
    margin-bottom: 0.5em;
}

/* Tighten spacing for content immediately before tables */
.sage-message h2,
.message-content h2 {
    margin: 0.8em 0 0.5em 0;  /* Reduced from default */
}

.sage-message h3,
.message-content h3 {
    margin: 0.6em 0 0.4em 0;  /* Reduced from default */
}

.sage-message p,
.message-content p {
    margin: 0.6em 0;  /* Tighter paragraph spacing */
}

/* Special case: bold paragraphs right before table (Name:, Date:, etc.) */
.sage-message p strong,
.message-content p strong {
    display: inline;  /* Prevent extra spacing */
}

/* If there's a paragraph with just bold text before a table, reduce its margin even more */
.sage-message p:has(+ table) strong,
.message-content p:has(+ table) strong,
.sage-message p:has(+ p:has(+ table)),
.message-content p:has(+ p:has(+ table)) {
    margin-bottom: 0.3em;
}

/* Table headers */
.sage-message th,
.message-content th {
    background-color: #2c5f8d;
    color: white;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    vertical-align: top;
    border: 1px solid #1e3a5f;
    font-size: 13px;
}

/* Table cells */
.sage-message td,
.message-content td {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    vertical-align: top;
    line-height: 1.5;
    font-size: 13px;
}

/* First column (typically criteria/labels) */
.sage-message td:first-child,
.message-content td:first-child {
    background-color: #e8f4f8;
    font-weight: 600;
    color: #1e3a5f;
}

/* Alternating row colors for readability */
.sage-message tr:nth-child(even) td:not(:first-child),
.message-content tr:nth-child(even) td:not(:first-child) {
    background-color: #f9fafb;
}

/* Strong/bold text in cells */
.sage-message td strong,
.message-content td strong,
.sage-message td b,
.message-content td b {
    font-weight: 600;
    color: #1e3a5f;
}

/* Prevent excessive width on rubric descriptors */
.sage-message td:not(:first-child),
.message-content td:not(:first-child) {
    max-width: 300px;
    word-wrap: break-word;
}

/* Mobile responsive tables */
@media (max-width: 768px) {
    .sage-message table,
    .message-content table {
        font-size: 12px;
    }
    
    .sage-message th,
    .message-content th,
    .sage-message td,
    .message-content td {
        padding: 8px;
        font-size: 12px;
    }
    
    .sage-message td:not(:first-child),
    .message-content td:not(:first-child) {
        max-width: 200px;
    }
}

/* ============================================
   END TABLE STYLING
   ============================================ */

/* Message Action Buttons Container */
.message-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Message Action Buttons (Download, Copy, Print) */
.message-action-btn {
    padding: 8px 14px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.message-action-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

.message-action-btn:active {
    transform: translateY(0);
}

/* Export Dropdown Container */
.export-dropdown {
    position: relative;
    display: inline-block;
}

/* Export Button - Primary Blue Style (matches download-word) */
.message-action-btn.export-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    color: white;
    padding: 8px 14px;
    font-weight: 600;
}

.message-action-btn.export-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.message-action-btn.export-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Export Dropdown Menu */
.export-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    z-index: 1000;
    overflow: hidden;
    animation: dropdownSlideIn 0.2s ease;
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Export Menu Items */
.export-menu-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.export-menu-item:last-child {
    border-bottom: none;
}

.export-menu-item:hover {
    background: #f9fafb;
    color: #1f2937;
}

.export-menu-item:active {
    background: #f3f4f6;
}

/* Export Menu Section Headers (optional, for grouping) */
.export-menu-section {
    padding: 8px 16px 4px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Export Menu Divider (optional, for separating groups) */
.export-menu-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .export-menu {
        min-width: 200px;
        font-size: 0.85rem;
    }
    
    .export-menu-item {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* Legacy Message Copy Button (backward compatibility) */
.message-copy-btn {
    padding: 8px 14px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.message-copy-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

.message-copy-btn:active {
    transform: translateY(0);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: white;
    border-radius: 12px;
    width: fit-content;
    border: 2px solid var(--border);
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
    animation: typingBounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Chat Input Area */
.chat-input-area {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-top: 2px solid var(--border);
    align-items: flex-end;
}

.chat-file-btn,
.chat-mic-btn {
    background: #E6EDF6;
    border: 2px solid var(--brand);
    color: var(--brand);
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chat-file-btn:hover,
.chat-mic-btn:hover {
    background: var(--brand);
    color: white;
    transform: translateY(-1px);
}

/* Mic button listening state */
.chat-mic-btn.listening {
    background: #ef4444;
    color: white;
    border-color: #dc2626;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Uploaded files in chat */
.chat-uploaded-files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chat-file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
}

.chat-file-item .file-icon {
    font-size: 1.1rem;
}

.chat-file-item .file-name {
    color: var(--ink);
    font-weight: 500;
}

.chat-file-item .file-size {
    color: var(--muted);
    font-size: 0.75rem;
}

.chat-file-item .file-remove {
    background: #fee2e2;
    border: none;
    color: #dc2626;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    margin-left: 4px;
}

.chat-file-item .file-remove:hover {
    background: #fecaca;
}

#teacherChatInput {
    flex: 1;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px;
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    line-height: 1.4;
    min-height: 28px;
    max-height: 120px;
}

#teacherChatInput:focus {
    outline: none;
    border-color: var(--brand);
}

.chat-send-btn {
    background: var(--brand);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    height: 48px;
}

.chat-send-btn:hover {
    background: #254a7f;
    transform: translateY(-1px);
}

.send-icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* Download Buttons */
.chat-download-btns {
    display: flex;
    gap: 12px;
    align-items: center;
}

.download-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Chat Tip */
.chat-tip {
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    margin-left: 16px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.3);
    white-space: nowrap;
    cursor: help;
}

/* Chat Footer */
.chat-footer {
    padding: 12px 20px;
    background: #F6F8FC;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

/* Toast Notification Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .teacher-chat-container {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    
    /* Hide download buttons on mobile - they clutter the header */
    .chat-download-btns {
        display: none !important;
    }
    
    /* More compact header on mobile */
    .teacher-chat-header {
        padding: 12px 16px;
    }
    
    .chat-title {
        font-size: 1rem;
    }
    
    .chat-icon {
        font-size: 1.2rem;
    }
    
    /* Smaller header buttons */
    .chat-minimize,
    .chat-close {
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .chat-input-area {
        padding: 12px 16px;
    }
    
    .chat-send-btn {
        padding: 12px 16px;
    }
    
    .chat-tip {
        display: none !important; /* Hide tip on mobile */
    }

    .file-upload-dropzone {
        padding: 16px;
    }
    
    /* Better spacing for message action buttons on mobile */
    .message-actions {
        gap: 6px !important;
        justify-content: flex-start !important;
    }
    
    .message-action-btn {
        flex: 0 0 calc(50% - 3px) !important;
        text-align: center !important;
        padding: 8px 6px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }
    
    .message-copy-btn {
        flex: 0 0 calc(50% - 3px) !important;
        text-align: center !important;
        padding: 8px 6px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }
}

/* Scrollbar Styling */
.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #E6EDF6;
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #254a7f;
}

/* Sage Progress Indicator */
.sage-progress-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border: 2px solid #cbd5e1;
    border-radius: 16px;
    padding: 24px;
    margin: 16px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.sage-progress-content {
    text-align: center;
}

.sage-progress-icon {
    font-size: 48px;
    margin-bottom: 12px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.sage-progress-message {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

@keyframes messageFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.sage-progress-bar-container {
    background: #e2e8f0;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin: 16px 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sage-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    background-size: 200% 100%;
    border-radius: 999px;
    width: 0%;
    transition: width 0.5s ease-out;
    animation: shimmer 2s linear infinite;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.sage-progress-time {
    font-size: 0.95rem;
    color: #64748b;
    margin: 8px 0;
    font-weight: 500;
}

.sage-progress-hint {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    display: inline-block;
}

@media (max-width: 768px) {
    .sage-progress-container { padding: 20px 16px; }
    .sage-progress-icon { font-size: 36px; }
    .sage-progress-message { font-size: 1rem; }
}

/* ============================================
   END OF STYLES
   ============================================ */