/* PrepSmart - Industry-Level UI Design with Glassmorphism */
:root {
    /* Primary Color Palette - Modern & Accessible */
    --ps-primary: #14b8a6;
    --ps-primary-dark: #0f766e;
    --ps-primary-light: #5eead4;
    --ps-primary-50: #f0fdfa;
    --ps-primary-100: #ccfbf1;
    --ps-primary-500: #14b8a6;
    --ps-primary-600: #0d9488;
    --ps-primary-700: #0f766e;
    
    /* Secondary Colors */
    --ps-secondary: #64748b;
    --ps-secondary-dark: #475569;
    --ps-secondary-light: #94a3b8;
    
    /* Success, Warning, Error */
    --ps-success: #10b981;
    --ps-success-light: #34d399;
    --ps-success-dark: #059669;
    --ps-warning: #f59e0b;
    --ps-warning-light: #fbbf24;
    --ps-warning-dark: #d97706;
    --ps-error: #ef4444;
    --ps-error-light: #f87171;
    --ps-error-dark: #dc2626;
    
    /* Neutral Colors - High Contrast */
    --ps-gray-50: #f8fafc;
    --ps-gray-100: #f1f5f9;
    --ps-gray-200: #e2e8f0;
    --ps-gray-300: #cbd5e1;
    --ps-gray-400: #94a3b8;
    --ps-gray-500: #64748b;
    --ps-gray-600: #475569;
    --ps-gray-700: #334155;
    --ps-gray-800: #1e293b;
    --ps-gray-900: #0f172a;
    
    /* Text Colors */
    --ps-text-primary: #0f172a;
    --ps-text-secondary: #475569;
    --ps-text-muted: #64748b;
    --ps-text-inverse: #ffffff;
    
    /* Background Colors */
    --ps-bg-primary: #ffffff;
    --ps-bg-secondary: #f8fafc;
    --ps-bg-tertiary: #f1f5f9;
    
    /* Border & Shadow */
    --ps-border: #e2e8f0;
    --ps-border-light: #f1f5f9;
    --ps-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --ps-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --ps-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --ps-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --ps-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Spacing */
    --ps-space-1: 0.25rem;
    --ps-space-2: 0.5rem;
    --ps-space-3: 0.75rem;
    --ps-space-4: 1rem;
    --ps-space-5: 1.25rem;
    --ps-space-6: 1.5rem;
    --ps-space-8: 2rem;
    --ps-space-10: 2.5rem;
    --ps-space-12: 3rem;
    
    /* Border Radius */
    --ps-radius-sm: 0.25rem;
    --ps-radius: 0.375rem;
    --ps-radius-md: 0.5rem;
    --ps-radius-lg: 0.75rem;
    --ps-radius-xl: 1rem;
    --ps-radius-full: 9999px;
    
    /* Typography */
    --ps-font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --ps-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

.prepsmart-read-aloud-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
    font-family: var(--ps-font-family);
    background: transparent;
}

.prepsmart-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 40px 24px;
    background: transparent;
    color: #000000;
}


.prepsmart-header h2 {
    color: #000000;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.prepsmart-header p {
    color: #000000;
    font-size: 1.125rem;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Modern Filters Section */
.prepsmart-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px 0;
    background: transparent;
    border: none;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--ps-space-3);
    flex-shrink: 0;
}

.filter-group label {
    font-weight: 600;
    color: #000000;
    font-size: 0.875rem;
    white-space: nowrap;
}

.filter-group select {
    padding: 12px 40px 12px 16px;
    border: 1px solid #000000;
    border-radius: var(--ps-radius);
    background: #f8fafc;
    color: #333333;
    font-size: 0.875rem;
    min-width: 120px;
    height: 44px;
    line-height: 1.2;
    transition: all 0.2s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--ps-primary);
    ring: 2px solid var(--ps-primary-100);
    box-shadow: 0 0 0 3px var(--ps-primary-100);
}

.filter-group select:hover {
    border-color: var(--ps-primary-light);
}

/* Modern Questions Grid */
.prepsmart-questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: var(--ps-space-6);
    margin-bottom: var(--ps-space-8);
}

.prepsmart-question-card {
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.prepsmart-question-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ps-primary), var(--ps-primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.prepsmart-question-card:hover {
    transform: translateY(-2px);
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.prepsmart-question-card:hover::before {
    transform: scaleX(1);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--ps-space-4);
    gap: var(--ps-space-3);
}

.question-header h4 {
    margin: 0;
    color: #000000;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.difficulty-badge {
    padding: var(--ps-space-1) var(--ps-space-3);
    border-radius: var(--ps-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    flex-shrink: 0;
    border: none;
}

.difficulty-easy {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.difficulty-medium {
    background-color: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.difficulty-hard {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.question-preview {
    color: #000000;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.question-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.question-stats {
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.word-count {
    background: #f8fafc;
    color: #000000;
    padding: var(--ps-space-1) var(--ps-space-2);
    border-radius: var(--ps-radius);
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--ps-space-1);
}

.word-count::before {
    content: '📝';
    font-size: 0.875rem;
}

/* Modern Button System */
.prepsmart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--ps-font-family);
    line-height: 1.25;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

.prepsmart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.prepsmart-btn:focus {
    outline: none;
    ring: 2px solid var(--ps-primary-100);
    box-shadow: 0 0 0 3px var(--ps-primary-100);
}

/* Primary Button */
.prepsmart-btn-primary {
    background: linear-gradient(135deg, var(--ps-primary) 0%, var(--ps-primary-dark) 100%);
    color: var(--ps-text-inverse);
    border-color: var(--ps-primary);
    box-shadow: var(--ps-shadow-sm);
}

.prepsmart-btn-primary:hover {
    background: linear-gradient(135deg, var(--ps-primary-dark) 0%, var(--ps-primary-700) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.prepsmart-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

/* Secondary Button */
.prepsmart-btn-secondary {
    background: var(--ps-gray-600);
    color: var(--ps-text-inverse);
    border-color: var(--ps-gray-600);
    box-shadow: var(--ps-shadow-sm);
}

.prepsmart-btn-secondary:hover {
    background: var(--ps-gray-700);
    border-color: var(--ps-gray-700);
    transform: translateY(-1px);
    box-shadow: var(--ps-shadow-md);
}

/* Success Button */
.prepsmart-btn-success {
    background: linear-gradient(135deg, var(--ps-success) 0%, var(--ps-success-dark) 100%);
    color: var(--ps-text-inverse);
    border-color: var(--ps-success);
    box-shadow: var(--ps-shadow-sm);
}

.prepsmart-btn-success:hover {
    background: linear-gradient(135deg, var(--ps-success-dark) 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: var(--ps-shadow-md);
}

/* Danger Button */
.prepsmart-btn-danger {
    background: linear-gradient(135deg, var(--ps-error) 0%, var(--ps-error-dark) 100%);
    color: var(--ps-text-inverse);
    border-color: var(--ps-error);
    box-shadow: var(--ps-shadow-sm);
}

.prepsmart-btn-danger:hover {
    background: linear-gradient(135deg, var(--ps-error-dark) 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: var(--ps-shadow-md);
}

/* Outline Button */
.prepsmart-btn-outline {
    background: #f8fafc;
    color: #333333;
    border: 1px solid #000000;
}

.prepsmart-btn-outline:hover {
    background: #f1f5f9;
    color: #333333;
    border-color: #000000;
    transform: translateY(-1px);
    box-shadow: var(--ps-shadow-sm);
}

/* Button Sizes */
.prepsmart-btn-sm {
    padding: var(--ps-space-2) var(--ps-space-3);
    font-size: 0.75rem;
    gap: var(--ps-space-1);
}

.prepsmart-btn-lg {
    padding: var(--ps-space-4) var(--ps-space-6);
    font-size: 1rem;
    gap: var(--ps-space-3);
}

/* Modern Loading States */
.prepsmart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--ps-space-12) var(--ps-space-6);
    color: var(--ps-text-secondary);
    background: var(--ps-bg-primary);
    border-radius: var(--ps-radius-xl);
    border: 1px solid var(--ps-border);
}

.prepsmart-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--ps-gray-200);
    border-top: 3px solid var(--ps-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--ps-space-4);
    position: relative;
}

.prepsmart-spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--ps-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
}

.prepsmart-loading p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* Error and Empty States */
.prepsmart-error,
.prepsmart-no-questions {
    text-align: center;
    padding: var(--ps-space-10) var(--ps-space-6);
    border-radius: var(--ps-radius-xl);
    border: 1px solid var(--ps-border);
    background: var(--ps-bg-primary);
    color: var(--ps-text-secondary);
    font-style: normal;
}

.prepsmart-error {
    color: var(--ps-error-dark);
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: var(--ps-error-light);
    position: relative;
}

.prepsmart-error::before {
    content: '⚠️';
    font-size: 2rem;
    display: block;
    margin-bottom: var(--ps-space-2);
}

.prepsmart-no-questions {
    background: #f8fafc;
    border: 1px solid #000000;
    color: #333333;
}

.prepsmart-no-questions::before {
    content: '📝';
    font-size: 2rem;
    display: block;
    margin-bottom: var(--ps-space-2);
}

/* Modern Practice Modal */
.prepsmart-practice-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

.prepsmart-practice-modal[style*="display: block"],
.prepsmart-practice-modal[style*="display: flex"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.prepsmart-practice-modal-content {
    background-color: var(--ps-bg-primary);
    margin: 0;
    padding: 0;
    border-radius: var(--ps-radius-xl);
    width: 95%;
    max-width: 900px;
    max-height: 95vh;
    overflow: hidden;
    box-shadow: var(--ps-shadow-xl);
    border: 1px solid var(--ps-border-light);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.prepsmart-practice-modal-header {
    padding: var(--ps-space-6) var(--ps-space-8);
    background: linear-gradient(135deg, var(--ps-primary-600) 0%, var(--ps-primary-700) 50%, #1e40af 100%);
    color: var(--ps-text-inverse);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.prepsmart-practice-modal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.prepsmart-practice-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.prepsmart-practice-close {
    color: rgba(255,255,255,0.8);
    font-size: 1.5rem;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    border-radius: var(--ps-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.prepsmart-practice-close:hover {
    color: var(--ps-text-inverse);
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.prepsmart-practice-modal-body {
    padding: var(--ps-space-8);
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

/* Modern Instructions */
.prepsmart-instructions {
    background: linear-gradient(135deg, var(--ps-primary-50) 0%, var(--ps-primary-100) 100%);
    border: 1px solid var(--ps-primary-200);
    border-radius: var(--ps-radius-lg);
    padding: var(--ps-space-6);
    margin-bottom: var(--ps-space-6);
    position: relative;
    overflow: hidden;
}

.prepsmart-instructions::before {
    content: '📝';
    position: absolute;
    top: var(--ps-space-4);
    right: var(--ps-space-4);
    font-size: 1.5rem;
    opacity: 0.3;
}

.prepsmart-instructions h4 {
    margin: 0 0 var(--ps-space-4) 0;
    color: var(--ps-primary-700);
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.prepsmart-instructions h4::before {
    content: 'ℹ️';
    font-size: 1.25rem;
}

.prepsmart-instructions ul {
    margin: 0;
    padding-left: var(--ps-space-5);
    list-style: none;
}

.prepsmart-instructions li {
    margin-bottom: var(--ps-space-2);
    color: var(--ps-primary-700);
    font-size: 0.9375rem;
    line-height: 1.5;
    position: relative;
    padding-left: var(--ps-space-4);
}

.prepsmart-instructions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ps-success);
    font-weight: bold;
    font-size: 0.875rem;
}

/* Modern Text Container */
.prepsmart-text-container {
    margin-bottom: var(--ps-space-8);
}

.prepsmart-text-container h4 {
    margin: 0 0 var(--ps-space-4) 0;
    color: var(--ps-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.prepsmart-text-container h4::before {
    content: '🗣️';
    font-size: 1.25rem;
}

.prepsmart-text-box {
    background: var(--ps-bg-primary);
    border: 2px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    padding: var(--ps-space-8);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--ps-text-primary);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    font-family: Georgia, 'Times New Roman', serif;
}

.prepsmart-text-box:hover {
    border-color: var(--ps-primary-200);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05), 0 0 0 1px var(--ps-primary-100);
}

.prepsmart-text-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ps-primary), var(--ps-primary-light));
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

/* Modern Recording Interface - Google Style */
.prepsmart-modern-recording {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--ps-space-8);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--ps-radius-xl);
    border: 1px solid var(--ps-border);
    margin: var(--ps-space-6) 0;
    position: relative;
    overflow: hidden;
}

.prepsmart-modern-recording::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3b82f6, #10b981, #8b5cf6, #f59e0b);
    border-radius: var(--ps-radius-xl);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prepsmart-modern-recording.recording::before {
    opacity: 1;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.recording-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Voice Pulse Waves - WhatsApp Style */
.voice-pulse-waves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-pulse-waves.active {
    opacity: 1;
}

.pulse-wave {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(156, 163, 175, 0.6) 0%, rgba(156, 163, 175, 0.2) 70%, transparent 100%);
    border-radius: 50%;
    transform: scale(1);
    animation: none;
    opacity: 0;
}

.voice-pulse-waves.active .pulse-wave {
    animation: voicePulse 1.5s ease-out infinite;
}

.pulse-wave-1 {
    animation-delay: 0s;
}

.pulse-wave-2 {
    animation-delay: 0.5s;
}

.pulse-wave-3 {
    animation-delay: 1s;
}

@keyframes voicePulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
        background: radial-gradient(circle, rgba(156, 163, 175, 0.8) 0%, rgba(156, 163, 175, 0.4) 50%, transparent 80%);
    }
    50% {
        transform: scale(1.8);
        opacity: 0.4;
        background: radial-gradient(circle, rgba(156, 163, 175, 0.4) 0%, rgba(156, 163, 175, 0.2) 40%, transparent 70%);
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
        background: radial-gradient(circle, rgba(156, 163, 175, 0.1) 0%, transparent 50%);
    }
}

/* Recording Button Container */
.recording-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ps-space-3);
    position: relative;
    z-index: 2;
}

/* Main Recording Button */
.main-recording-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-recording-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

.main-recording-btn:active {
    transform: scale(0.95);
}

.main-recording-btn[data-state="recording"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.4);
    animation: recordingPulse 1.5s ease-in-out infinite;
}

@keyframes recordingPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 48px rgba(239, 68, 68, 0.6);
    }
}

/* Button Icons */
.mic-icon {
    fill: white !important;
    transition: all 0.3s ease;
}

.stop-icon {
    display: none;
}

.main-recording-btn[data-state="recording"] .mic-icon {
    display: none;
}

.main-recording-btn[data-state="recording"] .stop-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stop-square {
    width: 20px;
    height: 20px;
    background: currentColor;
    border-radius: 3px;
}

/* Ripple Effect */
.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.main-recording-btn:active .btn-ripple {
    width: 160px;
    height: 160px;
}

/* Recording Timer */
.recording-timer {
    font-family: var(--ps-font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ef4444;
    text-align: center;
    margin-top: var(--ps-space-2);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Recording Status Text */
.recording-status-text {
    text-align: center;
    margin-top: var(--ps-space-2);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ps-text-secondary);
    min-height: 24px;
}

.status-recording {
    color: #ef4444;
    font-weight: 600;
}

.status-stopped {
    color: #10b981;
    font-weight: 600;
}

/* Action Buttons */
.recording-actions {
    display: flex;
    gap: var(--ps-space-4);
    margin-top: var(--ps-space-6);
    padding-top: var(--ps-space-4);
    border-top: 1px solid var(--ps-border);
    width: 100%;
    justify-content: center;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ps-space-2);
    padding: var(--ps-space-3) var(--ps-space-4);
    border: none;
    background: transparent;
    border-radius: var(--ps-radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--ps-text-secondary);
    min-width: 70px;
}

.action-btn:hover {
    background: var(--ps-gray-100);
    transform: translateY(-2px);
    color: var(--ps-text-primary);
}

.action-btn svg {
    fill: currentColor;
    transition: fill 0.3s ease;
}

.action-btn span {
    font-size: 0.875rem;
    font-weight: 500;
}

.play-btn:hover {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0ea5e9;
}

.retry-btn:hover {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #f59e0b;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #10b981;
}

/* Audio Playback Widget */
.audio-playback-widget {
    margin-top: var(--ps-space-4);
    padding: var(--ps-space-4);
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--ps-radius-lg);
    border: 1px solid var(--ps-border);
    text-align: center;
}

.audio-player-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ps-space-3);
}

.audio-player-container audio {
    width: 100%;
    max-width: 400px;
    border-radius: var(--ps-radius);
    background: var(--ps-bg-primary);
    box-shadow: var(--ps-shadow-sm);
}

.audio-help-text {
    margin: 0;
    color: var(--ps-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.prepsmart-recording-controls .prepsmart-btn {
    padding: var(--ps-space-4) var(--ps-space-6);
    font-size: 1rem;
    font-weight: 600;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.prepsmart-recording-controls .prepsmart-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.prepsmart-recording-controls .prepsmart-btn:active::before {
    width: 300px;
    height: 300px;
}

/* Icon styles for recording buttons */
.microphone-icon::before {
    content: '🎙️';
    margin-right: var(--ps-space-1);
}

.stop-icon::before {
    content: '⏹️';
    margin-right: var(--ps-space-1);
}

.play-icon::before {
    content: '▶️';
    margin-right: var(--ps-space-1);
}

.submit-icon::before {
    content: '🚀';
    margin-right: var(--ps-space-1);
}

/* Modern Recording Status */
.prepsmart-recording-status {
    text-align: center;
    padding: var(--ps-space-8);
    background: linear-gradient(135deg, var(--ps-error) 0%, var(--ps-error-dark) 100%);
    color: var(--ps-text-inverse);
    border-radius: var(--ps-radius-xl);
    margin-bottom: var(--ps-space-6);
    box-shadow: var(--ps-shadow-lg);
    position: relative;
    overflow: hidden;
}

.prepsmart-recording-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: recordingShimmer 2s infinite;
}

@keyframes recordingShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ps-space-4);
    margin-bottom: var(--ps-space-3);
    position: relative;
    z-index: 1;
}

.recording-pulse {
    width: 24px;
    height: 24px;
    background: var(--ps-text-inverse);
    border-radius: 50%;
    animation: recordingPulse 1s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
}

@keyframes recordingPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(255,255,255,0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}

#recording-timer {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--ps-font-mono);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.prepsmart-recording-status p {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

/* Modern Audio Playback */
.prepsmart-audio-playback {
    text-align: center;
    margin-bottom: var(--ps-space-6);
    padding: var(--ps-space-6);
    background: linear-gradient(135deg, var(--ps-success-50) 0%, var(--ps-success-100) 100%);
    border: 1px solid var(--ps-success-200);
    border-radius: var(--ps-radius-xl);
    position: relative;
}

.prepsmart-audio-playback::before {
    content: '🎧';
    position: absolute;
    top: var(--ps-space-4);
    right: var(--ps-space-4);
    font-size: 1.5rem;
    opacity: 0.3;
}

.prepsmart-audio-playback audio {
    width: 100%;
    max-width: 500px;
    margin-bottom: var(--ps-space-3);
    border-radius: var(--ps-radius-lg);
    background: var(--ps-bg-primary);
    box-shadow: var(--ps-shadow-sm);
    filter: sepia(0) hue-rotate(180deg) brightness(1.1);
}

.prepsmart-audio-playback audio::-webkit-media-controls-panel {
    background-color: var(--ps-bg-primary);
}

.prepsmart-audio-playback p {
    margin: 0;
    color: var(--ps-success-700);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Modern Processing Status */
.prepsmart-processing {
    text-align: center;
    padding: var(--ps-space-12) var(--ps-space-6);
    background: var(--ps-bg-primary);
    border-radius: var(--ps-radius-xl);
    border: 1px solid var(--ps-border);
}

.prepsmart-processing .prepsmart-spinner {
    width: 64px;
    height: 64px;
    border-width: 4px;
    margin-bottom: var(--ps-space-6);
}

.prepsmart-processing h4 {
    margin: 0 0 var(--ps-space-4) 0;
    color: var(--ps-text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ps-primary), var(--ps-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prepsmart-processing p {
    color: var(--ps-text-secondary);
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Modern Score Modal */
.prepsmart-score-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    animation: fadeIn 0.4s ease-out;
}

.prepsmart-score-modal[style*="display: block"],
.prepsmart-score-modal[style*="display: flex"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.prepsmart-score-modal-content {
    background-color: var(--ps-bg-primary);
    margin: 0;
    padding: 0;
    border-radius: 12px;
    width: 95%;
    max-width: 600px;
    max-height: 95vh;
    overflow: hidden;
    box-shadow: var(--ps-shadow-xl);
    border: 1px solid var(--ps-border-light);
    animation: slideUpBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

/* Score Header */
.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.score-session-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.session-id {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.score-badge {
    background: #10d9c4;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.prepsmart-score-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #000000 !important;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.prepsmart-score-close:hover {
    background: #e2e8f0;
    color: #000000 !important;
}

/* Score Content */
.score-content {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
}

/* Main Score Layout */
.score-main-layout {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    align-items: center;
}

/* Circular Score */
.score-circle-container {
    flex-shrink: 0;
}

.main-score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#10d9c4 0deg 138deg, #e2e8f0 138deg 360deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-score-circle::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: white;
    border-radius: 50%;
}

.score-number {
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
    position: relative;
    z-index: 2;
}

.score-total {
    font-size: 14px;
    color: #64748b;
    position: relative;
    z-index: 2;
    margin-top: -4px;
}

.score-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Individual Scores */
.individual-scores {
    flex: 1;
}

.score-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.score-row:last-child {
    border-bottom: none;
}

.score-row .score-label {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.score-value {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.score-meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.score-date {
    font-size: 12px;
    color: #64748b;
}

.play-button-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.play-score-button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.play-score-button:hover {
    background: #f1f5f9;
}

.progress-bar {
    width: 100px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    width: 75%;
    height: 100%;
    background: #10d9c4;
    border-radius: 2px;
}

/* Skill Bars Section */
.skill-bars-section {
    margin: 32px 0;
}

.skill-bar-item {
    margin-bottom: 16px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-name {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.skill-percentage {
    font-size: 14px;
    font-weight: 600;
}

.skill-progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.pronunciation-fill {
    background: #10d9c4;
    width: 100%;
}

.fluency-fill {
    background: #10d9c4;
    width: 60%;
}

.stress-fill {
    background: #ef4444;
    width: 32%;
}

.speed-fill {
    background: #ef4444;
    width: 17%;
}

/* Tabs */
.score-tabs {
    display: flex;
    gap: 2px;
    margin: 24px 0 16px 0;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
}

.tab-button {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-button.active {
    background: white;
    color: #10d9c4;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Tab Content */
.tab-content {
    margin-bottom: 24px;
}

.tab-pane {
    padding: 16px 0;
}

.quality-indicators {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.quality-item {
    font-size: 14px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tap-instruction {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
    margin: 0;
}

/* Action Buttons */
.score-actions {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.action-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.primary-btn {
    background: #3b82f6;
    color: white;
}

.primary-btn:hover {
    background: #2563eb;
    color: white !important;
}

.secondary-btn {
    background: #6b7280;
    color: white;
}

.secondary-btn:hover {
    background: #4b5563;
    color: white !important;
}

.outline-btn {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.outline-btn:hover {
    background: #f9fafb;
    color: #374151;
}

@keyframes slideUpBounce {
    0% { 
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
    }
    100% { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.prepsmart-score-modal-header {
    padding: var(--ps-space-8);
    background: linear-gradient(135deg, var(--ps-success) 0%, var(--ps-success-dark) 50%, #047857 100%);
    color: var(--ps-text-inverse);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.prepsmart-score-modal-header::before {
    content: '🎆';
    position: absolute;
    top: 50%;
    left: var(--ps-space-4);
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.2;
}

.prepsmart-score-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.prepsmart-score-modal-header h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.prepsmart-score-close {
    color: rgba(255,255,255,0.8);
    font-size: 1.5rem;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: var(--ps-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
}

.prepsmart-score-close:hover {
    color: var(--ps-text-inverse);
    background: rgba(255,255,255,0.2);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.prepsmart-score-modal-body {
    padding: var(--ps-space-8);
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    background: var(--ps-bg-primary);
}

/* Modern Overall Score Display */
.prepsmart-overall-score {
    text-align: center;
    margin-bottom: var(--ps-space-8);
    padding: var(--ps-space-6);
    background: linear-gradient(135deg, var(--ps-bg-secondary) 0%, var(--ps-bg-tertiary) 100%);
    border-radius: var(--ps-radius-xl);
    border: 1px solid var(--ps-border);
    position: relative;
    overflow: hidden;
}

.prepsmart-overall-score::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, var(--ps-primary-100), var(--ps-success-100), var(--ps-warning-100), var(--ps-primary-100));
    animation: rotate 10s linear infinite;
    opacity: 0.1;
    z-index: 0;
}

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

/* Modern Glassmorphism Score Layout */
.modern-score-layout {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(20, 184, 166, 0.4);
}

.total-score-card {
    flex: 0 0 200px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(16, 185, 129, 0.1));
}

.individual-scores-card {
    flex: 1;
    min-width: 300px;
}

.total-score-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--ps-primary);
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
    animation: scoreAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.total-score-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ps-text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.total-score-denominator {
    font-size: 1.25rem;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.total-score-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: conic-gradient(var(--ps-primary) 0deg, var(--ps-primary) calc(var(--score-percentage, 70) * 3.6deg), rgba(20, 184, 166, 0.1) calc(var(--score-percentage, 70) * 3.6deg));
    z-index: -1;
    opacity: 0.8;
}

.score-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px 0;
}

.score-item:last-child {
    margin-bottom: 0;
}

.score-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 100px;
}

.score-item-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ps-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.score-item-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ps-text-primary);
}

.modern-progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-left: 16px;
    overflow: hidden;
    position: relative;
}

.modern-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--ps-primary), var(--ps-primary-light));
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modern-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.content-fill {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.pronunciation-fill {
    background: linear-gradient(90deg, var(--ps-primary), var(--ps-primary-light));
}

.fluency-fill {
    background: linear-gradient(90deg, var(--ps-success), #34d399);
}

@keyframes scoreAppear {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    60% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@media (max-width: 768px) {
    .modern-score-layout {
        flex-direction: column;
    }
    
    .total-score-card {
        flex: none;
    }
    
    .total-score-number {
        font-size: 3rem;
    }
}
    margin-top: var(--ps-space-1);
    opacity: 0.9;
    font-weight: 600;
}

/* Modern Detailed Scores */
.prepsmart-detailed-scores {
    margin-bottom: var(--ps-space-8);
    gap: var(--ps-space-4);
    display: flex;
    flex-direction: column;
}

.score-item {
    display: flex;
    align-items: center;
    padding: var(--ps-space-5);
    background: var(--ps-bg-primary);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.score-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--ps-shadow-md);
    border-color: var(--ps-primary-200);
}

.score-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--ps-primary), var(--ps-success));
    transition: width 0.3s ease;
}

.score-item:hover::before {
    width: 6px;
}

.score-category {
    flex: 0 0 140px;
    font-weight: 600;
    color: var(--ps-text-primary);
    font-size: 1rem;
    position: relative;
}

.score-category::before {
    content: attr(data-icon);
    margin-right: var(--ps-space-2);
    font-size: 1.25rem;
}

.score-bar {
    flex: 1;
    position: relative;
    height: 12px;
    background: var(--ps-gray-200);
    border-radius: var(--ps-radius-full);
    overflow: hidden;
    margin: 0 var(--ps-space-4);
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ps-success) 0%, var(--ps-success-light) 50%, var(--ps-success) 100%);
    border-radius: var(--ps-radius-full);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.score-number {
    flex: 0 0 50px;
    text-align: center;
    font-weight: 700;
    color: var(--ps-text-primary);
    font-size: 1.125rem;
}

/* Modern Transcription Section */
.prepsmart-transcription {
    margin-bottom: var(--ps-space-6);
}

.prepsmart-transcription h4 {
    margin: 0 0 var(--ps-space-4) 0;
    color: var(--ps-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.prepsmart-transcription h4::before {
    content: '🎤';
    font-size: 1.25rem;
}

.transcription-box {
    background: var(--ps-bg-primary);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    padding: var(--ps-space-6);
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    color: var(--ps-text-primary);
    line-height: 1.7;
    font-size: 1.0625rem;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    position: relative;
}

.transcription-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ps-primary), var(--ps-secondary));
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.transcription-text {
    position: relative;
    z-index: 1;
}

/* Modern Feedback Section */
.prepsmart-feedback {
    margin-bottom: var(--ps-space-6);
}

.prepsmart-feedback h4 {
    margin: 0 0 var(--ps-space-4) 0;
    color: var(--ps-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.prepsmart-feedback h4::before {
    content: '📝';
    font-size: 1.25rem;
}

.feedback-content {
    background: var(--ps-bg-primary);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    padding: var(--ps-space-6);
    box-shadow: var(--ps-shadow-sm);
    position: relative;
    overflow: hidden;
}

.feedback-content::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    background: linear-gradient(90deg, var(--ps-warning), var(--ps-warning-light));
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.feedback-item {
    margin-bottom: var(--ps-space-4);
    position: relative;
    z-index: 1;
}

.feedback-item:last-child {
    margin-bottom: 0;
}

.feedback-item h5 {
    margin: 0 0 var(--ps-space-2) 0;
    color: var(--ps-text-primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.feedback-item p,
.feedback-item li {
    color: var(--ps-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.feedback-item ul {
    margin: var(--ps-space-2) 0;
    padding-left: var(--ps-space-5);
}

.feedback-item li {
    margin-bottom: var(--ps-space-1);
}

/* Modern Phonetic Analysis */
.prepsmart-phonetic-analysis {
    margin-bottom: var(--ps-space-6);
}

.prepsmart-phonetic-analysis h4 {
    margin: 0 0 var(--ps-space-4) 0;
    color: var(--ps-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.prepsmart-phonetic-analysis h4::before {
    content: '🔍';
    font-size: 1.25rem;
}

.phonetic-content {
    background: linear-gradient(135deg, var(--ps-primary-50) 0%, var(--ps-primary-100) 100%);
    border: 1px solid var(--ps-primary-200);
    border-radius: var(--ps-radius-lg);
    padding: var(--ps-space-6);
    font-size: 0.9375rem;
    color: var(--ps-primary-700);
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.phonetic-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ps-primary), var(--ps-primary-light));
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

/* Modern Score Actions */
.prepsmart-score-actions {
    display: flex;
    gap: var(--ps-space-4);
    justify-content: center;
    flex-wrap: wrap;
    padding-top: var(--ps-space-6);
    border-top: 1px solid var(--ps-border);
    margin-top: var(--ps-space-6);
}

.prepsmart-score-actions .prepsmart-btn {
    min-width: 120px;
    font-weight: 600;
}

/* Modern Responsive Design */

/* Large screens and up (1200px+) */
@media (min-width: 1200px) {
    .prepsmart-questions-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
    
    .prepsmart-practice-modal-content {
        max-width: 1000px;
    }
    
    .prepsmart-score-modal-content {
        max-width: 900px;
    }
}

/* Tablet and down (1024px and below) */
@media (max-width: 1024px) {
    .prepsmart-read-aloud-container {
        padding: var(--ps-space-4);
    }
    
    .prepsmart-questions-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: var(--ps-space-4);
    }
    
    .prepsmart-header {
        padding: var(--ps-space-8) var(--ps-space-4);
        margin-bottom: var(--ps-space-8);
    }
    
    .prepsmart-practice-modal-content,
    .prepsmart-score-modal-content {
        width: 96%;
        margin: 2vh auto;
    }
}

/* Mobile landscape and down (768px and below) */
@media (max-width: 768px) {
    .prepsmart-read-aloud-container {
        padding: var(--ps-space-3);
    }
    
    .prepsmart-header h2 {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }
    
    .prepsmart-header p {
        font-size: 1rem;
    }
    
    .prepsmart-questions-grid {
        grid-template-columns: 1fr;
        gap: var(--ps-space-4);
    }
    
    .prepsmart-filters {
        flex-direction: column;
        align-items: stretch;
        gap: var(--ps-space-3);
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .filter-group select {
        min-width: auto;
        flex: 1;
        max-width: 200px;
    }
    
    .prepsmart-practice-modal-content,
    .prepsmart-score-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .prepsmart-practice-modal-header,
    .prepsmart-score-modal-header {
        padding: var(--ps-space-4) var(--ps-space-5);
        border-radius: 0;
    }
    
    .prepsmart-practice-modal-body,
    .prepsmart-score-modal-body {
        padding: var(--ps-space-5);
    }
    
    .prepsmart-recording-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .prepsmart-recording-controls .prepsmart-btn {
        min-width: auto;
    }
    
    .score-item {
        flex-direction: column;
        align-items: stretch;
        gap: var(--ps-space-3);
        text-align: center;
    }
    
    .score-category {
        flex: none;
    }
    
    .score-bar {
        margin: 0;
        order: 2;
    }
    
    .score-number {
        order: 3;
        flex: none;
        font-size: 1.25rem;
    }
    
    .prepsmart-score-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-value {
        font-size: 2rem;
    }
}

/* Mobile portrait (480px and below) */
@media (max-width: 480px) {
    .prepsmart-read-aloud-container {
        padding: var(--ps-space-2);
    }
    
    .prepsmart-header {
        padding: var(--ps-space-6) var(--ps-space-3);
        margin-bottom: var(--ps-space-6);
    }
    
    .prepsmart-header h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .prepsmart-header p {
        font-size: 0.9375rem;
    }
    
    .question-header {
        flex-direction: column;
        gap: var(--ps-space-2);
        align-items: flex-start;
    }
    
    .question-header h4 {
        font-size: 1.125rem;
    }
    
    .prepsmart-question-card {
        padding: var(--ps-space-4);
    }
    
    .prepsmart-practice-modal-header h3,
    .prepsmart-score-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .prepsmart-practice-close,
    .prepsmart-score-close {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
    }
    
    .prepsmart-text-box {
        font-size: 1rem;
        padding: var(--ps-space-5);
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-value {
        font-size: 1.75rem;
    }
    
    .prepsmart-processing h4 {
        font-size: 1.25rem;
    }
    
    .prepsmart-processing p {
        font-size: 1rem;
    }
}

/* Extra small screens (360px and below) */
@media (max-width: 360px) {
    .prepsmart-read-aloud-container {
        padding: var(--ps-space-1);
    }
    
    .prepsmart-header {
        padding: var(--ps-space-4) var(--ps-space-2);
    }
    
    .prepsmart-question-card {
        padding: var(--ps-space-3);
    }
    
    .prepsmart-practice-modal-header,
    .prepsmart-score-modal-header {
        padding: var(--ps-space-3) var(--ps-space-4);
    }
    
    .prepsmart-practice-modal-body,
    .prepsmart-score-modal-body {
        padding: var(--ps-space-4);
    }
    
    .prepsmart-text-box {
        padding: var(--ps-space-4);
    }
}

/* Enhanced Advanced Features Styling */

/* Modern Transcription Meta */
.transcription-meta {
    font-size: 0.75rem;
    color: var(--ps-text-muted);
    margin-top: var(--ps-space-2);
    font-style: italic;
    padding: var(--ps-space-2) var(--ps-space-3);
    background: var(--ps-gray-50);
    border-radius: var(--ps-radius);
    border: 1px solid var(--ps-border-light);
}

/* Enhanced Phonetic Summary */
.phonetic-summary {
    background: linear-gradient(135deg, var(--ps-bg-primary) 0%, var(--ps-gray-50) 100%);
    padding: var(--ps-space-6);
    border-radius: var(--ps-radius-lg);
    margin-bottom: var(--ps-space-5);
    border: 1px solid var(--ps-border);
    box-shadow: var(--ps-shadow-sm);
}

.phonetic-summary h5 {
    color: var(--ps-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--ps-space-4);
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.phonetic-summary h5::before {
    content: '📈';
    font-size: 1.25rem;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--ps-space-4);
    margin-top: var(--ps-space-4);
}

.stat-item {
    text-align: center;
    padding: var(--ps-space-4);
    background: var(--ps-bg-primary);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow);
    border: 1px solid var(--ps-border-light);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--ps-shadow-md);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--ps-primary);
    margin-bottom: var(--ps-space-1);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--ps-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Enhanced Word Analysis */
.word-analysis {
    margin: var(--ps-space-5) 0;
}

.word-analysis h5 {
    color: var(--ps-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--ps-space-4);
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.word-analysis h5::before {
    content: '🔤';
    font-size: 1.25rem;
}

.word-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--ps-space-3);
    margin-top: var(--ps-space-4);
}

.word-item {
    padding: var(--ps-space-3) var(--ps-space-2);
    border-radius: var(--ps-radius-lg);
    text-align: center;
    border: 2px solid;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.word-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.word-item:hover::before {
    left: 100%;
}

.word-item.perfect {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-color: var(--ps-success);
    color: var(--ps-success-dark);
}

.word-item.partial {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: var(--ps-warning);
    color: var(--ps-warning-dark);
}

.word-item.poor {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    border-color: var(--ps-error);
    color: var(--ps-error-dark);
}

.word-text {
    font-weight: 700;
    margin-bottom: var(--ps-space-1);
    font-size: 0.9375rem;
}

.word-score {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 600;
}

.word-status {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--ps-space-1);
    font-weight: 600;
}

/* Enhanced Recommendations */
.phonetic-recommendations {
    margin: var(--ps-space-5) 0;
}

.phonetic-recommendations h5 {
    color: var(--ps-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--ps-space-4);
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.phonetic-recommendations h5::before {
    content: '💡';
    font-size: 1.25rem;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: var(--ps-space-4);
    margin-top: var(--ps-space-4);
}

.recommendation-item {
    padding: var(--ps-space-4);
    background: linear-gradient(135deg, var(--ps-primary-50), var(--ps-primary-100));
    border-left: 4px solid var(--ps-primary);
    border-radius: 0 var(--ps-radius-lg) var(--ps-radius-lg) 0;
    box-shadow: var(--ps-shadow-sm);
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    transform: translateX(4px);
    box-shadow: var(--ps-shadow-md);
}

.rec-issue {
    font-weight: 700;
    color: var(--ps-primary-700);
    margin-bottom: var(--ps-space-2);
    font-size: 1rem;
}

.rec-text {
    color: var(--ps-text-secondary);
    margin-bottom: var(--ps-space-2);
    line-height: 1.6;
}

.rec-exercises {
    font-size: 0.875rem;
    color: var(--ps-text-muted);
    font-style: italic;
    padding: var(--ps-space-2) var(--ps-space-3);
    background: rgba(255,255,255,0.7);
    border-radius: var(--ps-radius);
    border: 1px solid var(--ps-primary-200);
}

/* Enhanced Detailed Scores */
.detailed-scores {
    margin: var(--ps-space-5) 0;
    padding: var(--ps-space-6);
    background: linear-gradient(135deg, var(--ps-bg-secondary), var(--ps-bg-tertiary));
    border-radius: var(--ps-radius-xl);
    border: 1px solid var(--ps-border);
    box-shadow: var(--ps-shadow-sm);
}

.detailed-scores h4 {
    color: var(--ps-text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--ps-space-5);
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.detailed-scores h4::before {
    content: '📉';
    font-size: 1.5rem;
}

.score-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ps-space-6);
    margin-top: var(--ps-space-4);
}

.score-category h5 {
    margin-bottom: var(--ps-space-3);
    color: var(--ps-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.component-scores {
    display: flex;
    flex-direction: column;
    gap: var(--ps-space-2);
}

.component-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ps-space-3);
    background: var(--ps-bg-primary);
    border-radius: var(--ps-radius);
    border-left: 3px solid var(--ps-primary-200);
    box-shadow: var(--ps-shadow-sm);
    transition: all 0.2s ease;
}

.component-item:hover {
    transform: translateX(2px);
    border-left-color: var(--ps-primary);
}

.component-name {
    font-size: 0.875rem;
    color: var(--ps-text-secondary);
    font-weight: 500;
}

.component-score {
    font-weight: 700;
    color: var(--ps-text-primary);
    font-size: 1rem;
}

/* Enhanced Audio Analysis */
.audio-analysis {
    margin: var(--ps-space-5) 0;
    padding: var(--ps-space-6);
    background: linear-gradient(135deg, var(--ps-primary-600) 0%, var(--ps-primary-700) 50%, #1e40af 100%);
    color: var(--ps-text-inverse);
    border-radius: var(--ps-radius-xl);
    box-shadow: var(--ps-shadow-lg);
    position: relative;
    overflow: hidden;
}

.audio-analysis::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: audioWave 4s ease-in-out infinite;
}

@keyframes audioWave {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.audio-analysis h4 {
    color: var(--ps-text-inverse);
    margin-bottom: var(--ps-space-4);
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
}

.audio-analysis h4::before {
    content: '🎧';
    font-size: 1.5rem;
}

.audio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--ps-space-4);
    position: relative;
    z-index: 1;
}

.audio-stat {
    text-align: center;
    padding: var(--ps-space-4);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--ps-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.audio-stat:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.audio-stat .stat-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: var(--ps-space-1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.audio-stat .stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
}

/* Enhanced Animations */
@keyframes scoreCount {
    from { 
        opacity: 0; 
        transform: translateY(-10px) scale(0.8); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.score-value, .score-number {
    animation: scoreCount 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Enhanced Progress Bar with Shimmer */
.score-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2.5s infinite;
}

/* Enhanced Feedback Sections */
.feedback-section {
    margin: var(--ps-space-5) 0;
    padding: var(--ps-space-5);
    border-radius: var(--ps-radius-lg);
    border-left: 4px solid;
    box-shadow: var(--ps-shadow-sm);
    transition: all 0.3s ease;
}

.feedback-section:hover {
    transform: translateX(2px);
    box-shadow: var(--ps-shadow-md);
}

.feedback-section:nth-child(1) {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left-color: #0ea5e9;
}

.feedback-section:nth-child(2) {
    background: linear-gradient(135deg, #fef7ff, #f3e8ff);
    border-left-color: #a855f7;
}

.feedback-section:nth-child(3) {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-left-color: var(--ps-success);
}

.feedback-section:nth-child(4) {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-left-color: var(--ps-warning);
}

.feedback-section:nth-child(5) {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    border-left-color: var(--ps-error);
}

.feedback-section h4 {
    margin: 0 0 var(--ps-space-3) 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ps-text-primary);
}

.feedback-section ul, .feedback-section ol {
    margin: var(--ps-space-3) 0;
    padding-left: var(--ps-space-5);
}

.feedback-section li {
    margin: var(--ps-space-1) 0;
    line-height: 1.6;
    color: var(--ps-text-secondary);
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --ps-border: #000000;
        --ps-text-primary: #000000;
        --ps-text-secondary: #333333;
    }
}

/* Dark Mode Support - Disabled for consistent light theme */
/* 
@media (prefers-color-scheme: dark) {
    .prepsmart-read-aloud-container {
        filter: invert(1) hue-rotate(180deg);
    }
}
*/