@import '_content/Preplo.Pronunciation/Preplo.Pronunciation.bundle.scp.css';

/* /Pages/App/AITutor/AIClassroom.razor.rz.scp.css */
/* AI Classroom Styles */
.ai-classroom-container[b-vb3g1ze1q1] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 100px);
}

/* ==================== LESSON SELECTION ==================== */
.lesson-selection-screen[b-vb3g1ze1q1] {
    animation: fadeIn-b-vb3g1ze1q1 0.3s ease;
}

.lesson-header[b-vb3g1ze1q1] {
    text-align: center;
    margin-bottom: 30px;
}

.lesson-header h1[b-vb3g1ze1q1] {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.lesson-header p[b-vb3g1ze1q1] {
    color: #666;
}

.category-tabs[b-vb3g1ze1q1] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-btn[b-vb3g1ze1q1] {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.tab-btn:hover[b-vb3g1ze1q1] {
    border-color: #6366f1;
    color: #6366f1;
}

.tab-btn.active[b-vb3g1ze1q1] {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.difficulty-filter[b-vb3g1ze1q1] {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.difficulty-filter select[b-vb3g1ze1q1] {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

/* Lesson Grid */
.lesson-grid[b-vb3g1ze1q1] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.lesson-card[b-vb3g1ze1q1] {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    position: relative;
}

.lesson-card:hover[b-vb3g1ze1q1] {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-color: #6366f1;
}

.lesson-card.featured[b-vb3g1ze1q1] {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, white 100%);
}

.lesson-badge[b-vb3g1ze1q1] {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f59e0b;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.lesson-badge.completed-badge[b-vb3g1ze1q1] {
    background: #10b981;
    top: auto;
    bottom: 10px;
    right: 10px;
}

.lesson-card.completed[b-vb3g1ze1q1] {
    border-left: 4px solid #10b981;
}

.rating-badge[b-vb3g1ze1q1] {
    background: #f59e0b;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.completions[b-vb3g1ze1q1] {
    color: #10b981;
    font-weight: 500;
}

.lesson-category[b-vb3g1ze1q1] {
    font-size: 12px;
    color: #6366f1;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.lesson-card h3[b-vb3g1ze1q1] {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.lesson-card p[b-vb3g1ze1q1] {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.lesson-meta[b-vb3g1ze1q1] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.lesson-meta span[b-vb3g1ze1q1] {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    background: #f3f4f6;
}

.lesson-meta .duration[b-vb3g1ze1q1] {
    background: #e0e7ff;
    color: #4f46e5;
}

.lesson-meta .difficulty[b-vb3g1ze1q1] {
    text-transform: capitalize;
}

.lesson-meta .difficulty.beginner[b-vb3g1ze1q1] {
    background: #d1fae5;
    color: #059669;
}

.lesson-meta .difficulty.intermediate[b-vb3g1ze1q1] {
    background: #fef3c7;
    color: #d97706;
}

.lesson-meta .difficulty.advanced[b-vb3g1ze1q1] {
    background: #fee2e2;
    color: #dc2626;
}

.lesson-objectives[b-vb3g1ze1q1] {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.lesson-objectives strong[b-vb3g1ze1q1] {
    font-size: 12px;
    color: #666;
}

.lesson-objectives ul[b-vb3g1ze1q1] {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.lesson-objectives li[b-vb3g1ze1q1] {
    font-size: 13px;
    color: #444;
    margin-bottom: 4px;
}

/* ==================== DURATION SELECTION ==================== */
.duration-selection-screen[b-vb3g1ze1q1] {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn-b-vb3g1ze1q1 0.3s ease;
}

.back-btn[b-vb3g1ze1q1] {
    background: none;
    border: none;
    color: #6366f1;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 20px;
}

.back-btn:hover[b-vb3g1ze1q1] {
    text-decoration: underline;
}

.selected-lesson-preview[b-vb3g1ze1q1] {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.selected-lesson-preview h2[b-vb3g1ze1q1] {
    margin-bottom: 10px;
    color: #1a1a2e;
}

.selected-lesson-preview p[b-vb3g1ze1q1] {
    color: #666;
    margin-bottom: 15px;
}

.lesson-points[b-vb3g1ze1q1] {
    background: white;
    border-radius: 8px;
    padding: 15px;
}

.lesson-points strong[b-vb3g1ze1q1] {
    color: #6366f1;
    font-size: 14px;
}

.lesson-points ul[b-vb3g1ze1q1] {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.lesson-points li[b-vb3g1ze1q1] {
    margin-bottom: 5px;
    color: #444;
}

.duration-selection-screen h3[b-vb3g1ze1q1] {
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a2e;
}

/* Tier Selection */
.tier-options[b-vb3g1ze1q1] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.tier-options.three-plans[b-vb3g1ze1q1] {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .tier-options.three-plans[b-vb3g1ze1q1] {
        grid-template-columns: 1fr;
    }
}

.tier-card[b-vb3g1ze1q1] {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tier-card:hover[b-vb3g1ze1q1] {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tier-card.selected[b-vb3g1ze1q1] {
    border-color: #6366f1;
    background: #f8f7ff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

.tier-header[b-vb3g1ze1q1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tier-name[b-vb3g1ze1q1] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.tier-badge[b-vb3g1ze1q1] {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.tier-badge.free[b-vb3g1ze1q1] {
    background: #d1fae5;
    color: #059669;
}

.tier-badge.standard[b-vb3g1ze1q1] {
    background: #fef3c7;
    color: #d97706;
}

.tier-badge.affordable[b-vb3g1ze1q1] {
    background: #d1fae5;
    color: #059669;
}

.tier-badge.immersive[b-vb3g1ze1q1] {
    background: #e0e7ff;
    color: #4f46e5;
}

.tier-description[b-vb3g1ze1q1] {
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.tier-features[b-vb3g1ze1q1] {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    color: #4a5568;
}

.tier-features li[b-vb3g1ze1q1] {
    padding: 3px 0;
    padding-left: 18px;
    position: relative;
}

.tier-features li[b-vb3g1ze1q1]::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}

.tier-tech[b-vb3g1ze1q1] {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}

.tier-price[b-vb3g1ze1q1] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6366f1;
}

.tier-price.free-price[b-vb3g1ze1q1] {
    color: #059669;
    font-size: 1.3rem;
}

/* Free tier avatar styles */
.static-avatar-wrapper.free-tier .avatar-circle[b-vb3g1ze1q1] {
    background: linear-gradient(135deg, #f0f0ff 0%, #e0e7ff 100%);
}

.free-avatar[b-vb3g1ze1q1] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.duration-options[b-vb3g1ze1q1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.duration-card[b-vb3g1ze1q1] {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.duration-card:hover[b-vb3g1ze1q1] {
    border-color: #6366f1;
}

.duration-card.selected[b-vb3g1ze1q1] {
    border-color: #6366f1;
    background: #f0f0ff;
}

.duration-card.recommended[b-vb3g1ze1q1] {
    border-color: #10b981;
}

.recommended-badge[b-vb3g1ze1q1] {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.duration-value[b-vb3g1ze1q1] {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #6366f1;
}

.duration-unit[b-vb3g1ze1q1] {
    display: block;
    font-size: 14px;
    color: #666;
}

.duration-label[b-vb3g1ze1q1] {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

.start-class-btn[b-vb3g1ze1q1] {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.start-class-btn:hover:not(:disabled)[b-vb3g1ze1q1] {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.start-class-btn:disabled[b-vb3g1ze1q1] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== IN CLASS SESSION ==================== */
.in-class-screen[b-vb3g1ze1q1] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px);
    animation: fadeIn-b-vb3g1ze1q1 0.3s ease;
}

.class-header[b-vb3g1ze1q1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.lesson-info h2[b-vb3g1ze1q1] {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
}

.phase-badge[b-vb3g1ze1q1] {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.phase-badge.introduction[b-vb3g1ze1q1] { background: #e0f2fe; color: #0369a1; }
.phase-badge.teaching[b-vb3g1ze1q1] { background: #d1fae5; color: #059669; }
.phase-badge.practice[b-vb3g1ze1q1] { background: #fef3c7; color: #d97706; }
.phase-badge.doubtresolution[b-vb3g1ze1q1] { background: #fee2e2; color: #dc2626; }
.phase-badge.summary[b-vb3g1ze1q1] { background: #e0e7ff; color: #4f46e5; }

.class-timer[b-vb3g1ze1q1] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #f3f4f6;
    border-radius: 25px;
}

.class-timer.warning[b-vb3g1ze1q1] {
    background: #fef3c7;
    animation: pulse-b-vb3g1ze1q1 1s infinite;
}

.class-timer.time-up[b-vb3g1ze1q1] {
    background: #fee2e2;
}

.timer-value[b-vb3g1ze1q1] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.timer-warning[b-vb3g1ze1q1] {
    font-size: 12px;
    color: #d97706;
    font-weight: 600;
}

.end-class-btn[b-vb3g1ze1q1] {
    padding: 10px 20px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.end-class-btn:hover[b-vb3g1ze1q1] {
    background: #dc2626;
}

/* Progress Bar */
.progress-section[b-vb3g1ze1q1] {
    margin-bottom: 15px;
}

.progress-bar[b-vb3g1ze1q1] {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill[b-vb3g1ze1q1] {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.5s ease;
}

.progress-info[b-vb3g1ze1q1] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

/* Class Content */
.class-content[b-vb3g1ze1q1] {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
    flex: 1;
    min-height: 0;
}

.avatar-section[b-vb3g1ze1q1] {
    display: flex;
    flex-direction: column;
}

.video-container[b-vb3g1ze1q1] {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9/16;
    max-height: 400px;
    position: relative;
}

.video-container video[b-vb3g1ze1q1] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaking-indicator[b-vb3g1ze1q1] {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(99, 102, 241, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    z-index: 10;
}

/* Static avatar for Basic tier */
.static-avatar-wrapper[b-vb3g1ze1q1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.avatar-circle[b-vb3g1ze1q1] {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(99, 102, 241, 0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.avatar-circle.speaking[b-vb3g1ze1q1] {
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4), 0 0 20px rgba(99, 102, 241, 0.3);
}

.avatar-img.speaking[b-vb3g1ze1q1] {
    animation: avatar-breathe-b-vb3g1ze1q1 2s ease-in-out infinite;
}

@keyframes avatar-breathe-b-vb3g1ze1q1 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.avatar-fallback[b-vb3g1ze1q1] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.avatar-fallback span[b-vb3g1ze1q1] {
    font-size: 64px;
    color: white;
    font-weight: bold;
}

/* Audio-reactive mouth overlay */
.mouth-animation-overlay[b-vb3g1ze1q1] {
    --mouth-open: 0;
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(20px + var(--mouth-open) * 20px);
    height: calc(4px + var(--mouth-open) * 18px);
    background: radial-gradient(ellipse, rgba(30, 10, 10, 0.85) 0%, rgba(60, 20, 20, 0.7) 60%, rgba(80, 30, 30, 0.3) 100%);
    border-radius: 50%;
    pointer-events: none;
    opacity: calc(0.3 + var(--mouth-open) * 0.7);
    filter: blur(1px);
    transition: width 0.05s ease, height 0.05s ease, opacity 0.05s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

/* Glow ring around avatar */
.avatar-glow-ring[b-vb3g1ze1q1] {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px solid transparent;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.avatar-glow-ring.active[b-vb3g1ze1q1] {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    animation: glow-pulse-b-vb3g1ze1q1 1.5s ease-in-out infinite;
}

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

/* Voice wave bars */
.voice-wave-bars[b-vb3g1ze1q1] {
    display: flex;
    gap: 3px;
    align-items: center;
    justify-content: center;
    height: 30px;
    margin-top: 15px;
}

.voice-wave-bars span[b-vb3g1ze1q1] {
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    animation: wave-bar-b-vb3g1ze1q1 1s ease-in-out infinite;
}

.voice-wave-bars span:nth-child(1)[b-vb3g1ze1q1] { height: 10px; animation-delay: 0s; }
.voice-wave-bars span:nth-child(2)[b-vb3g1ze1q1] { height: 18px; animation-delay: 0.1s; }
.voice-wave-bars span:nth-child(3)[b-vb3g1ze1q1] { height: 14px; animation-delay: 0.2s; }
.voice-wave-bars span:nth-child(4)[b-vb3g1ze1q1] { height: 22px; animation-delay: 0.3s; }
.voice-wave-bars span:nth-child(5)[b-vb3g1ze1q1] { height: 12px; animation-delay: 0.4s; }

@keyframes wave-bar-b-vb3g1ze1q1 {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.8); }
}

/* Speaking state for video container */
.video-container.speaking[b-vb3g1ze1q1] {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.tutor-info[b-vb3g1ze1q1] {
    text-align: center;
    padding: 10px;
    font-weight: 500;
}

/* Chat Section */
.chat-section[b-vb3g1ze1q1] {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.messages-container[b-vb3g1ze1q1] {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message[b-vb3g1ze1q1] {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    position: relative;
}

.message.user[b-vb3g1ze1q1] {
    align-self: flex-end;
    background: #6366f1;
    color: white;
    border-bottom-right-radius: 4px;
}

.message.tutor[b-vb3g1ze1q1] {
    align-self: flex-start;
    background: #f3f4f6;
    color: #1a1a2e;
    border-bottom-left-radius: 4px;
}

.message.doubt[b-vb3g1ze1q1] {
    border: 2px solid #f59e0b;
}

.doubt-badge[b-vb3g1ze1q1] {
    position: absolute;
    top: -8px;
    left: 10px;
    background: #f59e0b;
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
}

.message-content[b-vb3g1ze1q1] {
    line-height: 1.5;
    white-space: pre-wrap;
}

.message-feedback[b-vb3g1ze1q1] {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 13px;
    color: #059669;
}

.message-time[b-vb3g1ze1q1] {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 5px;
    text-align: right;
}

.typing-indicator[b-vb3g1ze1q1] {
    display: inline-flex;
    gap: 4px;
}

.typing-indicator span[b-vb3g1ze1q1] {
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
    animation: typing-b-vb3g1ze1q1 1.4s infinite;
}

.typing-indicator span:nth-child(2)[b-vb3g1ze1q1] { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3)[b-vb3g1ze1q1] { animation-delay: 0.4s; }

@keyframes typing-b-vb3g1ze1q1 {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

/* Input Area */
.input-area[b-vb3g1ze1q1] {
    padding: 15px;
    border-top: 1px solid #eee;
}

.input-row[b-vb3g1ze1q1] {
    display: flex;
    gap: 10px;
}

.input-row input[b-vb3g1ze1q1] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
}

.input-row input:focus[b-vb3g1ze1q1] {
    border-color: #6366f1;
}

.doubt-btn[b-vb3g1ze1q1] {
    padding: 12px 16px;
    background: #fef3c7;
    color: #d97706;
    border: 2px solid #f59e0b;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
}

.doubt-btn:hover:not(:disabled)[b-vb3g1ze1q1] {
    background: #f59e0b;
    color: white;
}

.send-btn[b-vb3g1ze1q1] {
    padding: 12px 24px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
}

.send-btn:hover:not(:disabled)[b-vb3g1ze1q1] {
    background: #4f46e5;
}

.send-btn:disabled[b-vb3g1ze1q1], .doubt-btn:disabled[b-vb3g1ze1q1] {
    opacity: 0.5;
    cursor: not-allowed;
}

.record-btn[b-vb3g1ze1q1] {
    margin-top: 10px;
    padding: 10px 20px;
    background: white;
    border: 2px solid #6366f1;
    color: #6366f1;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
}

.record-btn:hover[b-vb3g1ze1q1] {
    background: #f0f0ff;
}

.recording-indicator[b-vb3g1ze1q1] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #fee2e2;
    border-radius: 8px;
    margin-top: 10px;
}

.recording-dot[b-vb3g1ze1q1] {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-b-vb3g1ze1q1 1s infinite;
}

/* ==================== SYSTEM NOTIFICATIONS ==================== */
.system-notification[b-vb3g1ze1q1] {
    display: flex;
    justify-content: center;
    margin: 12px 0;
}

.system-notification span[b-vb3g1ze1q1] {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ==================== SUMMARY SCREEN ==================== */
.summary-screen[b-vb3g1ze1q1] {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn-b-vb3g1ze1q1 0.3s ease;
}

.summary-header[b-vb3g1ze1q1] {
    text-align: center;
    margin-bottom: 30px;
}

.summary-header h1[b-vb3g1ze1q1] {
    font-size: 2rem;
    color: #059669;
    margin-bottom: 10px;
}

.summary-stats[b-vb3g1ze1q1] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card[b-vb3g1ze1q1] {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.stat-card.xp[b-vb3g1ze1q1] {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.stat-value[b-vb3g1ze1q1] {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

.stat-card.xp .stat-value[b-vb3g1ze1q1] {
    color: white;
}

.stat-label[b-vb3g1ze1q1] {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.stat-card.xp .stat-label[b-vb3g1ze1q1] {
    color: rgba(255,255,255,0.8);
}

.summary-content[b-vb3g1ze1q1] {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.summary-section[b-vb3g1ze1q1] {
    margin-bottom: 25px;
}

.summary-section:last-child[b-vb3g1ze1q1] {
    margin-bottom: 0;
}

.summary-section h3[b-vb3g1ze1q1] {
    color: #6366f1;
    margin-bottom: 10px;
    font-size: 1rem;
}

.summary-section p[b-vb3g1ze1q1] {
    color: #444;
    line-height: 1.6;
}

.summary-section ul[b-vb3g1ze1q1] {
    margin: 0;
    padding-left: 20px;
}

.summary-section li[b-vb3g1ze1q1] {
    margin-bottom: 8px;
    color: #444;
}

/* Rating */
.rating-section[b-vb3g1ze1q1] {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.star-rating[b-vb3g1ze1q1] {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.star[b-vb3g1ze1q1] {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.star:hover[b-vb3g1ze1q1], .star.filled[b-vb3g1ze1q1] {
    color: #f59e0b;
    transform: scale(1.1);
}

.rating-section textarea[b-vb3g1ze1q1] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 15px;
}

.submit-rating-btn[b-vb3g1ze1q1] {
    padding: 12px 30px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.submit-rating-btn:disabled[b-vb3g1ze1q1] {
    opacity: 0.5;
    cursor: not-allowed;
}

.summary-actions[b-vb3g1ze1q1] {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.secondary-btn[b-vb3g1ze1q1] {
    padding: 12px 30px;
    background: white;
    color: #6366f1;
    border: 2px solid #6366f1;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.primary-btn[b-vb3g1ze1q1] {
    padding: 12px 30px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

/* Utilities */
.loading-spinner[b-vb3g1ze1q1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
}

.spinner[b-vb3g1ze1q1] {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin-b-vb3g1ze1q1 1s linear infinite;
}

.spinner-sm[b-vb3g1ze1q1] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-vb3g1ze1q1 1s linear infinite;
}

@keyframes spin-b-vb3g1ze1q1 {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn-b-vb3g1ze1q1 {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive */
@media (max-width: 900px) {
    .class-content[b-vb3g1ze1q1] {
        grid-template-columns: 1fr;
    }

    .avatar-section[b-vb3g1ze1q1] {
        order: -1;
    }

    .video-container[b-vb3g1ze1q1] {
        max-height: 200px;
        aspect-ratio: 16/9;
    }

    .summary-stats[b-vb3g1ze1q1] {
        grid-template-columns: repeat(3, 1fr);
    }

    .duration-options[b-vb3g1ze1q1] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .class-header[b-vb3g1ze1q1] {
        flex-direction: column;
        gap: 10px;
    }

    .summary-stats[b-vb3g1ze1q1] {
        grid-template-columns: repeat(2, 1fr);
    }

    .input-row[b-vb3g1ze1q1] {
        flex-direction: column;
    }

    .doubt-btn[b-vb3g1ze1q1] {
        order: 2;
    }
}

/* Practice Exercises Panel */
.practice-panel[b-vb3g1ze1q1] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.practice-panel-header[b-vb3g1ze1q1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #eef2ff;
    cursor: pointer;
    font-weight: 600;
    color: #4338ca;
}

.practice-panel-header:hover[b-vb3g1ze1q1] {
    background: #e0e7ff;
}

.collapse-icon[b-vb3g1ze1q1] {
    font-size: 12px;
}

.practice-panel-content[b-vb3g1ze1q1] {
    padding: 16px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.practice-section[b-vb3g1ze1q1] {
    flex: 1;
    min-width: 200px;
}

.practice-section h4[b-vb3g1ze1q1] {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.teaching-points-list[b-vb3g1ze1q1] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.teaching-points-list li[b-vb3g1ze1q1] {
    padding: 6px 10px;
    margin-bottom: 4px;
    border-radius: 6px;
    font-size: 13px;
    color: #6b7280;
    background: white;
    border-left: 3px solid #d1d5db;
}

.teaching-points-list li.covered[b-vb3g1ze1q1] {
    color: #059669;
    border-left-color: #10b981;
    background: #ecfdf5;
    text-decoration: line-through;
}

.teaching-points-list li.current[b-vb3g1ze1q1] {
    color: #4338ca;
    border-left-color: #6366f1;
    background: #eef2ff;
    font-weight: 600;
}

.practice-questions-list[b-vb3g1ze1q1] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.practice-questions-list li[b-vb3g1ze1q1] {
    padding: 6px 10px;
    margin-bottom: 4px;
    border-radius: 6px;
    font-size: 13px;
    background: white;
    color: #374151;
    border-left: 3px solid #f59e0b;
}

.vocabulary-chips[b-vb3g1ze1q1] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vocab-chip[b-vb3g1ze1q1] {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.show-practice-btn[b-vb3g1ze1q1] {
    display: block;
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    background: #eef2ff;
    color: #4338ca;
    border: 1px dashed #a5b4fc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.show-practice-btn:hover[b-vb3g1ze1q1] {
    background: #e0e7ff;
}

/* Locked lesson state */
.lesson-card.locked[b-vb3g1ze1q1] {
    opacity: 0.6;
    border-left: 4px solid #9ca3af;
    cursor: not-allowed;
    position: relative;
}

.lesson-card.locked[b-vb3g1ze1q1]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: inherit;
    pointer-events: none;
}

.lesson-badge.locked-badge[b-vb3g1ze1q1] {
    background: #6b7280;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    position: absolute;
    top: 8px;
    right: 8px;
}

.prerequisite-info[b-vb3g1ze1q1] {
    font-size: 12px;
    color: #f59e0b;
    font-weight: 500;
    margin-top: 4px;
    padding: 4px 8px;
    background: #fffbeb;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
}
/* /Pages/App/AITutor/AITutorSession.razor.rz.scp.css */
/* Avatar speaking animation */
[b-oxu6bkzzh4] .avatar-speaking {
    animation: pulse-glow-b-oxu6bkzzh4 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(var(--mud-palette-primary-rgb), 0.4);
}

@keyframes pulse-glow-b-oxu6bkzzh4 {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(76, 175, 80, 0.3);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
        transform: scale(1);
    }
}

/* Voice wave animation */
[b-oxu6bkzzh4] .voice-wave {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

[b-oxu6bkzzh4] .voice-wave span {
    width: 6px;
    background: linear-gradient(180deg, #4CAF50 0%, #2E7D32 100%);
    border-radius: 3px;
    animation: wave-b-oxu6bkzzh4 1s ease-in-out infinite;
}

[b-oxu6bkzzh4] .voice-wave span:nth-child(1) {
    animation-delay: 0s;
    height: 15px;
}

[b-oxu6bkzzh4] .voice-wave span:nth-child(2) {
    animation-delay: 0.1s;
    height: 25px;
}

[b-oxu6bkzzh4] .voice-wave span:nth-child(3) {
    animation-delay: 0.2s;
    height: 35px;
}

[b-oxu6bkzzh4] .voice-wave span:nth-child(4) {
    animation-delay: 0.3s;
    height: 25px;
}

[b-oxu6bkzzh4] .voice-wave span:nth-child(5) {
    animation-delay: 0.4s;
    height: 15px;
}

@keyframes wave-b-oxu6bkzzh4 {
    0%, 100% {
        transform: scaleY(0.5);
    }
    50% {
        transform: scaleY(1);
    }
}

/* Recording indicator */
[b-oxu6bkzzh4] .recording-indicator {
    animation: pulse-recording-b-oxu6bkzzh4 1.5s ease-in-out infinite;
}

[b-oxu6bkzzh4] .recording-dot {
    animation: blink-b-oxu6bkzzh4 1s ease-in-out infinite;
}

@keyframes pulse-recording-b-oxu6bkzzh4 {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes blink-b-oxu6bkzzh4 {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Tutor card selection */
[b-oxu6bkzzh4] .tutor-card {
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

[b-oxu6bkzzh4] .tutor-card:hover {
    transform: translateY(-4px);
}

[b-oxu6bkzzh4] .tutor-card.selected {
    border-color: var(--mud-palette-primary);
}

/* Chat messages */
[b-oxu6bkzzh4] .chat-message {
    animation: fadeIn-b-oxu6bkzzh4 0.3s ease;
}

@keyframes fadeIn-b-oxu6bkzzh4 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tier selection cards */
[b-oxu6bkzzh4] .tier-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

[b-oxu6bkzzh4] .tier-card:hover {
    transform: translateY(-2px);
}

[b-oxu6bkzzh4] .tier-card.selected {
    border-color: var(--mud-palette-primary);
}
