/* Stylesheet: "One Click" Premium Design System (Fanling Kau Yan College) */

:root {
    --bg-primary: #f0faf5;
    --bg-secondary: #e6f6ee;
    --accent-emerald: #059669;
    --accent-emerald-glow: rgba(5, 150, 105, 0.15);
    --accent-red: #dc2626;
    --accent-yellow: #d97706;
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(5, 150, 105, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 100 100'%3E%3Cpath d='M50,25 C55,25 58,28 58,32 C58,36 55,39 50,39 C45,39 42,36 42,32 C42,28 45,25 50,25 Z M32,50 C32,40 68,40 68,50 C68,60 32,60 32,50 Z M28,45 C25,45 23,48 25,51 C27,54 31,52 31,49 C31,46 29,45 28,45 Z M72,45 C75,45 77,48 75,51 C73,54 69,52 69,49 C69,46 71,45 72,45 Z M35,63 C33,65 34,68 37,68 C40,68 41,65 39,62 C37,59 35,61 35,63 Z M65,63 C67,65 66,68 63,68 C60,68 59,65 61,62 C63,59 65,61 65,63 Z M50,59 C49,63 51,66 50,69' fill='none' stroke='rgba(16, 185, 129, 0.04)' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
        radial-gradient(circle at 5% 5%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 95% 95%, rgba(217, 119, 6, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #f0faf5 0%, #e8f7f0 100%);
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

/* 1. Header & Navigation */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.turtle-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--accent-emerald);
    box-shadow: 0 0 15px var(--accent-emerald-glow);
    animation: breathing 4s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0f172a, var(--accent-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text .subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

.portal-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.toggle-container {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    padding: 3px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    margin-right: 12px;
}

.form-toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-toggle-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn.active {
    background: var(--accent-emerald);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--accent-emerald-glow);
}

.nav-btn:hover:not(.active) {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* 2. Glassmorphism Card System */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
}

/* 3. Panel Toggles */
.portal-panel {
    display: none;
}

.portal-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 4. Student Hub Welcome Banner & 6 Skills Grid */
.welcome-banner {
    margin-bottom: 24px;
}

.welcome-banner h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

.welcome-banner p {
    color: var(--text-muted);
    font-size: 14px;
}

.skills-grid-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.skill-main-card {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
}

.skill-main-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-emerald);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.skill-main-card.highlight {
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), var(--glass-bg));
    border-color: rgba(16, 185, 129, 0.25);
}

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

.skill-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--text-muted);
}

.skill-main-card.highlight .skill-badge {
    background: var(--accent-emerald-glow);
    color: var(--accent-emerald);
}

.skill-status-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-emerald);
}

.skill-status-tag.dev {
    color: var(--accent-yellow);
}

.skill-icon-large {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.skill-main-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.skill-main-body p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 5. Active Practice View */
.active-practice-view {
    margin-top: 24px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.practice-wrapper {
    animation: fadeIn 0.3s ease-out;
}

.text-center {
    text-align: center;
    padding: 48px 32px;
}

.text-center h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.text-center p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.max-width-btn {
    max-width: 320px;
    margin: 0 auto;
}

/* 6. Junior Outlines Grid Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
}

.thematic-list {
    list-style: none;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.theme-item {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.theme-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

.theme-item.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    border-left-color: var(--accent-emerald);
    font-weight: 600;
}

/* 7. Recitation Box & Highlights */
.recitation-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 24px;
    min-height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 20px;
}

.word-stream {
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
    letter-spacing: 0.2px;
}

.word-stream span {
    transition: all 0.2s ease;
    padding: 2px 4px;
    border-radius: 4px;
    display: inline-block;
}

.word-stream span.correct {
    color: #10b981;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.25);
}

.word-stream span.incorrect {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.word-stream span.hinted {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
    border-bottom: 2px dashed #f59e0b;
}

.word-stream span.current {
    color: var(--text-main);
    border-bottom: 2px solid var(--accent-emerald);
}

/* 8. Controls and scaffolded hint widget */
.recording-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.action-btn {
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
}

.record-btn {
    position: relative;
    background: var(--accent-emerald);
    color: #ffffff;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.record-btn.recording {
    background: var(--accent-red);
}

.pulse-ring {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-red);
    border-radius: 30px;
    left: 0;
    top: 0;
    animation: rip 1.5s linear infinite;
}

@keyframes rip {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0; }
}

.record-btn.recording .pulse-ring {
    display: block;
}

.hint-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    padding: 10px 20px;
    border: 1px solid var(--glass-border);
}

.meter-panel {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric .label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.metric .value {
    font-size: 16px;
    font-weight: 700;
}

.status-badge {
    color: var(--accent-emerald);
}

.status-badge.failed {
    color: var(--accent-red);
}

.hint-scaffold-card {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: slideIn 0.3s ease-out;
}

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

.hint-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--accent-yellow);
}

.hint-content {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    padding-left: 24px;
}

/* 9. Integrated Launch Links */
.launch-link {
    display: block;
    width: 100%;
    text-align: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    padding: 12px 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.launch-link:hover {
    background: var(--accent-emerald);
    color: #ffffff;
}

/* 10. SVO Sentence Builder Custom Area */
.svo-sandbox-container {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.word-pool, .target-sentence-zone {
    min-height: 60px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
}

.word-pool {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255,255,255,0.05);
}

.target-sentence-zone {
    background: rgba(16, 185, 129, 0.03);
    border: 1px dashed var(--accent-emerald-glow);
}

.svo-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.svo-card:hover {
    border-color: var(--accent-emerald);
    transform: scale(1.05);
}

.svo-controls {
    display: flex;
    gap: 12px;
}

.modal-control-btn {
    background: var(--accent-emerald);
    border: none;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.modal-control-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.svo-feedback {
    margin-top: 12px;
    padding: 12px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    font-size: 13px;
    font-weight: 600;
}

/* 11. Teacher Hub Table */
.teacher-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remedial-trigger-btn {
    background: var(--accent-yellow);
    border: none;
    color: #000000;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.remedial-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.analytics-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.stat-bubble {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-emerald);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.alert-list {
    margin-top: 16px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert-list li {
    font-size: 13px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.06);
    border-left: 3px solid var(--accent-red);
}

.roster-card {
    overflow-x: auto;
}

.roster-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    text-align: left;
}

.roster-table th {
    padding: 12px 16px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--glass-border);
}

.roster-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 14px;
}

.score-green { color: var(--accent-emerald); font-weight: 600; }
.score-yellow { color: var(--accent-yellow); font-weight: 600; }
.score-red { color: var(--accent-red); font-weight: 600; }

.weakness-tag {
    display: inline-block;
    background: rgba(239, 68, 68, 0.08);
    color: var(--accent-red);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 4px;
}

.table-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.table-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 12. Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.modal.hidden {
    display: none !important;
}

.modal-content {
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content h3 {
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.audio-wave-visualization {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 60px;
    margin-bottom: 24px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
}

.audio-wave-visualization .bar {
    width: 6px;
    height: 15px;
    background: var(--accent-emerald);
    border-radius: 3px;
    animation: soundWave 1.2s ease-in-out infinite alternate;
    animation-play-state: paused;
}

@keyframes soundWave {
    from { height: 10px; }
    to { height: 45px; }
}

.audio-controls {
    display: flex;
    justify-content: space-between;
}

.modal-close-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

/* Premium Native Audio Player Widget styles */
.audio-player-container {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.audio-play-btn {
    background: var(--accent-emerald);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.audio-play-btn:hover {
    background: #059669;
}

.audio-timeline-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.audio-progress {
    height: 100%;
    background: var(--accent-emerald);
    border-radius: 4px;
    width: 0%;
    transition: width 0.25s linear;
}

.audio-time {
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
}

/* Quiz Sheet Layout */
.quiz-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.quiz-question {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 12px;
}

.quiz-question p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.option-label:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
}

.option-label input[type="radio"] {
    accent-color: var(--accent-emerald);
    cursor: pointer;
}

/* App Iframe & Seamless Embedding styles */
.app-iframe {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 13. Login Panel Styling */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 40px 32px;
}

.login-turtle-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    border: 3px solid var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 4px 20px var(--accent-emerald-glow);
    animation: breathing 4s ease-in-out infinite;
}

.login-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-main);
}

.login-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.login-tabs {
    display: flex;
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.login-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-tab-btn.active {
    background: #ffffff;
    color: var(--accent-emerald);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 16px;
}

.input-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

.input-group input:focus {
    border-color: var(--accent-emerald);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--accent-emerald-glow);
}

.quick-test-section {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
    text-align: left;
}

.quick-test-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.quick-test-buttons {
    display: flex;
    gap: 8px;
}

.quick-user-btn {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-user-btn:hover {
    background: var(--accent-emerald-glow);
    color: var(--accent-emerald);
    border-color: var(--accent-emerald);
}

.login-error {
    color: var(--accent-red);
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
}

/* Recitation interactive styles */
.recitation-text span {
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 4px;
    transition: all 0.2s ease;
}

.recitation-text span:hover {
    background: var(--bg-secondary);
    color: var(--accent-emerald);
}

#recitation-text span.played-hint {
    background: var(--accent-emerald-glow) !important;
    color: var(--accent-emerald) !important;
    transform: scale(1.08);
}

.reciting-blur span {
    opacity: 0;
    pointer-events: none !important;
    user-select: none !important;
    transition: opacity 0.3s ease;
}

#recitation-text span.hint-reveal {
    opacity: 1 !important;
    color: var(--accent-emerald) !important;
    font-weight: 800 !important;
    background: var(--accent-emerald-glow) !important;
    border-radius: 4px;
    padding: 2px 6px;
    box-shadow: 0 2px 8px var(--accent-emerald-glow);
}






