/* RemoEdPH — global design tokens (design system) */
:root {
  --remo-blue: #1b9fd9;
  --remo-blue-deep: #0f7bb0;
  --remo-blue-muted: #5a7d96;
  --japandi-beige: #f5f1ea;
  --japandi-beige-deep: #ebe4d8;
  --ed-accent: #f58a3b;
  --ed-accent-soft: #ffd9bc;
  --accent-mint: #9fd4b8;
  --accent-mint-soft: #d9f0e6;
  --accent-sky-soft: #dbeefa;
  --accent-green-soft: #d4efe0;
  --accent-orange-soft: #fde8d6;
  --accent-violet-soft: #ece8fc;
  --accent-teal-soft: #d5efee;
  --surface-card: #ffffff;
  --ink-primary: #1e3a5f;
  --ink-secondary: #41556a;
  --main-radius: 16px;
  --benefit-icon-size: 52px;
  --shadow-card: 0 10px 28px rgba(19, 38, 58, 0.08);
  --shadow-hover: 0 14px 36px rgba(28, 167, 231, 0.12);
}

/* Consolidated styles extracted from inline <style> blocks */
/* Organized by source file */

/* --- Source: clear-token.html --- */
body.page-clear-token{
            font-family: Arial, sans-serif;
            max-width: 600px;
            margin: 50px auto;
            padding: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-align: center;
        }.page-clear-token .container{
            background: rgba(255, 255, 255, 0.1);
            padding: 30px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }.page-clear-token button{
            background: #4CAF50;
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            margin: 10px;
            transition: background 0.3s;
        }.page-clear-token button:hover{
            background: #45a049;
        }.page-clear-token .status{
            margin: 20px 0;
            padding: 15px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.2);
        }


/* --- Source: debug-waiting-room.html --- */
body.page-debug-waiting-room{
            font-family: Arial, sans-serif;
            max-width: 1000px;
            margin: 50px auto;
            padding: 20px;
            background: #f5f5f5;
        }.page-debug-waiting-room .debug-section{
            background: white;
            padding: 20px;
            margin: 20px 0;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }.page-debug-waiting-room .debug-btn{
            background: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            cursor: pointer;
            margin: 10px 5px;
            font-size: 16px;
        }.page-debug-waiting-room .debug-btn:hover{
            background: #45a049;
        }.page-debug-waiting-room .debug-btn.teacher{
            background: #2196F3;
        }.page-debug-waiting-room .debug-btn.student{
            background: #FF9800;
        }.page-debug-waiting-room .debug-btn.danger{
            background: #f44336;
        }.page-debug-waiting-room .status{
            padding: 10px;
            margin: 10px 0;
            border-radius: 4px;
            font-weight: bold;
        }.page-debug-waiting-room .status.success{
            background: #d4edda;
            color: #155724;
        }.page-debug-waiting-room .status.error{
            background: #f8d7da;
            color: #721c24;
        }.page-debug-waiting-room .status.info{
            background: #d1ecf1;
            color: #0c5460;
        }.page-debug-waiting-room .log{
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            padding: 10px;
            border-radius: 4px;
            margin: 10px 0;
            font-family: monospace;
            font-size: 12px;
            max-height: 300px;
            overflow-y: auto;
        }.page-debug-waiting-room .room-info{
            background: #e9ecef;
            padding: 15px;
            border-radius: 6px;
            margin: 10px 0;
            font-family: monospace;
        }


/* --- Source: test-clean-classroom.html --- */
body.page-test-clean-classroom{
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 50px auto;
            padding: 20px;
            background: #f5f5f5;
        }.page-test-clean-classroom .test-section{
            background: white;
            padding: 20px;
            margin: 20px 0;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }.page-test-clean-classroom .test-btn{
            background: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            cursor: pointer;
            margin: 10px 5px;
            font-size: 16px;
        }.page-test-clean-classroom .test-btn:hover{
            background: #45a049;
        }.page-test-clean-classroom .test-btn.teacher{
            background: #2196F3;
        }.page-test-clean-classroom .test-btn.teacher:hover{
            background: #1976D2;
        }.page-test-clean-classroom .test-btn.student{
            background: #FF9800;
        }.page-test-clean-classroom .test-btn.student:hover{
            background: #F57C00;
        }.page-test-clean-classroom .status{
            padding: 10px;
            margin: 10px 0;
            border-radius: 4px;
            font-weight: bold;
        }.page-test-clean-classroom .status.success{
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }.page-test-clean-classroom .status.error{
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }.page-test-clean-classroom .status.info{
            background: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }.page-test-clean-classroom .test-room{
            background: #e9ecef;
            padding: 15px;
            border-radius: 6px;
            margin: 10px 0;
            font-family: monospace;
        }


/* --- Source: test-profile-upload.html --- */
body.page-test-profile-upload{ font-family: Arial, sans-serif; margin: 20px; }.page-test-profile-upload .test-section{ margin: 20px 0; padding: 15px; border: 1px solid #ddd; border-radius: 5px; }.page-test-profile-upload .result{ margin: 10px 0; padding: 10px; border-radius: 3px; }.page-test-profile-upload .success{ background: #d4edda; color: #155724; }.page-test-profile-upload .error{ background: #f8d7da; color: #721c24; }.page-test-profile-upload button{ padding: 10px 15px; margin: 5px; cursor: pointer; }.page-test-profile-upload input[type="file"]{ margin: 10px 0; }


/* --- Source: test-waiting-room.html --- */
body.page-test-waiting-room{
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 50px auto;
            padding: 20px;
            background: #f5f5f5;
        }.page-test-waiting-room .test-section{
            background: white;
            padding: 20px;
            margin: 20px 0;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }.page-test-waiting-room .test-btn{
            background: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            cursor: pointer;
            margin: 10px 5px;
            font-size: 16px;
        }.page-test-waiting-room .test-btn:hover{
            background: #45a049;
        }.page-test-waiting-room .test-btn.teacher{
            background: #2196F3;
        }.page-test-waiting-room .test-btn.student{
            background: #FF9800;
        }.page-test-waiting-room .status{
            padding: 10px;
            margin: 10px 0;
            border-radius: 4px;
            font-weight: bold;
        }.page-test-waiting-room .status.success{
            background: #d4edda;
            color: #155724;
        }.page-test-waiting-room .status.error{
            background: #f8d7da;
            color: #721c24;
        }.page-test-waiting-room .status.info{
            background: #d1ecf1;
            color: #0c5460;
        }


/* --- Source: public/admin-announcements.html --- */
body.page-admin-announcements{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f6fbff; }.page-admin-announcements .remoed-main{ display: flex; min-height: calc(100vh - 70px); }.page-admin-announcements .remoed-sidebar{ width: 220px; background: #fff; box-shadow: 2px 0 8px rgba(0,0,0,0.05); padding: 32px 0 0 0; display: flex; flex-direction: column; }.page-admin-announcements .remoed-logo{ display: flex; align-items: center; gap: 14px; }.page-admin-announcements .remoed-logo img{ height: 48px; }.page-admin-announcements .remoed-title{ font-size: 1.7rem; font-weight: 700; color: #667eea; letter-spacing: 1px; }.page-admin-announcements .remoed-user{ display: flex; align-items: center; gap: 10px; }.page-admin-announcements .remoed-avatar{ width: 72px; height: 72px; border-radius: 50%; background: #667eea; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 2.2rem; }.page-admin-announcements .remoed-username{ color: #667eea; font-weight: 600; }.page-admin-announcements .remoed-menu{ list-style: none; padding: 0; margin: 0; }.page-admin-announcements .remoed-menu li{ padding: 14px 32px; color: #667eea; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 12px; border-left: 4px solid transparent; transition: all 0.2s; }.page-admin-announcements .remoed-menu li.active, .page-admin-announcements .remoed-menu li:hover{ background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); border-left: 4px solid #667eea; color: white; transform: translateX(4px); }.page-admin-announcements .remoed-menu svg{ width: 20px; height: 20px; }.page-admin-announcements .remoed-content{ flex: 1; padding: 12px 16px; }.page-admin-announcements .remoed-section{ background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(28,167,231,0.07); padding: 12px; margin-bottom: 12px; }.page-admin-announcements .remoed-section-title{ font-size: 1rem; font-weight: 700; color: #1ca7e7; margin-bottom: 10px; letter-spacing: 0.5px; }.page-admin-announcements .form-group{ margin-bottom: 12px; }.page-admin-announcements .form-group label{ display: block; margin-bottom: 6px; font-weight: 600; color: #333; font-size: 0.85rem; }.page-admin-announcements .form-group textarea, .page-admin-announcements .form-group select{ width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.85rem; }.page-admin-announcements .form-group textarea{ min-height: 80px; resize: vertical; }.page-admin-announcements .btn{ padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 0.85rem; }.page-admin-announcements .btn-primary{ background: #1ca7e7; color: #fff; }.page-admin-announcements .btn-primary:hover{ background: #168fc1; }.page-admin-announcements .announcement-list{ margin-top: 12px; }.page-admin-announcements .announcement-item{ background: #f8f9fa; border-radius: 6px; padding: 10px; margin-bottom: 8px; border-left: 4px solid #1ca7e7; }.page-admin-announcements .announcement-content{ margin-bottom: 6px; font-size: 0.85rem; }.page-admin-announcements .announcement-meta{ font-size: 0.75rem; color: #666; }@media (max-width: 900px){.page-admin-announcements .remoed-main{ flex-direction: column; }.page-admin-announcements .remoed-sidebar{ width: 100%; flex-direction: row; box-shadow: none; border-bottom: 1px solid #e0e6ed; }.page-admin-announcements .remoed-menu li{ padding: 12px 10px; font-size: 0.97rem; }.page-admin-announcements .remoed-content{ padding: 18px 6px; }
        }


/* --- Source: public/admin-classroom-recordings.html --- */
body.page-admin-classroom-recordings{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f6fbff; }.page-admin-classroom-recordings .remoed-main{ display: flex; min-height: calc(100vh - 70px); }.page-admin-classroom-recordings .remoed-content{ flex: 1; padding: 12px 16px; }.page-admin-classroom-recordings .remoed-section{ background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(28,167,231,0.07); padding: 16px; margin-bottom: 12px; }.page-admin-classroom-recordings .remoed-section-title{ font-size: 1.05rem; font-weight: 700; color: #1ca7e7; margin-bottom: 12px; }.page-admin-classroom-recordings .filters{ display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 12px; }.page-admin-classroom-recordings .filters label{ font-size: 0.8rem; font-weight: 600; color: #374151; display: block; margin-bottom: 4px; }.page-admin-classroom-recordings .filters input[type="date"]{ padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 6px; }.page-admin-classroom-recordings .btn{ padding: 8px 14px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 0.85rem; }.page-admin-classroom-recordings .btn-primary{ background: #1ca7e7; color: #fff; }.page-admin-classroom-recordings .btn-primary:hover{ background: #168fc1; }.page-admin-classroom-recordings .btn-danger{ background: #ef4444; color: #fff; }.page-admin-classroom-recordings .btn-danger:hover{ background: #dc2626; }.page-admin-classroom-recordings .btn-secondary{ background: #64748b; color: #fff; }.page-admin-classroom-recordings table{ width: 100%; border-collapse: collapse; font-size: 0.8rem; }.page-admin-classroom-recordings th, .page-admin-classroom-recordings td{ padding: 8px 10px; text-align: left; border-bottom: 1px solid #e5e7eb; }.page-admin-classroom-recordings th{ background: #f8fafc; color: #475569; font-weight: 600; }.page-admin-classroom-recordings tr:hover td{ background: #fafafa; }.page-admin-classroom-recordings .muted{ color: #64748b; font-size: 0.75rem; }.page-admin-classroom-recordings .pill{ display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }.page-admin-classroom-recordings .pill-ok{ background: #d1fae5; color: #065f46; }.page-admin-classroom-recordings .pill-warn{ background: #fef3c7; color: #92400e; }.page-admin-classroom-recordings #rec-msg{ margin: 8px 0; font-size: 0.85rem; color: #64748b; }


/* --- Source: public/admin-dashboard.html --- */
.page-admin-dashboard /* Main Dashboard Content */
        .dashboard-main{
            padding: 0 12px;
        }.page-admin-dashboard .metrics-row{
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            gap: 8px;
            margin-bottom: 12px;
        }.page-admin-dashboard .content-row{
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 8px;
            margin-bottom: 12px;
        }.page-admin-dashboard .content-row.income-row{
            grid-template-columns: 1fr 1fr 1fr 1fr;
        }.page-admin-dashboard .content-row.stats-row{
            grid-template-columns: 1fr 1fr;
        }.page-admin-dashboard /* Metric Cards */
        .metric-card{
            background: white;
            border-radius: 8px;
            padding: 10px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            border: 1px solid #e5e7eb;
        }.page-admin-dashboard .metric-header{
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 8px;
        }.page-admin-dashboard .metric-header-left{
            display: flex;
            align-items: center;
            gap: 10px;
        }.page-admin-dashboard .metric-icon{
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1ca7e7 0%, #0ea5e9 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex: 0 0 auto;
        }.page-admin-dashboard .metric-icon svg{
            width: 22px;
            height: 22px;
        }.page-admin-dashboard .metric-header h3{
            margin: 0;
            font-size: 0.85rem;
            font-weight: 600;
            color: #374151;
        }.page-admin-dashboard .rating-stars{
            display: flex;
            gap: 2px;
        }.page-admin-dashboard .star{
            color: #d1d5db;
            font-size: 14px;
        }.page-admin-dashboard .star.filled{
            color: #fbbf24;
        }.page-admin-dashboard /* Community & Social Responsibility (match Teacher Dashboard) */
        .community-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }@media (max-width: 768px){.page-admin-dashboard .community-grid{ grid-template-columns: 1fr; }
        }.page-admin-dashboard .community-item{
            display: flex;
            gap: 10px;
            align-items: flex-start;
            padding: 10px 12px;
            border-radius: 10px;
            border: 1px solid #e0e6ed;
            background: #fafdff;
        }.page-admin-dashboard .community-icon{
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(102, 126, 234, 0.12);
            color: #667eea;
            flex-shrink: 0;
            font-size: 1.05rem;
        }.page-admin-dashboard .community-item h4{
            margin: 0;
            font-size: 0.95rem;
            color: #1a202c;
            font-weight: 700;
        }.page-admin-dashboard .community-item p{
            margin: 4px 0 0 0;
            font-size: 0.85rem;
            color: #64748b;
            line-height: 1.5;
        }.page-admin-dashboard .metric-value{
            font-size: 1.5rem;
            font-weight: 700;
            color: #111827;
            margin-bottom: 4px;
        }.page-admin-dashboard .metric-change{
            font-size: 0.75rem;
            margin-bottom: 8px;
        }.page-admin-dashboard .metric-change.positive{
            color: #059669;
        }.page-admin-dashboard .metric-change.negative{
            color: #dc2626;
        }.page-admin-dashboard .metric-controls{
            display: flex;
            flex-direction: column;
            gap: 8px;
        }.page-admin-dashboard .time-filter{
            padding: 4px 8px;
            border: 1px solid #d1d5db;
            border-radius: 4px;
            font-size: 0.75rem;
        }.page-admin-dashboard .toggle-group{
            display: flex;
            gap: 8px;
        }.page-admin-dashboard .toggle{
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.75rem;
            cursor: pointer;
        }.page-admin-dashboard .toggle input[type="radio"]{
            margin: 0;
        }.page-admin-dashboard .metric-stats{
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 16px;
        }.page-admin-dashboard .stat-item{
            display: flex;
            justify-content: space-between;
            align-items: center;
        }.page-admin-dashboard .stat-label{
            font-size: 0.875rem;
            color: #6b7280;
        }.page-admin-dashboard .stat-value{
            font-weight: 600;
            color: #111827;
        }.page-admin-dashboard .stat-value.positive{
            color: #059669;
        }.page-admin-dashboard /* Sentiment Gauge */
        .sentiment-gauge{
            display: flex;
            justify-content: center;
            margin: 20px 0;
        }.page-admin-dashboard .gauge-circle{
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
        }.page-admin-dashboard .gauge-circle.blue{
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        }.page-admin-dashboard .gauge-circle.green{
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        }.page-admin-dashboard .gauge-value{
            font-size: 1.25rem;
            font-weight: 700;
        }.page-admin-dashboard .gauge-label{
            font-size: 0.75rem;
            opacity: 0.9;
        }.page-admin-dashboard .metric-description{
            font-size: 0.875rem;
            color: #6b7280;
            text-align: center;
        }.page-admin-dashboard /* Content Cards */
        .content-card{
            background: white;
            border-radius: 8px;
            padding: 10px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            border: 1px solid #e5e7eb;
        }.page-admin-dashboard .card-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }.page-admin-dashboard .card-header h3{
            margin: 0;
            font-size: 1.125rem;
            font-weight: 600;
            color: #374151;
        }.page-admin-dashboard .card-menu{
            cursor: pointer;
            color: #6b7280;
            font-size: 1.25rem;
        }.page-admin-dashboard /* Reviews List */
        .reviews-list{
            display: flex;
            flex-direction: column;
            gap: 16px;
        }.page-admin-dashboard .review-item{
            display: flex;
            gap: 12px;
            padding: 16px;
            background: #f9fafb;
            border-radius: 8px;
        }.page-admin-dashboard .review-avatar{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: #6b7280;
        }.page-admin-dashboard .review-content{
            flex: 1;
        }.page-admin-dashboard .review-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }.page-admin-dashboard .reviewer-name{
            font-weight: 600;
            color: #374151;
        }.page-admin-dashboard .review-time{
            font-size: 0.75rem;
            color: #6b7280;
        }.page-admin-dashboard .review-text{
            font-size: 0.875rem;
            color: #4b5563;
            line-height: 1.5;
        }.page-admin-dashboard /* Breakdown Items */
        .requests-breakdown, .page-admin-dashboard .leads-breakdown{
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 16px;
        }.page-admin-dashboard .breakdown-item{
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.875rem;
            color: #6b7280;
        }.page-admin-dashboard .dot{
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }.page-admin-dashboard .dot.blue{
            background: #3b82f6;
        }.page-admin-dashboard .dot.green{
            background: #10b981;
        }.page-admin-dashboard .dot.gray{
            background: #9ca3af;
        }.page-admin-dashboard /* Income Chart Container */
        .income-chart-container{
            width: 100%;
            height: 200px;
            margin-top: 20px;
        }.page-admin-dashboard /* Top Performers */
        .performers-tabs{
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
        }.page-admin-dashboard .performer-tab{
            padding: 8px 16px;
            border: 1px solid #d1d5db;
            background: white;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.875rem;
            transition: all 0.2s ease;
        }.page-admin-dashboard .performer-tab.active{
            background: #1ca7e7;
            color: white;
            border-color: #1ca7e7;
        }.page-admin-dashboard .performers-list{
            display: flex;
            flex-direction: column;
            gap: 12px;
            max-height: 300px;
            overflow-y: auto;
        }.page-admin-dashboard .performer-item{
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: #f9fafb;
            border-radius: 8px;
        }.page-admin-dashboard .performer-rank{
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #1ca7e7;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 600;
        }.page-admin-dashboard .performer-avatar{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: #6b7280;
        }.page-admin-dashboard .performer-info{
            flex: 1;
        }.page-admin-dashboard .performer-name{
            font-weight: 600;
            color: #374151;
            margin-bottom: 4px;
        }.page-admin-dashboard .performer-stats{
            font-size: 0.875rem;
            color: #6b7280;
        }.page-admin-dashboard .performer-value{
            font-weight: 600;
            color: #059669;
        }.page-admin-dashboard /* Admin top nav (notifications, .page-admin-dashboard etc.) */
        .nav-header{
            position: fixed;
            top: 0;
            left: 260px;
            right: 0;
            height: 60px;
            background: #ffffff;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 2rem;
            z-index: 50;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }.page-admin-dashboard .nav-left{
            display: flex;
            align-items: center;
            gap: 1rem;
        }.page-admin-dashboard .nav-right{
            display: flex;
            align-items: center;
            gap: 1rem;
        }.page-admin-dashboard /* Time tracking (match teacher dashboard header) */
        .time-tracking-mini{
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 4px 10px;
            background: #f8fafc;
            border-radius: 999px;
            border: 1px solid #e2e8f0;
        }.page-admin-dashboard .time-status-mini{
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 999px;
        }.page-admin-dashboard .time-status-mini.clocked-in{
            background: #dcfce7;
            color: #166534;
        }.page-admin-dashboard .time-status-mini.not-clocked{
            background: #f1f5f9;
            color: #64748b;
        }.page-admin-dashboard .time-btn-mini{
            border: none;
            border-radius: 8px;
            padding: 6px 14px;
            font-size: 0.75rem;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.15s ease, box-shadow 0.15s ease;
        }.page-admin-dashboard .time-btn-mini.clock-in.primary{
            background: linear-gradient(90deg, #667eea, #5a67d8);
            color: #fff;
        }.page-admin-dashboard .time-btn-mini.clock-in.primary:hover{
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
        }.page-admin-dashboard .time-btn-mini.clock-out{
            background: #dc3545;
            color: #fff;
        }.page-admin-dashboard .time-btn-mini.clock-out:hover{
            background: #c82333;
        }.page-admin-dashboard .nav-icon{
            position: relative;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid #e9ecef;
        }.page-admin-dashboard .nav-icon:hover{
            background: #e9ecef;
            transform: translateY(-1px);
        }.page-admin-dashboard .nav-icon svg{
            width: 20px;
            height: 20px;
            color: #1ca7e7;
        }.page-admin-dashboard .nav-badge{
            position: absolute;
            top: -5px;
            right: -5px;
            background: #e11d48;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: 600;
        }.page-admin-dashboard .nav-dropdown{
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            min-width: 350px;
            max-height: 600px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
        }.page-admin-dashboard .nav-dropdown.show{
            display: block;
        }.page-admin-dashboard .nav-dropdown-header{
            padding: 12px 16px;
            border-bottom: 1px solid #e2e8f0;
            font-weight: 600;
            color: #1a202c;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }.page-admin-dashboard .nav-dropdown-content{
            padding: 8px 0;
        }.page-admin-dashboard .nav-dropdown-item{
            padding: 8px 16px;
            border-bottom: 1px solid #f1f5f9;
            transition: all 0.2s ease;
            cursor: pointer;
        }.page-admin-dashboard .nav-dropdown-item:hover{
            background: #f8f9fa;
            transform: translateX(2px);
        }.page-admin-dashboard .nav-dropdown-item:last-child{
            border-bottom: none;
        }.page-admin-dashboard /* Quick Stats Grid */
        .quick-stats-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-top: 20px;
        }.page-admin-dashboard .quick-stat-item{
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px;
            background: #f9fafb;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
        }.page-admin-dashboard .quick-stat-icon{
            font-size: 1.5rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }.page-admin-dashboard .quick-stat-content{
            flex: 1;
        }.page-admin-dashboard .quick-stat-value{
            font-size: 1.25rem;
            font-weight: 700;
            color: #111827;
            margin-bottom: 2px;
        }.page-admin-dashboard .quick-stat-label{
            font-size: 0.75rem;
            color: #6b7280;
        }.page-admin-dashboard /* Activity List */
        .activity-list{
            display: flex;
            flex-direction: column;
            gap: 12px;
            max-height: 300px;
            overflow-y: auto;
        }.page-admin-dashboard .activity-item{
            display: flex;
            gap: 12px;
            padding: 12px;
            background: #f9fafb;
            border-radius: 8px;
            border-left: 4px solid #1ca7e7;
        }.page-admin-dashboard .activity-icon{
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #1ca7e7;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
        }.page-admin-dashboard .activity-content{
            flex: 1;
        }.page-admin-dashboard .activity-title{
            font-weight: 600;
            color: #374151;
            margin-bottom: 4px;
        }.page-admin-dashboard .activity-time{
            font-size: 0.75rem;
            color: #6b7280;
        }.page-admin-dashboard /* Platform Stats Cards */
        .stat-card{
            padding: 0 !important;
        }.page-admin-dashboard .stat-item-large{
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 20px;
            height: 100%;
            background: transparent;
            border: none;
        }.page-admin-dashboard .stat-icon{
            font-size: 2rem;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1ca7e7 0%, #0ea5e9 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }.page-admin-dashboard .stat-content{
            flex: 1;
        }.page-admin-dashboard .stat-number{
            font-size: 1.5rem;
            font-weight: 700;
            color: #111827;
            margin-bottom: 4px;
        }.page-admin-dashboard .stat-label{
            font-size: 0.875rem;
            color: #6b7280;
        }.page-admin-dashboard /* Charts */
        .metric-chart, .page-admin-dashboard .traffic-chart{
            width: 100%;
            height: 60px;
        }.page-admin-dashboard /* Responsive Design */
        @media (max-width: 1200px){
            .metrics-row {
                grid-template-columns: 1fr 1fr;
            }
            
            .content-row {
                grid-template-columns: 1fr;
            }
        }@media (max-width: 768px){.page-admin-dashboard .dashboard-header{
                flex-direction: column;
                gap: 20px;
                padding: 15px;
            }.page-admin-dashboard .dashboard-main{
                padding: 0 15px;
            }.page-admin-dashboard .metrics-row{
                grid-template-columns: 1fr;
            }.page-admin-dashboard .metric-value{
                font-size: 2rem;
            }
        }


/* --- Source: public/admin-issue-management.html --- */
body.page-admin-issue-management{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f6fbff; }.page-admin-issue-management .remoed-main{ display: flex; min-height: calc(100vh - 70px); }.page-admin-issue-management .remoed-sidebar{ width: 220px; background: #fff; box-shadow: 2px 0 8px rgba(0,0,0,0.05); padding: 32px 0 0 0; display: flex; flex-direction: column; }.page-admin-issue-management .remoed-logo{ display: flex; align-items: center; gap: 14px; }.page-admin-issue-management .remoed-logo img{ height: 48px; }.page-admin-issue-management .remoed-title{ font-size: 1.7rem; font-weight: 700; color: #667eea; letter-spacing: 1px; }.page-admin-issue-management .remoed-user{ display: flex; align-items: center; gap: 10px; }.page-admin-issue-management .remoed-avatar{ width: 72px; height: 72px; border-radius: 50%; background: #667eea; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 2.2rem; }.page-admin-issue-management .remoed-username{ color: #667eea; font-weight: 600; }.page-admin-issue-management .remoed-menu{ list-style: none; padding: 0; margin: 0; }.page-admin-issue-management .remoed-menu li{ padding: 14px 32px; color: #667eea; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 12px; border-left: 4px solid transparent; transition: all 0.2s; }.page-admin-issue-management .remoed-menu li.active, .page-admin-issue-management .remoed-menu li:hover{ background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); border-left: 4px solid #667eea; color: white; transform: translateX(4px); }.page-admin-issue-management .remoed-menu svg{ width: 20px; height: 20px; }.page-admin-issue-management .remoed-content{ flex: 1; padding: 12px 16px; }.page-admin-issue-management .remoed-section{ background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(28,167,231,0.07); padding: 12px; margin-bottom: 12px; }.page-admin-issue-management .remoed-section-title{ font-size: 1rem; font-weight: 700; color: #1ca7e7; margin-bottom: 10px; letter-spacing: 0.5px; }.page-admin-issue-management /* Issue Management Styles */
        .issue-filters{ display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }.page-admin-issue-management .filter-group{ display: flex; flex-direction: column; gap: 4px; }.page-admin-issue-management .filter-group label{ font-size: 0.8rem; font-weight: 600; color: #374151; }.page-admin-issue-management .filter-group select, .page-admin-issue-management .filter-group input{ padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.8rem; }.page-admin-issue-management .issue-card{ background: #f8f9fa; border-radius: 8px; padding: 10px; margin-bottom: 8px; border-left: 4px solid #1ca7e7; }.page-admin-issue-management .issue-header{ display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }.page-admin-issue-management .issue-title{ font-size: 0.95rem; font-weight: 600; color: #1ca7e7; }.page-admin-issue-management .issue-status{ padding: 3px 6px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }.page-admin-issue-management .status-pending{ background: #fef3c7; color: #92400e; }.page-admin-issue-management .status-reviewed{ background: #dbeafe; color: #1e40af; }.page-admin-issue-management .status-resolved{ background: #d1fae5; color: #065f46; }.page-admin-issue-management .status-dismissed{ background: #fee2e2; color: #991b1b; }.page-admin-issue-management .issue-details{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }.page-admin-issue-management .issue-detail{ display: flex; flex-direction: column; gap: 4px; }.page-admin-issue-management .issue-detail label{ font-size: 0.75rem; font-weight: 600; color: #6b7280; }.page-admin-issue-management .issue-detail span{ font-size: 0.8rem; color: #374151; }.page-admin-issue-management .issue-description{ background: #fff; padding: 8px; border-radius: 6px; margin-bottom: 8px; border: 1px solid #e5e7eb; }.page-admin-issue-management .issue-description h4{ margin: 0 0 6px 0; font-size: 0.8rem; color: #374151; }.page-admin-issue-management .issue-description p{ margin: 0; font-size: 0.8rem; color: #6b7280; line-height: 1.3; }.page-admin-issue-management .issue-actions{ display: flex; gap: 6px; flex-wrap: wrap; }.page-admin-issue-management .btn{ padding: 6px 12px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 0.75rem; transition: all 0.2s; }.page-admin-issue-management .btn-primary{ background: #1ca7e7; color: #fff; }.page-admin-issue-management .btn-primary:hover{ background: #168fc1; }.page-admin-issue-management .btn-success{ background: #10b981; color: #fff; }.page-admin-issue-management .btn-success:hover{ background: #059669; }.page-admin-issue-management .btn-warning{ background: #f59e0b; color: #fff; }.page-admin-issue-management .btn-warning:hover{ background: #d97706; }.page-admin-issue-management .btn-danger{ background: #ef4444; color: #fff; }.page-admin-issue-management .btn-danger:hover{ background: #dc2626; }.page-admin-issue-management .btn-secondary{ background: #6b7280; color: #fff; }.page-admin-issue-management .btn-secondary:hover{ background: #4b5563; }.page-admin-issue-management .screenshot-preview{ max-width: 200px; max-height: 150px; border-radius: 6px; border: 1px solid #d1d5db; }.page-admin-issue-management .review-modal{ display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); }.page-admin-issue-management .review-modal-content{ background-color: #fff; margin: 2% auto; padding: 16px; border-radius: 8px; width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; }.page-admin-issue-management .review-modal-header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }.page-admin-issue-management .review-modal-header h2{ margin: 0; color: #1ca7e7; font-size: 1.1rem; }.page-admin-issue-management .close{ color: #aaa; font-size: 24px; font-weight: bold; cursor: pointer; }.page-admin-issue-management .close:hover{ color: #000; }.page-admin-issue-management .review-form{ display: flex; flex-direction: column; gap: 10px; }.page-admin-issue-management .form-group{ display: flex; flex-direction: column; gap: 4px; }.page-admin-issue-management .form-group label{ font-weight: 600; color: #374151; font-size: 0.85rem; }.page-admin-issue-management .form-group select, .page-admin-issue-management .form-group textarea{ padding: 8px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.85rem; }.page-admin-issue-management .form-group textarea{ resize: vertical; min-height: 80px; }.page-admin-issue-management .validity-badge{ padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; }.page-admin-issue-management .validity-valid{ background: #d1fae5; color: #065f46; }.page-admin-issue-management .validity-invalid{ background: #fee2e2; color: #991b1b; }.page-admin-issue-management .validity-pending{ background: #fef3c7; color: #92400e; }.page-admin-issue-management .reschedule-info{ background: #f0f9ff; border: 1px solid #0ea5e9; border-radius: 6px; padding: 10px; margin-top: 10px; }.page-admin-issue-management .reschedule-info h4{ margin: 0 0 5px 0; font-size: 0.9rem; color: #0c4a6e; }.page-admin-issue-management .reschedule-info p{ margin: 0; font-size: 0.8rem; color: #0369a1; }.page-admin-issue-management .resolution-options{ display: flex; flex-direction: column; gap: 10px; }.page-admin-issue-management .resolution-option{ display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 2px solid #e5e7eb; border-radius: 8px; cursor: pointer; transition: all 0.2s; }.page-admin-issue-management .resolution-option:hover{ border-color: #1ca7e7; background: #f8f9fa; }.page-admin-issue-management .resolution-option input[type="radio"]{ margin-top: 2px; }.page-admin-issue-management .resolution-option input[type="radio"]:checked + .option-text{ color: #1ca7e7; }.page-admin-issue-management .resolution-option:has(input[type="radio"]:checked){ border-color: #1ca7e7; background: #eaf7ff; }.page-admin-issue-management .option-text{ flex: 1; }.page-admin-issue-management .option-text strong{ display: block; margin-bottom: 4px; }.page-admin-issue-management .option-text small{ color: #6b7280; }@media (max-width: 900px){.page-admin-issue-management .remoed-main{ flex-direction: column; }.page-admin-issue-management .remoed-sidebar{ width: 100%; flex-direction: row; box-shadow: none; border-bottom: 1px solid #e0e6ed; }.page-admin-issue-management .remoed-menu li{ padding: 12px 10px; font-size: 0.97rem; }.page-admin-issue-management .remoed-content{ padding: 18px 6px; }.page-admin-issue-management .issue-details{ grid-template-columns: 1fr; }.page-admin-issue-management .issue-actions{ flex-direction: column; }
        }


/* --- Source: public/admin-lessons-library.html --- */
body.page-admin-lessons-library{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #f8fafc; 
            color: #1a202c;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            height: 100vh;
            overflow: hidden;
        }.page-admin-lessons-library .remoed-main{ display: flex; min-height: 100vh; height: 100vh; overflow: hidden; }.page-admin-lessons-library .remoed-sidebar{ width: 220px; background: #fff; box-shadow: 2px 0 8px rgba(0,0,0,0.05); padding: 32px 0 0 0; display: flex; flex-direction: column; height: 100vh; overflow-y: auto; }.page-admin-lessons-library .remoed-logo{ display: flex; align-items: center; gap: 14px; }.page-admin-lessons-library .remoed-logo img{ height: 48px; }.page-admin-lessons-library .remoed-title{ font-size: 1.7rem; font-weight: 700; color: #667eea; letter-spacing: 1px; }.page-admin-lessons-library .remoed-user{ display: flex; align-items: center; gap: 10px; }.page-admin-lessons-library .remoed-avatar{ width: 72px; height: 72px; border-radius: 50%; background: #667eea; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 2.2rem; }.page-admin-lessons-library .remoed-username{ color: #667eea; font-weight: 600; }.page-admin-lessons-library .remoed-menu{ list-style: none; padding: 0; margin: 0; }.page-admin-lessons-library .remoed-menu li{ padding: 14px 32px; color: #667eea; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 12px; border-left: 4px solid transparent; transition: all 0.2s; }.page-admin-lessons-library .remoed-menu li.active, .page-admin-lessons-library .remoed-menu li:hover{ background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); border-left: 4px solid #667eea; color: white; transform: translateX(4px); }.page-admin-lessons-library .remoed-menu svg{ width: 20px; height: 20px; }.page-admin-lessons-library .remoed-content{
            flex: 1;
            padding: 1rem 1.25rem;
            height: 100vh;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }.page-admin-lessons-library .page-header{
            background: white;
            padding: 1rem 1.25rem;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            margin-bottom: 1rem;
        }.page-admin-lessons-library .page-header h1{
            margin: 0;
            color: #667eea;
            font-size: 1.5rem;
            font-weight: 700;
        }.page-admin-lessons-library .page-header p{
            margin: 0.5rem 0 0 0;
            color: #64748b;
            font-size: 0.875rem;
        }.page-admin-lessons-library .library-container{
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 2rem;
            flex: 1;
            min-height: 0;
            overflow: hidden;
        }.page-admin-lessons-library .selection-panel{
            background: white;
            padding: 1rem 1.25rem;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            height: 100%;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }.page-admin-lessons-library .files-panel{
            background: white;
            padding: 1rem 1.25rem;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            height: 100%;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }.page-admin-lessons-library .form-group{
            margin-bottom: 1.5rem;
        }.page-admin-lessons-library .form-group label{
            display: block;
            margin-bottom: 0.5rem;
            color: #374151;
            font-weight: 600;
            font-size: 0.9rem;
        }.page-admin-lessons-library .form-group select{
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 0.95rem;
            background: white;
            color: #1a202c;
            cursor: pointer;
            transition: border-color 0.2s;
        }.page-admin-lessons-library .form-group select:hover{
            border-color: #667eea;
        }.page-admin-lessons-library .form-group select:focus{
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }.page-admin-lessons-library .form-group select:disabled{
            background: #f3f4f6;
            cursor: not-allowed;
            color: #9ca3af;
        }.page-admin-lessons-library .lesson-info{
            background: #f8fafc;
            padding: 1rem;
            border-radius: 8px;
            margin-top: 1rem;
            border-left: 4px solid #667eea;
        }.page-admin-lessons-library .lesson-info h3{
            margin: 0 0 0.5rem 0;
            color: #667eea;
            font-size: 1.1rem;
            font-weight: 600;
        }.page-admin-lessons-library .lesson-info p{
            margin: 0.25rem 0;
            color: #64748b;
            font-size: 0.9rem;
        }.page-admin-lessons-library .upload-section{
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid #e5e7eb;
        }.page-admin-lessons-library .upload-area{
            border: 2px dashed #d1d5db;
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            background: #f9fafb;
            transition: all 0.2s;
            cursor: pointer;
        }.page-admin-lessons-library .upload-area:hover{
            border-color: #667eea;
            background: #f0f4ff;
        }.page-admin-lessons-library .upload-area.dragover{
            border-color: #667eea;
            background: #eef2ff;
        }.page-admin-lessons-library .upload-icon{
            width: 48px;
            height: 48px;
            margin: 0 auto 1rem;
            color: #667eea;
        }.page-admin-lessons-library .upload-text{
            color: #374151;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }.page-admin-lessons-library .upload-hint{
            color: #9ca3af;
            font-size: 0.85rem;
        }.page-admin-lessons-library .file-input{
            display: none;
        }.page-admin-lessons-library .upload-btn{
            background: #667eea;
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 1rem;
            transition: background 0.2s;
            width: 100%;
        }.page-admin-lessons-library .upload-btn:hover{
            background: #5568d3;
        }.page-admin-lessons-library .upload-btn:disabled{
            background: #9ca3af;
            cursor: not-allowed;
        }.page-admin-lessons-library .files-list{
            margin-top: 1.5rem;
        }.page-admin-lessons-library .files-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }.page-admin-lessons-library .files-header h2{
            margin: 0;
            color: #667eea;
            font-size: 1.25rem;
            font-weight: 600;
        }.page-admin-lessons-library .file-count{
            color: #64748b;
            font-size: 0.9rem;
        }.page-admin-lessons-library .file-item{
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            margin-bottom: 0.75rem;
            background: #f9fafb;
            transition: all 0.2s;
        }.page-admin-lessons-library .file-item:hover{
            background: #f3f4f6;
            border-color: #d1d5db;
        }.page-admin-lessons-library .file-info{
            display: flex;
            align-items: center;
            gap: 1rem;
            flex: 1;
        }.page-admin-lessons-library .file-icon{
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #eef2ff;
            border-radius: 8px;
            color: #667eea;
        }.page-admin-lessons-library .file-details{
            flex: 1;
        }.page-admin-lessons-library .file-name{
            font-weight: 600;
            color: #1a202c;
            margin-bottom: 0.25rem;
        }.page-admin-lessons-library .file-meta{
            font-size: 0.85rem;
            color: #64748b;
        }.page-admin-lessons-library .file-actions{
            display: flex;
            gap: 0.5rem;
        }.page-admin-lessons-library .btn-icon{
            background: none;
            border: 1px solid #d1d5db;
            padding: 0.5rem;
            border-radius: 6px;
            cursor: pointer;
            color: #374151;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-admin-lessons-library .btn-icon:hover{
            background: #f3f4f6;
            border-color: #9ca3af;
        }.page-admin-lessons-library .btn-icon.view{
            color: #667eea;
        }.page-admin-lessons-library .btn-icon.view:hover{
            background: #eef2ff;
            border-color: #667eea;
        }.page-admin-lessons-library .btn-icon.delete{
            color: #e74c3c;
        }.page-admin-lessons-library .btn-icon.delete:hover{
            background: #fee2e2;
            border-color: #e74c3c;
        }.page-admin-lessons-library .btn-icon.edit{
            color: #667eea;
        }.page-admin-lessons-library .btn-icon.edit:hover{
            background: #eef2ff;
            border-color: #667eea;
        }.page-admin-lessons-library /* Always-visible edit control (pencil alone was easy to miss) */
        .btn-lesson-edit-main{
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            border-radius: 8px;
            border: 2px solid #667eea;
            background: #eef2ff;
            color: #4338ca;
            font-weight: 600;
            font-size: 0.875rem;
            cursor: pointer;
            white-space: nowrap;
        }.page-admin-lessons-library .btn-lesson-edit-main:hover{
            background: #e0e7ff;
            border-color: #4f46e5;
        }.page-admin-lessons-library .lesson-info-header{
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }.page-admin-lessons-library .lesson-info-header #lesson-title{
            flex: 1;
            min-width: 140px;
            margin: 0;
            word-break: break-word;
        }.page-admin-lessons-library .form-control{
            font-family: inherit;
            font-size: 0.95rem;
        }.page-admin-lessons-library .form-control:focus{
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }.page-admin-lessons-library .empty-state{
            text-align: center;
            padding: 3rem 1rem;
            color: #9ca3af;
        }.page-admin-lessons-library .empty-state-icon{
            width: 64px;
            height: 64px;
            margin: 0 auto 1rem;
            color: #d1d5db;
        }.page-admin-lessons-library .empty-state h3{
            margin: 0 0 0.5rem 0;
            color: #6b7280;
        }.page-admin-lessons-library .empty-state p{
            margin: 0;
            font-size: 0.9rem;
        }.page-admin-lessons-library .loading{
            text-align: center;
            padding: 2rem;
            color: #64748b;
        }.page-admin-lessons-library .alert{
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1rem;
        }.page-admin-lessons-library .alert-success{
            background: #d1fae5;
            color: #065f46;
            border: 1px solid #a7f3d0;
        }.page-admin-lessons-library .alert-error{
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }.page-admin-lessons-library .alert-info{
            background: #dbeafe;
            color: #1e40af;
            border: 1px solid #93c5fd;
        }.page-admin-lessons-library /* Preview Panel Styles (match Teacher Lessons Library) */
        .preview-panel{
            position: fixed;
            top: 0;
            right: -100%;
            width: 60%;
            max-width: 800px;
            height: 100vh;
            background: white;
            box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            transition: right 0.3s ease;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }.page-admin-lessons-library .preview-panel.open{
            right: 0;
        }.page-admin-lessons-library .preview-header{
            padding: 1.5rem;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f8fafc;
        }.page-admin-lessons-library .preview-header h3{
            margin: 0;
            color: #667eea;
            font-size: 1.25rem;
            font-weight: 600;
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }.page-admin-lessons-library .preview-close{
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #64748b;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 6px;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
        }.page-admin-lessons-library .preview-close:hover{
            background: #e5e7eb;
            color: #1a202c;
        }.page-admin-lessons-library .preview-content{
            flex: 1;
            overflow: auto;
            padding: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8fafc;
            min-height: 500px;
            position: relative;
        }.page-admin-lessons-library .preview-content > *{
            max-width: 100%;
            max-height: 100%;
        }.page-admin-lessons-library .preview-content iframe{
            width: 100%;
            height: 100%;
            min-height: 600px;
            border: none;
            background: white;
        }.page-admin-lessons-library .preview-content embed{
            width: 100%;
            height: 100%;
            min-height: 600px;
            border: none;
            background: white;
        }.page-admin-lessons-library .preview-content img{
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }.page-admin-lessons-library .preview-content video{
            max-width: 100%;
            max-height: 100%;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }.page-admin-lessons-library .preview-unsupported{
            text-align: center;
            padding: 3rem;
            color: #64748b;
        }.page-admin-lessons-library .preview-unsupported-icon{
            font-size: 4rem;
            margin-bottom: 1rem;
        }.page-admin-lessons-library .preview-overlay{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }.page-admin-lessons-library .preview-overlay.show{
            display: block;
            opacity: 1;
        }@media (max-width: 768px){.page-admin-lessons-library .preview-panel{
                width: 100%;
                max-width: 100%;
            }
        }@media (max-width: 900px){.page-admin-lessons-library .remoed-main{ flex-direction: column; }.page-admin-lessons-library .remoed-sidebar{ width: 100%; flex-direction: row; box-shadow: none; border-bottom: 1px solid #e0e6ed; }.page-admin-lessons-library .remoed-menu li{ padding: 12px 10px; font-size: 0.97rem; }.page-admin-lessons-library .remoed-content{ padding: 18px 6px; }.page-admin-lessons-library .library-container{ grid-template-columns: 1fr; }
        }


/* --- Source: public/admin-login.html --- */
body.page-admin-login{
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      margin: 0;
      padding: 20px;
      min-height: 100vh;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      position: relative;
      overflow-x: hidden;
      overflow-y: auto;
    }.page-admin-login /* Password input container */
    .password-input-container{
      position: relative;
      display: flex;
      align-items: center;
    }.page-admin-login .password-input-container input{
      padding-right: 50px;
    }.page-admin-login .password-toggle{
      position: absolute;
      right: 12px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      border-radius: 6px;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-admin-login .password-toggle:hover{
      background: rgba(102, 126, 234, 0.1);
      transform: scale(1.1);
    }.page-admin-login .password-toggle:active{
      transform: scale(0.95);
    }.page-admin-login .eye-icon{
      font-size: 1.2rem;
      color: #667eea;
      transition: all 0.3s ease;
    }.page-admin-login .password-toggle.show-password .eye-icon{
      color: #764ba2;
    }


/* --- Source: public/admin-messages.html --- */
body.page-admin-messages{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f8fafc; color: #1a202c; margin: 0; padding: 0; }.page-admin-messages .remoed-main{ display: flex; min-height: 100vh; }.page-admin-messages .remoed-content{ flex: 1; padding: 18px 20px; }.page-admin-messages .messenger{ background: white; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); border: 1px solid #e8f4fd; overflow: hidden; display: grid; grid-template-columns: 34% 66%; min-height: calc(100vh - 36px); }.page-admin-messages .chat-list{ border-right: 1px solid #e8f4fd; display: flex; flex-direction: column; min-width: 280px; }.page-admin-messages .chat-list-header{ padding: 16px; border-bottom: 1px solid #e8f4fd; }.page-admin-messages .chat-list-header h1{ margin: 0; font-size: 1.1rem; color: #1ca7e7; font-weight: 800; }.page-admin-messages .chat-search{ padding: 12px 16px; border-bottom: 1px solid #e8f4fd; }.page-admin-messages .chat-search input{ width: 100%; border: 2px solid #e8f4fd; border-radius: 999px; padding: 10px 14px; outline: none; }.page-admin-messages .chat-search input:focus{ border-color: #1ca7e7; }.page-admin-messages .chat-items{ overflow-y: auto; flex: 1; }.page-admin-messages .chat-item{ padding: 14px 16px; display: flex; gap: 12px; cursor: pointer; border-bottom: 1px solid #f1f5f9; transition: background 0.15s ease; }.page-admin-messages .chat-item:hover{ background: #f8faff; }.page-admin-messages .chat-item.active{ background: #e7f5ff; }.page-admin-messages .avatar{ width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #1ca7e7, #3b82f6); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; overflow: hidden; }.page-admin-messages .avatar img{ width: 100%; height: 100%; object-fit: cover; }.page-admin-messages .chat-item-main{ flex: 1; min-width: 0; }.page-admin-messages .chat-item-top{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }.page-admin-messages .chat-name{ font-weight: 800; color: #1a202c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.page-admin-messages .chat-time{ font-size: 0.8rem; color: #94a3b8; flex-shrink: 0; }.page-admin-messages .chat-snippet{ font-size: 0.9rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }.page-admin-messages .chat-type{ font-size: 0.72rem; color: #0f766e; font-weight: 700; }.page-admin-messages .chat-pane{ display: flex; flex-direction: column; min-width: 0; }.page-admin-messages .chat-pane-header{ padding: 14px 16px; border-bottom: 1px solid #e8f4fd; display: flex; align-items: center; gap: 12px; }.page-admin-messages .pane-title{ display: flex; flex-direction: column; min-width: 0; }.page-admin-messages .pane-title .name{ font-weight: 900; color: #1a202c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.page-admin-messages .pane-title .sub{ font-size: 0.85rem; color: #94a3b8; }.page-admin-messages .chat-scroll{ flex: 1; overflow-y: auto; padding: 16px; background: linear-gradient(180deg, #fbfdff, #f8fafc); display: flex; flex-direction: column; gap: 10px; }.page-admin-messages .message-wrap{ display: flex; flex-direction: column; width: 100%; }.page-admin-messages .bubble{ max-width: 75%; padding: 10px 16px; border-radius: 18px; font-size: 0.95rem; line-height: 1.35; box-shadow: 0 1px 2px rgba(0,0,0,0.1); word-wrap: break-word; white-space: pre-wrap; }.page-admin-messages .message-sent{ margin-left: auto; background-color: #4A90E2; color: #fff; border-radius: 18px 18px 2px 18px; }.page-admin-messages .message-received{ margin-right: auto; background-color: #F0F0F0; color: #333; border-radius: 18px 18px 18px 2px; }.page-admin-messages .bubble-meta{ font-size: 0.75rem; color: #94a3b8; margin-top: 4px; }.page-admin-messages .meta-sent{ text-align: right; }.page-admin-messages .meta-received{ text-align: left; }.page-admin-messages .composer{ padding: 12px 14px; border-top: 1px solid #e8f4fd; background: white; display: flex; gap: 10px; align-items: flex-end; }.page-admin-messages .composer textarea{ flex: 1; min-height: 42px; max-height: 120px; border: 2px solid #e8f4fd; border-radius: 14px; padding: 10px 12px; resize: none; outline: none; font-family: inherit; font-size: 0.95rem; }.page-admin-messages .composer textarea:focus{ border-color: #1ca7e7; }.page-admin-messages .send-btn{ padding: 11px 18px; border: none; border-radius: 14px; background: linear-gradient(135deg, #1ca7e7 0%, #3b82f6 100%); color: white; font-weight: 900; cursor: pointer; }.page-admin-messages .send-btn:disabled{ opacity: 0.6; cursor: not-allowed; }.page-admin-messages .empty-pane{ flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; color: #64748b; text-align: center; }


/* --- Source: public/admin-payroll.html --- */
body.page-admin-payroll{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f6fbff; }.page-admin-payroll .remoed-main{ display: flex; min-height: calc(100vh - 70px); }.page-admin-payroll .remoed-sidebar{ width: 220px; background: #fff; box-shadow: 2px 0 8px rgba(0,0,0,0.05); padding: 32px 0 0 0; display: flex; flex-direction: column; }.page-admin-payroll .remoed-logo{ display: flex; align-items: center; gap: 14px; }.page-admin-payroll .remoed-logo img{ height: 48px; }.page-admin-payroll .remoed-title{ font-size: 1.7rem; font-weight: 700; color: #667eea; letter-spacing: 1px; }.page-admin-payroll .remoed-user{ display: flex; align-items: center; gap: 10px; }.page-admin-payroll .remoed-avatar{ width: 72px; height: 72px; border-radius: 50%; background: #667eea; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 2.2rem; }.page-admin-payroll .remoed-username{ color: #667eea; font-weight: 600; }.page-admin-payroll .remoed-menu{ list-style: none; padding: 0; margin: 0; }.page-admin-payroll .remoed-menu li{ padding: 14px 32px; color: #667eea; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 12px; border-left: 4px solid transparent; transition: all 0.2s; }.page-admin-payroll .remoed-menu li.active, .page-admin-payroll .remoed-menu li:hover{ background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); border-left: 4px solid #667eea; color: white; transform: translateX(4px); }.page-admin-payroll .remoed-menu svg{ width: 20px; height: 20px; }.page-admin-payroll .remoed-content{ flex: 1; padding: 12px 16px; }.page-admin-payroll .remoed-section{ background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(28,167,231,0.07); padding: 12px; margin-bottom: 12px; }.page-admin-payroll .remoed-section-title{ font-size: 1rem; font-weight: 700; color: #1ca7e7; margin-bottom: 10px; letter-spacing: 0.5px; }.page-admin-payroll .form-group{ margin-bottom: 12px; }.page-admin-payroll .form-group label{ display: block; margin-bottom: 6px; font-weight: 600; color: #333; font-size: 0.85rem; }.page-admin-payroll .form-group input{ width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.85rem; }.page-admin-payroll .btn{ padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 0.85rem; margin-right: 8px; }.page-admin-payroll .btn-primary{ background: #1ca7e7; color: #fff; }.page-admin-payroll .btn-success{ background: #27ae60; color: #fff; }.page-admin-payroll .btn-danger{ background: #e74c3c; color: #fff; }.page-admin-payroll .payroll-table{ width: 100%; border-collapse: collapse; margin-top: 10px; }.page-admin-payroll .payroll-table th, .page-admin-payroll .payroll-table td{ padding: 6px 8px; text-align: left; border-bottom: 1px solid #e0e6ed; font-size: 0.85rem; }.page-admin-payroll .payroll-table th{ background: #f8f9fa; font-weight: 600; color: #1ca7e7; }@media (max-width: 900px){.page-admin-payroll .remoed-main{ flex-direction: column; }.page-admin-payroll .remoed-sidebar{ width: 100%; flex-direction: row; box-shadow: none; border-bottom: 1px solid #e0e6ed; }.page-admin-payroll .remoed-menu li{ padding: 12px 10px; font-size: 0.97rem; }.page-admin-payroll .remoed-content{ padding: 18px 6px; }
        }


/* --- Source: public/admin-reports.html --- */
body.page-admin-reports{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f6fbff; }.page-admin-reports .remoed-main{ display: flex; min-height: calc(100vh - 70px); }.page-admin-reports .remoed-sidebar{ width: 220px; background: #fff; box-shadow: 2px 0 8px rgba(0,0,0,0.05); padding: 32px 0 0 0; display: flex; flex-direction: column; }.page-admin-reports .remoed-logo{ display: flex; align-items: center; gap: 14px; }.page-admin-reports .remoed-logo img{ height: 48px; }.page-admin-reports .remoed-title{ font-size: 1.7rem; font-weight: 700; color: #667eea; letter-spacing: 1px; }.page-admin-reports .remoed-user{ display: flex; align-items: center; gap: 10px; }.page-admin-reports .remoed-avatar{ width: 72px; height: 72px; border-radius: 50%; background: #667eea; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 2.2rem; }.page-admin-reports .remoed-username{ color: #667eea; font-weight: 600; }.page-admin-reports .remoed-menu{ list-style: none; padding: 0; margin: 0; }.page-admin-reports .remoed-menu li{ padding: 14px 32px; color: #667eea; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 12px; border-left: 4px solid transparent; transition: all 0.2s; }.page-admin-reports .remoed-menu li.active, .page-admin-reports .remoed-menu li:hover{ background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); border-left: 4px solid #667eea; color: white; transform: translateX(4px); }.page-admin-reports .remoed-menu svg{ width: 20px; height: 20px; }.page-admin-reports .remoed-content{ flex: 1; padding: 12px 16px; }.page-admin-reports .remoed-section{ background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(28,167,231,0.07); padding: 12px; margin-bottom: 12px; }.page-admin-reports .remoed-section-title{ font-size: 1rem; font-weight: 700; color: #1ca7e7; margin-bottom: 10px; letter-spacing: 0.5px; }.page-admin-reports .report-card{ background: #f8f9fa; border-radius: 8px; padding: 10px; margin-bottom: 8px; border-left: 4px solid #1ca7e7; }.page-admin-reports .report-title{ font-size: 0.95rem; font-weight: 600; color: #1ca7e7; margin-bottom: 6px; }.page-admin-reports .report-description{ color: #666; margin-bottom: 8px; font-size: 0.8rem; }.page-admin-reports .btn{ padding: 6px 12px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 0.8rem; }.page-admin-reports .btn-primary{ background: #1ca7e7; color: #fff; }.page-admin-reports .btn-primary:hover{ background: #168fc1; }@media (max-width: 900px){.page-admin-reports .remoed-main{ flex-direction: column; }.page-admin-reports .remoed-sidebar{ width: 100%; flex-direction: row; box-shadow: none; border-bottom: 1px solid #e0e6ed; }.page-admin-reports .remoed-menu li{ padding: 12px 10px; font-size: 0.97rem; }.page-admin-reports .remoed-content{ padding: 18px 6px; }
        }


/* --- Source: public/admin-settings.html --- */
body.page-admin-settings{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f6fbff; }.page-admin-settings .remoed-main{ display: flex; min-height: calc(100vh - 70px); }.page-admin-settings .remoed-sidebar{ width: 220px; background: #fff; box-shadow: 2px 0 8px rgba(0,0,0,0.05); padding: 32px 0 0 0; display: flex; flex-direction: column; }.page-admin-settings .remoed-logo{ display: flex; align-items: center; gap: 14px; }.page-admin-settings .remoed-logo img{ height: 48px; }.page-admin-settings .remoed-title{ font-size: 1.7rem; font-weight: 700; color: #667eea; letter-spacing: 1px; }.page-admin-settings .remoed-user{ display: flex; align-items: center; gap: 10px; }.page-admin-settings .remoed-avatar{ width: 72px; height: 72px; border-radius: 50%; background: #667eea; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 2.2rem; }.page-admin-settings .remoed-username{ color: #667eea; font-weight: 600; }.page-admin-settings .remoed-menu{ list-style: none; padding: 0; margin: 0; }.page-admin-settings .remoed-menu li{ padding: 14px 32px; color: #667eea; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 12px; border-left: 4px solid transparent; transition: all 0.2s; }.page-admin-settings .remoed-menu li.active, .page-admin-settings .remoed-menu li:hover{ background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); border-left: 4px solid #667eea; color: white; transform: translateX(4px); }.page-admin-settings .remoed-menu svg{ width: 20px; height: 20px; }.page-admin-settings .remoed-content{ flex: 1; padding: 12px 16px; }.page-admin-settings .remoed-section{ background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(28,167,231,0.07); padding: 12px; margin-bottom: 12px; }.page-admin-settings .remoed-section-title{ font-size: 1rem; font-weight: 700; color: #1ca7e7; margin-bottom: 10px; letter-spacing: 0.5px; }.page-admin-settings .setting-card{ background: #f8f9fa; border-radius: 8px; padding: 10px; margin-bottom: 8px; border-left: 4px solid #1ca7e7; }.page-admin-settings .setting-title{ font-size: 0.95rem; font-weight: 600; color: #1ca7e7; margin-bottom: 6px; }.page-admin-settings .setting-description{ color: #666; margin-bottom: 8px; font-size: 0.8rem; }.page-admin-settings .form-group{ margin-bottom: 12px; }.page-admin-settings .form-group label{ display: block; margin-bottom: 6px; font-weight: 600; color: #333; font-size: 0.85rem; }.page-admin-settings .form-group input, .page-admin-settings .form-group select{ width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.85rem; }.page-admin-settings .btn{ padding: 6px 12px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 0.8rem; }.page-admin-settings .btn-primary{ background: #1ca7e7; color: #fff; }.page-admin-settings .btn-primary:hover{ background: #168fc1; }.page-admin-settings .btn-danger{ background: #e74c3c; color: #fff; }.page-admin-settings .btn-danger:hover{ background: #c0392b; }@media (max-width: 900px){.page-admin-settings .remoed-main{ flex-direction: column; }.page-admin-settings .remoed-sidebar{ width: 100%; flex-direction: row; box-shadow: none; border-bottom: 1px solid #e0e6ed; }.page-admin-settings .remoed-menu li{ padding: 12px 10px; font-size: 0.97rem; }.page-admin-settings .remoed-content{ padding: 18px 6px; }
        }


/* --- Source: public/admin-teacher-assessments.html --- */
body.page-admin-teacher-assessments{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f6fbff; }.page-admin-teacher-assessments .remoed-main{ display: flex; min-height: calc(100vh - 70px); }.page-admin-teacher-assessments .remoed-sidebar{ width: 220px; background: #fff; box-shadow: 2px 0 8px rgba(0,0,0,0.05); padding: 32px 0 0 0; display: flex; flex-direction: column; }.page-admin-teacher-assessments .remoed-logo{ display: flex; align-items: center; gap: 14px; }.page-admin-teacher-assessments .remoed-logo img{ height: 48px; }.page-admin-teacher-assessments .remoed-title{ font-size: 1.7rem; font-weight: 700; color: #667eea; letter-spacing: 1px; }.page-admin-teacher-assessments .remoed-user{ display: flex; align-items: center; gap: 10px; }.page-admin-teacher-assessments .remoed-avatar{ width: 72px; height: 72px; border-radius: 50%; background: #667eea; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 2.2rem; }.page-admin-teacher-assessments .remoed-username{ color: #667eea; font-weight: 600; }.page-admin-teacher-assessments .remoed-menu{ list-style: none; padding: 0; margin: 0; }.page-admin-teacher-assessments .remoed-menu li{ padding: 14px 32px; color: #667eea; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 12px; border-left: 4px solid transparent; transition: all 0.2s; }.page-admin-teacher-assessments .remoed-menu li.active, .page-admin-teacher-assessments .remoed-menu li:hover{ background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); border-left: 4px solid #667eea; color: white; transform: translateX(4px); }.page-admin-teacher-assessments .remoed-menu svg{ width: 20px; height: 20px; }.page-admin-teacher-assessments .remoed-content{ flex: 1; padding: 12px 16px; }.page-admin-teacher-assessments .remoed-section{ background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(28,167,231,0.07); padding: 12px; margin-bottom: 12px; }.page-admin-teacher-assessments .remoed-section-title{ font-size: 1rem; font-weight: 700; color: #1ca7e7; margin-bottom: 10px; letter-spacing: 0.5px; }.page-admin-teacher-assessments .filters{
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }.page-admin-teacher-assessments .filter-btn{
            padding: 10px 20px;
            border: 2px solid #e0e6ed;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            background: white;
            color: #667eea;
            transition: all 0.2s;
        }.page-admin-teacher-assessments .filter-btn.active{
            background: #667eea;
            color: white;
            border-color: #667eea;
        }.page-admin-teacher-assessments .assessment-table{
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
        }.page-admin-teacher-assessments .assessment-table th, .page-admin-teacher-assessments .assessment-table td{
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #e0e6ed;
            font-size: 0.9rem;
        }.page-admin-teacher-assessments .assessment-table th{
            background: #f8f9fa;
            font-weight: 600;
            color: #1ca7e7;
        }.page-admin-teacher-assessments .assessment-table tr:hover{
            background: #f6fbff;
        }.page-admin-teacher-assessments .status-badge{
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            display: inline-block;
        }.page-admin-teacher-assessments .status-completed{
            background: #d1fae5;
            color: #065f46;
        }.page-admin-teacher-assessments .status-pending{
            background: #fef3c7;
            color: #92400e;
        }.page-admin-teacher-assessments .test-indicators{
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }.page-admin-teacher-assessments .test-badge{
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
        }.page-admin-teacher-assessments .test-badge.completed{
            background: #d1fae5;
            color: #065f46;
        }.page-admin-teacher-assessments .test-badge.pending{
            background: #fee2e2;
            color: #991b1b;
        }.page-admin-teacher-assessments .btn-view{
            padding: 8px 16px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            background: #667eea;
            color: white;
            font-weight: 600;
            transition: all 0.2s;
        }.page-admin-teacher-assessments .btn-view:hover{
            background: #5568d3;
            transform: translateY(-1px);
        }.page-admin-teacher-assessments .modal{
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            overflow-y: auto;
        }.page-admin-teacher-assessments .modal-content{
            background: white;
            margin: 40px auto;
            padding: 32px;
            border-radius: 16px;
            max-width: 900px;
            max-height: 85vh;
            overflow-y: auto;
            box-shadow: 0 4px 24px rgba(0,0,0,0.15);
        }.page-admin-teacher-assessments .modal-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 2px solid #e0e6ed;
        }.page-admin-teacher-assessments .modal-header h2{
            color: #667eea;
            margin: 0;
        }.page-admin-teacher-assessments .close-btn{
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: #64748b;
        }.page-admin-teacher-assessments .test-detail-card{
            background: #f8fafc;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
        }.page-admin-teacher-assessments .test-detail-card h3{
            color: #1e293b;
            margin-bottom: 16px;
        }.page-admin-teacher-assessments .test-info-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-bottom: 16px;
        }.page-admin-teacher-assessments .info-item{
            padding: 12px;
            background: white;
            border-radius: 8px;
        }.page-admin-teacher-assessments .info-label{
            font-size: 0.85rem;
            color: #64748b;
            margin-bottom: 4px;
        }.page-admin-teacher-assessments .info-value{
            font-size: 1.1rem;
            font-weight: 600;
            color: #1e293b;
        }.page-admin-teacher-assessments .audio-player{
            margin-top: 12px;
        }.page-admin-teacher-assessments .audio-player audio{
            width: 100%;
        }.page-admin-teacher-assessments .loading{
            text-align: center;
            padding: 40px;
            color: #64748b;
        }.page-admin-teacher-assessments .no-data{
            text-align: center;
            padding: 40px;
            color: #64748b;
        }.page-admin-teacher-assessments /* Rubric helper */
        .rubric-card{
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 16px;
        }.page-admin-teacher-assessments .rubric-card h3{
            margin: 0 0 8px 0;
            color: #1e293b;
            font-size: 1.05rem;
        }.page-admin-teacher-assessments .rubric-card p{
            margin: 0 0 12px 0;
            color: #475569;
            font-size: 0.95rem;
        }.page-admin-teacher-assessments .rubric-table{
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9rem;
        }.page-admin-teacher-assessments .rubric-table th, .page-admin-teacher-assessments .rubric-table td{
            border: 1px solid #e2e8f0;
            padding: 10px;
            vertical-align: top;
            text-align: left;
        }.page-admin-teacher-assessments .rubric-table th{
            background: #eef2ff;
            color: #312e81;
            font-weight: 700;
        }.page-admin-teacher-assessments .rubric-table td strong{
            color: #1e293b;
        }.page-admin-teacher-assessments .category-cell{
            display: flex;
            align-items: center;
            gap: 10px;
        }.page-admin-teacher-assessments .category-icon{
            width: 30px;
            height: 30px;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(99,102,241,0.16), rgba(14,165,233,0.16));
            border: 1px solid rgba(99,102,241,0.28);
            color: #1d4ed8;
            flex: 0 0 auto;
        }.page-admin-teacher-assessments .category-icon svg{
            width: 18px;
            height: 18px;
        }.page-admin-teacher-assessments .category-name{
            display: flex;
            flex-direction: column;
            line-height: 1.15;
        }.page-admin-teacher-assessments .category-name strong{
            font-size: 0.92rem;
        }.page-admin-teacher-assessments .category-hint{
            font-size: 0.74rem;
            color: #64748b;
            margin-top: 3px;
        }.page-admin-teacher-assessments .rating-scale{
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 6px 10px;
            align-items: baseline;
        }.page-admin-teacher-assessments .rating-chip{
            font-weight: 800;
            font-size: 0.75rem;
            color: #312e81;
            background: #eef2ff;
            border: 1px solid #c7d2fe;
            border-radius: 999px;
            padding: 2px 8px;
            width: fit-content;
        }.page-admin-teacher-assessments .rating-text{
            color: #334155;
            font-size: 0.86rem;
        }.page-admin-teacher-assessments .rubric-badges{
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 8px;
        }.page-admin-teacher-assessments .rubric-badge{
            background: #e0e7ff;
            color: #3730a3;
            border-radius: 999px;
            padding: 6px 10px;
            font-weight: 600;
            font-size: 0.8rem;
        }


/* --- Source: public/admin-teacher-pipeline.html --- */
body.page-admin-teacher-pipeline{ margin: 0; background: #f4f7fb; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }.page-admin-teacher-pipeline .layout{ display: flex; min-height: 100vh; }.page-admin-teacher-pipeline .content{ margin-left: 260px; width: calc(100% - 260px); padding: 20px; box-sizing: border-box; }.page-admin-teacher-pipeline .card{ background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 1px 6px rgba(2, 6, 23, .06); }.page-admin-teacher-pipeline .head{ padding: 16px 18px; border-bottom: 1px solid #eef2f7; }.page-admin-teacher-pipeline .title{ margin: 0; font-size: 1.2rem; color: #0f172a; }.page-admin-teacher-pipeline .sub{ margin: 4px 0 0; color: #64748b; font-size: .9rem; }.page-admin-teacher-pipeline table{ width: 100%; border-collapse: collapse; }.page-admin-teacher-pipeline th, .page-admin-teacher-pipeline td{ padding: 12px 14px; border-bottom: 1px solid #f1f5f9; text-align: left; font-size: .92rem; }.page-admin-teacher-pipeline th{ color: #334155; background: #f8fafc; font-weight: 700; }.page-admin-teacher-pipeline .progress-track{ width: 180px; height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }.page-admin-teacher-pipeline .progress-fill{ height: 100%; background: linear-gradient(90deg, #2563eb, #22c55e); }.page-admin-teacher-pipeline .stage{ text-transform: capitalize; color: #0f172a; font-weight: 600; }.page-admin-teacher-pipeline .btn{ border: none; border-radius: 8px; padding: 8px 12px; font-size: .85rem; cursor: pointer; font-weight: 700; }.page-admin-teacher-pipeline .btn-review{ background: #2563eb; color: #fff; }.page-admin-teacher-pipeline .btn-pass{ background: #16a34a; color: #fff; }.page-admin-teacher-pipeline .btn-fail{ background: #dc2626; color: #fff; }.page-admin-teacher-pipeline .muted{ color: #64748b; font-size: .86rem; }.page-admin-teacher-pipeline .modal-backdrop{ display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 1000; }.page-admin-teacher-pipeline .modal{ width: min(980px, 92vw); max-height: 90vh; overflow: auto; margin: 4vh auto; background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; }.page-admin-teacher-pipeline .modal-head{ padding: 14px 16px; border-bottom: 1px solid #eef2f7; display: flex; align-items: center; justify-content: space-between; }.page-admin-teacher-pipeline .modal-body{ padding: 14px 16px; display: grid; gap: 14px; }.page-admin-teacher-pipeline .panel{ border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; background: #f8fafc; }.page-admin-teacher-pipeline .answers{ white-space: pre-wrap; line-height: 1.5; color: #0f172a; }.page-admin-teacher-pipeline .video-list a{ display: block; margin: 4px 0; color: #2563eb; word-break: break-all; }.page-admin-teacher-pipeline .actions{ display: flex; gap: 8px; justify-content: flex-end; padding: 12px 16px; border-top: 1px solid #eef2f7; }


/* --- Source: public/admin-unique-link-commission.html --- */
body.page-admin-unique-link-commission{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f6fbff; }.page-admin-unique-link-commission .remoed-main{ display: flex; min-height: calc(100vh - 70px); }.page-admin-unique-link-commission .remoed-content{ flex: 1; padding: 12px 16px; }.page-admin-unique-link-commission .remoed-section{ background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(28,167,231,0.07); padding: 14px; margin-bottom: 12px; }.page-admin-unique-link-commission .remoed-section-title{ font-size: 1rem; font-weight: 700; color: #1ca7e7; margin-bottom: 12px; letter-spacing: 0.5px; display:flex; align-items:center; gap:10px; }.page-admin-unique-link-commission .pill{ display:inline-flex; align-items:center; gap:8px; padding:8px 10px; border-radius:999px; border:1px solid #e2e8f0; background:#f8fafc; font-weight:700; color:#0f172a; font-size:0.85rem; }.page-admin-unique-link-commission .grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:10px; }.page-admin-unique-link-commission .card{ background:#ffffff; border:1px solid #e5e7eb; border-radius:12px; padding:12px; }.page-admin-unique-link-commission .card h3{ margin:0 0 8px 0; font-size:0.95rem; color:#0f172a; }.page-admin-unique-link-commission .big{ font-size:1.6rem; font-weight:800; color:#0f172a; }.page-admin-unique-link-commission .muted{ color:#64748b; font-size:0.85rem; }.page-admin-unique-link-commission .controls{ display:flex; flex-wrap:wrap; gap:10px; align-items:end; }.page-admin-unique-link-commission label{ font-size:0.8rem; font-weight:700; color:#334155; display:block; margin-bottom:4px; }.page-admin-unique-link-commission select, .page-admin-unique-link-commission input{ padding:8px 10px; border:1px solid #d1d5db; border-radius:8px; font-size:0.85rem; background:#fff; }.page-admin-unique-link-commission button{ padding:9px 14px; border:none; border-radius:8px; background:#1ca7e7; color:#fff; font-weight:800; cursor:pointer; }.page-admin-unique-link-commission button.secondary{ background:#64748b; }.page-admin-unique-link-commission table{ width:100%; border-collapse:collapse; margin-top:12px; }.page-admin-unique-link-commission th, .page-admin-unique-link-commission td{ padding:10px 8px; border-bottom:1px solid #e5e7eb; font-size:0.85rem; text-align:left; vertical-align:top; }.page-admin-unique-link-commission th{ background:#f8fafc; color:#0f172a; font-weight:800; position:sticky; top:0; z-index:1; }.page-admin-unique-link-commission .linkbox{ display:flex; flex-direction:column; gap:6px; }.page-admin-unique-link-commission .linkbox a{ color:#2563eb; text-decoration:none; font-weight:700; word-break:break-all; }.page-admin-unique-link-commission .tag{ display:inline-flex; padding:2px 8px; border-radius:999px; font-size:0.75rem; font-weight:800; border:1px solid #c7d2fe; background:#eef2ff; color:#3730a3; }.page-admin-unique-link-commission .empty{ padding:28px; text-align:center; color:#64748b; }@media (max-width: 1000px){.page-admin-unique-link-commission .grid{ grid-template-columns: 1fr; } }


/* --- Source: public/admin-users.html --- */
body.page-admin-users{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f6fbff; }.page-admin-users .remoed-main{ display: flex; min-height: calc(100vh - 70px); }.page-admin-users .remoed-sidebar{ width: 220px; background: #fff; box-shadow: 2px 0 8px rgba(0,0,0,0.05); padding: 32px 0 0 0; display: flex; flex-direction: column; }.page-admin-users .remoed-logo{ display: flex; align-items: center; gap: 14px; }.page-admin-users .remoed-logo img{ height: 48px; }.page-admin-users .remoed-title{ font-size: 1.7rem; font-weight: 700; color: #667eea; letter-spacing: 1px; }.page-admin-users .remoed-user{ display: flex; align-items: center; gap: 10px; }.page-admin-users .remoed-avatar{ width: 72px; height: 72px; border-radius: 50%; background: #667eea; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 2.2rem; }.page-admin-users .remoed-username{ color: #667eea; font-weight: 600; }.page-admin-users .remoed-menu{ list-style: none; padding: 0; margin: 0; }.page-admin-users .remoed-menu li{ padding: 14px 32px; color: #667eea; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 12px; border-left: 4px solid transparent; transition: all 0.2s; }.page-admin-users .remoed-menu li.active, .page-admin-users .remoed-menu li:hover{ background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); border-left: 4px solid #667eea; color: white; transform: translateX(4px); }.page-admin-users .remoed-menu svg{ width: 20px; height: 20px; }.page-admin-users .remoed-content{ flex: 1; padding: 12px 16px; }.page-admin-users .remoed-section{ background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(28,167,231,0.07); padding: 12px; margin-bottom: 12px; }.page-admin-users .remoed-section-title{ font-size: 1rem; font-weight: 700; color: #1ca7e7; margin-bottom: 10px; letter-spacing: 0.5px; }.page-admin-users .tab-buttons{ display: flex; gap: 10px; margin-bottom: 20px; }.page-admin-users .tab-btn{ padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; background: #f0f0f0; color: #666; transition: all 0.2s; }.page-admin-users .tab-btn.active{ background: #1ca7e7; color: #fff; }.page-admin-users .user-table{ width: 100%; border-collapse: collapse; margin-top: 10px; }.page-admin-users .user-table th, .page-admin-users .user-table td{ padding: 6px 8px; text-align: left; border-bottom: 1px solid #e0e6ed; font-size: 0.85rem; }.page-admin-users .user-table th{ background: #f8f9fa; font-weight: 600; color: #1ca7e7; }.page-admin-users .user-table tr:hover{ background: #f6fbff; }.page-admin-users .status-badge{ padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; }.page-admin-users .status-active{ background: #d4edda; color: #155724; }.page-admin-users .status-inactive{ background: #f8d7da; color: #721c24; }.page-admin-users .action-btn{ 
            padding: 8px; 
            border: none; 
            border-radius: 6px; 
            cursor: pointer; 
            margin-right: 5px; 
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            transition: all 0.2s;
        }.page-admin-users .action-btn:hover{
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }.page-admin-users .btn-edit{ background: #ffe85a; color: #1ca7e7; }.page-admin-users .btn-edit:hover{ background: #ffd700; }.page-admin-users .btn-delete{ background: #e74c3c; color: #fff; }.page-admin-users .btn-delete:hover{ background: #c0392b; }.page-admin-users .btn-suspend{ background: #f39c12; color: #fff; }.page-admin-users .btn-suspend:hover{ background: #e67e22; }.page-admin-users .btn-role{ background: #9b59b6; color: white; }.page-admin-users .btn-role:hover{ background: #8e44ad; }.page-admin-users .action-btn svg{ width: 16px; height: 16px; }@media (max-width: 900px){.page-admin-users .remoed-main{ flex-direction: column; }.page-admin-users .remoed-sidebar{ width: 100%; flex-direction: row; box-shadow: none; border-bottom: 1px solid #e0e6ed; }.page-admin-users .remoed-menu li{ padding: 12px 10px; font-size: 0.97rem; }.page-admin-users .remoed-content{ padding: 18px 6px; }
        }


/* --- Source: public/catalog.html --- */
.page-catalog .remoed-header{
    background: #fafdff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 32px;
    padding-right: 32px;
    height: 56px;
    min-height: 40px;
    max-height: 64px;
    box-shadow: 0 2px 8px rgba(28,167,231,0.06), 0 1px 0 #e6f0fa;
    border-bottom: 1px solid #e6f0fa;
}


/* --- Source: public/change-password.html --- */
body.page-change-password{ 
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      margin: 0;
      padding: 0;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      position: relative;
      overflow: hidden;
    }.page-change-password /* Floating educational elements */
    .floating-elements{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }.page-change-password .floating-element{
      position: absolute;
      font-size: 2rem;
      animation: float 6s ease-in-out infinite;
      opacity: 0.2;
    }.page-change-password .floating-element:nth-child(1){ top: 10%; left: 10%; animation-delay: 0s; }.page-change-password .floating-element:nth-child(2){ top: 20%; right: 15%; animation-delay: 1s; }.page-change-password .floating-element:nth-child(3){ bottom: 30%; left: 20%; animation-delay: 2s; }.page-change-password .floating-element:nth-child(4){ bottom: 20%; right: 10%; animation-delay: 3s; }.page-change-password .floating-element:nth-child(5){ top: 50%; left: 5%; animation-delay: 4s; }.page-change-password .floating-element:nth-child(6){ top: 60%; right: 5%; animation-delay: 5s; }@keyframes float{
      0%, 100% { transform: translateY(0px) rotate(0deg); }
      50% { transform: translateY(-20px) rotate(10deg); }
    }.page-change-password .change-password-container{
        background: rgba(255, 255, 255, 0.95);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        border: 2px solid #667eea;
        position: relative;
        z-index: 2;
        max-width: 500px;
        width: 90%;
        animation: slideIn 0.8s ease-out;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-height: 90vh;
        overflow-y: auto;
      }@keyframes slideIn{
      0% { transform: translateY(30px); opacity: 0; }
      100% { transform: translateY(0); opacity: 1; }
    }.page-change-password .remoed-logo{
       justify-content: center;
       margin-bottom: 1rem;
       animation: pulse 2s infinite;
     }@keyframes pulse{
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }.page-change-password .remoed-title{
      color: #667eea !important;
      font-size: 1.8rem !important;
      font-weight: bold !important;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }.page-change-password .change-password-title{
       color: #667eea !important;
       font-size: 1.6rem !important;
       font-weight: bold !important;
       text-align: center;
       margin-bottom: 1rem;
       text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
     }.page-change-password .change-password-form{
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
      }.page-change-password .form-group{
      position: relative;
    }.page-change-password .form-group label{
      color: #667eea !important;
      font-weight: 600 !important;
      font-size: 1rem !important;
      margin-bottom: 0.5rem !important;
      display: block;
    }.page-change-password .form-group input{
      width: 100%;
      padding: 12px 16px;
      border: 2px solid #e1e8ed;
      border-radius: 12px;
      font-size: 1rem;
      transition: all 0.3s ease;
      background: rgba(255, 255, 255, 0.9);
      box-sizing: border-box;
    }.page-change-password .form-group input:focus{
      border-color: #667eea;
      box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
      transform: scale(1.02);
      outline: none;
    }.page-change-password .password-group{
      position: relative;
    }.page-change-password .password-toggle{
      position: absolute;
      right: 0.75rem;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      z-index: 10;
      padding: 0.5rem;
      border-radius: 4px;
      transition: background-color 0.2s;
    }.page-change-password .password-toggle:hover{
      background-color: rgba(0,0,0,0.1);
    }.page-change-password .password-toggle:active{
      background-color: rgba(0,0,0,0.2);
      transform: scale(0.95);
    }.page-change-password .password-toggle svg{
      width: 1.25rem;
      height: 1.25rem;
      color: #64748b;
      pointer-events: none;
    }.page-change-password .password-input{
      padding-right: 3rem !important;
    }.page-change-password /* Password input container */
    .password-input-container{
      position: relative;
      display: flex;
      align-items: center;
    }.page-change-password .password-input-container input{
      padding-right: 50px;
    }.page-change-password .password-toggle{
      position: absolute;
      right: 12px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      border-radius: 6px;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-change-password .password-toggle:hover{
      background: rgba(102, 126, 234, 0.1);
      transform: scale(1.1);
    }.page-change-password .password-toggle:active{
      transform: scale(0.95);
    }.page-change-password .eye-icon{
      font-size: 1.2rem;
      color: #667eea;
      transition: all 0.3s ease;
    }.page-change-password .password-toggle.show-password .eye-icon{
      color: #764ba2;
    }.page-change-password .change-password-btn{
        background: linear-gradient(45deg, #667eea, #764ba2);
        color: white;
        border: none;
        border-radius: 12px;
        padding: 14px 30px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
        letter-spacing: 0.5px;
        width: 100%;
        display: block !important;
        margin-top: 20px;
        margin-bottom: 15px;
      }.page-change-password .change-password-btn:hover{
      transform: translateY(-2px);
      box-shadow: 0 12px 25px rgba(102, 126, 234, 0.4);
      background: linear-gradient(45deg, #764ba2, #667eea);
    }.page-change-password .change-password-btn:active{
      transform: translateY(0);
    }.page-change-password .change-password-btn:disabled{
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }.page-change-password .message{
      font-size: 1rem;
      margin-top: 8px;
      text-align: center;
      display: none;
      width: 100%;
      padding: 12px;
      border-radius: 12px;
      font-weight: 500;
    }.page-change-password .message.success{
      background: #f0fdf4;
      border: 2px solid #bbf7d0;
      color: #16a34a;
    }.page-change-password .message.error{
      background: #fef2f2;
      border: 2px solid #fecaca;
      color: #dc2626;
    }.page-change-password .welcome-message{
       text-align: center;
       color: #667eea;
       font-size: 0.9rem;
       font-weight: 600;
       margin-bottom: 0.8rem;
       text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
     }.page-change-password .password-requirements{
       background: rgba(102, 126, 234, 0.1);
       border-radius: 8px;
       padding: 8px;
       margin-top: 6px;
       font-size: 0.8rem;
       color: #667eea;
     }.page-change-password .password-requirements ul{
      margin: 8px 0 0 0;
      padding-left: 20px;
    }.page-change-password .password-requirements li{
      margin-bottom: 4px;
    }.page-change-password .requirement-met{
      color: #16a34a;
    }.page-change-password .requirement-not-met{
      color: #dc2626;
    }


/* --- Source: public/clear-session.html --- */
body.page-clear-session{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #f4f7fb; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            min-height: 100vh; 
            margin: 0; 
        }.page-clear-session .container{ 
            background: #fff; 
            border-radius: 12px; 
            box-shadow: 0 4px 24px rgba(0,0,0,0.08); 
            padding: 32px; 
            text-align: center; 
            max-width: 400px; 
        }.page-clear-session .title{ 
            color: #1ca7e7; 
            font-size: 1.5rem; 
            font-weight: 700; 
            margin-bottom: 16px; 
        }.page-clear-session .info{ 
            color: #666; 
            margin-bottom: 24px; 
        }.page-clear-session .btn{ 
            background: #1ca7e7; 
            color: #fff; 
            border: none; 
            border-radius: 6px; 
            padding: 12px 24px; 
            font-size: 1rem; 
            cursor: pointer; 
            margin: 8px; 
        }.page-clear-session .btn:hover{ 
            background: #1694d1; 
        }.page-clear-session .current-info{ 
            background: #f8f9fa; 
            border-radius: 8px; 
            padding: 16px; 
            margin: 16px 0; 
            text-align: left; 
        }


/* --- Source: public/debug-upload.html --- */
body.page-debug-upload{ font-family: Arial, sans-serif; padding: 20px; }.page-debug-upload .debug-section{ margin: 20px 0; padding: 15px; border: 1px solid #ccc; }.page-debug-upload .error{ color: red; }.page-debug-upload .success{ color: green; }.page-debug-upload .info{ color: blue; }.page-debug-upload button{ padding: 10px; margin: 5px; }.page-debug-upload input[type="file"]{ margin: 10px 0; }


/* --- Source: public/device-check.html --- */
body.page-device-check{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #f6fbff; 
            margin: 0;
            padding: 0;
        }.page-device-check .remoed-main{ 
            display: flex; 
            min-height: 100vh; 
        }.page-device-check .remoed-content{ 
            flex: 1; 
            padding: 20px; 
            margin-left: 260px;
            max-width: calc(100vw - 260px);
            display: flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
        }.page-device-check .device-check-card{ 
            background: #fff; 
            border-radius: 12px; 
            box-shadow: 0 4px 24px rgba(0,0,0,0.08); 
            padding: 2rem; 
            width: 100%; 
            max-width: 1200px; 
            display: flex; 
            flex-direction: row; 
            gap: 2rem;
            align-items: flex-start; 
        }@media (max-width: 768px){.page-device-check .device-check-card{
                flex-direction: column;
                gap: 1rem;
            }.page-device-check .video-section{
                width: 100%;
            }.page-device-check .controls-section{
                width: 100%;
            }.page-device-check #video-preview{
                max-width: 100%;
                height: 240px;
            }
        }.page-device-check .device-title{ 
            font-size: 1.5rem; 
            font-weight: 600; 
            color: #333; 
            margin-bottom: 1.2rem; 
            text-align: left; 
        }.page-device-check .video-section{
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
        }.page-device-check #video-preview{ 
            width: 100%; 
            max-width: 480px; 
            height: 360px; 
            background: #222; 
            border-radius: 8px; 
            margin-bottom: 20px; 
        }.page-device-check #mic-level{ 
            width: 100%; 
            height: 10px; 
            background: #eee; 
            border-radius: 5px; 
            margin-bottom: 20px; 
        }.page-device-check #mic-bar{ 
            height: 100%; 
            background: #3a7afe; 
            border-radius: 5px; 
            width: 0; 
            transition: width 0.1s; 
        }.page-device-check .proceed-btn{ 
            padding: 0.8rem 2rem; 
            background: #3a7afe; 
            color: #fff; 
            border: none; 
            border-radius: 5px; 
            font-size: 1.1rem; 
            cursor: pointer; 
            transition: background 0.2s; 
            margin-top: 1.5rem; 
            width: 100%;
        }.page-device-check .proceed-btn:hover{ 
            background: #255ed6; 
        }.page-device-check .back-btn{ 
            margin-top: 12px; 
            background: #f4f6fb; 
            color: #1ca7e7; 
            border: 1px solid #1ca7e7; 
            border-radius: 5px; 
            padding: 0.7rem 2rem; 
            font-size: 1.1rem; 
            cursor: pointer; 
            width: 100%;
        }.page-device-check .back-btn:hover{ 
            background: #eaf7ff; 
        }.page-device-check .controls-section{
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }.page-device-check .audio-controls{
            width: 100%;
            margin-bottom: 20px;
        }.page-device-check .control-row{
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }.page-device-check .control-label{
            font-size: 0.98rem;
            color: #333;
            min-width: 80px;
        }.page-device-check .volume-slider{
            flex: 1;
        }.page-device-check .mute-btn{
            padding: 6px 12px;
            background: #e74c3c;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: background 0.2s;
        }.page-device-check .mute-btn.unmuted{
            background: #27ae60;
        }.page-device-check .mute-btn:hover{
            opacity: 0.8;
        }


/* --- Source: public/forgot-password.html --- */
body.page-forgot-password{ 
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      margin: 0;
      padding: 0;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      position: relative;
      overflow: hidden;
    }.page-forgot-password /* Floating educational elements */
    .floating-elements{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }.page-forgot-password .floating-element{
      position: absolute;
      font-size: 2rem;
      animation: float 6s ease-in-out infinite;
      opacity: 0.2;
    }.page-forgot-password .floating-element:nth-child(1){ top: 10%; left: 10%; animation-delay: 0s; }.page-forgot-password .floating-element:nth-child(2){ top: 20%; right: 15%; animation-delay: 1s; }.page-forgot-password .floating-element:nth-child(3){ bottom: 30%; left: 20%; animation-delay: 2s; }.page-forgot-password .floating-element:nth-child(4){ bottom: 20%; right: 10%; animation-delay: 3s; }.page-forgot-password .floating-element:nth-child(5){ top: 50%; left: 5%; animation-delay: 4s; }.page-forgot-password .floating-element:nth-child(6){ top: 60%; right: 5%; animation-delay: 5s; }@keyframes float{
      0%, 100% { transform: translateY(0px) rotate(0deg); }
      50% { transform: translateY(-20px) rotate(10deg); }
    }.page-forgot-password .forgot-container{
      background: rgba(255, 255, 255, 0.95);
      border-radius: 20px;
      padding: 2.5rem;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      border: 2px solid #667eea;
      position: relative;
      z-index: 2;
      max-width: 400px;
      width: 90%;
      animation: slideIn 0.8s ease-out;
      display: flex;
      flex-direction: column;
      align-items: center;
    }@keyframes slideIn{
      0% { transform: translateY(30px); opacity: 0; }
      100% { transform: translateY(0); opacity: 1; }
    }.page-forgot-password .remoed-logo{
      justify-content: center;
      margin-bottom: 1.5rem;
      animation: pulse 2s infinite;
    }@keyframes pulse{
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }.page-forgot-password .remoed-title{
      color: #667eea !important;
      font-size: 1.8rem !important;
      font-weight: bold !important;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }.page-forgot-password .forgot-title{
      color: #667eea !important;
      font-size: 1.8rem !important;
      font-weight: bold !important;
      text-align: center;
      margin-bottom: 1.5rem;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }.page-forgot-password .forgot-form{
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 10px;
    }.page-forgot-password .forgot-form input[type="email"]{
      width: 100%;
      padding: 12px 16px;
      border: 2px solid #e1e8ed;
      border-radius: 12px;
      font-size: 1rem;
      transition: all 0.3s ease;
      background: rgba(255, 255, 255, 0.9);
      box-sizing: border-box;
    }.page-forgot-password .forgot-form input[type="email"]:focus{
      border-color: #667eea;
      box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
      transform: scale(1.02);
      outline: none;
    }.page-forgot-password .forgot-form button{
      background: linear-gradient(45deg, #667eea, #764ba2);
      color: white;
      border: none;
      border-radius: 12px;
      padding: 14px 30px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
      letter-spacing: 0.5px;
    }.page-forgot-password .forgot-form button:hover{
      transform: translateY(-2px);
      box-shadow: 0 12px 25px rgba(102, 126, 234, 0.4);
      background: linear-gradient(45deg, #764ba2, #667eea);
    }.page-forgot-password .forgot-form button:active{
      transform: translateY(0);
    }.page-forgot-password .forgot-message{
      color: #27ae60;
      font-size: 1rem;
      margin-top: 8px;
      text-align: center;
      display: none;
      width: 100%;
    }.page-forgot-password .links-container{
      text-align: center;
      margin-top: 1.5rem;
    }.page-forgot-password .links-container a{
      color: #667eea !important;
      text-decoration: none !important;
      display: block !important;
      margin-bottom: 0.8rem !important;
      font-weight: 500 !important;
      font-size: 0.95rem !important;
      transition: all 0.3s ease !important;
      padding: 8px 16px !important;
      border-radius: 8px !important;
      background: rgba(102, 126, 234, 0.1) !important;
    }.page-forgot-password .links-container a:hover{
      background: rgba(102, 126, 234, 0.2) !important;
      transform: scale(1.02) !important;
    }.page-forgot-password .welcome-message{
      text-align: center;
      color: #667eea;
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 1rem;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    }


/* --- Source: public/index.html --- */
.page-index *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }body.page-index{
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, #FFF0F5 0%, #E8F8F5 50%, #FFF9E6 100%);
            background-attachment: fixed;
            color: #1E3A5F;
            line-height: 1.6;
        }.page-index h1, .page-index h2, .page-index h3, .page-index h4, .page-index h5, .page-index h6{
            font-weight: 800;
        }.page-index /* Navigation */
        .navbar{
            background: white;
            padding: 20px 40px;
            box-shadow: 0 4px 20px rgba(28, 167, 231, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }.page-index .logo-section{
            display: flex;
            align-items: center;
            gap: 12px;
        }.page-index .logo-section img{
            height: 50px;
        }.page-index .logo-section span{
            font-size: 1.8rem;
            font-weight: 800;
            color: #1CA7E7;
            text-shadow: 2px 2px 4px rgba(28, 167, 231, 0.2);
        }.page-index .nav-buttons{
            display: flex;
            gap: 16px;
        }.page-index .nav-btn{
            padding: 14px 28px;
            border-radius: 50px;
            border: 2px solid #1CA7E7;
            background: white;
            color: #1CA7E7;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            font-size: 1rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transform-origin: center;
        }.page-index .nav-btn:hover{
            background: #1CA7E7;
            color: white;
            transform: translateY(-2px) scale(1.05);
        }.page-index .nav-btn.primary{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border: 2px solid #FFD700;
        }.page-index /* Hero Section */
        .hero{
            padding: 120px 40px;
            text-align: center;
            background: linear-gradient(135deg, rgba(28, 167, 231, 0.1), rgba(255, 215, 0, 0.1));
        }.page-index .hero h1{
            font-size: 3.5rem;
            font-weight: 800;
            color: #1CA7E7;
            margin-bottom: 24px;
            text-shadow: 2px 2px 4px rgba(28, 167, 231, 0.2);
        }.page-index .hero p{
            font-size: 1.5rem;
            color: #1E3A5F;
            margin-bottom: 40px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }.page-index .cta-buttons{
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }.page-index .cta-btn{
            padding: 18px 44px;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: 800;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            transform-origin: center;
        }.page-index .cta-btn.primary{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border: 3px solid #FFD700;
            box-shadow: 0 6px 20px rgba(28, 167, 231, 0.4);
        }.page-index .cta-btn.primary:hover{
            transform: translateY(-4px) scale(1.05);
            box-shadow: 0 10px 30px rgba(28, 167, 231, 0.5);
        }.page-index .cta-btn.secondary{
            background: white;
            color: #1CA7E7;
            border: 3px solid #1CA7E7;
        }.page-index .cta-btn.secondary:hover{
            background: #1CA7E7;
            color: white;
            transform: translateY(-2px) scale(1.05);
        }.page-index /* Benefits Section */
        .section{
            padding: 80px 40px;
            max-width: 1200px;
            margin: 0 auto;
        }.page-index .section-title{
            font-size: 2.5rem;
            font-weight: 800;
            color: #1CA7E7;
            text-align: center;
            margin-bottom: 50px;
        }.page-index .benefits-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }.page-index .benefit-card{
            background: rgba(255, 255, 255, 0.62);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.45);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
            text-align: center;
            transition: all 0.3s ease;
            overflow: hidden;
        }.page-index .benefit-card:hover{
            transform: translateY(-10px);
            border-color: #FFD700;
            box-shadow: 0 12px 32px rgba(28, 167, 231, 0.2);
        }.page-index .benefit-icon{
            font-size: 4rem;
            margin-bottom: 20px;
        }.page-index .benefit-card h3{
            font-size: 1.5rem;
            color: #1CA7E7;
            margin-bottom: 16px;
        }.page-index .benefit-card p{
            color: #1E3A5F;
            font-size: 1.1rem;
        }.page-index /* Assessment Section */
        .assessment-section{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            padding: 80px 40px;
            text-align: center;
        }.page-index .assessment-section h2{
            font-size: 2.5rem;
            margin-bottom: 24px;
            color: white;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }.page-index .assessment-section p{
            font-size: 1.3rem;
            margin-bottom: 40px;
            color: white;
            opacity: 1;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
        }.page-index .assessment-form{
            max-width: 600px;
            margin: 0 auto;
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.2);
        }.page-index .form-group{
            margin-bottom: 24px;
            text-align: left;
        }.page-index .form-group label{
            display: block;
            margin-bottom: 8px;
            font-weight: 700;
            color: #1E3A5F;
        }.page-index .form-group input{
            width: 100%;
            padding: 14px 18px;
            border: 3px solid #E8F4FD;
            border-radius: 12px;
            font-size: 1rem;
            font-family: inherit;
            transition: all 0.3s ease;
        }.page-index .form-group input:focus{
            outline: none;
            border-color: #1CA7E7;
            box-shadow: 0 0 0 4px rgba(28, 167, 231, 0.1);
        }.page-index .assessment-btn{
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border: 3px solid #FFD700;
            border-radius: 12px;
            font-size: 1.2rem;
            font-weight: 800;
            cursor: pointer;
            transition: all 0.3s ease;
        }.page-index .assessment-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(28, 167, 231, 0.4);
        }.page-index .btn-spinner{
            display: inline-block;
            width: 16px;
            height: 16px;
            margin-right: 8px;
            border: 2px solid rgba(255, 255, 255, 0.4);
            border-top-color: #ffffff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            vertical-align: middle;
        }@keyframes spin{
            to {
                transform: rotate(360deg);
            }
        }.page-index /* Subscription Plans */
        .plans-grid{
            display: grid;
            grid-template-columns: repeat(4, minmax(220px, 1fr));
            gap: 24px;
            margin-top: 40px;
            align-items: stretch; /* ensure equal-height cards per row */
        }.page-index .plan-card{
            background: var(--plan-bg, white);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
            text-align: center;
            transition: all 0.3s ease;
            border: 3px solid var(--plan-border, transparent);
            position: relative;
            display: flex;
            flex-direction: column;
            height: 100%;
        }.page-index .plan-card.plan-spark{
            --plan-bg: linear-gradient(180deg, rgba(232, 244, 253, 0.95), rgba(255,255,255,1));
            --plan-border: rgba(28, 167, 231, 0.18);
        }.page-index .plan-card.plan-steady{
            --plan-bg: linear-gradient(180deg, rgba(214, 241, 255, 0.92), rgba(255,255,255,1));
            --plan-border: rgba(28, 167, 231, 0.26);
        }.page-index .plan-card.plan-scholar{
            --plan-bg: linear-gradient(180deg, rgba(200, 232, 255, 0.90), rgba(255,255,255,1));
            --plan-border: rgba(28, 167, 231, 0.36);
        }.page-index .plan-card.plan-summit{
            --plan-bg: linear-gradient(180deg, rgba(30, 58, 95, 0.08), rgba(255,255,255,1));
            --plan-border: rgba(30, 58, 95, 0.38);
        }.page-index .plan-card.plan-popular{
            border-color: rgba(255, 215, 0, 0.9);
            box-shadow: 0 12px 32px rgba(255, 215, 0, 0.18);
        }.page-index .plan-card.plan-recommended{
            border-color: rgba(28, 167, 231, 0.65);
            box-shadow: 0 14px 36px rgba(28, 167, 231, 0.18);
        }.page-index .plan-tag{
            position: absolute;
            top: -14px;
            left: 20px;
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            padding: 8px 16px;
            border-radius: 999px;
            font-weight: 800;
            font-size: 0.85rem;
            letter-spacing: 0.2px;
        }.page-index .plan-card:hover{
            transform: translateY(-10px);
            border-color: #1CA7E7;
        }.page-index .plan-card.plan-popular:hover, .page-index .plan-card.plan-recommended:hover{
            transform: translateY(-10px);
        }.page-index .plan-badge{
            position: absolute;
            top: -15px;
            right: 20px;
            background: linear-gradient(135deg, #FFD700, #FFE66D);
            color: #1E3A5F;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: 800;
            font-size: 0.9rem;
        }.page-index .plan-icon{
            width: 56px;
            height: 56px;
            margin: 0 auto 14px auto;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.85);
            border: 2px solid rgba(28, 167, 231, 0.14);
            color: var(--plan-accent, #1CA7E7);
        }.page-index .plan-icon svg{
            width: 30px;
            height: 30px;
        }.page-index .plan-label{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 6px 12px;
            border-radius: 999px;
            background: #f8faff;
            border: 2px solid #e8f4fd;
            color: #1E3A5F;
            font-weight: 800;
            font-size: 0.9rem;
            margin: 0 auto 12px auto;
            width: fit-content;
        }.page-index .plan-name{
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--plan-title, #1CA7E7);
            margin-bottom: 10px;
        }.page-index .plan-price{
            font-size: 3rem;
            font-weight: 800;
            color: var(--plan-title, #1CA7E7);
            margin-bottom: 4px;
        }.page-index .plan-price-local{
            font-size: 1rem;
            font-weight: 700;
            color: #1E3A5F;
            margin-bottom: 8px;
        }.page-index .plan-period{
            color: #4A6FA5;
            margin-bottom: 14px;
        }.page-index .plan-tagline{
            color: #1E3A5F;
            font-weight: 700;
            margin: 0 0 14px 0;
        }.page-index .plan-totals{
            margin-top: 14px;
            padding: 14px 14px;
            border-radius: 14px;
            border: 2px solid #e8f4fd;
            background: #fbfdff;
            text-align: left;
        }.page-index .plan-totals .totals-title{
            font-weight: 800;
            color: #1E3A5F;
            font-size: 0.95rem;
            margin-bottom: 10px;
        }.page-index .totals-row{
            display: flex;
            justify-content: space-between;
            gap: 10px;
            padding: 6px 0;
            color: #1E3A5F;
            font-weight: 600;
            border-top: 1px dashed rgba(28, 167, 231, 0.18);
        }.page-index .totals-row:first-of-type{
            border-top: none;
            padding-top: 0;
        }.page-index .totals-row .muted{
            color: #64748b;
            font-weight: 700;
        }.page-index .plan-features{
            list-style: none;
            margin: 24px 0;
            text-align: left;
            flex-grow: 1; /* fill space so button aligns at bottom */
        }.page-index .plan-features li{
            padding: 12px 0;
            color: #1E3A5F;
            display: flex;
            align-items: center;
            gap: 12px;
        }.page-index .plan-features li::before{
            content: '✓';
            color: #4CAF50;
            font-weight: 800;
            font-size: 1.5rem;
        }.page-index .plan-btn{
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border: 2px solid #FFD700;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: auto; /* push to bottom in flex column */
            align-self: center;
        }.page-index /* Keep consistent spacing above the button even with margin-top:auto */
        .plan-meta + .plan-btn, .page-index .plan-features + .plan-btn{
            margin-top: 24px;
        }.page-index .plan-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(28, 167, 231, 0.4);
        }@media (max-width: 1100px){.page-index .plans-grid{
                grid-template-columns: repeat(2, minmax(220px, 1fr));
            }
        }@media (max-width: 560px){.page-index .plans-grid{
                grid-template-columns: 1fr;
            }
        }.page-index /* Modal */
        .modal{
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
        }.page-index .modal.active{
            display: flex;
        }.page-index .modal-content{
            background: white;
            padding: 40px;
            border-radius: 24px;
            max-width: 550px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            text-align: center;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            border: 1px solid rgba(255,255,255,0.3);
        }.page-index /* Multi-step Modal Styles */
        .modal-step{
            display: none;
        }.page-index .modal-step.active{
            display: block;
        }.page-index .payment-options{
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin: 24px 0;
        }.page-index .payment-method-btn{
            background: #f8faff;
            border: 2px solid #e8f4fd;
            border-radius: 16px;
            padding: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }.page-index .payment-method-btn:hover{
            border-color: #1CA7E7;
            background: #f0f9ff;
            transform: translateY(-2px);
        }.page-index .payment-method-btn.selected{
            border-color: #1CA7E7;
            background: #e0f2fe;
            box-shadow: 0 4px 12px rgba(28, 167, 231, 0.15);
        }.page-index .payment-method-btn img{
            height: 32px;
            object-fit: contain;
        }.page-index .payment-method-btn span{
            font-weight: 700;
            color: #1E3A5F;
            font-size: 0.9rem;
        }.page-index .payment-details-area{
            text-align: left;
            margin-top: 20px;
            padding: 20px;
            background: #f8faff;
            border-radius: 16px;
            border: 1px solid #e8f4fd;
        }.page-index .cc-grid{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }.page-index .cc-full{
            grid-column: span 2;
        }.page-index .payment-note{
            font-size: 0.85rem;
            color: #64748b;
            margin-top: 8px;
            font-style: italic;
        }.page-index .success-icon{
            font-size: 5rem;
            margin-bottom: 20px;
            display: block;
        }.page-index .modal-content h2{
            color: #1CA7E7;
            margin-bottom: 10px;
            font-size: 1.8rem;
        }.page-index .modal-subtitle{
            color: #4A6FA5;
            margin-bottom: 24px;
            font-size: 1.1rem;
        }.page-index .close-modal{
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: #1E3A5F;
        }.page-index /* Footer */
        .footer{
            background: #1E3A5F;
            color: white;
            padding: 40px;
            text-align: center;
        }.page-index .footer *{
            color: white !important;
        }.page-index .footer p, .page-index .footer a, .page-index .footer span, .page-index .footer div, .page-index .footer h1, .page-index .footer h2, .page-index .footer h3, .page-index .footer h4, .page-index .footer h5, .page-index .footer h6, .page-index .footer li, .page-index .footer label{
            color: white !important;
        }.page-index .footer a:hover{
            color: #FFD700 !important;
            opacity: 0.9;
        }.page-index /* Subtle admin link */
        .footer .admin-login{
            font-size: 0.85rem;
            opacity: 0.08;
            color: #cde5ff !important;
            text-decoration: none;
            transition: opacity 0.2s ease, color 0.2s ease;
        }.page-index .footer .admin-login:hover, .page-index .footer .admin-login:focus{
            opacity: 0.9;
            color: #FFD700 !important;
        }@media (max-width: 768px){.page-index .hero h1{
                font-size: 2.5rem;
            }.page-index .section-title{
                font-size: 2rem;
            }.page-index .benefits-grid, .page-index .plans-grid{
                grid-template-columns: 1fr;
            }.page-index .nav-buttons{
                flex-wrap: wrap;
                gap: 8px;
            }.page-index .nav-btn{
                padding: 10px 16px;
                font-size: 0.9rem;
            }
        }@media (max-width: 480px){.page-index .navbar{
                padding: 15px 20px;
                flex-direction: column;
                gap: 15px;
            }.page-index .nav-buttons{
                width: 100%;
                justify-content: center;
            }.page-index .nav-btn{
                flex: 1;
                min-width: 120px;
                text-align: center;
            }
        }.page-index /* Japandi-Minimalist Landing Refresh */
        :root{
            --japandi-bg: #f5f8fb;
            --japandi-card: rgba(255, 255, 255, 0.82);
            --japandi-text: #203448;
            --japandi-blue: #1ca7e7;
            --japandi-blue-deep: #176f9a;
            --japandi-orange: #f58a3b;
            --japandi-soft-border: #d5e4ef;
            --remoed-navy: #1e3a5f;
            --remoed-sky: #1ca7e7;
            --remoed-gold: #ffd166;
            --remoed-mint: #d9f0e6;
            --safe-radius: 20px;
        }body.page-index{
            font-family: 'Quicksand', 'Fredoka', 'Segoe UI', sans-serif !important;
            background: var(--japandi-bg) !important;
            color: var(--japandi-text);
        }.page-index .nav-btn, .page-index .cta-btn, .page-index .benefit-card, .page-index .assessment-form, .page-index .assessment-btn, .page-index .plan-card, .page-index .plan-btn, .page-index .modal-content{
            border-radius: var(--safe-radius) !important;
        }.page-index .nav-btn.primary, .page-index .cta-btn.primary, .page-index .assessment-btn, .page-index .plan-btn{
            background: linear-gradient(135deg, var(--japandi-blue), var(--japandi-blue-deep)) !important;
            border-color: var(--japandi-blue) !important;
        }.page-index .navbar{
            border-bottom: 1px solid rgba(30, 58, 95, 0.08);
            background: rgba(255, 255, 255, 0.88);
            backdrop-filter: blur(8px);
        }.page-index .logo-section span, .page-index .section-title, .page-index .hero-copy h1{
            color: var(--remoed-navy) !important;
        }.page-index .plan-badge, .page-index .plan-tag{
            background: linear-gradient(135deg, var(--japandi-orange), #f7a55f) !important;
            color: #ffffff !important;
        }.page-index .hero.japandi-hero{
            background: linear-gradient(140deg, #f9fcff 0%, #e8f6fd 52%, #eef8f3 100%);
            padding-top: 96px;
            padding-bottom: 96px;
        }.page-index .hero-grid{
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 32px;
            align-items: center;
        }.page-index .hero-copy h1{
            margin-bottom: 18px;
            line-height: 1.15;
            text-shadow: none;
        }.page-index .hero-copy p{
            color: #41556a;
        }.page-index .robot-float{
            width: min(280px, 70vw);
            filter: drop-shadow(0 14px 20px rgba(21, 136, 191, 0.22));
            animation: float 3.2s ease-in-out infinite;
            margin: 0 auto;
            display: block;
        }@keyframes float{
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }.page-index .assessment-cta-wrap{
            display: inline-flex;
            align-items: center;
            gap: 12px;
        }.page-index .intro-kid{
            width: 58px;
            height: 58px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #ffffff;
            box-shadow: 0 8px 16px rgba(36, 49, 66, 0.18);
            background: #ffffff;
        }.page-index .benefit-card{
            border-radius: var(--safe-radius);
            background: rgba(255, 255, 255, 0.86);
            border: 1px solid var(--japandi-soft-border);
            box-shadow: 0 10px 28px rgba(19, 38, 58, 0.08);
        }.page-index .benefit-icon{
            width: 74px;
            height: 74px;
            margin: 0 auto 18px;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid #ffffff;
            box-shadow: 0 8px 16px rgba(19, 38, 58, 0.14);
            font-size: 0;
        }.page-index .benefit-icon img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.25s ease;
        }.page-index .benefit-card:hover{
            transform: translateY(-5px);
        }.page-index .benefit-card:hover .benefit-icon img{
            transform: scale(1.08);
        }.page-index .assessment-section{
            background: linear-gradient(140deg, #dceffd 0%, var(--remoed-mint) 100%) !important;
            color: var(--japandi-text);
        }.page-index .assessment-section h2, .page-index .assessment-section p{
            color: var(--japandi-text) !important;
            text-shadow: none !important;
        }.page-index .assessment-layout{
            max-width: 1040px;
            margin: 24px auto 0;
            display: grid;
            grid-template-columns: 0.95fr 1.05fr;
            gap: 26px;
            align-items: center;
        }.page-index .sophia-guide{
            position: relative;
            display: flex;
            justify-content: center;
        }.page-index .sophia-guide img{
            width: min(320px, 82vw);
            border-radius: 24px;
            object-fit: cover;
            box-shadow: 0 16px 30px rgba(19, 38, 58, 0.14);
        }.page-index .speech-bubble{
            position: absolute;
            top: -18px;
            left: 16px;
            max-width: 260px;
            background: #ffffff;
            border: 2px solid #d6e5f2;
            color: #1d3550;
            padding: 12px 14px;
            border-radius: 16px;
            font-weight: 700;
            text-align: left;
            box-shadow: 0 10px 20px rgba(19, 38, 58, 0.12);
        }.page-index .speech-bubble::after{
            content: '';
            position: absolute;
            left: 22px;
            bottom: -10px;
            width: 18px;
            height: 18px;
            background: #ffffff;
            border-left: 2px solid #d6e5f2;
            border-bottom: 2px solid #d6e5f2;
            transform: rotate(-45deg);
        }.page-index .assessment-form{
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid #d8e4ef;
            box-shadow: 0 14px 26px rgba(19, 38, 58, 0.12);
        }.page-index .assessment-form .form-group input{
            border: 3px solid #bfd7e8;
            border-radius: 16px;
            padding: 18px 16px;
            font-size: 1rem;
        }.page-index .assessment-form .form-group input:focus{
            border-color: var(--japandi-blue);
            box-shadow: 0 0 0 4px rgba(28, 167, 231, 0.12);
        }.page-index #plans{
            max-width: 100%;
            padding: 92px 40px;
            background: linear-gradient(140deg, #cfe9f8 0%, #d6efe7 45%, #edf5fb 100%);
        }.page-index #plans .section-title{
            max-width: 1200px;
            margin: 0 auto 42px;
        }.page-index #plans .plans-grid{
            max-width: 1200px;
            margin: 0 auto;
        }.page-index #plans .plan-card{
            background: rgba(255, 255, 255, 0.45) !important;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.65);
            box-shadow: 0 12px 32px rgba(36, 49, 66, 0.12);
        }@media (max-width: 900px){.page-index .hero-grid, .page-index .assessment-layout{
                grid-template-columns: 1fr;
            }.page-index .hero-media{
                order: -1;
            }.page-index .assessment-cta-wrap{
                width: 100%;
                justify-content: center;
            }
        }@media (max-width: 640px){.page-index .hero.japandi-hero{
                padding: 72px 18px;
            }.page-index .hero-copy h1{
                font-size: 2.2rem;
            }.page-index .hero-copy p{
                font-size: 1.05rem;
            }.page-index .intro-kid{
                width: 46px;
                height: 46px;
            }.page-index #plans{
                padding: 72px 18px;
            }.page-index .speech-bubble{
                left: 8px;
                right: 8px;
                max-width: none;
                font-size: 0.92rem;
            }.page-index .assessment-form{
                padding: 24px 18px;
            }
        }


/* --- Source: public/live-classroom.html --- */
.page-live-classroom .pdf-viewer-container{
      width: 100%;
      height: calc(100vh - 200px);
      min-height: 600px;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: auto;
      background: #f5f5f5;
      position: relative;
    }.page-live-classroom .pdf-viewer-controls{
      position: sticky;
      top: 0;
      background: white;
      padding: 6px;
      border-bottom: 1px solid #ddd;
      display: flex;
      gap: 6px;
      align-items: center;
      z-index: 10;
      /* Keep controls visible at 100% browser zoom by allowing wrap */
      flex-wrap: nowrap;
      row-gap: 4px;
      max-width: 100%;
      overflow-x: hidden;
      overflow-y: visible;
      box-sizing: border-box;
    }.page-live-classroom .pdf-controls-top-row, .page-live-classroom .pdf-controls-bottom-row{
      display: flex;
      align-items: center;
      gap: 4px;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      flex-wrap: nowrap;
      box-sizing: border-box;
      overflow-x: auto;
      overflow-y: hidden;
      scrollbar-width: thin;
      padding-bottom: 2px;
    }.page-live-classroom .pdf-controls-top-row{
      justify-content: flex-start;
    }.page-live-classroom .pdf-controls-top-row > *, .page-live-classroom .pdf-controls-bottom-row > *{
      flex: 0 0 auto;
    }.page-live-classroom .pdf-viewer-controls button{
      padding: 4px 6px;
      border: 1px solid #ccc;
      border-radius: 4px;
      background: white;
      cursor: pointer;
      font-size: 0.78rem;
      line-height: 1.1;
    }.page-live-classroom .pdf-viewer-controls .action-btn{
      width: 28px;
      height: 28px;
      font-size: 14px;
      border-radius: 4px;
      box-shadow: none;
      transform: none;
    }.page-live-classroom .pdf-viewer-controls .action-btn:hover{
      transform: none;
    }.page-live-classroom .pdf-viewer-controls button:hover{
      background: #f0f0f0;
    }.page-live-classroom .pdf-viewer-controls button:disabled{
      opacity: 0.5;
      cursor: not-allowed;
    }.page-live-classroom .pdf-viewer-controls button.active{
      background: #d4edda;
      color: #155724;
      border-color: #c3e6cb;
    }.page-live-classroom .pdf-page-info{
      padding: 4px 6px;
      font-size: 0.76rem;
      color: #666;
      min-width: 54px;
      text-align: center;
    }.page-live-classroom .pdf-canvas-container{
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px;
      gap: 20px;
    }.page-live-classroom .pdf-page{
      margin-bottom: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      background: white;
      position: relative;
      overflow: hidden;
    }.page-live-classroom .pdf-page canvas{
      display: block;
    }.page-live-classroom .pdf-annotation-layer{
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 2;
    }.page-live-classroom .pdf-annotator-controls{
      display: flex;
      gap: 4px;
      align-items: center;
      padding: 3px 5px;
      background: #f8fafc;
      border: 1px solid #e5e7eb;
      border-radius: 6px;
      flex-wrap: nowrap;
      max-width: none;
      min-width: 0;
    }.page-live-classroom .pdf-annotator-controls select{
      padding: 4px 6px;
      font-size: 0.8rem;
    }.page-live-classroom .pdf-annotator-controls .pdf-annotator-indicator{
      display: inline-flex;
      min-width: auto;
      font-size: 0.8rem;
      padding-left: 2px;
      padding-right: 2px;
    }.page-live-classroom .pdf-annotator-controls input[type="color"]{
      width: 32px;
      height: 32px;
      padding: 0;
      border: 1px solid #cbd5e1;
      border-radius: 4px;
      background: white;
      cursor: pointer;
    }.page-live-classroom .pdf-annotator-controls select{
      padding: 6px 8px;
      border: 1px solid #cbd5e1;
      border-radius: 4px;
      background: white;
    }.page-live-classroom /* Teachers: keep nav + annotation row visible on last slide (no extension needed) */
    .pdf-viewer-controls.pdf-viewer-toolbar-teacher{
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
    }.page-live-classroom .pdf-viewer-controls.pdf-viewer-toolbar-teacher .pdf-annotator-controls{
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
    }.page-live-classroom .pdf-annotator-indicator{
      font-size: 0.85rem;
      color: #0f172a;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }.page-live-classroom .pdf-loading{
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      font-size: 1.1rem;
      color: #666;
    }.page-live-classroom .pdf-error{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      padding: 40px;
      text-align: center;
      color: #d32f2f;
    }


/* --- Source: public/practice-room.html --- */
.page-practice-room *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }body.page-practice-room{
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: #333;
        }.page-practice-room .container{
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }.page-practice-room .header{
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }.page-practice-room .practice-info{
            display: flex;
            gap: 20px;
            align-items: center;
        }.page-practice-room .practice-timer{
            background: #4CAF50;
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: bold;
        }.page-practice-room .back-btn{
            background: #f44336;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s;
        }.page-practice-room .back-btn:hover{
            background: #d32f2f;
        }.page-practice-room .main-content{
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
            height: calc(100vh - 200px);
        }.page-practice-room .video-section{
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }.page-practice-room .video-grid{
            display: grid;
            grid-template-rows: 1fr;
            gap: 20px;
            height: auto;
            min-height: 60%;
        }.page-practice-room .video-container{
            position: relative;
            background: #000;
            border-radius: 10px;
            overflow: hidden;
            aspect-ratio: 1 / 1; /* Make it square */
            width: 100%;
            max-width: 100%;
        }.page-practice-room .video-container video{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }.page-practice-room .video-label{
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 14px;
            font-weight: bold;
        }.page-practice-room .controls{
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }.page-practice-room .control-btn{
            background: rgba(0, 0, 0, 0.7);
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 12px;
        }.page-practice-room .control-btn:hover{
            background: rgba(0, 0, 0, 0.9);
        }.page-practice-room .sidebar{
            display: flex;
            flex-direction: column;
            gap: 20px;
        }.page-practice-room .controls-section, .page-practice-room .tools-section{
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }.page-practice-room .control-group{
            margin-bottom: 20px;
        }.page-practice-room .control-group h3{
            margin-bottom: 15px;
            color: #333;
            font-size: 1.1rem;
        }.page-practice-room .control-row{
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }.page-practice-room .control-label{
            min-width: 100px;
            font-weight: 500;
            color: #555;
        }.page-practice-room .control-input{
            flex: 1;
            max-width: 150px;
        }.page-practice-room .control-value{
            min-width: 50px;
            text-align: right;
            color: #666;
            font-size: 0.9rem;
        }.page-practice-room .btn{
            padding: 8px 16px;
            border: none;
            border-radius: 5px;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }.page-practice-room .btn-primary{
            background: #1ca7e7;
            color: #fff;
        }.page-practice-room .btn-primary:hover{
            background: #1694d1;
        }.page-practice-room .btn-secondary{
            background: #6c757d;
            color: #fff;
        }.page-practice-room .btn-secondary:hover{
            background: #5a6268;
        }.page-practice-room .btn-danger{
            background: #e74c3c;
            color: #fff;
        }.page-practice-room .btn-danger:hover{
            background: #c0392b;
        }.page-practice-room .btn-success{
            background: #27ae60;
            color: #fff;
        }.page-practice-room .btn-success:hover{
            background: #229954;
        }.page-practice-room .mic-indicator{
            display: flex;
            align-items: center;
            gap: 10px;
        }.page-practice-room .mic-bar{
            width: 100px;
            height: 8px;
            background: #eee;
            border-radius: 4px;
            overflow: hidden;
        }.page-practice-room .mic-level{
            height: 100%;
            background: #27ae60;
            width: 0%;
            transition: width 0.1s;
        }.page-practice-room .status-message{
            padding: 10px;
            border-radius: 6px;
            margin-bottom: 15px;
            font-weight: 500;
        }.page-practice-room .status-success{
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }.page-practice-room .status-info{
            background: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }.page-practice-room .status-warning{
            background: #fff3cd;
            color: #856404;
            border: 1px solid #ffeaa7;
        }.page-practice-room .tab-container{
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            height: 100%;
            display: flex;
            flex-direction: column;
        }.page-practice-room .tab-buttons{
            display: flex;
            background: #f8f9fa;
            border-radius: 15px 15px 0 0;
            border-bottom: 1px solid #dee2e6;
        }.page-practice-room .tab-button{
            flex: 1;
            padding: 12px 16px;
            background: transparent;
            border: none;
            cursor: pointer;
            font-weight: 500;
            color: #6c757d;
            transition: all 0.3s;
            border-radius: 15px 15px 0 0;
        }.page-practice-room .tab-button.active{
            background: white;
            color: #1ca7e7;
            border-bottom: 2px solid #1ca7e7;
        }.page-practice-room .tab-button:hover{
            background: rgba(28, 167, 231, 0.1);
            color: #1ca7e7;
        }.page-practice-room .tab-content{
            flex: 1;
            padding: 20px;
            display: none;
        }.page-practice-room .tab-content.active{
            display: block;
        }.page-practice-room .tools-grid{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 15px;
        }.page-practice-room .tool-btn{
            background: #2196F3;
            color: white;
            border: none;
            padding: 12px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s;
        }.page-practice-room .tool-btn:hover{
            background: #1976D2;
        }.page-practice-room .whiteboard-section{
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            height: 100%;
        }.page-practice-room #whiteboard{
            width: 100%;
            height: 400px;
            border: 2px solid #ddd;
            border-radius: 8px;
            cursor: crosshair;
            background: white;
            max-width: 100%;
        }.page-practice-room .notification{
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 20px;
            border-radius: 8px;
            color: white;
            font-weight: bold;
            z-index: 10000;
            animation: slideIn 0.3s ease-out;
        }.page-practice-room .notification.success{ background: #4CAF50; }.page-practice-room .notification.error{ background: #f44336; }.page-practice-room .notification.warning{ background: #ff9800; }.page-practice-room .notification.info{ background: #2196F3; }@keyframes slideIn{
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }@keyframes slideOut{
            from { transform: translateX(0); opacity: 1; }
            to { transform: translateX(100%); opacity: 0; }
        }


/* --- Source: public/privacy-policy.html --- */
body.page-privacy-policy{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #F0F2F5; 
            margin: 0;
            padding: 0;
            line-height: 1.8;
        }.page-privacy-policy .container{
            max-width: 1000px;
            margin: 0 auto;
            padding: 40px 24px;
        }.page-privacy-policy .header{
            background: white;
            border-radius: 16px;
            padding: 32px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            text-align: center;
        }.page-privacy-policy .header h1{
            color: #667eea;
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 12px;
        }.page-privacy-policy .header p{
            color: #64748b;
            font-size: 1.1rem;
        }.page-privacy-policy .content-card{
            background: white;
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            margin-bottom: 24px;
        }.page-privacy-policy .section-title{
            font-size: 1.8rem;
            font-weight: 800;
            color: #667eea;
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 3px solid #667eea;
            display: flex;
            align-items: center;
            gap: 12px;
        }.page-privacy-policy .subsection-title{
            font-size: 1.4rem;
            font-weight: 700;
            color: #1E3A5F;
            margin-top: 32px;
            margin-bottom: 16px;
        }.page-privacy-policy .pillar-item{
            margin-bottom: 24px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            border-left: 4px solid #667eea;
        }.page-privacy-policy .pillar-item h4{
            font-size: 1.2rem;
            font-weight: 700;
            color: #667eea;
            margin-bottom: 12px;
        }.page-privacy-policy .pillar-item ul{
            margin: 12px 0;
            padding-left: 24px;
        }.page-privacy-policy .pillar-item li{
            margin-bottom: 8px;
            color: #1E3A5F;
        }.page-privacy-policy .framework-section{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 32px;
            border-radius: 16px;
            margin: 32px 0;
        }.page-privacy-policy .framework-section h3{
            color: white;
            font-size: 1.6rem;
            margin-bottom: 24px;
        }.page-privacy-policy .framework-item{
            margin-bottom: 20px;
            padding: 16px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            backdrop-filter: blur(10px);
        }.page-privacy-policy .framework-item strong{
            font-size: 1.1rem;
            display: block;
            margin-bottom: 8px;
        }.page-privacy-policy .framework-item ul{
            margin: 8px 0;
            padding-left: 20px;
        }.page-privacy-policy .framework-item li{
            margin-bottom: 6px;
        }.page-privacy-policy .guiding-statement{
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 32px;
            border-radius: 16px;
            border: 3px solid #667eea;
            margin: 32px 0;
            text-align: center;
            font-style: italic;
            font-size: 1.2rem;
            color: #1E3A5F;
            line-height: 1.8;
        }.page-privacy-policy .back-button{
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: #667eea;
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-top: 24px;
        }.page-privacy-policy .back-button:hover{
            background: #5a67d8;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
        }.page-privacy-policy .practice-item{
            margin-bottom: 16px;
            padding: 16px;
            background: #f8f9fa;
            border-radius: 8px;
        }.page-privacy-policy .practice-item strong{
            color: #667eea;
            display: block;
            margin-bottom: 8px;
        }@media (max-width: 768px){.page-privacy-policy .container{
                padding: 20px 16px;
            }.page-privacy-policy .content-card{
                padding: 24px;
            }.page-privacy-policy .header h1{
                font-size: 2rem;
            }
        }


/* --- Source: public/remo-ai-chatbot-include.html --- */
.page-remo-ai-chatbot-include #remo-ai-chatbot{
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 380px;
        height: 600px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        z-index: 10000;
        display: none;
        flex-direction: column;
        overflow: hidden;
        transition: all 0.3s ease;
    }.page-remo-ai-chatbot-include #remo-ai-chatbot.open{
        display: flex;
    }.page-remo-ai-chatbot-include .chatbot-header{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 20px 20px 0 0;
    }.page-remo-ai-chatbot-include .chatbot-header h3{
        margin: 0;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }.page-remo-ai-chatbot-include .chatbot-close{
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }.page-remo-ai-chatbot-include .chatbot-close:hover{
        background: rgba(255, 255, 255, 0.3);
    }.page-remo-ai-chatbot-include .chatbot-messages{
        flex: 1;
        overflow-y: auto;
        padding: 20px;
        background: #f8fafc;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }.page-remo-ai-chatbot-include .chatbot-message{
        display: flex;
        gap: 10px;
        animation: fadeIn 0.3s ease;
    }.page-remo-ai-chatbot-include .chatbot-message.user{
        flex-direction: row-reverse;
    }.page-remo-ai-chatbot-include .message-avatar{
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        flex-shrink: 0;
    }.page-remo-ai-chatbot-include .chatbot-message.bot .message-avatar{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }.page-remo-ai-chatbot-include .chatbot-message.user .message-avatar{
        background: #e2e8f0;
        color: #667eea;
    }.page-remo-ai-chatbot-include .message-content{
        max-width: 75%;
        padding: 12px 16px;
        border-radius: 18px;
        font-size: 0.9rem;
        line-height: 1.5;
    }.page-remo-ai-chatbot-include .chatbot-message.bot .message-content{
        background: white;
        color: #1a202c;
        border: 1px solid #e2e8f0;
    }.page-remo-ai-chatbot-include .chatbot-message.user .message-content{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }.page-remo-ai-chatbot-include .message-buttons{
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }.page-remo-ai-chatbot-include .message-button{
        padding: 10px 14px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s;
        color: #667eea;
        font-weight: 500;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 8px;
    }.page-remo-ai-chatbot-include .message-button:hover{
        background: #e2e8f0;
        border-color: #667eea;
        transform: translateX(4px);
    }.page-remo-ai-chatbot-include .message-button-icon{
        font-size: 1rem;
    }.page-remo-ai-chatbot-include .quick-actions{
        padding: 15px 20px;
        background: white;
        border-top: 1px solid #e2e8f0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }.page-remo-ai-chatbot-include .quick-action-btn{
        padding: 8px 12px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s;
        color: #667eea;
        font-weight: 500;
    }.page-remo-ai-chatbot-include .quick-action-btn:hover{
        background: #e2e8f0;
        transform: translateY(-1px);
    }.page-remo-ai-chatbot-include .chatbot-input-area{
        padding: 15px 20px;
        background: white;
        border-top: 1px solid #e2e8f0;
        display: flex;
        gap: 10px;
    }.page-remo-ai-chatbot-include .chatbot-input{
        flex: 1;
        padding: 10px 15px;
        border: 1px solid #e2e8f0;
        border-radius: 25px;
        font-size: 0.9rem;
        outline: none;
    }.page-remo-ai-chatbot-include .chatbot-input:focus{
        border-color: #667eea;
    }.page-remo-ai-chatbot-include .chatbot-send{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s;
    }.page-remo-ai-chatbot-include .chatbot-send:hover{
        transform: scale(1.1);
    }.page-remo-ai-chatbot-include .chatbot-toggle{
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s;
    }.page-remo-ai-chatbot-include .chatbot-toggle:hover{
        transform: scale(1.1);
    }.page-remo-ai-chatbot-include .chatbot-toggle.hidden{
        display: none;
    }@keyframes fadeIn{
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }.page-remo-ai-chatbot-include .typing-indicator{
        display: flex;
        gap: 4px;
        padding: 12px 16px;
    }.page-remo-ai-chatbot-include .typing-dot{
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #667eea;
        animation: typing 1.4s infinite;
    }.page-remo-ai-chatbot-include .typing-dot:nth-child(2){
        animation-delay: 0.2s;
    }.page-remo-ai-chatbot-include .typing-dot:nth-child(3){
        animation-delay: 0.4s;
    }@keyframes typing{
        0%, 60%, 100% {
            transform: translateY(0);
        }
        30% {
            transform: translateY(-10px);
        }
    }


/* --- Source: public/reset-password.html --- */
body.page-reset-password{ background: #f4f7fb; }.page-reset-password .reset-container{
      max-width: 370px;
      margin: 70px auto;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 24px rgba(28,167,231,0.08);
      padding: 38px 32px 32px 32px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }.page-reset-password .reset-title{
      font-size: 1.5rem;
      font-weight: 700;
      color: #1ca7e7;
      margin-bottom: 18px;
    }.page-reset-password .reset-form{
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 10px;
    }.page-reset-password .reset-form input[type="password"]{
      width: 100%;
      padding: 0.7rem 1rem;
      border-radius: 6px;
      border: 1px solid #ccc;
      font-size: 1rem;
    }.page-reset-password .reset-form button{
      background: #1ca7e7;
      color: #fff;
      border: none;
      border-radius: 6px;
      padding: 0.7rem 1.5rem;
      font-size: 1rem;
      cursor: pointer;
      font-weight: 500;
    }.page-reset-password .reset-message{
      color: #27ae60;
      font-size: 1rem;
      margin-top: 8px;
      text-align: center;
      display: none;
    }.page-reset-password .reset-error{
      color: #e74c3c;
      font-size: 1rem;
      margin-top: 8px;
      text-align: center;
      display: none;
    }.page-reset-password .back-link{
      margin-top: 18px;
      color: #1ca7e7;
      text-decoration: underline;
      font-size: 1rem;
      display: block;
      text-align: center;
    }


/* --- Source: public/student-assessment.html --- */
body.page-student-assessment{ 
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif; 
            background: linear-gradient(135deg, #FFF0F5 0%, #E8F8F5 50%, #FFF9E6 100%);
            background-attachment: fixed;
            margin: 0;
            padding: 0;
        }.page-student-assessment .remoed-main{ 
            display: flex; 
            min-height: 100vh; 
        }.page-student-assessment .remoed-sidebar{ 
            width: 260px; 
            min-width: 260px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); 
            box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1); 
            padding: 0; 
            display: flex; 
            flex-direction: column; 
            align-items: stretch;
            position: fixed;
            height: 100vh;
            z-index: 100;
            border-right: 1px solid rgba(102, 126, 234, 0.1);
        }.page-student-assessment .remoed-logo{ 
            display: flex; 
            align-items: center; 
            gap: 14px; 
        }.page-student-assessment .remoed-logo img{ 
            height: 48px; 
        }.page-student-assessment .remoed-title{ 
            font-size: 1.7rem; 
            font-weight: 700; 
            color: #667eea; 
            letter-spacing: 1px; 
        }.page-student-assessment .remoed-user{ 
            display: flex; 
            align-items: center; 
            gap: 10px; 
        }.page-student-assessment .remoed-avatar{ 
            width: 72px; 
            height: 72px; 
            border-radius: 50%; 
            background: #667eea; 
            color: #fff; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-weight: bold; 
            font-size: 2.2rem; 
        }.page-student-assessment .remoed-username{ 
            color: #667eea; 
            font-weight: 600; 
        }.page-student-assessment .remoed-menu{ 
            list-style: none; 
            padding: 0; 
            margin: 0; 
        }.page-student-assessment .remoed-menu li{ 
            padding: 14px 32px; 
            color: #667eea; 
            font-weight: 500; 
            cursor: pointer; 
            display: flex; 
            align-items: center; 
            gap: 12px; 
            border-left: 4px solid transparent; 
            transition: background 0.2s, border-color 0.2s; 
        }.page-student-assessment .remoed-menu li.active, .page-student-assessment .remoed-menu li:hover{ 
            background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); 
            border-left: 4px solid #667eea; 
            color: white; 
            transform: translateX(4px);
            transition: all 0.3s ease;
        }.page-student-assessment .remoed-content{ 
            flex: 1; 
            padding: 24px 32px; 
            margin-left: 260px;
            max-width: calc(100vw - 260px);
        }.page-student-assessment .assessment-container{
            max-width: 900px;
            margin: 0 auto;
        }.page-student-assessment .assessment-header{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            padding: 32px;
            border-radius: 20px;
            margin-bottom: 32px;
            box-shadow: 0 8px 24px rgba(28, 167, 231, 0.3);
            text-align: center;
        }.page-student-assessment .assessment-header h1{
            font-size: 2.5rem;
            margin: 0 0 12px 0;
            color: white;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }.page-student-assessment .assessment-header p{
            font-size: 1.2rem;
            margin: 0;
            color: white;
            opacity: 1;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
        }.page-student-assessment .assessment-intro{
            background: white;
            padding: 32px;
            border-radius: 20px;
            margin-bottom: 32px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        }.page-student-assessment .assessment-intro h2{
            color: #1CA7E7;
            font-size: 1.8rem;
            margin-bottom: 16px;
        }.page-student-assessment .assessment-intro p{
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 20px;
            color: #1E3A5F;
        }.page-student-assessment .assessment-intro ul{
            list-style: none;
            padding: 0;
            margin: 0;
        }.page-student-assessment .assessment-intro li{
            padding: 12px 0;
            font-size: 1.1rem;
            color: #1E3A5F;
            display: flex;
            align-items: center;
            gap: 12px;
        }.page-student-assessment .assessment-intro li::before{
            content: '✨';
            font-size: 1.5rem;
        }.page-student-assessment .start-btn{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border: 3px solid #FFD700;
            padding: 18px 48px;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 800;
            font-size: 1.3rem;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(28, 167, 231, 0.4);
            display: block;
            margin: 32px auto 0;
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
        }.page-student-assessment .start-btn:hover{
            transform: translateY(-4px) scale(1.05);
            box-shadow: 0 10px 30px rgba(28, 167, 231, 0.5);
        }.page-student-assessment .question-container{
            background: white;
            padding: 40px;
            border-radius: 20px;
            margin-bottom: 24px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.1);
            display: none;
        }.page-student-assessment .question-container.active{
            display: block;
            animation: fadeIn 0.5s ease;
        }@keyframes fadeIn{
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }.page-student-assessment .question-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 3px solid #E8F4FD;
        }.page-student-assessment .question-number{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            padding: 12px 24px;
            border-radius: 20px;
            font-weight: 800;
            font-size: 1.1rem;
            box-shadow: 0 4px 12px rgba(28, 167, 231, 0.3);
        }.page-student-assessment .progress-bar{
            flex: 1;
            height: 12px;
            background: #E8F4FD;
            border-radius: 10px;
            margin: 0 24px;
            overflow: hidden;
        }.page-student-assessment .progress-fill{
            height: 100%;
            background: linear-gradient(90deg, #1CA7E7, #5CB3FF, #FFD700);
            border-radius: 10px;
            transition: width 0.5s ease;
            box-shadow: 0 2px 8px rgba(28, 167, 231, 0.3);
        }.page-student-assessment .question-title{
            font-size: 1.5rem;
            color: #1E3A5F;
            font-weight: 700;
            margin-bottom: 24px;
            line-height: 1.6;
        }.page-student-assessment .question-image{
            width: 100%;
            max-width: 400px;
            height: 250px;
            object-fit: contain;
            border-radius: 16px;
            margin: 24px auto;
            display: block;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }.page-student-assessment .options-container{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-top: 24px;
        }.page-student-assessment .option-btn{
            background: linear-gradient(135deg, #F0F8FF, #FFFBF0);
            border: 3px solid #E8F4FD;
            padding: 20px 24px;
            border-radius: 16px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 600;
            color: #1E3A5F;
            transition: all 0.3s ease;
            text-align: center;
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
        }.page-student-assessment .option-btn:hover{
            border-color: #1CA7E7;
            background: linear-gradient(135deg, #E8F4FD, #FFF9E6);
            transform: translateY(-4px);
            box-shadow: 0 6px 20px rgba(28, 167, 231, 0.2);
        }.page-student-assessment .option-btn.selected{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border-color: #FFD700;
            box-shadow: 0 6px 20px rgba(28, 167, 231, 0.4);
        }.page-student-assessment .option-btn.correct{
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            border-color: #2E7D32;
        }.page-student-assessment .option-btn.incorrect{
            background: linear-gradient(135deg, #f44336, #d32f2f);
            color: white;
            border-color: #c62828;
        }.page-student-assessment .navigation-buttons{
            display: flex;
            justify-content: space-between;
            margin-top: 32px;
            gap: 16px;
        }.page-student-assessment .nav-btn{
            padding: 14px 32px;
            border-radius: 20px;
            border: none;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
        }.page-student-assessment .prev-btn{
            background: linear-gradient(135deg, #6c757d, #5a6268);
            color: white;
        }.page-student-assessment .next-btn{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border: 2px solid #FFD700;
        }.page-student-assessment .submit-btn{
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            border: 2px solid #2E7D32;
        }.page-student-assessment .nav-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }.page-student-assessment .nav-btn:disabled{
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }.page-student-assessment .results-container{
            background: white;
            padding: 48px;
            border-radius: 20px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
            text-align: center;
            display: none;
        }.page-student-assessment .results-container.active{
            display: block;
            animation: fadeIn 0.5s ease;
        }.page-student-assessment .results-header{
            font-size: 3rem;
            margin-bottom: 24px;
        }.page-student-assessment .cefr-level{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            padding: 24px 48px;
            border-radius: 20px;
            font-size: 2.5rem;
            font-weight: 800;
            margin: 32px auto;
            display: inline-block;
            box-shadow: 0 8px 24px rgba(28, 167, 231, 0.4);
            border: 4px solid #FFD700;
        }.page-student-assessment .level-description{
            background: #F0F8FF;
            padding: 24px;
            border-radius: 16px;
            margin: 24px 0;
            border-left: 6px solid #1CA7E7;
        }.page-student-assessment .level-description h3{
            color: #1CA7E7;
            font-size: 1.5rem;
            margin-bottom: 12px;
        }.page-student-assessment .level-description p{
            color: #1E3A5F;
            font-size: 1.1rem;
            line-height: 1.8;
        }.page-student-assessment .score-display{
            font-size: 1.3rem;
            color: #1E3A5F;
            margin: 24px 0;
        }.page-student-assessment .cefr-badge{
            display: inline-block;
            background: linear-gradient(135deg, #FFD700, #FFE66D);
            color: #1E3A5F;
            padding: 12px 24px;
            border-radius: 20px;
            font-weight: 800;
            font-size: 1.2rem;
            margin: 16px;
            box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
        }.page-student-assessment .action-buttons{
            display: flex;
            gap: 16px;
            justify-content: center;
            margin-top: 32px;
        }.page-student-assessment .action-btn{
            padding: 16px 32px;
            border-radius: 20px;
            border: none;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
        }.page-student-assessment .retake-btn{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border: 2px solid #FFD700;
        }.page-student-assessment .dashboard-btn{
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            border: 2px solid #2E7D32;
        }.page-student-assessment .action-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }@media (max-width: 768px){.page-student-assessment .options-container{
                grid-template-columns: 1fr;
            }.page-student-assessment .assessment-header h1{
                font-size: 2rem;
            }.page-student-assessment .question-title{
                font-size: 1.2rem;
            }
        }


/* --- Source: public/student-book.html --- */
body.page-student-book{ 
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif; 
            background: linear-gradient(135deg, #FFF0F5 0%, #E8F8F5 50%, #FFF9E6 100%);
            background-attachment: fixed;
            margin: 0;
            padding: 0;
        }.page-student-book .remoed-main{ 
            display: flex; 
            min-height: 100vh; 
        }.page-student-book .remoed-sidebar{ 
            width: 260px; 
            min-width: 260px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); 
            box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1); 
            padding: 0; 
            display: flex; 
            flex-direction: column; 
            align-items: stretch;
            position: fixed;
            height: 100vh;
            z-index: 100;
            border-right: 1px solid rgba(102, 126, 234, 0.1);
        }.page-student-book .remoed-logo{ 
            display: flex; 
            align-items: center; 
            gap: 14px; 
        }.page-student-book .remoed-logo img{ 
            height: 48px; 
        }.page-student-book .remoed-title{ 
            font-size: 1.7rem; 
            font-weight: 700; 
            color: #667eea; 
            letter-spacing: 1px; 
        }.page-student-book .remoed-user{ 
            display: flex; 
            align-items: center; 
            gap: 10px; 
        }.page-student-book .remoed-avatar{ 
            width: 72px; 
            height: 72px; 
            border-radius: 50%; 
            background: #667eea; 
            color: #fff; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-weight: bold; 
            font-size: 2.2rem; 
        }.page-student-book .remoed-username{ 
            color: #667eea; 
            font-weight: 600; 
        }.page-student-book .remoed-menu{ 
            list-style: none; 
            padding: 0; 
            margin: 0; 
        }.page-student-book .remoed-menu li{ 
            padding: 14px 32px; 
            color: #667eea; 
            font-weight: 500; 
            cursor: pointer; 
            display: flex; 
            align-items: center; 
            gap: 12px; 
            border-left: 4px solid transparent; 
            transition: background 0.2s, border-color 0.2s; 
        }.page-student-book .remoed-menu li.active, .page-student-book .remoed-menu li:hover{ 
            background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); 
            border-left: 4px solid #667eea; 
            color: white; 
            transform: translateX(4px);
            transition: all 0.3s ease;
        }.page-student-book .remoed-menu svg{ 
            width: 20px; 
            height: 20px; 
            stroke: currentColor;
        }.page-student-book .remoed-content{ 
            flex: 1; 
            padding: 20px 32px 20px 32px;
            min-width: 0;
            background: #f6fbff;
            min-height: 100vh;
            box-sizing: border-box;
            margin-left: 260px;
            max-width: calc(100vw - 260px);
            display: flex;
            flex-direction: column;
        }.page-student-book .content-scrollable{
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }.page-student-book .main-layout{
            margin-top: 0;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }.page-student-book .calendar-section{
            width: 100%;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }.page-student-book /* Calendar Styles */
        .header{
            margin-bottom: 8px;
        }.page-student-book .header h1{
            color: #667eea;
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0 0 8px 0;
        }.page-student-book .header-info{
            margin-bottom: 8px;
        }.page-student-book .info-item{
            margin-bottom: 4px;
        }.page-student-book .quota{
            font-size: 0.85rem;
            color: #495057;
            font-weight: 500;
        }.page-student-book .week-navigation{
            display: flex;
            align-items: center;
            gap: 8px;
        }.page-student-book .nav-btn{
            background: linear-gradient(135deg, #ffe85a, #f4d03f);
            color: #333;
            border: none;
            padding: 6px 12px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 2px 6px rgba(255, 232, 90, 0.3);
            height: 32px;
            min-width: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-student-book .nav-btn:hover{
            background: linear-gradient(135deg, #f4d03f, #f1c40f);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 232, 90, 0.4);
        }.page-student-book .nav-btn:disabled{
            background: #ccc;
            cursor: not-allowed;
        }.page-student-book .week-display{
            font-weight: 600;
            color: #333;
            min-width: 100px;
            text-align: center;
            font-size: 0.85rem;
        }.page-student-book .current-week-btn, .page-student-book .current-week{
            background: linear-gradient(135deg, #28a745, #1e7e34) !important;
            color: white;
            box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
        }.page-student-book .current-week-btn:hover, .page-student-book .current-week:hover{
            background: linear-gradient(135deg, #1e7e34, #155724) !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
        }.page-student-book .action-buttons{
            display: flex;
            gap: 12px;
        }.page-student-book .submit-btn{
            background: linear-gradient(135deg, #667eea, #5a67d8);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 12px 24px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
            height: 40px;
            min-width: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-student-book .submit-btn:hover{
            background: linear-gradient(135deg, #5a67d8, #4c51bf);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }.page-student-book .back-btn{
            background: linear-gradient(135deg, #6c757d, #5a6268);
            color: #fff;
            border: none;
            border-radius: 6px;
            padding: 6px 12px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 6px rgba(108, 117, 125, 0.3);
            height: 32px;
            min-width: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-student-book .back-btn:hover{
            background: linear-gradient(135deg, #5a6268, #495057);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
        }.page-student-book /* Weekly Grid */
        .weekly-grid{
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(28, 167, 231, 0.1);
            overflow: auto;
            max-height: calc(100vh - 120px);
            min-height: calc(100vh - 120px);
            max-width: 100%;
            box-sizing: border-box;
            border: 1px solid rgba(28, 167, 231, 0.1);
        }.page-student-book .schedule-table{
            width: 100%;
            border-collapse: collapse;
        }.page-student-book .time-column{
            width: 100px;
            min-width: 100px;
            padding: 12px;
            background: linear-gradient(135deg, #667eea, #5a67d8);
            color: white;
            font-weight: 600;
            text-align: center;
            position: sticky;
            left: 0;
            z-index: 5;
            border-right: 2px solid rgba(255,255,255,0.2);
        }.page-student-book .grid-header{
            display: grid;
            grid-template-columns: 100px repeat(7, 1fr);
            background: linear-gradient(135deg, #667eea, #5a67d8);
            color: white;
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0,0,0,0.1);
            border-radius: 12px 12px 0 0;
        }.page-student-book .grid-header > div{
            padding: 12px 6px;
            text-align: center;
            border-right: 1px solid rgba(255,255,255,0.2);
            font-size: 0.9rem;
        }.page-student-book .grid-header > div:last-child{
            border-right: none;
        }.page-student-book .time-slot{
            display: grid;
            grid-template-columns: 100px repeat(7, 1fr);
            border-bottom: 1px solid #e0e6ed;
        }.page-student-book .time-slot:last-child{
            border-bottom: none;
        }.page-student-book .time-label{
            padding: 12px;
            background: #f8f9fa;
            font-weight: 600;
            color: #333;
            display: flex;
            align-items: center;
            justify-content: center;
            border-right: 1px solid #e0e6ed;
            font-size: 0.85rem;
        }.page-student-book .slot-cell{
            padding: 12px 6px;
            border-right: 1px solid #e0e6ed;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
        }.page-student-book .slot-cell:last-child{
            border-right: none;
        }.page-student-book .slot-cell.available{
            background: #e8f5e8;
            color: #28a745;
            font-weight: bold;
            font-size: 0.8rem;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-student-book .slot-cell.available:hover{
            background: #d4edda;
            transform: scale(1.02);
            box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
        }.page-student-book .slot-cell.selected{
            background: #1ca7e7;
            color: white;
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(28, 167, 231, 0.4);
            font-weight: bold;
        }.page-student-book .slot-cell.unavailable{
            background: #f8f9fa;
            color: #6c757d;
            cursor: not-allowed;
        }.page-student-book .slot-cell.past{
            background: #f8f9fa;
            color: #adb5bd;
            cursor: not-allowed;
            font-size: 0.7rem;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-student-book .slot-cell.booked{
            background: #f8d7da;
            color: #721c24;
            cursor: not-allowed;
            font-weight: bold;
            font-size: 0.8rem;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-student-book /* Booking Modal */
        .booking-modal{
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
        }.page-student-book .booking-modal.show{
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-student-book .booking-modal-content{
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            padding: 32px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            animation: modalSlideIn 0.3s ease-out;
        }@keyframes modalSlideIn{
            from {
                opacity: 0;
                transform: translateY(-50px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }.page-student-book .modal-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 2px solid #f1f5f9;
        }.page-student-book .modal-title{
            font-size: 1.5rem;
            font-weight: 700;
            color: #1a202c;
            margin: 0;
        }.page-student-book .modal-close{
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #64748b;
            padding: 8px;
            border-radius: 50%;
            transition: all 0.2s ease;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-student-book .modal-close:hover{
            background: #f1f5f9;
            color: #1a202c;
        }.page-student-book .booking-panel{
            background: #fff;
            border-radius: 12px;
            padding: 0;
            border: none;
            position: static;
        }.page-student-book .booking-panel h3{
            color: #667eea;
            margin-bottom: 12px;
            font-size: 1.2rem;
        }.page-student-book .form-group{
            margin-bottom: 12px;
        }.page-student-book .form-group label{
            display: block;
            margin-bottom: 4px;
            font-weight: 600;
            color: #333;
            font-size: 0.9rem;
        }.page-student-book .form-group input, .page-student-book .form-group select{
            width: 100%;
            padding: 8px;
            border: 1px solid #e0e6ed;
            border-radius: 6px;
            font-size: 0.9rem;
        }.page-student-book .form-group input:focus, .page-student-book .form-group select:focus{
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
        }.page-student-book .form-group input.error, .page-student-book .form-group select.error{
            border-color: #dc3545;
            background-color: #fff5f5;
            box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
        }.page-student-book .form-group input.error:focus, .page-student-book .form-group select.error:focus{
            border-color: #dc3545;
            box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
        }.page-student-book .form-group .error-message{
            color: #dc3545;
            font-size: 0.8rem;
            margin-top: 4px;
            display: none;
        }.page-student-book .form-group .error-message.show{
            display: block;
        }.page-student-book .selected-slots{
            margin-bottom: 16px;
            max-height: 250px;
            overflow-y: auto;
            border: 2px solid #1ca7e7;
            border-radius: 8px;
            padding: 12px;
            background: #f0f8ff;
        }.page-student-book .selected-slot{
            background: #e3f2fd;
            border: 1px solid #1ca7e7;
            border-radius: 6px;
            padding: 10px 15px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
            transition: all 0.2s ease;
            box-shadow: 0 2px 4px rgba(28, 167, 231, 0.1);
        }.page-student-book .selected-slot:last-child{
            margin-bottom: 0;
        }.page-student-book .selected-slot:hover{
            background: #bbdefb;
            transform: translateX(2px);
        }.page-student-book .selected-slot-info{
            display: flex;
            flex-direction: column;
            gap: 2px;
        }.page-student-book .selected-slot-time{
            font-weight: bold;
            color: #1976d2;
        }.page-student-book .selected-slot-date{
            font-size: 0.75rem;
            color: #666;
        }.page-student-book .selected-slots-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            padding-bottom: 8px;
            border-bottom: 1px solid #dee2e6;
        }.page-student-book .selected-slots-count{
            font-weight: bold;
            color: #667eea;
            font-size: 0.9rem;
        }.page-student-book .clear-all-slots{
            background: #dc3545;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 4px 8px;
            cursor: pointer;
            font-size: 0.75rem;
            transition: background 0.2s;
        }.page-student-book .clear-all-slots:hover{
            background: #c82333;
        }.page-student-book .remove-slot{
            background: #dc3545;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 3px 6px;
            cursor: pointer;
            font-size: 0.75rem;
        }.page-student-book .remove-slot:hover{
            background: #c82333;
        }.page-student-book .book-btn{
            background: linear-gradient(135deg, #28a745, #1e7e34);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 10px 20px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
        }.page-student-book .book-btn:hover{
            background: linear-gradient(135deg, #1e7e34, #155724);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
        }.page-student-book .book-btn:disabled{
            background: #6c757d;
            cursor: not-allowed;
        }.page-student-book .booking-summary{
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 16px;
        }.page-student-book .booking-summary h4{
            margin: 0 0 8px 0;
            color: #667eea;
            font-size: 0.9rem;
        }.page-student-book .booking-summary-item{
            display: flex;
            justify-content: space-between;
            margin-bottom: 4px;
            font-size: 0.85rem;
        }.page-student-book .booking-summary-item:last-child{
            margin-bottom: 0;
        }.page-student-book .booking-summary-label{
            color: #666;
        }.page-student-book .booking-summary-value{
            font-weight: bold;
            color: #333;
        }.page-student-book .message{
            margin-top: 12px;
            padding: 10px;
            border-radius: 6px;
            text-align: center;
            font-size: 0.9rem;
        }.page-student-book .message.success{
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }.page-student-book .message.error{
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }.page-student-book .hidden{
            display: none;
        }@keyframes slideInUp{
            from {
                opacity: 0;
                transform: translateY(100px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }@keyframes slideInDown{
            from {
                opacity: 0;
                transform: translateY(-100px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }.page-student-book .floating-slot-item{
            background: #e3f2fd;
            border: 1px solid #1ca7e7;
            border-radius: 4px;
            padding: 6px 10px;
            margin-bottom: 6px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            transition: all 0.2s ease;
        }.page-student-book .floating-slot-item:last-child{
            margin-bottom: 0;
        }.page-student-book .floating-slot-item:hover{
            background: #bbdefb;
        }.page-student-book .floating-slot-time{
            font-weight: bold;
            color: #1976d2;
        }.page-student-book .floating-slot-date{
            font-size: 0.75rem;
            color: #666;
        }.page-student-book .floating-slot-remove{
            background: #dc3545;
            color: white;
            border: none;
            border-radius: 3px;
            padding: 2px 6px;
            cursor: pointer;
            font-size: 0.7rem;
            transition: background 0.2s;
        }.page-student-book .floating-slot-remove:hover{
            background: #c82333;
        }.page-student-book /* Custom teacher selector (replaces native dropdown) */
        .custom-teacher-select{
            position: relative;
            width: 100%;
        }.page-student-book .custom-teacher-select__trigger{
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 10px 12px;
            min-height: 44px;
            border: 1px solid #ced4da;
            border-radius: 8px;
            background: #fff;
            font: inherit;
            cursor: pointer;
            text-align: left;
            box-shadow: 0 1px 2px rgba(0,0,0,0.04);
            transition: border-color 0.2s, box-shadow 0.2s;
        }.page-student-book .custom-teacher-select__trigger:hover{
            border-color: #667eea;
        }.page-student-book .custom-teacher-select__trigger:focus{
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
        }.page-student-book .custom-teacher-select__value{
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            flex: 1;
        }.page-student-book .custom-teacher-select__avatar-wrap{
            width: 28px;
            height: 28px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
            background: linear-gradient(135deg, #e8ecf7, #f0f4ff);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
        }.page-student-book .custom-teacher-select__avatar-wrap img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }.page-student-book .cts-trigger-placeholder{ line-height: 1; }.page-student-book .custom-teacher-select__text{
            font-size: 0.95rem;
            color: #333;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }.page-student-book .custom-teacher-select__chevron{
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 6px solid #6c757d;
            flex-shrink: 0;
            transition: transform 0.2s;
        }.page-student-book .custom-teacher-select__trigger[aria-expanded="true"] .custom-teacher-select__chevron{
            transform: rotate(180deg);
        }.page-student-book .custom-teacher-select__list{
            position: absolute;
            left: 0;
            right: 0;
            top: calc(100% + 4px);
            z-index: 50;
            margin: 0;
            padding: 6px;
            list-style: none;
            background: #fff;
            border: 1px solid #dee2e6;
            border-radius: 10px;
            box-shadow: 0 12px 40px rgba(40, 50, 80, 0.15);
            max-height: 280px;
            overflow-y: auto;
        }.page-student-book .custom-teacher-select__list[hidden]{
            display: none !important;
        }.page-student-book .cts-item{
            display: flex;
            align-items: stretch;
            gap: 4px;
            border-radius: 8px;
            margin-bottom: 4px;
        }.page-student-book .cts-item:last-child{ margin-bottom: 0; }.page-student-book .cts-item__main{
            flex: 1;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            border: none;
            background: #f8f9fc;
            border-radius: 8px;
            cursor: pointer;
            text-align: left;
            font: inherit;
            min-width: 0;
            transition: background 0.15s;
        }.page-student-book .cts-item__main:hover{
            background: #eef1ff;
        }.page-student-book .cts-item__photo-wrap{
            width: 40px;
            height: 40px;
            flex-shrink: 0;
            border-radius: 50%;
            overflow: hidden;
            background: #e2e8f0;
        }.page-student-book .cts-item__photo{
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }.page-student-book .cts-item__photo--placeholder{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #e8ecf7, #dbe4ff);
            font-size: 1.1rem;
        }.page-student-book .cts-item__center{ min-width: 0; flex: 1; }.page-student-book .cts-item__name{
            font-weight: 600;
            color: #2d3748;
            font-size: 0.9rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }.page-student-book .cts-item__rating{
            font-size: 0.8rem;
            color: #667eea;
            margin-top: 2px;
        }.page-student-book .cts-item__rating--muted{
            color: #718096;
            font-weight: 500;
        }.page-student-book .cts-item__info{
            width: 40px;
            flex-shrink: 0;
            border: none;
            background: transparent;
            color: #667eea;
            font-size: 1.15rem;
            cursor: pointer;
            border-radius: 8px;
            line-height: 1;
            transition: background 0.15s;
        }.page-student-book .cts-item__info:hover{
            background: rgba(102, 126, 234, 0.12);
        }.page-student-book /* Glassmorphism teacher profile modal */
        .teacher-glass-overlay{
            position: fixed;
            inset: 0;
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(30, 41, 59, 0.35);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s ease, visibility 0.25s;
        }.page-student-book .teacher-glass-overlay.is-open{
            visibility: visible;
            opacity: 1;
        }.page-student-book .teacher-glass-modal{
            width: 100%;
            max-width: 420px;
            max-height: min(88vh, 640px);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.72);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.85);
            box-shadow: 0 25px 50px -12px rgba(30, 41, 59, 0.35), 0 0 0 1px rgba(255,255,255,0.5) inset;
        }.page-student-book .teacher-glass-head{
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            padding: 16px 16px 0;
        }.page-student-book .teacher-glass-close{
            border: none;
            background: rgba(255,255,255,0.6);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            font-size: 1.4rem;
            line-height: 1;
            cursor: pointer;
            color: #64748b;
            flex-shrink: 0;
        }.page-student-book .teacher-glass-close:hover{ background: rgba(255,255,255,0.95); color: #334155; }.page-student-book .teacher-glass-body{
            padding: 12px 18px 18px;
            overflow-y: auto;
            flex: 1;
            min-height: 0;
        }.page-student-book .teacher-glass-hero{
            display: flex;
            gap: 14px;
            align-items: center;
            margin-bottom: 16px;
        }.page-student-book .teacher-glass-hero img{
            width: 88px;
            height: 88px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid rgba(255,255,255,0.9);
            box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
        }.page-student-book .teacher-glass-hero-placeholder{
            width: 88px;
            height: 88px;
            border-radius: 50%;
            background: linear-gradient(135deg, #c7d2fe, #e9d5ff);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
        }.page-student-book .teacher-glass-title{
            font-size: 1.25rem;
            font-weight: 800;
            color: #1e293b;
            margin: 0 0 4px;
        }.page-student-book .teacher-glass-rating{ color: #667eea; font-weight: 600; font-size: 0.95rem; }.page-student-book .teacher-glass-section{ margin-top: 14px; }.page-student-book .teacher-glass-section h4{
            margin: 0 0 8px;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: #64748b;
        }.page-student-book .teacher-glass-bio{
            font-size: 0.9rem;
            color: #475569;
            line-height: 1.5;
        }.page-student-book .teacher-glass-video{
            margin-top: 10px;
            border-radius: 12px;
            overflow: hidden;
            background: rgba(0,0,0,0.06);
            aspect-ratio: 16/9;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-student-book .teacher-glass-video video{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }.page-student-book .teacher-glass-video-placeholder{
            padding: 20px;
            text-align: center;
            color: #94a3b8;
            font-size: 0.85rem;
        }.page-student-book .teacher-glass-certs{
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }.page-student-book .teacher-glass-cert-pill{
            font-size: 0.75rem;
            padding: 4px 10px;
            border-radius: 999px;
            background: rgba(102, 126, 234, 0.15);
            color: #4c51bf;
            font-weight: 600;
        }.page-student-book .teacher-glass-footer{
            padding: 12px 18px 18px;
            border-top: 1px solid rgba(148, 163, 184, 0.25);
        }.page-student-book .teacher-glass-select-btn{
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 12px;
            background: linear-gradient(135deg, #667eea, #5a67d8);
            color: #fff;
            font-weight: 700;
            font-size: 0.95rem;
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
        }.page-student-book .teacher-glass-select-btn:hover{
            filter: brightness(1.05);
        }


/* --- Source: public/student-booking-history.html --- */
body.page-student-booking-history{ 
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif; 
            background: linear-gradient(135deg, #FFF0F5 0%, #E8F8F5 50%, #FFF9E6 100%);
            background-attachment: fixed;
            margin: 0;
            padding: 0;
        }.page-student-booking-history .remoed-main{ 
            display: flex; 
            min-height: 100vh; 
        }.page-student-booking-history .remoed-sidebar{ 
            width: 260px; 
            min-width: 260px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); 
            box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1); 
            padding: 0; 
            display: flex; 
            flex-direction: column; 
            align-items: stretch;
            position: fixed;
            height: 100vh;
            z-index: 100;
            border-right: 1px solid rgba(102, 126, 234, 0.1);
        }.page-student-booking-history .remoed-content{
            flex: 1;
            padding: 36px 20px 36px 20px;
            min-width: 0;
            background: #f6fbff;
            min-height: 100vh;
            box-sizing: border-box;
            margin-left: 260px;
            max-width: calc(100vw - 260px);
            overflow-x: auto;
        }.page-student-booking-history .booking-history-container{
            max-width: 100%;
            margin: 0 auto;
            padding: 24px 32px;
        }.page-student-booking-history .booking-history-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            flex-wrap: wrap;
            gap: 16px;
        }.page-student-booking-history .booking-history-title{
            font-size: 1.75rem;
            font-weight: 700;
            color: #667eea;
            margin: 0;
        }.page-student-booking-history .booking-count{
            font-size: 0.95rem;
            color: #495057;
            background: #f8f9fa;
            padding: 6px 12px;
            border-radius: 6px;
            font-weight: 500;
        }.page-student-booking-history .view-controls{
            display: flex;
            gap: 12px;
            align-items: center;
            flex-wrap: wrap;
        }.page-student-booking-history .view-selector{
            display: flex;
            gap: 8px;
            background: #f8f9fa;
            padding: 4px;
            border-radius: 8px;
        }.page-student-booking-history .view-btn{
            padding: 6px 12px;
            border: none;
            background: transparent;
            color: #666;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.875rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }.page-student-booking-history .view-btn.active{
            background: #667eea;
            color: white;
        }.page-student-booking-history .view-btn:hover{
            background: #e9ecef;
        }.page-student-booking-history .view-btn.active:hover{
            background: #5a67d8;
        }.page-student-booking-history .filter-tabs{
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }.page-student-booking-history .filter-tab{
            padding: 8px 16px;
            border: 1px solid #e0e0e0;
            background: white;
            color: #666;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 500;
            font-size: 0.875rem;
        }.page-student-booking-history .filter-tab:hover{
            border-color: #667eea;
            color: #667eea;
        }.page-student-booking-history .filter-tab.active{
            background: #667eea;
            color: white;
            border-color: #667eea;
        }.page-student-booking-history /* Excel-like Table Styles */
        .bookings-table-container{
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            overflow-x: auto;
            overflow-y: auto;
            max-height: calc(100vh - 300px);
            border: 1px solid #e0e6ed;
        }.page-student-booking-history .bookings-table{
            width: 100%;
            border-collapse: collapse;
            font-size: 0.875rem;
            min-width: 800px;
        }.page-student-booking-history .bookings-table thead{
            background: linear-gradient(135deg, #667eea, #5a67d8);
            color: white;
        }.page-student-booking-history .bookings-table th{
            padding: 12px 8px;
            text-align: left;
            font-weight: 600;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-right: 1px solid rgba(255, 255, 255, 0.2);
            white-space: nowrap;
        }.page-student-booking-history .bookings-table th:last-child{
            border-right: none;
        }.page-student-booking-history .bookings-table tbody tr{
            border-bottom: 1px solid #e0e6ed;
            transition: background 0.2s ease;
        }.page-student-booking-history .bookings-table tbody tr:hover{
            background: #f8f9fa;
        }.page-student-booking-history .bookings-table tbody tr:last-child{
            border-bottom: none;
        }.page-student-booking-history .bookings-table td{
            padding: 10px 8px;
            color: #333;
            border-right: 1px solid #f1f5f9;
            vertical-align: middle;
        }.page-student-booking-history .bookings-table td:last-child{
            border-right: none;
        }.page-student-booking-history .status-badge{
            display: inline-block;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            white-space: nowrap;
        }.page-student-booking-history .status-completed{
            background: #d4edda;
            color: #155724;
        }.page-student-booking-history .status-finished{
            background: #cce5ff;
            color: #004085;
        }.page-student-booking-history .status-cancelled{
            background: #f8d7da;
            color: #721c24;
        }.page-student-booking-history .status-student-absent{
            background: #fff3cd;
            color: #856404;
        }.page-student-booking-history .status-teacher-absent{
            background: #f5c6cb;
            color: #721c24;
        }.page-student-booking-history .status-in-progress{
            background: #d1ecf1;
            color: #0c5460;
        }.page-student-booking-history .status-upcoming{
            background: #d1ecf1;
            color: #0c5460;
        }.page-student-booking-history .status-past{
            background: #e2e3e5;
            color: #383d41;
        }.page-student-booking-history .empty-state{
            text-align: center;
            padding: 60px 20px;
            color: #666;
        }.page-student-booking-history .empty-state-icon{
            font-size: 64px;
            margin-bottom: 20px;
            opacity: 0.5;
        }.page-student-booking-history .empty-state-title{
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
        }.page-student-booking-history .empty-state-text{
            font-size: 16px;
            margin-bottom: 30px;
        }.page-student-booking-history .book-first-class-btn{
            background: #667eea;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
        }.page-student-booking-history .book-first-class-btn:hover{
            background: #5a6fd8;
            transform: translateY(-2px);
        }.page-student-booking-history .loading{
            text-align: center;
            padding: 40px;
            color: #666;
        }.page-student-booking-history .loading-spinner{
            border: 4px solid #f3f3f3;
            border-top: 4px solid #667eea;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }@keyframes spin{
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }.page-student-booking-history .table-actions{
            display: flex;
            gap: 6px;
        }.page-student-booking-history .action-link{
            color: #667eea;
            text-decoration: none;
            font-size: 0.8rem;
            padding: 4px 8px;
            border-radius: 4px;
            transition: background 0.2s;
        }.page-student-booking-history .action-link:hover{
            background: #e9ecef;
        }.page-student-booking-history /* Override modern-styles.css sidebar styles to match teacher dashboard */
         .remoed-menu li{ 
             padding: 14px 32px; 
             color: #667eea; 
             font-weight: 500; 
             cursor: pointer; 
             display: flex; 
             align-items: center; 
             gap: 12px; 
             border-left: 4px solid transparent; 
             transition: background 0.2s, border-color 0.2s; 
         }.page-student-booking-history .remoed-menu li.active, .page-student-booking-history .remoed-menu li:hover{ 
             background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%) !important; 
             border-left: 4px solid #667eea !important; 
             color: white !important; 
             transform: translateX(4px) !important;
             transition: all 0.3s ease !important;
         }.page-student-booking-history .remoed-menu svg{ 
             width: 20px; 
             height: 20px; 
             stroke: currentColor; 
         }@media (max-width: 768px){.page-student-booking-history .booking-history-header{
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }.page-student-booking-history .filter-tabs{
                justify-content: flex-start;
                overflow-x: auto;
                flex-wrap: nowrap;
            }.page-student-booking-history .view-controls{
                width: 100%;
            }.page-student-booking-history .bookings-table-container{
                max-height: calc(100vh - 350px);
            }.page-student-booking-history .bookings-table{
                font-size: 0.75rem;
            }.page-student-booking-history .bookings-table th, .page-student-booking-history .bookings-table td{
                padding: 8px 6px;
            }
        }


/* --- Source: public/student-class-table.html --- */
body.page-student-class-table{ 
      font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif; 
      background: linear-gradient(135deg, #FFF0F5 0%, #E8F8F5 50%, #FFF9E6 100%);
      background-attachment: fixed;
      margin: 0;
      padding: 0;
    }.page-student-class-table .remoed-main{ 
      display: flex; 
      min-height: 100vh; 
    }.page-student-class-table .remoed-sidebar{ 
      width: 260px; 
      min-width: 260px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); 
      box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1); 
      padding: 0; 
      display: flex; 
      flex-direction: column; 
      align-items: stretch;
      position: fixed;
      height: 100vh;
      z-index: 100;
      border-right: 1px solid rgba(102, 126, 234, 0.1);
    }.page-student-class-table .remoed-logo{ 
      display: flex; 
      align-items: center; 
      gap: 14px; 
    }.page-student-class-table .remoed-logo img{ 
      height: 48px; 
    }.page-student-class-table .remoed-title{ 
      font-size: 1.7rem; 
      font-weight: 700; 
      color: #667eea; 
      letter-spacing: 1px; 
    }.page-student-class-table .remoed-user{ 
      display: flex; 
      align-items: center; 
      gap: 10px; 
    }.page-student-class-table .remoed-avatar{ 
      width: 72px; 
      height: 72px; 
      border-radius: 50%; 
      background: #667eea; 
      color: #fff; 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      font-weight: bold; 
      font-size: 2.2rem; 
    }.page-student-class-table .remoed-username{ 
      color: #667eea; 
      font-weight: 600; 
    }.page-student-class-table .remoed-menu{ 
      list-style: none; 
      padding: 0; 
      margin: 0; 
    }.page-student-class-table .remoed-menu li{ 
      padding: 14px 32px; 
      color: #667eea; 
      font-weight: 500; 
      cursor: pointer; 
      display: flex; 
      align-items: center; 
      gap: 12px; 
      border-left: 4px solid transparent; 
      transition: background 0.2s, border-color 0.2s; 
    }.page-student-class-table .remoed-menu li.active, .page-student-class-table .remoed-menu li:hover{ 
      background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); 
      border-left: 4px solid #667eea; 
      color: white; 
      transform: translateX(4px);
      transition: all 0.3s ease;
    }.page-student-class-table .remoed-menu svg{ 
      width: 20px; 
      height: 20px; 
      stroke: currentColor;
    }.page-student-class-table .remoed-content{
      flex: 1;
      padding: 36px 20px 36px 20px;
      min-width: 0;
      background: #f6fbff;
      min-height: 100vh;
      box-sizing: border-box;
      margin-left: 260px;
      max-width: calc(100vw - 260px);
      overflow-x: auto;
    }.page-student-class-table .header{
      margin-bottom: 24px;
    }.page-student-class-table .header h1{
      color: #667eea;
      font-size: 1.75rem;
      font-weight: 700;
      margin: 0 0 24px 0;
    }.page-student-class-table .header-controls{
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }.page-student-class-table .week-navigation{
      display: flex;
      align-items: center;
      gap: 16px;
    }.page-student-class-table .nav-btn{
      background: linear-gradient(135deg, #ffe85a, #f4d03f);
      color: #333;
      border: none;
      padding: 10px 18px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(255, 232, 90, 0.3);
    }.page-student-class-table .nav-btn:hover{
      background: linear-gradient(135deg, #f4d03f, #f1c40f);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 232, 90, 0.4);
    }.page-student-class-table .nav-btn:disabled{
      background: #ccc;
      cursor: not-allowed;
    }.page-student-class-table .week-display{
      font-weight: 600;
      color: #333;
      min-width: 120px;
      text-align: center;
    }.page-student-class-table .current-week-btn{
      background: linear-gradient(135deg, #28a745, #1e7e34) !important;
      color: white;
      box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
    }.page-student-class-table .current-week-btn:hover{
      background: linear-gradient(135deg, #1e7e34, #155724) !important;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
    }.page-student-class-table .feedback-reminder{
      display: none;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
      padding: 12px 14px;
      border-radius: 10px;
      border: 1px solid #f1d38b;
      background: #fff6dd;
      color: #7a5600;
      font-weight: 600;
    }.page-student-class-table .feedback-reminder .reminder-actions{
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }.page-student-class-table .feedback-reminder button{
      border: none;
      border-radius: 8px;
      padding: 8px 12px;
      cursor: pointer;
      font-weight: 700;
    }.page-student-class-table .feedback-reminder .open-feedback-btn{
      background: #1CA7E7;
      color: #fff;
    }.page-student-class-table .feedback-reminder .dismiss-feedback-btn{
      background: #eceff3;
      color: #374151;
    }.page-student-class-table .weekly-grid{
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(28, 167, 231, 0.1);
      overflow: auto;
      max-height: calc(100vh - 180px);
      min-height: calc(100vh - 180px);
      border: 1px solid rgba(28, 167, 231, 0.1);
    }.page-student-class-table .schedule-table{
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      margin: 0;
    }.page-student-class-table .schedule-table th, .page-student-class-table .schedule-table td{
      border: 1px solid #e0e6ed;
      padding: 12px 8px;
      text-align: center;
      vertical-align: middle;
    }.page-student-class-table .schedule-table th{
      background: linear-gradient(135deg, #667eea, #5a67d8);
      font-weight: 600;
      color: white;
      position: sticky;
      top: 0;
      z-index: 5;
      text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }.page-student-class-table .time-column{
      width: 80px;
      position: sticky;
      left: 0;
      background: #f8f9fa;
      z-index: 3;
    }.page-student-class-table .day-column{
      width: calc((100% - 80px) / 7);
      line-height: 1.2;
      padding: 8px 4px;
    }.page-student-class-table .day-column br{
      margin: 2px 0;
    }.page-student-class-table .time-slot{
      font-size: 0.9rem;
      color: #666;
      min-height: 40px;
    }.page-student-class-table .time-slot.booked{
      background: #f8d7da;
      color: #721c24;
      font-weight: 600;
    }.page-student-class-table .time-slot.unavailable{
      background: #f5f5f5;
      color: #999;
      background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        #e0e0e0 2px,
        #e0e0e0 4px
      );
    }.page-student-class-table .time-slot.past{
      background: #f8f9fa;
      color: #6c757d;
      cursor: pointer;
      font-size: 0.8rem;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-student-class-table .time-slot.feedback-submitted{
      background: #28a745;
      color: white;
      cursor: pointer;
      font-size: 0.8rem;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
    }.page-student-class-table .time-slot.feedback-submitted:hover{
      background: #218838;
    }.page-student-class-table .time-slot.feedback-needed{
      background: #ffc107;
      color: #000;
      cursor: pointer;
      font-size: 0.8rem;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
    }.page-student-class-table .time-slot.feedback-needed:hover{
      background: #ffb300;
    }.page-student-class-table .sidebar{
      position: fixed;
      left: 0;
      top: 0;
      width: 260px;
      background: #fff;
      height: 100vh;
      box-shadow: 2px 0 12px rgba(28,167,231,0.06);
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 32px 0 0 0;
      z-index: 1000;
    }.page-student-class-table .sidebar-logo{
      width: 48px;
      height: 48px;
      object-fit: contain;
      margin-bottom: 12px;
    }.page-student-class-table .sidebar-title{
      font-size: 1.4rem;
      font-weight: 700;
      color: #1ca7e7;
      margin-bottom: 24px;
      letter-spacing: 1px;
      text-align: center;
    }.page-student-class-table .sidebar-avatar{
      background: #1ca7e7;
      color: #fff;
      font-weight: 700;
      border-radius: 50%;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 8px;
    }.page-student-class-table .sidebar-email{
      font-size: 0.95rem;
      color: #1ca7e7;
      font-weight: 500;
      text-align: center;
      margin-bottom: 32px;
      word-break: break-all;
      padding: 0 16px;
    }.page-student-class-table .sidebar-nav{
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
    }.page-student-class-table .sidebar-link{
      width: 100%;
      padding: 12px 0;
      text-align: left;
      color: #1ca7e7;
      font-weight: 500;
      text-decoration: none;
      background: transparent;
      transition: background 0.2s, color 0.2s;
      font-size: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      position: relative;
    }.page-student-class-table .sidebar-link.active{
      background: #f8f9fa;
      color: #1ca7e7;
      font-weight: 600;
    }.page-student-class-table .sidebar-link.active::before{
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: 4px;
      height: 100%;
      background: #ffd700;
    }.page-student-class-table .sidebar-link:hover:not(.logout){
      background: #f0f8ff;
    }.page-student-class-table .sidebar-link.logout{
      color: #e74c3c;
      margin-top: 16px;
    }.page-student-class-table .sidebar-link.logout:hover{
      background: #fdf2f2;
    }.page-student-class-table .sidebar-icon{
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-student-class-table .main-content{
      margin-left: 260px;
      padding: 24px 32px;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background: #f6fbff;
    }.page-student-class-table .main-content .header{
      flex-shrink: 0;
      margin-bottom: 16px;
    }.page-student-class-table .main-content .weekly-grid{
      flex: 1;
      min-height: 0;
    }.page-student-class-table .class-table-container{
      max-width: 1200px;
      margin: 40px auto;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      padding: 32px 24px;
    }.page-student-class-table .class-table-header{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }.page-student-class-table .class-table-title{ font-size: 1.5rem; font-weight: 600; color: #3a7afe; }.page-student-class-table .class-table-nav{ display: flex; gap: 12px; }.page-student-class-table .class-table-nav button{ background: #f4f6fb; border: none; border-radius: 5px; padding: 0.5rem 1.2rem; font-size: 1rem; cursor: pointer; color: #3a7afe; transition: background 0.2s; }.page-student-class-table .class-table-nav button.active, .page-student-class-table .class-table-nav button:hover{ background: #3a7afe; color: #fff; }.page-student-class-table .view-btn{ background: #f4f6fb; border: 1px solid #e0e6ed; border-radius: 5px; padding: 0.5rem 1rem; margin: 0 3px; cursor: pointer; transition: all 0.2s; }.page-student-class-table .view-btn.active{ background: #3a7afe; color: white; border-color: #3a7afe; }.page-student-class-table .view-btn:hover{ background: #e3f2fd; }.page-student-class-table .view-btn.active:hover{ background: #2d5bb8; }.page-student-class-table .class-table{
      width: 100%;
      border-collapse: collapse;
      background: #fff;
      min-width: 900px;
      border-radius: 8px;
      overflow: hidden;
      table-layout: fixed;
    }.page-student-class-table .class-table th, .page-student-class-table .class-table td{
      padding: 5px 2px;
      text-align: center;
      border: 1px solid #e0e6ed;
      font-size: 0.93rem;
    }.page-student-class-table .class-table th{
      background: #f4f6fb;
      font-weight: 600;
      color: #3a7afe;
      padding: 8px 2px;
      border-bottom: 2px solid #e0e6ed;
    }.page-student-class-table .class-table td.booked{
      background: #1ca7e7;
      color: #fff;
      font-weight: 600;
      border: 2px solid #1ca7e7;
    }.page-student-class-table .class-table td.open{
      background: #eaf7ff;
      color: #1ca7e7;
      cursor: pointer;
    }.page-student-class-table .class-table td.cancelled{ background: #f8d7da; color: #721c24; }.page-student-class-table .class-table td.time-label{
      background: #f8f9fa;
      font-weight: 500;
      color: #333;
      border-right: 2px solid #e0e6ed;
    }.page-student-class-table .class-table td.time-label:hover{ background: #e0e6ed; }.page-student-class-table .class-table-scroll{
      overflow-x: auto;
      max-height: 75vh;
      min-height: 200px;
      overflow-y: auto;
      border: 1px solid #e0e6ed;
      border-radius: 8px;
      margin-bottom: 4px;
    }.page-student-class-table /* Simple 2-column layout for day view */
    .class-table.day-view{ width: 100%; table-layout: fixed; }.page-student-class-table .class-table.day-view th:nth-child(1){ width: 80px; }.page-student-class-table .class-table.day-view td:nth-child(1){ width: 80px; }.page-student-class-table .class-table.day-view th:nth-child(2){ width: calc(100% - 80px); }.page-student-class-table .class-table.day-view td:nth-child(2){ width: calc(100% - 80px); }.page-student-class-table .message{ margin: 18px 0; text-align: center; font-size: 1.1rem; padding: 12px; border-radius: 6px; }.page-student-class-table .message.success{ background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }.page-student-class-table .message.error{ background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }.page-student-class-table .message.info{ background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }@media (max-width: 1200px){.page-student-class-table .class-table-container{ width: 98%; padding: 6px 6px; } }@media (max-width: 900px){.page-student-class-table .class-table-container{ width: 99%; padding: 4px 4px; } }@media (max-height: 800px){.page-student-class-table .class-table-container{ margin: 2px auto; padding: 4px 4px; min-height: 85vh; }.page-student-class-table .class-table-scroll{ max-height: 65vh; } }.page-student-class-table .remoed-header{
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #fff;
      padding: 12px 32px 12px 32px;
      border-radius: 14px 14px 0 0;
      box-shadow: 0 2px 8px rgba(28,167,231,0.04);
      margin-bottom: 18px;
    }.page-student-class-table .remoed-logo{
      display: flex;
      align-items: center;
      gap: 10px;
    }.page-student-class-table .remoed-title{
      font-size: 1.25rem;
      font-weight: 700;
      color: #1ca7e7;
      letter-spacing: 1px;
    }.page-student-class-table .remoed-user{
      display: flex;
      align-items: center;
      gap: 10px;
    }.page-student-class-table .remoed-avatar{
      background: #1ca7e7;
      color: #fff;
      font-weight: 700;
      border-radius: 50%;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
    }.page-student-class-table .remoed-username{
      font-size: 1rem;
      color: #1ca7e7;
      font-weight: 500;
    }.page-student-class-table .remoed-card{
      width: 320px;
      margin: 24px auto 32px auto;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 24px rgba(28,167,231,0.08);
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 32px 16px 28px 16px;
    }.page-student-class-table .remoed-card-logo{
      width: 64px;
      height: 64px;
      object-fit: contain;
      margin-bottom: 10px;
    }.page-student-class-table .remoed-card-title{
      font-size: 1.5rem;
      font-weight: 700;
      color: #1ca7e7;
      margin-bottom: 16px;
      letter-spacing: 1px;
      text-align: center;
    }.page-student-class-table .remoed-card-avatar{
      background: #1ca7e7;
      color: #fff;
      font-weight: 700;
      border-radius: 50%;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 10px;
    }.page-student-class-table .remoed-card-email{
      font-size: 1.08rem;
      color: #1ca7e7;
      font-weight: 500;
      text-align: center;
      margin-bottom: 0;
    }.page-student-class-table /* Modern Modal Styles */
    .remoed-modal{
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.5);
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(4px);
    }.page-student-class-table .remoed-modal.show{
      display: flex;
    }.page-student-class-table .remoed-modal-content{
      background: #ffffff;
      border-radius: 1rem;
      width: 90%;
      max-width: 600px;
      max-height: 90vh;
      overflow: hidden;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      animation: remoedModalFadeIn 0.3s ease-out;
      display: flex;
      flex-direction: column;
    }@keyframes remoedModalFadeIn{
      from { 
        transform: scale(0.95) translateY(-10px); 
        opacity: 0; 
      }
      to { 
        transform: scale(1) translateY(0); 
        opacity: 1; 
      }
    }.page-student-class-table .remoed-modal-header{
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      padding: 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: 1rem 1rem 0 0;
    }.page-student-class-table .remoed-modal-title{
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 1.25rem;
      font-weight: 600;
    }.page-student-class-table .remoed-modal-close{
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: white;
      width: 2rem;
      height: 2rem;
      border-radius: 0.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
    }.page-student-class-table .remoed-modal-close:hover{
      background: rgba(255, 255, 255, 0.3);
      transform: scale(1.05);
    }.page-student-class-table .remoed-modal-body{
      padding: 1.5rem;
      overflow-y: auto;
      flex: 1;
    }.page-student-class-table .remoed-modal-footer{
      padding: 1.5rem;
      border-top: 1px solid #e2e8f0;
      display: flex;
      gap: 0.75rem;
      justify-content: flex-end;
      background: #f8fafc;
    }.page-student-class-table /* Generic modal styles for class info / cancellation */
    .modal{
      display: none; /* Shown via JS */
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.5);
      align-items: center;
      justify-content: center;
    }.page-student-class-table .modal.show{
      display: flex;
    }.page-student-class-table .modal .modal-content{
      background: #ffffff;
      border-radius: 0.75rem;
      width: 90%;
      max-width: 420px;
      max-height: 90vh;
      overflow: hidden;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      display: flex;
      flex-direction: column;
      margin: auto;
      position: relative;
    }.page-student-class-table .modal .modal-header{
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      padding: 1rem 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }.page-student-class-table .modal .modal-body{
      padding: 1.25rem 1.5rem;
    }.page-student-class-table .modal .modal-actions{
      padding: 1rem 1.5rem;
      border-top: 1px solid #e2e8f0;
      display: flex;
      justify-content: flex-end;
      gap: 0.75rem;
      background: #f8fafc;
    }.page-student-class-table .modal .detail-row{
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.5rem;
      font-size: 0.9rem;
    }.page-student-class-table .modal .detail-row label{
      font-weight: 600;
      color: #374151;
      margin-right: 0.5rem;
    }.page-student-class-table /* Class Details Card */
    .remoed-feedback-class-details{
      background: #f8fafc;
      border-radius: 0.75rem;
      padding: 1.25rem;
      margin-bottom: 1.5rem;
      border: 1px solid #e2e8f0;
    }.page-student-class-table .remoed-feedback-detail-item{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 0;
      border-bottom: 1px solid #e2e8f0;
    }.page-student-class-table .remoed-feedback-detail-item:last-child{
      border-bottom: none;
    }.page-student-class-table .remoed-feedback-detail-label{
      font-weight: 600;
      color: #374151;
      font-size: 0.875rem;
    }.page-student-class-table .remoed-feedback-detail-value{
      color: #6b7280;
      font-size: 0.875rem;
      text-align: right;
    }.page-student-class-table /* Feedback Sections */
    .remoed-feedback-section{
      margin-bottom: 2rem;
    }.page-student-class-table .remoed-feedback-section-title{
      font-size: 1.125rem;
      font-weight: 600;
      color: #1a202c;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }.page-student-class-table /* Rating Container */
    .remoed-rating-container{
      text-align: center;
      padding: 1.5rem;
      background: #f8fafc;
      border-radius: 0.75rem;
      border: 1px solid #e2e8f0;
    }.page-student-class-table .remoed-stars{
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }.page-student-class-table .remoed-star{
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 2rem;
      color: #d1d5db;
      padding: 0.25rem;
      border-radius: 0.5rem;
    }.page-student-class-table .remoed-star:hover{
      color: #fbbf24;
      transform: scale(1.1);
      text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
    }.page-student-class-table .remoed-star.active{
      color: #f59e0b !important;
      transform: scale(1.05);
      text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
    }.page-student-class-table .remoed-rating-text{
      font-size: 0.875rem;
      color: #6b7280;
      font-weight: 500;
    }.page-student-class-table /* Character Count */
    .remoed-char-count{
      text-align: right;
      font-size: 0.75rem;
      color: #9ca3af;
      margin-top: 0.5rem;
    }.page-student-class-table /* Issue Grid */
    .remoed-issue-grid{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
    }.page-student-class-table .remoed-checkbox-item{
      display: flex;
      align-items: center;
      gap: 0.75rem;
      cursor: pointer;
      padding: 0.75rem;
      border-radius: 0.5rem;
      border: 1px solid #e2e8f0;
      background: #ffffff;
      transition: all 0.2s ease;
    }.page-student-class-table .remoed-checkbox-item:hover{
      background: #f8fafc;
      border-color: #cbd5e1;
    }.page-student-class-table .remoed-checkbox-item input[type="checkbox"]{
      display: none;
    }.page-student-class-table .remoed-checkbox-custom{
      width: 1.25rem;
      height: 1.25rem;
      border: 2px solid #d1d5db;
      border-radius: 0.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
      background: #ffffff;
    }.page-student-class-table .remoed-checkbox-item input[type="checkbox"]:checked + .remoed-checkbox-custom{
      background: #667eea;
      border-color: #667eea;
    }.page-student-class-table .remoed-checkbox-icon{
      color: #ffffff;
      opacity: 0;
      transition: opacity 0.2s ease;
    }.page-student-class-table .remoed-checkbox-item input[type="checkbox"]:checked + .remoed-checkbox-custom .remoed-checkbox-icon{
      opacity: 1;
    }.page-student-class-table .remoed-checkbox-label{
      font-size: 0.875rem;
      color: #374151;
      font-weight: 500;
    }.page-student-class-table /* Legacy button styles for compatibility */
    .btn-secondary{
      background: #6c757d;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 500;
    }.page-student-class-table .btn-secondary:hover{
      background: #5a6268;
    }.page-student-class-table .btn-join{
      background: #28a745;
      color: white;
      border: none;
      padding: 8px 16px;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 500;
      font-size: 14px;
    }.page-student-class-table .btn-join:hover{
      background: #218838;
    }.page-student-class-table .btn-join:disabled{
      background: #6c757d;
      cursor: not-allowed;
    }.page-student-class-table .btn-cancel{
      background: #dc3545;
      color: white;
      border: none;
      padding: 8px 16px;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 500;
      font-size: 14px;
    }.page-student-class-table .btn-cancel:hover{
      background: #c82333;
    }.page-student-class-table .btn-danger{
      background: #dc3545;
      color: white;
      border: none;
      padding: 8px 16px;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 500;
      font-size: 14px;
    }.page-student-class-table .btn-danger:hover{
      background: #c82333;
    }.page-student-class-table .cancellation-details{
      margin-top: 15px;
      padding: 10px;
      background: #f8f9fa;
      border-radius: 6px;
      border: 1px solid #e0e6ed;
    }.page-student-class-table .form-group{
      margin-top: 10px;
    }.page-student-class-table .form-group label{
      display: block;
      margin-bottom: 5px;
      font-weight: 600;
      color: #333;
    }.page-student-class-table .form-group textarea{
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
      font-size: 0.9rem;
      resize: vertical;
    }.page-student-class-table .char-count{
       font-size: 0.8rem;
       color: #666;
       margin-top: 5px;
       text-align: right;
     }


/* --- Source: public/student-credits.html --- */
body.page-student-credits{
      margin:0;
      font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
      background:linear-gradient(135deg,#f0f9ff,#fffbeb);
      min-height:100vh;
      padding:24px 16px;
      color:#0f172a;
    }.page-student-credits .shell{max-width:1040px;margin:0 auto;}.page-student-credits .header{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      margin-bottom:18px;
    }.page-student-credits .brand{
      display:flex;
      align-items:center;
      gap:10px;
    }.page-student-credits .brand img{height:42px;}.page-student-credits .brand-title{
      font-weight:900;
      font-size:1.4rem;
      color:#1ca7e7;
    }.page-student-credits .tagline{
      font-size:.9rem;
      color:#64748b;
      font-weight:600;
    }.page-student-credits .btn-link{
      border:none;
      padding:8px 14px;
      border-radius:999px;
      background:#e0f2fe;
      color:#0369a1;
      cursor:pointer;
      font-weight:700;
      font-size:.9rem;
    }.page-student-credits .grid{
      display:grid;
      grid-template-columns:2fr 3fr;
      gap:18px;
    }@media(max-width:900px){.page-student-credits .grid{grid-template-columns:1fr;}}.page-student-credits .card{
      background:rgba(255,255,255,.9);
      border-radius:18px;
      padding:18px;
      box-shadow:0 18px 40px rgba(15,23,42,.08);
      border:1px solid rgba(148,163,184,.3);
    }.page-student-credits .card h2{
      margin:0 0 8px;
      font-size:1.25rem;
      font-weight:900;
      color:#0f172a;
    }.page-student-credits .balance{
      font-size:2.4rem;
      font-weight:900;
      color:#0ea5e9;
      margin:4px 0;
      transition: color .2s ease;
    }.page-student-credits .balance.balance-low{
      color:#dc2626;
    }.page-student-credits .muted{color:#64748b;font-size:.9rem;}.page-student-credits .stats{
      display:flex;
      gap:14px;
      margin-top:10px;
      flex-wrap:wrap;
    }.page-student-credits .stat-pill{
      padding:8px 12px;
      border-radius:999px;
      background:#eff6ff;
      font-size:.85rem;
      font-weight:700;
      color:#1d4ed8;
    }.page-student-credits table{
      width:100%;
      border-collapse:collapse;
      font-size:.9rem;
    }.page-student-credits th, .page-student-credits td{
      padding:8px 10px;
      border-bottom:1px solid #e2e8f0;
      text-align:left;
      white-space:nowrap;
    }.page-student-credits th{
      font-size:.8rem;
      text-transform:uppercase;
      letter-spacing:.06em;
      color:#64748b;
    }.page-student-credits tbody tr:nth-child(even){background:#f9fafb;}.page-student-credits .credits-pos{color:#16a34a;font-weight:700;}.page-student-credits .credits-neg{color:#b91c1c;font-weight:700;}.page-student-credits .actions{
      display:flex;
      flex-direction:column;
      gap:10px;
      margin-top:14px;
    }.page-student-credits .primary-btn, .page-student-credits .secondary-btn{
      border:none;
      border-radius:12px;
      padding:10px 14px;
      font-weight:800;
      cursor:pointer;
      font-size:.95rem;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:6px;
    }.page-student-credits .primary-btn{
      background:linear-gradient(135deg,#1ca7e7,#2563eb);
      color:white;
      border:2px solid #facc15;
    }.page-student-credits .secondary-btn{
      background:white;
      color:#0f172a;
      border:1px solid #cbd5f5;
    }.page-student-credits .table-wrap{
      max-height:420px;
      overflow:auto;
      border-radius:14px;
      border:1px solid #e2e8f0;
      background:white;
      margin-top:8px;
    }.page-student-credits .badge{
      display:inline-flex;
      align-items:center;
      gap:6px;
      padding:4px 10px;
      border-radius:999px;
      font-size:.75rem;
      font-weight:700;
    }.page-student-credits .badge.green{background:#ecfdf3;color:#15803d;}.page-student-credits .badge.yellow{background:#fffbeb;color:#92400e;}


/* --- Source: public/student-dashboard.html --- */
body.page-student-dashboard{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #f8fafc; 
            color: #1a202c;
            line-height: 1.6;
            margin: 0;
            padding: 0;
        }.page-student-dashboard /* Turn off floating/animated elements to keep UI steady */
        .fun-floating-elements{
            display: none;
        }.page-student-dashboard .character-container, .page-student-dashboard .character-remo, .page-student-dashboard .character-ed, .page-student-dashboard .character-sophia, .page-student-dashboard .character-message, .page-student-dashboard .character-speech{
            animation: none !important;
        }.page-student-dashboard .character-remo, .page-student-dashboard .character-ed, .page-student-dashboard .character-sophia{
            transform: none !important;
        }.page-student-dashboard /* More space for animated elements */
        .character-container{
            margin: 10px;
        }.page-student-dashboard /* Character Interaction Messages */
        .character-message{
            position: absolute;
            bottom: -50px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #FFD700, #FFE66D);
            color: #1CA7E7;
            padding: 6px 10px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 800;
            white-space: nowrap;
            box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
            border: 2px solid #1CA7E7;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }.page-student-dashboard .character-container:hover .character-message{
            opacity: 1;
        }.page-student-dashboard .character-remo{
            width: 160px;
            height: 200px;
            position: relative;
            animation: characterBounce 2s ease-in-out infinite;
        }.page-student-dashboard .character-ed{
            width: 140px;
            height: 190px;
            position: relative;
            animation: characterBounce 2.5s ease-in-out infinite;
            animation-delay: 0.3s;
        }.page-student-dashboard .character-sophia{
            width: 140px;
            height: 190px;
            position: relative;
            animation: characterBounce 2.3s ease-in-out infinite;
            animation-delay: 0.6s;
        }.page-student-dashboard .character-speech{
            position: absolute;
            top: -45px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            padding: 8px 14px;
            border-radius: 16px;
            font-size: 0.75rem;
            font-weight: 700;
            white-space: nowrap;
            box-shadow: 0 4px 15px rgba(28, 167, 231, 0.4);
            border: 2px solid #FFD700;
            animation: speechBubble 2s ease-in-out infinite;
            z-index: 10;
            pointer-events: none;
        }.page-student-dashboard .character-speech::after{
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid #1CA7E7;
        }.page-student-dashboard /* Remo Robot SVG Style */
        .remo-robot{
            filter: drop-shadow(0 4px 8px rgba(28, 167, 231, 0.3));
        }.page-student-dashboard .remo-screen{
            animation: characterPulse 3s ease-in-out infinite;
        }.page-student-dashboard /* Ed Boy SVG Style */
        .ed-boy{
            filter: drop-shadow(0 4px 8px rgba(255, 140, 0, 0.3));
        }.page-student-dashboard /* Sophia Girl SVG Style */
        .sophia-girl{
            filter: drop-shadow(0 4px 8px rgba(255, 107, 157, 0.3));
        }.page-student-dashboard /* Navigation Header */
        .nav-header{
            position: fixed;
            top: 0;
            left: 260px;
            right: 0;
            height: 55px;
            background: #ffffff;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.5rem;
            z-index: 50;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }.page-student-dashboard .nav-left{
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }.page-student-dashboard .points-display, .page-student-dashboard .badge{
            font-size: 0.85rem;
            padding: 6px 12px;
        }.page-student-dashboard .nav-right{
            display: flex;
            align-items: center;
            gap: 1rem;
        }.page-student-dashboard .nav-icon{
            position: relative;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid #e9ecef;
        }.page-student-dashboard .nav-icon:hover{
            background: #e9ecef;
            transform: translateY(-1px);
        }.page-student-dashboard .nav-icon svg{
            width: 20px;
            height: 20px;
            color: #667eea;
        }.page-student-dashboard .nav-icon.primary svg{
            color: #8b5cf6;
        }.page-student-dashboard .nav-badge{
            position: absolute;
            top: -5px;
            right: -5px;
            background: #8b5cf6;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: 600;
        }.page-student-dashboard .nav-dropdown{
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            min-width: 350px;
            max-height: 600px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
        }.page-student-dashboard .nav-dropdown.show{
            display: block;
        }.page-student-dashboard .nav-dropdown-header{
            padding: 12px 16px;
            border-bottom: 1px solid #e2e8f0;
            font-weight: 600;
            color: #1a202c;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }.page-student-dashboard .nav-dropdown-content{
            padding: 8px 0;
        }.page-student-dashboard .nav-dropdown-item{
            padding: 8px 16px;
            border-bottom: 1px solid #f1f5f9;
            transition: all 0.2s ease;
            cursor: pointer;
        }.page-student-dashboard .nav-dropdown-item:hover{
            background: #f8f9fa;
            transform: translateX(2px);
        }.page-student-dashboard .nav-dropdown-item:last-child{
            border-bottom: none;
        }.page-student-dashboard .nav-dropdown-item.read{
            opacity: 0.6;
            pointer-events: none;
        }.page-student-dashboard .nav-dropdown-item.read:hover{
            transform: none;
            background: transparent;
        }.page-student-dashboard /* Charts */
        .charts-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.9rem;
            margin-bottom: 1rem;
        }.page-student-dashboard .charts-grid-secondary{
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.9rem;
            margin-bottom: 1rem;
        }@media (max-width: 1400px){.page-student-dashboard .charts-grid-secondary{
                grid-template-columns: repeat(2, 1fr);
            }
        }@media (max-width: 768px){.page-student-dashboard .charts-grid, .page-student-dashboard .charts-grid-secondary{
                grid-template-columns: 1fr;
            }
        }.page-student-dashboard .chart-card{
            background: white;
            border-radius: 12px;
            padding: 0.85rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            border: 1px solid #e0e6ed;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }.page-student-dashboard .chart-card.primary{
            border-left: 4px solid #8b5cf6;
        }.page-student-dashboard .chart-card:hover{
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        }.page-student-dashboard .chart-header{
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.45rem;
        }.page-student-dashboard .chart-title{
            font-size: 0.74rem;
            font-weight: 600;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.35px;
        }.page-student-dashboard .chart-icon{
            width: 30px;
            height: 30px;
            border-radius: 7px;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-student-dashboard .chart-icon.primary{
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
            color: white;
        }.page-student-dashboard .chart-value{
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.2rem;
        }.page-student-dashboard .chart-value.primary{
            color: #8b5cf6;
        }.page-student-dashboard .chart-change{
            font-size: 0.72rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }.page-student-dashboard .chart-change.positive{
            color: #10b981;
        }.page-student-dashboard .chart-change.negative{
            color: #ef4444;
        }.page-student-dashboard /* Main content adjustment */
        .remoed-content{
            margin-top: 55px;
            display: flex;
            flex-direction: column;
            padding: 1rem;
            padding-top: 1.15rem;
            min-height: calc(100vh - 55px);
            overflow-x: visible;
        }.page-student-dashboard .remoed-grid{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.9rem;
            flex: 1;
            min-height: 0;
        }.page-student-dashboard /* Community & Social Responsibility */
        .community-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }@media (max-width: 768px){.page-student-dashboard .community-grid{ grid-template-columns: 1fr; }
        }.page-student-dashboard .community-item{
            display: flex;
            gap: 10px;
            align-items: flex-start;
            padding: 10px 12px;
            border-radius: 10px;
            border: 1px solid #e0e6ed;
            background: #fafdff;
        }.page-student-dashboard .community-icon{
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(102, 126, 234, 0.12);
            color: #667eea;
            flex-shrink: 0;
            font-size: 1.05rem;
        }.page-student-dashboard .community-item h4{
            margin: 0;
            font-size: 0.95rem;
            color: #1a202c;
            font-weight: 700;
        }.page-student-dashboard .community-item p{
            margin: 4px 0 0 0;
            font-size: 0.85rem;
            color: #64748b;
            line-height: 1.5;
        }.page-student-dashboard .remoed-section{
            display: flex;
            flex-direction: column;
            height: 100%;
        }.page-student-dashboard #student-announcement-list, .page-student-dashboard .upcoming-classes-container, .page-student-dashboard #feedback-status-content{
            flex: 1;
            min-height: 0;
        }.page-student-dashboard .upcoming-classes-container{
            max-height: none;
        }.page-student-dashboard /* Notification and Upcoming Classes Container */
        .notification-container{
            max-height: 250px;
            overflow-y: auto;
            overflow-x: hidden;
            border: 1px solid #e0e6ed;
            border-radius: 8px;
            background: #f8f9fa;
            padding: 12px;
        }.page-student-dashboard .upcoming-classes-container{
            max-height: 200px;
            overflow-y: auto;
            overflow-x: hidden;
            border: 1px solid #e0e6ed;
            border-radius: 8px;
            background: #f8f9fa;
            padding: 12px;
        }.page-student-dashboard .notification-list, .page-student-dashboard .upcoming-classes-list{
            list-style: none;
            padding: 0;
            margin: 0;
        }.page-student-dashboard .notification-item, .page-student-dashboard .upcoming-class-item{
            padding: 12px 16px;
            border-bottom: 1px solid #e0e6ed;
            background: #ffffff;
            margin: 6px 0;
            border-radius: 6px;
            font-size: 0.9rem;
            transition: background-color 0.2s ease;
        }.page-student-dashboard .notification-item:hover, .page-student-dashboard .upcoming-class-item:hover{
            background: #f8f9fa;
        }.page-student-dashboard .notification-item:last-child, .page-student-dashboard .upcoming-class-item:last-child{
            border-bottom: none;
        }@media (max-width: 900px){.page-student-dashboard .remoed-main{ flex-direction: column; }.page-student-dashboard .remoed-sidebar{ 
                width: 100%; 
                flex-direction: row; 
                border-bottom: 1px solid rgba(102, 126, 234, 0.1); 
                position: relative;
                height: auto;
            }.page-student-dashboard .remoed-content{
                margin-left: 0;
                max-width: 100vw;
                margin-top: 0;
            }.page-student-dashboard .remoed-menu li{ padding: 14px 16px; font-size: 0.875rem; }.page-student-dashboard .remoed-content{ padding: 1rem; }.page-student-dashboard .remoed-grid{ grid-template-columns: 1fr; gap: 1rem; }.page-student-dashboard /* Navigation header adjustments for mobile */
            .nav-header{
                left: 0;
                padding: 0 1rem;
            }.page-student-dashboard .nav-left h1{
                font-size: 1.2rem;
            }.page-student-dashboard .nav-icon{
                width: 35px;
                height: 35px;
            }.page-student-dashboard .nav-icon svg{
                width: 18px;
                height: 18px;
            }.page-student-dashboard /* Charts grid adjustments for mobile */
            .charts-grid{
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }.page-student-dashboard .chart-card{
                padding: 1rem;
            }.page-student-dashboard .chart-value{
                font-size: 1.5rem;
            }.page-student-dashboard .chart-title{
                font-size: 0.8rem;
            }
        }@media (max-width: 600px){.page-student-dashboard .charts-grid{
                grid-template-columns: 1fr;
            }.page-student-dashboard .nav-right{
                gap: 0.5rem;
            }
        }.page-student-dashboard /* Override modern-styles.css sidebar styles to match teacher dashboard */
        .remoed-menu li{ 
            padding: 14px 32px; 
            color: #667eea; 
            font-weight: 500; 
            cursor: pointer; 
            display: flex; 
            align-items: center; 
            gap: 12px; 
            border-left: 4px solid transparent; 
            transition: background 0.2s, border-color 0.2s; 
        }.page-student-dashboard .remoed-menu li.active, .page-student-dashboard .remoed-menu li:hover{ 
            background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%) !important; 
            border-left: 4px solid #667eea !important; 
            color: white !important; 
            transform: translateX(4px) !important;
            transition: all 0.3s ease !important;
        }.page-student-dashboard .remoed-menu svg{ 
            width: 20px; 
            height: 20px; 
            stroke: currentColor; 
        }.page-student-dashboard /* Remove decorative motion/noise on dashboard */
        .fun-card::before, .page-student-dashboard .safe-content-badge, .page-student-dashboard .fun-floating-elements, .page-student-dashboard .floating-element{
            display: none !important;
            animation: none !important;
        }


/* --- Source: public/student-forgot-password.html --- */
body.page-student-forgot-password{ 
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      margin: 0;
      padding: 20px;
      min-height: 100vh;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      position: relative;
      overflow-x: hidden;
      overflow-y: auto;
    }.page-student-forgot-password /* Floating educational elements */
    .floating-elements{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }.page-student-forgot-password .floating-element{
      position: absolute;
      font-size: 2rem;
      animation: float 6s ease-in-out infinite;
      opacity: 0.2;
    }.page-student-forgot-password .floating-element:nth-child(1){ top: 10%; left: 10%; animation-delay: 0s; }.page-student-forgot-password .floating-element:nth-child(2){ top: 20%; right: 15%; animation-delay: 1s; }.page-student-forgot-password .floating-element:nth-child(3){ bottom: 30%; left: 20%; animation-delay: 2s; }.page-student-forgot-password .floating-element:nth-child(4){ bottom: 20%; right: 10%; animation-delay: 3s; }.page-student-forgot-password .floating-element:nth-child(5){ top: 50%; left: 5%; animation-delay: 4s; }.page-student-forgot-password .floating-element:nth-child(6){ top: 60%; right: 5%; animation-delay: 5s; }@keyframes float{
      0%, 100% { transform: translateY(0px) rotate(0deg); }
      50% { transform: translateY(-20px) rotate(10deg); }
    }.page-student-forgot-password .forgot-container{
      background: rgba(255, 255, 255, 0.95);
      border-radius: 20px;
      padding: 2.5rem;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      border: 2px solid #667eea;
      position: relative;
      z-index: 2;
      max-width: 450px;
      width: 90%;
      margin: 50px auto;
      animation: slideIn 0.8s ease-out;
      display: flex;
      flex-direction: column;
      align-items: center;
    }@keyframes slideIn{
      0% { transform: translateY(30px); opacity: 0; }
      100% { transform: translateY(0); opacity: 1; }
    }.page-student-forgot-password .remoed-logo{
      justify-content: center;
      margin-bottom: 1.5rem;
      animation: pulse 2s infinite;
    }@keyframes pulse{
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }.page-student-forgot-password .remoed-title{
      color: #667eea !important;
      font-size: 1.8rem !important;
      font-weight: bold !important;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }.page-student-forgot-password .forgot-title{
      color: #667eea !important;
      font-size: 1.8rem !important;
      font-weight: bold !important;
      text-align: center;
      margin-bottom: 1.5rem;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }.page-student-forgot-password .welcome-message{
      text-align: center;
      color: #667eea;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 1rem;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    }.page-student-forgot-password .forgot-form{
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 10px;
    }.page-student-forgot-password .form-group{
      position: relative;
    }.page-student-forgot-password .form-group label{
      color: #667eea !important;
      font-weight: 600 !important;
      font-size: 1rem !important;
      margin-bottom: 0.5rem !important;
      display: block;
    }.page-student-forgot-password .form-group input{
      width: 100%;
      padding: 12px 16px;
      border: 2px solid #e1e8ed;
      border-radius: 12px;
      font-size: 1rem;
      transition: all 0.3s ease;
      background: rgba(255, 255, 255, 0.9);
      box-sizing: border-box;
    }.page-student-forgot-password .form-group input:focus{
      border-color: #667eea;
      box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
      transform: scale(1.02);
      outline: none;
    }.page-student-forgot-password .forgot-btn{
      background: linear-gradient(45deg, #667eea, #764ba2);
      color: white;
      border: none;
      border-radius: 12px;
      padding: 14px 30px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
      letter-spacing: 0.5px;
      width: 100%;
      display: block !important;
      margin-top: 10px;
    }.page-student-forgot-password .forgot-btn:hover{
      transform: translateY(-2px);
      box-shadow: 0 12px 25px rgba(102, 126, 234, 0.4);
      background: linear-gradient(45deg, #764ba2, #667eea);
    }.page-student-forgot-password .forgot-btn:active{
      transform: translateY(0);
    }.page-student-forgot-password .forgot-btn:disabled{
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }.page-student-forgot-password .forgot-message{
      font-size: 1rem;
      margin-top: 8px;
      text-align: center;
      display: none;
      width: 100%;
      padding: 12px;
      border-radius: 12px;
      font-weight: 500;
    }.page-student-forgot-password .forgot-message.success{
      background: #f0fdf4;
      border: 2px solid #bbf7d0;
      color: #16a34a;
    }.page-student-forgot-password .forgot-message.error{
      background: #fef2f2;
      border: 2px solid #fecaca;
      color: #dc2626;
    }.page-student-forgot-password .links-container{
      margin-top: 2rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      padding: 1rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      border: 1px solid rgba(102, 126, 234, 0.2);
    }.page-student-forgot-password .links-container a{
      color: #667eea;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 600;
      transition: all 0.3s ease;
      padding: 0.75rem 1rem;
      border-radius: 10px;
      border: 2px solid transparent;
      background: rgba(102, 126, 234, 0.05);
      display: block;
      margin: 0.25rem 0;
      text-align: center;
      box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
    }.page-student-forgot-password .links-container a:hover{
      background: rgba(102, 126, 234, 0.15);
      transform: translateY(-2px);
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
      border-color: rgba(102, 126, 234, 0.3);
      box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    }.page-student-forgot-password .links-container a:active{
      transform: translateY(0);
    }.page-student-forgot-password /* Responsive design for different screen sizes and zoom levels */
    @media (max-width: 768px){
      body {
        padding: 10px;
      }
      
      .forgot-container {
        margin: 20px auto;
        padding: 1.5rem;
        max-width: 95%;
      }
      
      .remoed-title {
        font-size: 1.5rem !important;
      }
      
      .forgot-title {
        font-size: 1.5rem !important;
      }
    }@media (max-width: 480px){.page-student-forgot-password .forgot-container{
        margin: 10px auto;
        padding: 1rem;
      }.page-student-forgot-password .remoed-title{
        font-size: 1.3rem !important;
      }.page-student-forgot-password .forgot-title{
        font-size: 1.3rem !important;
      }.page-student-forgot-password .links-container{
        padding: 0.75rem;
        gap: 0.5rem;
      }.page-student-forgot-password .links-container a{
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
      }
    }


/* --- Source: public/student-games-activities.html --- */
body.page-student-games-activities{ 
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif; 
            background: linear-gradient(135deg, #FFF0F5 0%, #E8F8F5 50%, #FFF9E6 100%);
            background-attachment: fixed;
            margin: 0;
            padding: 0;
        }.page-student-games-activities .remoed-main{ 
            display: flex; 
            min-height: 100vh; 
        }.page-student-games-activities .remoed-sidebar{ 
            width: 260px; 
            min-width: 260px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); 
            box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1); 
            padding: 0; 
            display: flex; 
            flex-direction: column; 
            align-items: stretch;
            position: fixed;
            height: 100vh;
            z-index: 100;
            border-right: 1px solid rgba(102, 126, 234, 0.1);
        }.page-student-games-activities .remoed-content{
            flex: 1;
            padding: 20px;
            min-width: 0;
            background: transparent;
            min-height: 100vh;
            box-sizing: border-box;
            margin-left: 260px;
            max-width: calc(100vw - 260px);
            overflow-x: auto;
        }.page-student-games-activities .remoed-logo{ 
            height: 100px; 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            justify-content: center; 
            gap: 8px; 
            padding-top: 5px; 
        }.page-student-games-activities .remoed-logo img{ 
            height: 40px; 
            width: auto; 
            display: inline-block; 
            vertical-align: middle; 
        }.page-student-games-activities .remoed-title{ 
            font-size: 1.3rem; 
            font-weight: 700; 
            color: #667eea; 
            letter-spacing: 1px; 
        }.page-student-games-activities .remoed-user{ 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            margin-bottom: 24px; 
        }.page-student-games-activities .remoed-avatar{ 
            width: 60px; 
            height: 60px; 
            border-radius: 50%; 
            background: linear-gradient(135deg, #667eea, #5a67d8); 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            color: white; 
            font-weight: bold; 
            font-size: 1.5rem; 
            margin-bottom: 8px; 
            cursor: pointer;
            transition: transform 0.2s;
        }.page-student-games-activities .remoed-username{ 
            font-size: 0.9rem; 
            color: #333; 
            font-weight: 500; 
        }.page-student-games-activities .remoed-menu{ 
            list-style: none; 
            padding: 0; 
            margin: 0; 
            flex: 1; 
            display: flex; 
            flex-direction: column; 
        }.page-student-games-activities .remoed-menu li{ 
            padding: 14px 32px; 
            color: #667eea; 
            font-weight: 500; 
            cursor: pointer; 
            display: flex; 
            align-items: center; 
            gap: 12px; 
            border-left: 4px solid transparent; 
            transition: background 0.2s, border-color 0.2s; 
        }.page-student-games-activities .remoed-menu li.active, .page-student-games-activities .remoed-menu li:hover{ 
            background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%) !important; 
            border-left: 4px solid #667eea !important; 
            color: white !important; 
            transform: translateX(4px) !important; 
            transition: all 0.3s ease !important; 
        }.page-student-games-activities .remoed-menu svg{ 
            width: 20px; 
            height: 20px; 
            stroke: currentColor; 
        }.page-student-games-activities /* Games and Activities Styles */
        .games-container{
            max-width: 1020px;
            margin: 0 auto;
        }.page-student-games-activities .page-header{
            margin-bottom: 16px;
        }.page-student-games-activities .page-header h1{
            font-size: 1.8rem;
            font-weight: 700;
            color: #667eea;
            margin: 0 0 8px 0;
        }.page-student-games-activities .page-header p{
            color: #666;
            font-size: 1rem;
            margin: 0;
        }.page-student-games-activities .selection-section{
            background: white;
            border-radius: 16px;
            padding: 18px;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
            margin-bottom: 14px;
        }.page-student-games-activities .selection-title{
            font-size: 1.25rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 20px;
        }.page-student-games-activities .selection-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 10px;
            margin-bottom: 12px;
        }.page-student-games-activities .selection-card{
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 2px solid transparent;
            border-radius: 12px;
            padding: 12px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }.page-student-games-activities .selection-card:hover{
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
            border-color: #667eea;
        }.page-student-games-activities .selection-card.active{
            background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
            color: white;
            border-color: #667eea;
        }.page-student-games-activities .selection-card .icon{
            font-size: 1.8rem;
            margin-bottom: 6px;
        }.page-student-games-activities .selection-card .label{
            font-size: 0.92rem;
            font-weight: 600;
        }.page-student-games-activities .game-display{
            background: white;
            border-radius: 16px;
            padding: 18px;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
            min-height: 360px;
        }.page-student-games-activities .game-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 2px solid #e9ecef;
        }.page-student-games-activities .game-title{
            font-size: 1.5rem;
            font-weight: 600;
            color: #333;
        }.page-student-games-activities .game-content{
            display: none;
        }.page-student-games-activities .game-content.active{
            display: block;
        }.page-student-games-activities /* Reading Game Styles */
        .word-card{
            background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
            color: white;
            border-radius: 16px;
            padding: 40px;
            text-align: center;
            margin: 20px 0;
            box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
        }.page-student-games-activities .word-card .word{
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 16px;
        }.page-student-games-activities .word-card .phonetic{
            font-size: 1.25rem;
            opacity: 0.9;
        }.page-student-games-activities .options-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 16px;
            margin: 24px 0;
        }.page-student-games-activities .option-btn{
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            padding: 20px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }.page-student-games-activities .option-btn:hover{
            background: #e9ecef;
            transform: scale(1.05);
        }.page-student-games-activities .option-btn.correct{
            background: #d4edda;
            border-color: #28a745;
            color: #155724;
        }.page-student-games-activities .option-btn.incorrect{
            background: #f8d7da;
            border-color: #dc3545;
            color: #721c24;
        }.page-student-games-activities /* Speaking Game Styles */
        .speaking-card{
            background: white;
            border: 2px solid #667eea;
            border-radius: 16px;
            padding: 32px;
            text-align: center;
            margin: 20px 0;
        }.page-student-games-activities .speaking-card .phrase{
            font-size: 1.5rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 24px;
        }.page-student-games-activities .record-btn{
            background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
            color: white;
            border: none;
            border-radius: 10px;
            min-width: 190px;
            min-height: 44px;
            padding: 8px 14px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }.page-student-games-activities .record-btn:hover{
            transform: none;
        }.page-student-games-activities .record-btn.recording{
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
            animation: none;
        }.page-student-games-activities /* Writing Game Styles */
        .writing-prompt{
            background: #f8f9fa;
            border-left: 4px solid #667eea;
            border-radius: 8px;
            padding: 24px;
            margin: 20px 0;
        }.page-student-games-activities .writing-prompt h3{
            margin: 0 0 12px 0;
            color: #667eea;
            font-size: 1.25rem;
        }.page-student-games-activities .writing-area{
            width: 100%;
            min-height: 200px;
            padding: 16px;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            font-size: 1rem;
            font-family: inherit;
            resize: vertical;
            margin: 16px 0;
        }.page-student-games-activities .writing-area:focus{
            outline: none;
            border-color: #667eea;
        }.page-student-games-activities /* Listening Game Styles */
        .audio-player{
            background: #f8f9fa;
            border-radius: 12px;
            padding: 24px;
            text-align: center;
            margin: 20px 0;
        }.page-student-games-activities .audio-btn{
            background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
            color: white;
            border: none;
            border-radius: 12px;
            padding: 12px 24px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }.page-student-games-activities .audio-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }.page-student-games-activities /* Good Moral Activity Styles */
        .moral-card{
            background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
            border: 2px solid #ffc107;
            border-radius: 16px;
            padding: 32px;
            margin: 20px 0;
        }.page-student-games-activities .moral-card .title{
            font-size: 1.5rem;
            font-weight: 700;
            color: #856404;
            margin-bottom: 16px;
        }.page-student-games-activities .moral-card .story{
            font-size: 1.1rem;
            color: #856404;
            line-height: 1.8;
            margin-bottom: 24px;
        }.page-student-games-activities .moral-question{
            background: white;
            border-radius: 8px;
            padding: 20px;
            margin: 16px 0;
        }.page-student-games-activities .feedback-message{
            padding: 16px;
            border-radius: 8px;
            margin: 16px 0;
            font-weight: 600;
            display: none;
        }.page-student-games-activities .feedback-message.success{
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
            display: block;
        }.page-student-games-activities .feedback-message.error{
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
            display: block;
        }.page-student-games-activities .score-display{
            background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
            color: white;
            border-radius: 12px;
            padding: 16px 24px;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            margin: 16px 0;
        }.page-student-games-activities .next-btn{
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            color: white;
            border: none;
            border-radius: 12px;
            padding: 12px 32px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 16px;
        }.page-student-games-activities .next-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        }@keyframes bounce{
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }@keyframes celebrate{
            0% { transform: scale(0.9); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }@keyframes fadeOut{
            from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
            to { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
        }@media (max-width: 768px){.page-student-games-activities .remoed-sidebar{
                position: relative;
                width: 100%;
                height: auto;
            }.page-student-games-activities .remoed-content{
                margin-left: 0;
                max-width: 100%;
                padding: 20px;
            }.page-student-games-activities .selection-grid{
                grid-template-columns: 1fr;
            }
        }


/* --- Source: public/student-login.html --- */
body.page-student-login{
      --primary: #1d9bf0;
      --primary-dark: #14b8a6;
      --accent: #38bdf8;
      --surface: #ffffff;
      --text: #1e2a4a;
      --muted: #6b7280;
      --stroke: #e7eaf3;
      --bg: #eef6ff;
    }body.page-student-login{
      margin: 0;
      padding: 24px;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
      background: linear-gradient(135deg,
                  rgba(29, 155, 240, 0.24) 0%,
                  rgba(29, 155, 240, 0.24) 60%,
                  rgba(20, 184, 166, 0.22) 60%,
                  rgba(20, 184, 166, 0.22) 90%,
                  rgba(56, 189, 248, 0.22) 90%,
                  rgba(56, 189, 248, 0.22) 100%);
      color: var(--text);
      overflow: visible;
      position: relative;
    }.page-student-login body::before{
      content: "";
      position: fixed;
      inset: 0;
      background:
        radial-gradient(circle at 12% 18%, rgba(29, 155, 240, 0.22) 0 80px, transparent 82px),
        radial-gradient(circle at 78% 12%, rgba(20, 184, 166, 0.18) 0 60px, transparent 62px),
        radial-gradient(circle at 88% 68%, rgba(56, 189, 248, 0.2) 0 90px, transparent 92px),
        radial-gradient(circle at 18% 78%, rgba(29, 155, 240, 0.16) 0 70px, transparent 72px),
        radial-gradient(circle at 52% 42%, rgba(20, 184, 166, 0.12) 0 110px, transparent 112px);
      z-index: 0;
      pointer-events: none;
    }.page-student-login body::after{
      content: "";
      position: fixed;
      inset: 0;
      background:
        linear-gradient(135deg, rgba(29, 155, 240, 0.15) 0 40px, transparent 42px),
        linear-gradient(225deg, rgba(20, 184, 166, 0.12) 0 60px, transparent 62px),
        linear-gradient(315deg, rgba(56, 189, 248, 0.12) 0 50px, transparent 52px);
      opacity: 0.35;
      z-index: 0;
      pointer-events: none;
    }.page-student-login .login-shell{
      position: relative;
      width: min(900px, 100%);
      z-index: 1;
      margin: 0 300px;
    }.page-student-login .login-card{
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      background: var(--surface);
      border-radius: 28px;
      overflow: visible;
      box-shadow: 0 30px 60px rgba(31, 41, 55, 0.18);
      border: 1px solid rgba(102, 126, 234, 0.1);
      animation: none;
      position: relative;
      z-index: 2;
    }.page-student-login .login-panel{
      padding: 44px 52px;
      position: relative;
      z-index: 2;
    }.page-student-login .login-visual{
      background: linear-gradient(135deg, #1d9bf0 0%, #38bdf8 45%, #14b8a6 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 32px;
      animation: none;
      z-index: 2;
    }.page-student-login .feature-panel{
      width: min(360px, 85%);
      border-radius: 24px;
      background: transparent;
      border: none;
      padding: 12px;
      color: #f8fafc;
      text-align: left;
    }.page-student-login .feature-panel h3{
      margin: 0 0 12px;
      font-size: 1.6rem;
      font-weight: 700;
      letter-spacing: 0.3px;
      color: #f8fafc;
    }.page-student-login .feature-panel p{
      margin: 0 0 18px;
      color: rgba(248, 250, 252, 0.9);
      line-height: 1.7;
      font-size: 1.02rem;
    }.page-student-login .feature-panel ul{
      margin: 0;
      padding-left: 0;
      list-style: none;
      color: rgba(248, 250, 252, 0.9);
      line-height: 1.6;
      font-size: 1rem;
      display: grid;
      gap: 12px;
    }.page-student-login .feature-panel li{
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }.page-student-login .intro-icon{
      width: 20px;
      height: 20px;
      margin-top: 2px;
      flex: 0 0 auto;
      color: rgba(248, 250, 252, 0.9);
    }.page-student-login .peek-character{
      position: absolute;
      height: auto;
      z-index: 10;
      pointer-events: none;
      filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.25));
      transition: none;
    }.page-student-login .peek-character img{
      width: 100%;
      height: auto;
      display: block;
      object-fit: contain;
    }.page-student-login .peek-boy{
      left: -323px;
      bottom: -30px;
      width: 320px;
    }.page-student-login .peek-boy:hover{ transform: none; }.page-student-login .peek-robot{
      right: -350px;
      bottom: -60px;
      width: 380px;
    }.page-student-login .peek-robot:hover{ transform: none; }.page-student-login .chat-bubble{
      position: absolute;
      background: #ffffff;
      color: #1e2a4a;
      padding: 10px 16px;
      border-radius: 16px;
      font-size: 0.95rem;
      font-weight: 600;
      white-space: nowrap;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      opacity: 0;
      transform: translateY(10px);
      transition: none;
      pointer-events: none;
      z-index: 20;
    }.page-student-login .chat-bubble::after{
      content: "";
      position: absolute;
      bottom: -8px;
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-top: 10px solid #ffffff;
    }.page-student-login .peek-boy .chat-bubble{
      top: -10px;
      left: 50%;
      transform: translateX(-50%) translateY(10px);
    }.page-student-login .peek-boy .chat-bubble::after{
      left: 50%;
      transform: translateX(-50%);
    }.page-student-login .peek-robot .chat-bubble{
      top: -10px;
      left: 50%;
      transform: translateX(-50%) translateY(10px);
    }.page-student-login .peek-robot .chat-bubble::after{
      left: 50%;
      transform: translateX(-50%);
    }.page-student-login .peek-character{
      pointer-events: auto;
    }.page-student-login .peek-character:hover .chat-bubble{ opacity: 1; transform: translateX(-50%) translateY(0); }.page-student-login .illustration-card h3{
      margin: 0 0 10px;
      font-size: 1.5rem;
      font-weight: 800;
    }.page-student-login .illustration-card p{
      margin: 0;
      color: rgba(248, 250, 252, 0.95);
      line-height: 1.6;
      font-size: 1.05rem;
    }.page-student-login .brand{
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 22px;
    }.page-student-login .brand img{
      height: 44px;
    }.page-student-login .brand-name{
      font-weight: 800;
      color: var(--primary);
      font-size: 1.4rem;
      letter-spacing: 0.5px;
    }.page-student-login .brand-subtitle{
      font-size: 0.9rem;
      color: var(--muted);
    }.page-student-login .login-title{
      font-size: 1.9rem;
      margin: 6px 0 6px;
      color: var(--text);
    }.page-student-login .login-subtitle{
      margin: 0 0 24px;
      color: var(--muted);
      font-size: 0.98rem;
    }.page-student-login .remoed-form-input{
      border: 1px solid var(--stroke) !important;
      border-radius: 14px !important;
      padding: 12px 16px !important;
      font-size: 1rem !important;
      transition: none !important;
      background: #fbfbff !important;
    }.page-student-login .remoed-form-input:focus{
      border-color: var(--primary) !important;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2) !important;
      transform: none !important;
    }.page-student-login .remoed-form-label{
      color: var(--text) !important;
      font-weight: 600 !important;
      font-size: 0.95rem !important;
      margin-bottom: 0.5rem !important;
    }.page-student-login .remoed-status.error{
      border-radius: 12px !important;
      padding: 12px !important;
      font-weight: 500 !important;
      margin-bottom: 16px;
    }.page-student-login .links-container{
      text-align: left;
      margin-top: 1.5rem;
      display: grid;
      gap: 10px;
    }.page-student-login .links-container a{
      color: var(--primary) !important;
      text-decoration: none !important;
      font-weight: 600 !important;
      font-size: 0.95rem !important;
      transition: none !important;
      padding: 10px 14px !important;
      border-radius: 10px !important;
      background: rgba(102, 126, 234, 0.08) !important;
      display: inline-flex !important;
      align-items: center !important;
    }.page-student-login .links-container a:hover{ background: rgba(102, 126, 234, 0.15) !important; transform: none !important; }.page-student-login .password-input-container{
      position: relative;
      display: flex;
      align-items: center;
    }.page-student-login .password-input-container input{
      padding-right: 48px;
    }.page-student-login .password-toggle{
      position: absolute;
      right: 10px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      border-radius: 6px;
      transition: none;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-student-login .password-toggle:hover{ background: rgba(102, 126, 234, 0.12); }.page-student-login /* Accessibility: remove all motion/animation in student login */
    *, .page-student-login *::before, .page-student-login *::after{
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }.page-student-login .peek-character{ display: none !important; }.page-student-login .eye-icon{
      font-size: 1.1rem;
      color: var(--primary);
    }.page-student-login .fun-btn{
      border-radius: 14px !important;
      box-shadow: 0 14px 24px rgba(29, 155, 240, 0.3) !important;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    }@media (max-width: 1200px){.page-student-login .login-shell{
        margin: 0 auto;
      }.page-student-login .peek-character{
        display: none;
      }
    }@media (max-width: 900px){.page-student-login .login-card{
        grid-template-columns: 1fr;
      }.page-student-login .login-visual{
        order: -1;
        padding: 28px 24px;
      }.page-student-login .login-panel{
        padding: 32px 28px;
      }
    }


/* --- Source: public/student-payment.html --- */
body.page-student-payment{
      --p:#1ca7e7;
      --pd:#147fb0;
      --a:#ffd700;
      --bg1:#fff0f5;
      --bg2:#e8f8f5;
      --bg3:#fff9e6;
      --txt:#1e3a5f;
      --mut:#5b6b86;
      --card:rgba(255,255,255,.75);
      --stroke:rgba(255,255,255,.55);
      --shadow:0 18px 40px rgba(0,0,0,.12);
    }body.page-student-payment{
      margin:0;
      min-height:100vh;
      font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color:var(--txt);
      background:linear-gradient(135deg,var(--bg1) 0%,var(--bg2) 50%,var(--bg3) 100%);
      background-attachment:fixed;
      padding:28px 16px;
    }.page-student-payment .shell{
      max-width:980px;
      margin:0 auto;
    }.page-student-payment .top{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      margin-bottom:18px;
    }.page-student-payment .brand{
      display:flex;
      align-items:center;
      gap:10px;
    }.page-student-payment .brand img{ height:42px; }.page-student-payment .brand h1{
      margin:0;
      font-size:1.35rem;
      letter-spacing:.2px;
      color:var(--p);
      font-weight:900;
    }.page-student-payment .hint{
      color:var(--mut);
      font-weight:600;
      font-size:.95rem;
    }.page-student-payment .grid{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap:18px;
    }@media (max-width: 860px){.page-student-payment .grid{ grid-template-columns:1fr; }
    }.page-student-payment .card{
      background:var(--card);
      border:1px solid var(--stroke);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-radius:18px;
      box-shadow:var(--shadow);
      padding:18px;
      overflow:hidden;
    }.page-student-payment .card h2{
      margin:0 0 10px;
      font-size:1.25rem;
      font-weight:900;
      display:flex;
      align-items:center;
      gap:10px;
    }.page-student-payment .badge{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding:8px 12px;
      border-radius:999px;
      background:rgba(28,167,231,.12);
      border:1px solid rgba(28,167,231,.25);
      color:var(--pd);
      font-weight:800;
      font-size:.92rem;
    }.page-student-payment .methods{
      display:grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap:12px;
      margin-top:12px;
    }@media (max-width: 640px){.page-student-payment .methods{ grid-template-columns:1fr; }
    }.page-student-payment .method{
      border:2px solid rgba(28,167,231,.18);
      background:rgba(255,255,255,.7);
      border-radius:16px;
      padding:14px;
      cursor:pointer;
      transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
      display:flex;
      align-items:flex-start;
      gap:12px;
      min-height:92px;
    }.page-student-payment .method:hover{
      transform: translateY(-2px);
      border-color: rgba(28,167,231,.45);
      box-shadow: 0 12px 24px rgba(28,167,231,.12);
    }.page-student-payment .method.active{
      border-color: var(--p);
      box-shadow: 0 14px 30px rgba(28,167,231,.22);
    }.page-student-payment .m-ico{
      width:38px; height:38px;
      border-radius:12px;
      background:linear-gradient(135deg, rgba(28,167,231,.22), rgba(255,215,0,.22));
      display:flex;
      align-items:center;
      justify-content:center;
      font-size:1.2rem;
    }.page-student-payment .method h3{
      margin:0 0 4px;
      font-weight:900;
      font-size:1.05rem;
    }.page-student-payment .method p{
      margin:0;
      color:var(--mut);
      font-weight:600;
      font-size:.92rem;
      line-height:1.35;
    }.page-student-payment .form{
      margin-top:14px;
      display:grid;
      gap:12px;
    }.page-student-payment .row{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap:12px;
    }@media (max-width: 640px){.page-student-payment .row{ grid-template-columns:1fr; }
    }.page-student-payment label{
      display:block;
      font-weight:800;
      margin-bottom:6px;
    }.page-student-payment input{
      width:100%;
      box-sizing:border-box;
      padding:12px 14px;
      border-radius:12px;
      border:1px solid rgba(30,58,95,.18);
      background:rgba(255,255,255,.9);
      font-size:1rem;
    }.page-student-payment .btn{
      width:100%;
      border:none;
      cursor:pointer;
      border-radius:14px;
      padding:14px 16px;
      font-weight:900;
      font-size:1.05rem;
      background:linear-gradient(135deg, var(--p), #5cb3ff);
      color:white;
      border:2px solid var(--a);
      transition: transform .15s ease, box-shadow .15s ease;
      box-shadow: 0 12px 26px rgba(28,167,231,.28);
    }.page-student-payment .btn:hover{ transform: translateY(-2px); box-shadow: 0 18px 34px rgba(28,167,231,.34); }.page-student-payment .btn:disabled{ opacity:.6; cursor:not-allowed; transform:none; box-shadow:none; }.page-student-payment .note{
      margin-top:10px;
      color:var(--mut);
      font-weight:600;
      font-size:.92rem;
      line-height:1.4;
    }.page-student-payment .ok{
      display:none;
      text-align:center;
      padding:18px;
    }.page-student-payment .ok .big{ font-size:3.2rem; }.page-student-payment .ok h3{ margin:10px 0 6px; font-weight:900; }.page-student-payment .ok p{ margin:0 0 14px; color:var(--mut); font-weight:600; }.page-student-payment .link-btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      text-decoration:none;
      padding:12px 22px;
      border-radius:14px;
      background:rgba(255,255,255,.85);
      border:2px solid rgba(28,167,231,.35);
      color:var(--pd);
      font-weight:900;
    }


/* --- Source: public/student-profile.html --- */
body.page-student-profile{ 
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif; 
            background: linear-gradient(135deg, #FFF0F5 0%, #E8F8F5 50%, #FFF9E6 100%);
            background-attachment: fixed;
            margin: 0;
            padding: 0;
        }.page-student-profile .remoed-main{ 
            display: flex; 
            min-height: 100vh; 
        }.page-student-profile .remoed-sidebar{ 
            width: 260px; 
            min-width: 260px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); 
            box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1); 
            padding: 0; 
            display: flex; 
            flex-direction: column; 
            align-items: stretch;
            position: fixed;
            height: 100vh;
            z-index: 100;
            border-right: 1px solid rgba(102, 126, 234, 0.1);
        }.page-student-profile .remoed-logo{ 
            display: flex; 
            align-items: center; 
            gap: 14px; 
        }.page-student-profile .remoed-logo img{ 
            height: 48px; 
        }.page-student-profile .remoed-title{ 
            font-size: 1.7rem; 
            font-weight: 700; 
            color: #667eea; 
            letter-spacing: 1px; 
        }.page-student-profile .remoed-user{ 
            display: flex; 
            align-items: center; 
            gap: 10px; 
        }.page-student-profile .remoed-avatar{ 
            width: 72px; 
            height: 72px; 
            border-radius: 50%; 
            background: #667eea; 
            color: #fff; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-weight: bold; 
            font-size: 2.2rem; 
        }.page-student-profile .remoed-username{ 
            color: #667eea; 
            font-weight: 600; 
        }.page-student-profile .remoed-menu{ 
            list-style: none; 
            padding: 0; 
            margin: 0; 
        }.page-student-profile .remoed-menu li{ 
            padding: 14px 32px; 
            color: #667eea; 
            font-weight: 500; 
            cursor: pointer; 
            display: flex; 
            align-items: center; 
            gap: 12px; 
            border-left: 4px solid transparent; 
            transition: background 0.2s, border-color 0.2s; 
        }.page-student-profile .remoed-menu li.active, .page-student-profile .remoed-menu li:hover{ 
      background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); 
      border-left: 4px solid #667eea; 
      color: white; 
      transform: translateX(4px);
      transition: all 0.3s ease;
    }.page-student-profile .remoed-menu svg{ 
            width: 20px; 
            height: 20px; 
            stroke: currentColor;
        }.page-student-profile .remoed-content{ 
            flex: 1; 
            padding: 24px 32px; 
            margin-left: 260px;
            max-width: calc(100vw - 260px);
            background: #F0F2F5;
        }.page-student-profile .profile-container{
            max-width: 1200px;
            margin: 0 auto;
        }.page-student-profile /* Facebook-style Profile Header */
        .profile-header{
            background: white;
            border-radius: 16px;
            padding: 32px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            display: flex;
            align-items: center;
            gap: 24px;
        }.page-student-profile .profile-avatar-large{
            width: 160px;
            height: 160px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
            border: 6px solid #FFD700;
            box-shadow: 0 8px 24px rgba(28, 167, 231, 0.3);
        }.page-student-profile .profile-avatar-large:hover{
            transform: scale(1.05);
            box-shadow: 0 12px 32px rgba(28, 167, 231, 0.4);
        }.page-student-profile .profile-avatar-large img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }.page-student-profile .upload-overlay{
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 12px;
            text-align: center;
            font-size: 0.9rem;
            font-weight: 600;
            transform: translateY(100%);
            transition: transform 0.3s;
        }.page-student-profile .profile-avatar-large:hover .upload-overlay{
            transform: translateY(0);
        }.page-student-profile .profile-header-info{
            flex: 1;
            min-width: 0;
        }.page-student-profile .profile-name-large{
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            font-weight: 800;
            color: #1CA7E7;
            margin: 0 0 8px 0;
            text-shadow: 2px 2px 4px rgba(28, 167, 231, 0.2);
            line-height: 1.15;
            white-space: normal;
            word-break: normal;
            overflow-wrap: break-word;
        }.page-student-profile .profile-email-large{
            color: #4A6FA5;
            margin: 0 0 16px 0;
            font-size: 1.1rem;
            font-weight: 600;
            white-space: normal;
            overflow-wrap: anywhere;
        }.page-student-profile .profile-actions{
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }.page-student-profile .back-btn{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border: 2px solid #FFD700;
            padding: 12px 24px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 700;
            transition: all 0.3s ease;
            font-size: 1rem;
            box-shadow: 0 4px 12px rgba(28, 167, 231, 0.3);
        }.page-student-profile .back-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(28, 167, 231, 0.4);
        }.page-student-profile /* Profile Content Grid - Facebook Style */
        .profile-content-grid{
            display: grid;
            grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
            gap: 24px;
        }.page-student-profile .profile-sidebar-card{
            background: white;
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            height: fit-content;
            position: sticky;
            top: 24px;
            min-width: 0;
            max-width: 100%;
            box-sizing: border-box;
        }.page-student-profile .profile-main-card{
            background: white;
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }.page-student-profile .section-title{
            font-size: 1.5rem;
            font-weight: 800;
            color: #1CA7E7;
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 3px solid #FFD700;
        }.page-student-profile .info-section{
            margin-bottom: 32px;
        }.page-student-profile .info-section-title{
            font-size: 1.2rem;
            font-weight: 700;
            color: #1E3A5F;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }.page-student-profile .form-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }.page-student-profile .form-group{
            margin-bottom: 20px;
        }.page-student-profile .form-group.full-width{
            grid-column: 1 / -1;
        }.page-student-profile .form-label{
            display: block;
            margin-bottom: 8px;
            font-weight: 700;
            color: #1E3A5F;
            font-size: 0.95rem;
        }.page-student-profile .form-input{
            width: 100%;
            padding: 12px 16px;
            border: 3px solid #E8F4FD;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-sizing: border-box;
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
        }.page-student-profile .form-input:focus{
            outline: none;
            border-color: #1CA7E7;
            box-shadow: 0 0 0 4px rgba(28, 167, 231, 0.1);
        }.page-student-profile .form-textarea{
            width: 100%;
            padding: 12px 16px;
            border: 3px solid #E8F4FD;
            border-radius: 12px;
            font-size: 1rem;
            min-height: 120px;
            resize: vertical;
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }.page-student-profile .form-textarea:focus{
            outline: none;
            border-color: #1CA7E7;
            box-shadow: 0 0 0 4px rgba(28, 167, 231, 0.1);
        }.page-student-profile .file-upload{
            position: relative;
            display: inline-block;
            cursor: pointer;
            width: 100%;
        }.page-student-profile .file-upload input[type=file]{
            position: absolute;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }.page-student-profile .file-upload-label{
            display: block;
            padding: 16px;
            border: 3px dashed #1CA7E7;
            border-radius: 12px;
            text-align: center;
            color: #1CA7E7;
            font-weight: 700;
            transition: all 0.3s ease;
            font-size: 1rem;
            background: #F0F8FF;
            cursor: pointer;
        }.page-student-profile .file-upload:hover .file-upload-label{
            background: linear-gradient(135deg, #E8F4FD, #FFFBF0);
            border-color: #FFD700;
            transform: scale(1.02);
        }.page-student-profile .save-btn{
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            border: 2px solid #2E7D32;
            padding: 12px 28px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
        }.page-student-profile .save-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
        }.page-student-profile .save-btn:disabled{
            background: #ccc;
            border-color: #999;
            cursor: not-allowed;
            transform: none;
        }.page-student-profile .edit-btn{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border: 2px solid #FFD700;
            padding: 12px 28px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(28, 167, 231, 0.3);
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
        }.page-student-profile .edit-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(28, 167, 231, 0.4);
        }.page-student-profile .cancel-btn{
            background: linear-gradient(135deg, #6c757d, #5a6268);
            color: white;
            border: 2px solid #495057;
            padding: 12px 28px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
        }.page-student-profile .cancel-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
        }.page-student-profile .form-input:disabled, .page-student-profile .form-textarea:disabled, .page-student-profile .form-input[readonly], .page-student-profile .form-textarea[readonly]{
            background-color: #f8f9fa;
            color: #495057;
            cursor: not-allowed;
        }.page-student-profile .file-upload.disabled{
            opacity: 0.6;
            pointer-events: none;
        }.page-student-profile .education-item{
            background: #F8F9FA;
            border: 3px solid #E8F4FD;
            border-left: 4px solid #1CA7E7;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 16px;
            transition: all 0.3s ease;
        }.page-student-profile .education-item:hover{
            border-color: #FFD700;
            box-shadow: 0 4px 12px rgba(28, 167, 231, 0.15);
        }.page-student-profile .education-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }.page-student-profile .education-header span{
            font-weight: 800;
            font-size: 1.1rem;
            color: #1CA7E7;
        }.page-student-profile .remove-btn{
            background: linear-gradient(135deg, #dc3545, #c82333);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 700;
            transition: all 0.3s ease;
        }.page-student-profile .remove-btn:hover{
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
        }.page-student-profile .add-btn{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border: 2px solid #FFD700;
            padding: 12px 24px;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(28, 167, 231, 0.3);
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
        }.page-student-profile .add-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(28, 167, 231, 0.4);
        }.page-student-profile .success-message{
            background: #d4edda;
            color: #155724;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: none;
        }.page-student-profile .tab-container{
            margin-bottom: 0;
        }.page-student-profile .tab-buttons{
            display: flex;
            border-bottom: 3px solid #E8F4FD;
            margin-bottom: 32px;
            gap: 8px;
        }.page-student-profile .tab-btn{
            background: none;
            border: none;
            padding: 16px 24px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 700;
            color: #4A6FA5;
            border-bottom: 4px solid transparent;
            transition: all 0.3s ease;
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
            position: relative;
            top: 3px;
        }.page-student-profile .tab-btn.active{
            color: #1CA7E7;
            border-bottom-color: #1CA7E7;
        }.page-student-profile .tab-btn:hover{
            color: #1CA7E7;
            background: #F0F8FF;
            border-radius: 12px 12px 0 0;
        }.page-student-profile .tab-content{
            display: none;
        }.page-student-profile .tab-content.active{
            display: block;
        }.page-student-profile .profile-edit-actions{
            display: flex;
            gap: 12px;
            margin-top: 24px;
            flex-wrap: wrap;
            border-top: 2px solid #E8F4FD;
            padding-top: 20px;
        }.page-student-profile /* Info Cards - Facebook Style */
        .info-card{
            background: #F8F9FA;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 16px;
            border-left: 4px solid #1CA7E7;
            overflow: hidden;
            min-width: 0;
            max-width: 100%;
            box-sizing: border-box;
        }.page-student-profile .info-row{
            display: grid;
            grid-template-columns: minmax(0, 108px) minmax(0, 1fr);
            gap: 10px 12px;
            align-items: start;
            padding: 12px 0;
            border-bottom: 1px solid #E8F4FD;
            min-width: 0;
        }.page-student-profile .info-row:last-child{
            border-bottom: none;
        }.page-student-profile .info-label{
            font-weight: 700;
            color: #1E3A5F;
            min-width: 0;
            font-size: 0.9rem;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: break-word;
            line-height: 1.35;
        }.page-student-profile .info-value{
            color: #4A6FA5;
            font-size: 0.9rem;
            min-width: 0;
            word-break: break-word;
            overflow-wrap: anywhere;
            white-space: normal;
            line-height: 1.4;
        }.page-student-profile .info-value.empty{
            color: #999;
            font-style: italic;
        }.page-student-profile .document-preview{
            max-width: 100%;
            max-height: 200px;
            border: 3px solid #E8F4FD;
            border-radius: 12px;
            margin-top: 12px;
            display: none;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }.page-student-profile .document-preview img{
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 12px;
        }.page-student-profile /* Responsive Design */
        @media (max-width: 1024px){
            .profile-content-grid {
                grid-template-columns: 1fr;
            }
            
            .profile-sidebar-card {
                position: static;
            }
            
            .form-grid {
                grid-template-columns: 1fr;
            }
        }@media (max-width: 768px){.page-student-profile .profile-header{
                flex-direction: column;
                text-align: center;
            }.page-student-profile .profile-avatar-large{
                width: 120px;
                height: 120px;
            }.page-student-profile .profile-name-large{
                font-size: 2rem;
            }
        }


/* --- Source: public/student-register.html --- */
body.page-student-register{
      --primary: #1c7ed6;
      --primary-dark: #0b7285;
      --accent: #f4d03f;
      --surface: #ffffff;
      --text: #1e2a4a;
      --muted: #6b7280;
      --stroke: #e7eaf3;
    }body.page-student-register{
      margin: 0;
      padding: 24px;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg,
                  rgba(28, 126, 214, 0.22) 0%,
                  rgba(28, 126, 214, 0.22) 60%,
                  rgba(11, 114, 133, 0.2) 60%,
                  rgba(11, 114, 133, 0.2) 90%,
                  rgba(244, 208, 63, 0.22) 90%,
                  rgba(244, 208, 63, 0.22) 100%);
      color: var(--text);
      overflow-x: hidden;
    }@keyframes slideUp{
      from { opacity: 0; transform: translateY(22px); }
      to { opacity: 1; transform: translateY(0); }
    }.page-student-register .login-shell{
      position: relative;
      width: min(1050px, 100%);
    }.page-student-register .login-card{
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      background: var(--surface);
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(31, 41, 55, 0.18);
      border: 1px solid rgba(102, 126, 234, 0.1);
      animation: slideUp 0.7s ease-out;
    }.page-student-register .login-panel{
      padding: 44px 52px;
    }.page-student-register .login-visual{
      background: linear-gradient(135deg,
                  var(--primary) 0%,
                  var(--primary) 60%,
                  var(--primary-dark) 60%,
                  var(--primary-dark) 90%,
                  var(--accent) 90%,
                  var(--accent) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 32px;
    }.page-student-register .intro-card{
      width: min(320px, 82%);
      border-radius: 24px;
      background: #f8fafc;
      border: 1px solid rgba(255, 255, 255, 0.35);
      padding: 28px;
      color: #1e2a4a;
      box-shadow: 0 18px 36px rgba(15, 23, 42, 0.15);
    }.page-student-register .intro-card h3{
      margin: 0 0 14px;
      font-size: 1.5rem;
      font-weight: 800;
    }.page-student-register .intro-card p{
      margin: 0 0 18px;
      color: #334155;
      line-height: 1.7;
      font-size: 1.05rem;
    }.page-student-register .intro-card ul{
      margin: 0;
      padding-left: 18px;
      color: #334155;
      line-height: 1.7;
      font-size: 1.02rem;
    }.page-student-register .brand{
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
    }.page-student-register .brand img{
      height: 44px;
    }.page-student-register .brand-name{
      font-weight: 800;
      color: var(--primary);
      font-size: 1.4rem;
      letter-spacing: 0.5px;
    }.page-student-register .brand-subtitle{
      font-size: 0.9rem;
      color: var(--muted);
    }.page-student-register .login-title{
      font-size: 1.9rem;
      margin: 6px 0 6px;
      color: var(--text);
    }.page-student-register .login-subtitle{
      margin: 0 0 24px;
      color: var(--muted);
      font-size: 0.98rem;
    }.page-student-register .register-form{
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 10px;
    }.page-student-register .form-group{
      position: relative;
    }.page-student-register .form-group label{
      color: var(--text) !important;
      font-weight: 600 !important;
      font-size: 0.95rem !important;
      margin-bottom: 0.5rem !important;
      display: block;
    }.page-student-register .form-group input{
      width: 100%;
      padding: 12px 16px;
      border: 1px solid var(--stroke);
      border-radius: 14px;
      font-size: 1rem;
      transition: all 0.2s ease;
      background: #fbfbff;
      box-sizing: border-box;
    }.page-student-register .form-group input:focus{
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(28, 126, 214, 0.2);
      outline: none;
    }.page-student-register .password-input-container{
      position: relative;
      display: flex;
      align-items: center;
    }.page-student-register .password-input-container input{
      padding-right: 50px;
    }.page-student-register .password-toggle{
      position: absolute;
      right: 10px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      border-radius: 6px;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-student-register .password-toggle:hover{
      background: rgba(28, 126, 214, 0.12);
    }.page-student-register .eye-icon{
      font-size: 1.1rem;
      color: var(--primary);
      transition: all 0.3s ease;
    }.page-student-register .password-toggle.show-password .eye-icon{
      color: var(--primary-dark);
    }.page-student-register .password-requirements{
      margin-top: 8px;
      padding: 12px;
      background: #f8fafc;
      border-radius: 10px;
      border: 1px solid rgba(28, 126, 214, 0.18);
      font-size: 0.85rem;
    }.page-student-register .requirement{
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 4px;
      color: #4b5563;
      transition: all 0.3s ease;
    }.page-student-register .requirement:last-child{
      margin-bottom: 0;
    }.page-student-register .requirement-icon{
      font-size: 0.9rem;
      transition: all 0.3s ease;
    }.page-student-register .requirement.met{
      color: #16a34a;
    }.page-student-register .requirement.met .requirement-icon{
      color: #16a34a;
    }.page-student-register .register-btn{
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: white;
      border: none;
      border-radius: 14px;
      padding: 14px 30px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 14px 24px rgba(28, 126, 214, 0.25);
      width: 100%;
      display: block !important;
      margin-top: 10px;
    }.page-student-register .register-btn:hover{
      transform: translateY(-1px);
      box-shadow: 0 18px 28px rgba(28, 126, 214, 0.3);
    }.page-student-register .register-btn:disabled{
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }.page-student-register .register-error{
      font-size: 1rem;
      margin-top: 8px;
      text-align: center;
      display: none;
      width: 100%;
      padding: 12px;
      border-radius: 12px;
      font-weight: 500;
      background: #fef2f2;
      border: 2px solid #fecaca;
      color: #dc2626;
    }.page-student-register .register-success{
      background: #f0fdf4;
      border: 2px solid #bbf7d0;
      color: #16a34a;
    }.page-student-register .links-container{
      margin-top: 1.5rem;
      text-align: left;
      display: grid;
      gap: 10px;
    }.page-student-register .links-container a{
      color: var(--primary);
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 600;
      transition: all 0.2s ease;
      padding: 10px 14px;
      border-radius: 10px;
      background: rgba(28, 126, 214, 0.08);
      display: inline-flex;
      align-items: center;
    }.page-student-register .links-container a:hover{
      background: rgba(28, 126, 214, 0.15);
      transform: translateX(2px);
    }@media (max-width: 900px){.page-student-register .login-card{
        grid-template-columns: 1fr;
      }.page-student-register .login-panel{
        padding: 32px 28px;
      }
    }.page-student-register /* Plan Selection Modal */
    .plan-modal{
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 3000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }.page-student-register .plan-modal-content{
      background: white;
      border-radius: 20px;
      padding: 40px;
      max-width: 1200px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      position: relative;
    }.page-student-register .plans-grid-modal{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 24px;
      margin-top: 30px;
    }.page-student-register .plan-card-modal{
      background: white;
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      text-align: center;
      transition: all 0.3s ease;
      border: 3px solid transparent;
      position: relative;
    }.page-student-register .plan-card-modal.featured-modal{
      border-color: #FFD700;
      transform: scale(1.05);
    }.page-student-register .plan-card-modal:hover{
      transform: translateY(-5px);
      border-color: #667eea;
      box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }.page-student-register .plan-card-modal.featured-modal:hover{
      transform: scale(1.08) translateY(-5px);
    }.page-student-register .plan-badge-modal{
      position: absolute;
      top: -12px;
      right: 15px;
      background: linear-gradient(135deg, #FFD700, #FFE66D);
      color: #1E3A5F;
      padding: 6px 16px;
      border-radius: 15px;
      font-weight: 800;
      font-size: 0.85rem;
    }.page-student-register .plan-name-modal{
      font-size: 1.5rem;
      font-weight: 800;
      color: #667eea;
      margin-bottom: 10px;
    }.page-student-register .plan-price-modal{
      font-size: 2.5rem;
      font-weight: 800;
      color: #667eea;
      margin-bottom: 5px;
    }.page-student-register .plan-period-modal{
      color: #4A6FA5;
      margin-bottom: 16px;
      font-size: 0.9rem;
    }.page-student-register .plan-features-modal{
      list-style: none;
      margin: 20px 0;
      text-align: left;
      padding: 0;
    }.page-student-register .plan-features-modal li{
      padding: 8px 0;
      color: #1E3A5F;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.9rem;
    }.page-student-register .plan-features-modal li::before{
      content: '✓';
      color: #4CAF50;
      font-weight: 800;
      font-size: 1.2rem;
    }.page-student-register .plan-btn-modal{
      width: 100%;
      padding: 14px;
      background: linear-gradient(45deg, #667eea, #764ba2);
      color: white;
      border: 2px solid #FFD700;
      border-radius: 10px;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-top: 20px;
    }.page-student-register .plan-btn-modal:hover{
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }@media (max-width: 768px){body.page-student-register{
        padding: 10px;
      }
    }@media (max-width: 480px){.page-student-register .links-container a{
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
      }
    }


/* --- Source: public/student-reschedule.html --- */
body.page-student-reschedule{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            margin: 0;
            padding: 20px;
        }.page-student-reschedule .container{
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            overflow: hidden;
        }.page-student-reschedule .header{
            background: linear-gradient(135deg, #1ca7e7 0%, #168fc1 100%);
            color: white;
            padding: 30px;
            text-align: center;
        }.page-student-reschedule .header h1{
            margin: 0;
            font-size: 2rem;
            font-weight: 700;
        }.page-student-reschedule .header p{
            margin: 10px 0 0 0;
            opacity: 0.9;
            font-size: 1.1rem;
        }.page-student-reschedule .content{
            padding: 40px;
        }.page-student-reschedule .issue-info{
            background: #f8f9fa;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 30px;
            border-left: 4px solid #1ca7e7;
        }.page-student-reschedule .issue-info h3{
            margin: 0 0 15px 0;
            color: #1ca7e7;
            font-size: 1.3rem;
        }.page-student-reschedule .issue-details{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 20px;
        }.page-student-reschedule .issue-detail{
            display: flex;
            flex-direction: column;
            gap: 5px;
        }.page-student-reschedule .issue-detail label{
            font-weight: 600;
            color: #374151;
            font-size: 0.9rem;
        }.page-student-reschedule .issue-detail span{
            color: #6b7280;
            font-size: 1rem;
        }.page-student-reschedule .deadline-warning{
            background: #fef3c7;
            border: 1px solid #f59e0b;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 25px;
        }.page-student-reschedule .deadline-warning h4{
            margin: 0 0 8px 0;
            color: #92400e;
            font-size: 1.1rem;
        }.page-student-reschedule .deadline-warning p{
            margin: 0;
            color: #92400e;
            font-size: 0.95rem;
        }.page-student-reschedule .countdown{
            font-weight: 700;
            font-size: 1.2rem;
            color: #dc2626;
        }.page-student-reschedule .reschedule-form{
            background: #f8f9fa;
            border-radius: 10px;
            padding: 25px;
        }.page-student-reschedule .form-group{
            margin-bottom: 20px;
        }.page-student-reschedule .form-group label{
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #374151;
        }.page-student-reschedule .form-group input, .page-student-reschedule .form-group select{
            width: 100%;
            padding: 12px;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }.page-student-reschedule .form-group input:focus, .page-student-reschedule .form-group select:focus{
            outline: none;
            border-color: #1ca7e7;
        }.page-student-reschedule .time-slots{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 10px;
            margin-top: 10px;
        }.page-student-reschedule .time-slot{
            padding: 10px;
            border: 2px solid #e5e7eb;
            border-radius: 6px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            background: white;
        }.page-student-reschedule .time-slot:hover{
            border-color: #1ca7e7;
            background: #f0f9ff;
        }.page-student-reschedule .time-slot.selected{
            border-color: #1ca7e7;
            background: #1ca7e7;
            color: white;
        }.page-student-reschedule .time-slot.disabled{
            background: #f3f4f6;
            color: #9ca3af;
            cursor: not-allowed;
            border-color: #d1d5db;
        }.page-student-reschedule .btn{
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }.page-student-reschedule .btn-primary{
            background: #1ca7e7;
            color: white;
        }.page-student-reschedule .btn-primary:hover{
            background: #168fc1;
        }.page-student-reschedule .btn-secondary{
            background: #6b7280;
            color: white;
        }.page-student-reschedule .btn-secondary:hover{
            background: #4b5563;
        }.page-student-reschedule .btn-danger{
            background: #ef4444;
            color: white;
        }.page-student-reschedule .btn-danger:hover{
            background: #dc2626;
        }.page-student-reschedule .btn:disabled{
            background: #d1d5db;
            color: #9ca3af;
            cursor: not-allowed;
        }.page-student-reschedule .actions{
            display: flex;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }.page-student-reschedule .notification{
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-weight: 600;
        }.page-student-reschedule .notification.success{
            background: #d1fae5;
            color: #065f46;
            border: 1px solid #10b981;
        }.page-student-reschedule .notification.error{
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #ef4444;
        }.page-student-reschedule .notification.warning{
            background: #fef3c7;
            color: #92400e;
            border: 1px solid #f59e0b;
        }@media (max-width: 768px){.page-student-reschedule .container{
                margin: 10px;
                border-radius: 10px;
            }.page-student-reschedule .content{
                padding: 20px;
            }.page-student-reschedule .issue-details{
                grid-template-columns: 1fr;
            }.page-student-reschedule .actions{
                flex-direction: column;
            }.page-student-reschedule .time-slots{
                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            }
        }


/* --- Source: public/student-reset-password.html --- */
body.page-student-reset-password{ background: #f4f7fb; }.page-student-reset-password .reset-container{
      max-width: 370px;
      margin: 70px auto;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 24px rgba(28,167,231,0.08);
      padding: 38px 32px 32px 32px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }.page-student-reset-password .reset-title{
      font-size: 1.5rem;
      font-weight: 700;
      color: #1ca7e7;
      margin-bottom: 18px;
    }.page-student-reset-password .reset-form{
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 10px;
    }.page-student-reset-password .reset-form input[type="password"]{
      width: 100%;
      padding: 0.7rem 1rem;
      border-radius: 6px;
      border: 1px solid #ccc;
      font-size: 1rem;
    }.page-student-reset-password .reset-form button{
      background: #1ca7e7;
      color: #fff;
      border: none;
      border-radius: 6px;
      padding: 0.7rem 1.5rem;
      font-size: 1rem;
      cursor: pointer;
      font-weight: 500;
    }.page-student-reset-password .reset-message{
      color: #27ae60;
      font-size: 1rem;
      margin-top: 8px;
      text-align: center;
      display: none;
    }.page-student-reset-password .reset-error{
      color: #e74c3c;
      font-size: 1rem;
      margin-top: 8px;
      text-align: center;
      display: none;
    }.page-student-reset-password .back-link{
      margin-top: 18px;
      color: #1ca7e7;
      text-decoration: underline;
      font-size: 1rem;
      display: block;
      text-align: center;
    }


/* --- Source: public/student-waiting-room.html --- */
.page-student-waiting-room *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }body.page-student-waiting-room{
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #333;
        }.page-student-waiting-room .waiting-container{
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            max-width: 600px;
            width: 90%;
            text-align: center;
        }.page-student-waiting-room .waiting-icon{
            font-size: 4rem;
            margin-bottom: 20px;
            animation: pulse 2s infinite;
        }.page-student-waiting-room .waiting-title{
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }.page-student-waiting-room .waiting-subtitle{
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 30px;
            line-height: 1.5;
        }.page-student-waiting-room .waiting-spinner{
            width: 50px;
            height: 50px;
            border: 5px solid rgba(102,126,234,0.3);
            border-top: 5px solid #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 30px;
        }.page-student-waiting-room .status-message{
            font-size: 1.1rem;
            color: #667eea;
            font-weight: 600;
            margin-bottom: 30px;
        }.page-student-waiting-room .device-check-section{
            background: #f8f9fa;
            border-radius: 12px;
            padding: 25px;
            margin: 25px 0;
            text-align: left;
        }.page-student-waiting-room .device-check-title{
            font-size: 1.3rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 15px;
            text-align: center;
        }.page-student-waiting-room .device-item{
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #e9ecef;
        }.page-student-waiting-room .device-item:last-child{
            border-bottom: none;
        }.page-student-waiting-room .device-name{
            font-weight: 500;
            color: #333;
        }.page-student-waiting-room .device-status{
            display: flex;
            align-items: center;
            gap: 8px;
        }.page-student-waiting-room .status-icon{
            font-size: 1.2rem;
        }.page-student-waiting-room .status-text{
            font-size: 0.9rem;
            font-weight: 500;
        }.page-student-waiting-room .status-success{
            color: #28a745;
        }.page-student-waiting-room .status-error{
            color: #dc3545;
        }.page-student-waiting-room .status-warning{
            color: #ffc107;
        }.page-student-waiting-room .class-info{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 12px;
            padding: 20px;
            margin: 25px 0;
        }.page-student-waiting-room .class-info h3{
            font-size: 1.2rem;
            margin-bottom: 10px;
        }.page-student-waiting-room .class-details{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-top: 15px;
        }.page-student-waiting-room .class-detail{
            text-align: center;
        }.page-student-waiting-room .class-detail-label{
            font-size: 0.9rem;
            opacity: 0.8;
            margin-bottom: 5px;
        }.page-student-waiting-room .class-detail-value{
            font-size: 1.1rem;
            font-weight: 600;
        }.page-student-waiting-room .action-buttons{
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 30px;
        }.page-student-waiting-room .btn{
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }.page-student-waiting-room .btn-primary{
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            color: white;
        }.page-student-waiting-room .btn-primary:hover{
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(40,167,69,0.3);
        }.page-student-waiting-room .btn-secondary{
            background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
            color: white;
        }.page-student-waiting-room .btn-secondary:hover{
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(108,117,125,0.3);
        }.page-student-waiting-room .btn-warning{
            background: #ffc107;
            color: #212529;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s;
        }.page-student-waiting-room .btn-warning:hover{
            background: #e0a800;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255,193,7,0.3);
        }.page-student-waiting-room .btn:disabled{
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }.page-student-waiting-room .notification{
            position: fixed;
            top: 20px;
            right: 20px;
            background: white;
            border-radius: 8px;
            padding: 15px 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }.page-student-waiting-room .notification.show{
            transform: translateX(0);
        }.page-student-waiting-room .notification.success{
            border-left: 4px solid #28a745;
        }.page-student-waiting-room .notification.error{
            border-left: 4px solid #dc3545;
        }.page-student-waiting-room .notification.warning{
            border-left: 4px solid #ffc107;
        }@keyframes pulse{
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }@keyframes spin{
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }.page-student-waiting-room .loading-overlay{
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            color: white;
            font-size: 1.2rem;
        }.page-student-waiting-room .loading-spinner{
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255,255,255,0.3);
            border-top: 4px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 15px;
        }


/* --- Source: public/student-watch-videos.html --- */
body.page-student-watch-videos{
      margin: 0;
      font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
      background: #f6fbff;
    }.page-student-watch-videos .remoed-main{ display: flex; min-height: 100vh; }.page-student-watch-videos .content{
      margin-left: 260px;
      width: calc(100% - 260px);
      box-sizing: border-box;
      padding: 22px;
    }.page-student-watch-videos .card{
      background: #fff;
      border: 1px solid #d8e8ff;
      border-radius: 14px;
      padding: 18px;
      max-width: 900px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }.page-student-watch-videos h1{ margin: 0 0 8px; color: #1CA7E7; font-size: 1.7rem; }.page-student-watch-videos p{ margin: 0 0 12px; color: #334155; }.page-student-watch-videos .coming{
      margin-top: 10px;
      padding: 10px 12px;
      border-radius: 10px;
      background: #eef7ff;
      color: #1e3a8a;
      font-weight: 600;
    }


/* --- Source: public/teacher-assessment.html --- */
body.page-teacher-assessment{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #F0F2F5; 
            margin: 0;
            padding: 0;
        }.page-teacher-assessment .container{
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 24px;
        }.page-teacher-assessment .header{
            background: white;
            border-radius: 16px;
            padding: 32px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            text-align: center;
        }.page-teacher-assessment .header h1{
            color: #667eea;
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 12px;
        }.page-teacher-assessment .header p{
            color: #64748b;
            font-size: 1.1rem;
        }.page-teacher-assessment .progress-bar{
            background: #e2e8f0;
            border-radius: 10px;
            height: 8px;
            margin: 24px 0;
            overflow: hidden;
        }.page-teacher-assessment .progress-fill{
            background: linear-gradient(90deg, #667eea, #764ba2);
            height: 100%;
            transition: width 0.3s ease;
            border-radius: 10px;
        }.page-teacher-assessment .test-card{
            background: white;
            border-radius: 16px;
            padding: 32px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            display: none;
        }.page-teacher-assessment .test-card.active{
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }.page-teacher-assessment .test-card.completed{
            border-left: 4px solid #10b981;
        }.page-teacher-assessment .test-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 2px solid #e2e8f0;
        }.page-teacher-assessment .test-title{
            font-size: 1.5rem;
            font-weight: 700;
            color: #1E3A5F;
        }.page-teacher-assessment .test-status{
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
        }.page-teacher-assessment .test-status.pending{
            background: #fef3c7;
            color: #92400e;
        }.page-teacher-assessment .test-status.completed{
            background: #d1fae5;
            color: #065f46;
        }.page-teacher-assessment .test-instructions{
            background: #f8f9fa;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 24px;
            border-left: 4px solid #667eea;
        }.page-teacher-assessment .test-instructions h4{
            color: #667eea;
            margin-bottom: 12px;
        }.page-teacher-assessment .test-instructions ul{
            margin: 12px 0;
            padding-left: 24px;
        }.page-teacher-assessment .test-instructions li{
            margin-bottom: 8px;
            color: #1E3A5F;
        }.page-teacher-assessment .audio-player{
            background: #f8f9fa;
            padding: 20px;
            border-radius: 12px;
            margin: 20px 0;
            text-align: center;
        }.page-teacher-assessment .audio-controls{
            display: flex;
            gap: 12px;
            justify-content: center;
            align-items: center;
            margin-top: 16px;
        }.page-teacher-assessment .btn{
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }.page-teacher-assessment .btn-primary{
            background: #667eea;
            color: white;
        }.page-teacher-assessment .btn-primary:hover{
            background: #5a67d8;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
        }.page-teacher-assessment .btn-secondary{
            background: #e2e8f0;
            color: #1E3A5F;
        }.page-teacher-assessment .btn-secondary:hover{
            background: #cbd5e0;
        }.page-teacher-assessment .btn-success{
            background: #10b981;
            color: white;
        }.page-teacher-assessment .btn-success:hover{
            background: #059669;
        }.page-teacher-assessment .btn:disabled{
            opacity: 0.5;
            cursor: not-allowed;
        }.page-teacher-assessment .recording-controls{
            display: flex;
            gap: 12px;
            justify-content: center;
            margin: 20px 0;
        }.page-teacher-assessment .recording-status{
            text-align: center;
            margin: 16px 0;
            font-weight: 600;
            color: #667eea;
        }.page-teacher-assessment .recording-status.recording{
            color: #ef4444;
            animation: pulse 1.5s infinite;
        }@keyframes pulse{
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }.page-teacher-assessment .typing-test{
            background: #f8f9fa;
            padding: 24px;
            border-radius: 12px;
            margin: 20px 0;
        }.page-teacher-assessment .typing-prompt{
            background: white;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 16px;
            font-size: 1.1rem;
            line-height: 1.8;
            color: #1E3A5F;
            border: 2px solid #e2e8f0;
        }.page-teacher-assessment .typing-input{
            width: 100%;
            min-height: 150px;
            padding: 16px;
            border: 2px solid #667eea;
            border-radius: 8px;
            font-size: 1rem;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            resize: vertical;
            /* Disable Grammarly and spell check */
            spellcheck: false;
        }.page-teacher-assessment /* Prevent Grammarly from injecting styles */
        .typing-input[data-gramm="false"], .page-teacher-assessment .typing-input[data-gramm_editor="false"]{
            background: white !important;
        }.page-teacher-assessment /* Hide Grammarly suggestions */
        grammarly-desktop-integration, .page-teacher-assessment grammarly-extension{
            display: none !important;
        }.page-teacher-assessment .typing-stats{
            display: flex;
            gap: 24px;
            margin-top: 16px;
            justify-content: center;
        }.page-teacher-assessment .stat-item{
            text-align: center;
        }.page-teacher-assessment .stat-value{
            font-size: 1.5rem;
            font-weight: 700;
            color: #667eea;
        }.page-teacher-assessment .stat-label{
            font-size: 0.875rem;
            color: #64748b;
            margin-top: 4px;
        }.page-teacher-assessment .question-card{
            background: #f8f9fa;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 16px;
        }.page-teacher-assessment .question-title{
            font-weight: 700;
            color: #1E3A5F;
            margin-bottom: 12px;
        }.page-teacher-assessment .question-options{
            display: grid;
            gap: 8px;
        }.page-teacher-assessment .question-options label{
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 10px;
            background: white;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            cursor: pointer;
        }.page-teacher-assessment .question-options input[type="radio"]{
            accent-color: #667eea;
        }.page-teacher-assessment .pronunciation-words{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin: 24px 0;
        }.page-teacher-assessment .word-card{
            background: #f8f9fa;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            border: 2px solid #e2e8f0;
        }.page-teacher-assessment .word-card.recorded{
            border-color: #10b981;
            background: #d1fae5;
        }.page-teacher-assessment #listening-sentences-container{
            margin: 24px 0;
        }.page-teacher-assessment #listening-sentences-container .word-card{
            background: white;
            border: 2px solid #e2e8f0;
            transition: all 0.3s ease;
        }.page-teacher-assessment #listening-sentences-container .word-card.recorded{
            border-color: #10b981;
            background: #f0fdf4;
        }.page-teacher-assessment .word-text{
            font-size: 1.5rem;
            font-weight: 700;
            color: #1E3A5F;
            margin-bottom: 12px;
        }.page-teacher-assessment .word-audio-btn{
            padding: 8px 16px;
            background: #667eea;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.875rem;
        }.page-teacher-assessment .word-audio-btn:hover{
            background: #5a67d8;
        }.page-teacher-assessment .word-status{
            margin-top: 8px;
            font-size: 0.75rem;
            color: #64748b;
        }.page-teacher-assessment .word-status.recorded{
            color: #10b981;
            font-weight: 600;
        }.page-teacher-assessment .navigation-buttons{
            display: flex;
            gap: 12px;
            justify-content: space-between;
            margin-top: 32px;
        }.page-teacher-assessment .error-message{
            background: #fee2e2;
            color: #991b1b;
            padding: 12px 16px;
            border-radius: 8px;
            margin: 16px 0;
            display: none;
        }.page-teacher-assessment .success-message{
            background: #d1fae5;
            color: #065f46;
            padding: 12px 16px;
            border-radius: 8px;
            margin: 16px 0;
            display: none;
        }.page-teacher-assessment .reading-text{
            background: white;
            padding: 24px;
            border-radius: 12px;
            margin: 20px 0;
            font-size: 1.1rem;
            line-height: 1.8;
            color: #1E3A5F;
            border: 2px solid #e2e8f0;
        }


/* --- Source: public/teacher-attendance-analysis.html --- */
body.page-teacher-attendance-analysis{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #f8fafc; 
            color: #1a202c;
            margin: 0;
            padding: 0;
        }.page-teacher-attendance-analysis .remoed-main{
            display: flex;
            min-height: 100vh;
        }.page-teacher-attendance-analysis .remoed-content{
            flex: 1;
            padding: 36px 40px;
            margin-left: 260px;
            max-width: calc(100vw - 260px);
        }.page-teacher-attendance-analysis .page-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
        }.page-teacher-attendance-analysis .page-header h1{
            color: #667eea;
            font-size: 2rem;
            font-weight: 700;
            margin: 0;
        }.page-teacher-attendance-analysis .period-selector{
            display: flex;
            gap: 12px;
            align-items: center;
        }.page-teacher-attendance-analysis .period-btn{
            padding: 8px 16px;
            border: 2px solid #667eea;
            background: white;
            color: #667eea;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }.page-teacher-attendance-analysis .period-btn.active{
            background: #667eea;
            color: white;
        }.page-teacher-attendance-analysis .period-btn:hover{
            background: #667eea;
            color: white;
        }.page-teacher-attendance-analysis .stats-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 24px;
            margin-bottom: 32px;
        }.page-teacher-attendance-analysis .stat-card{
            background: white;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            border-left: 4px solid;
        }.page-teacher-attendance-analysis .stat-card.completed{ border-left-color: #28a745; }.page-teacher-attendance-analysis .stat-card.absent{ border-left-color: #dc3545; }.page-teacher-attendance-analysis .stat-card.cancelled{ border-left-color: #ffc107; }.page-teacher-attendance-analysis .stat-card.late{ border-left-color: #fd7e14; }.page-teacher-attendance-analysis .stat-card.system-issue{ border-left-color: #6f42c1; }.page-teacher-attendance-analysis .stat-card.teacher-issue{ border-left-color: #e83e8c; }.page-teacher-attendance-analysis .stat-card.student-issue{ border-left-color: #20c997; }.page-teacher-attendance-analysis .stat-label{
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 8px;
            font-weight: 600;
        }.page-teacher-attendance-analysis .stat-value{
            font-size: 2rem;
            font-weight: 700;
            color: #1a202c;
        }.page-teacher-attendance-analysis .metrics-section{
            background: white;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 32px;
        }.page-teacher-attendance-analysis .metrics-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 24px;
        }.page-teacher-attendance-analysis .metric-item{
            text-align: center;
        }.page-teacher-attendance-analysis .metric-label{
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 8px;
        }.page-teacher-attendance-analysis .metric-value{
            font-size: 1.8rem;
            font-weight: 700;
            color: #667eea;
        }.page-teacher-attendance-analysis .breakdown-section{
            background: white;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 24px;
        }.page-teacher-attendance-analysis .breakdown-header{
            font-size: 1.2rem;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid #e2e8f0;
        }.page-teacher-attendance-analysis .breakdown-list{
            max-height: 300px;
            overflow-y: auto;
        }.page-teacher-attendance-analysis .breakdown-item{
            padding: 12px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }.page-teacher-attendance-analysis .breakdown-item:last-child{
            border-bottom: none;
        }.page-teacher-attendance-analysis .breakdown-date{
            font-weight: 600;
            color: #1a202c;
        }.page-teacher-attendance-analysis .breakdown-time{
            color: #666;
            font-size: 0.9rem;
        }.page-teacher-attendance-analysis .loading{
            text-align: center;
            padding: 40px;
            color: #666;
        }.page-teacher-attendance-analysis .error{
            background: #fee;
            color: #c33;
            padding: 16px;
            border-radius: 8px;
            margin: 16px 0;
        }.page-teacher-attendance-analysis #remo-ai-chatbot{
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 380px;
            height: 600px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            display: none;
            flex-direction: column;
            overflow: hidden;
            transition: all 0.3s ease;
        }.page-teacher-attendance-analysis #remo-ai-chatbot.open{
            display: flex;
        }.page-teacher-attendance-analysis .chatbot-header{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 20px 20px 0 0;
        }.page-teacher-attendance-analysis .chatbot-header h3{
            margin: 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }.page-teacher-attendance-analysis .chatbot-close{
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }.page-teacher-attendance-analysis .chatbot-close:hover{
            background: rgba(255, 255, 255, 0.3);
        }.page-teacher-attendance-analysis .chatbot-messages{
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: #f8fafc;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }.page-teacher-attendance-analysis .chatbot-message{
            display: flex;
            gap: 10px;
            animation: fadeIn 0.3s ease;
        }.page-teacher-attendance-analysis .chatbot-message.user{
            flex-direction: row-reverse;
        }.page-teacher-attendance-analysis .message-avatar{
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }.page-teacher-attendance-analysis .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-attendance-analysis .chatbot-message.user .message-avatar{
            background: #e2e8f0;
            color: #667eea;
        }.page-teacher-attendance-analysis .message-content{
            max-width: 75%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 0.9rem;
            line-height: 1.5;
        }.page-teacher-attendance-analysis .chatbot-message.bot .message-content{
            background: white;
            color: #1a202c;
            border: 1px solid #e2e8f0;
        }.page-teacher-attendance-analysis .chatbot-message.user .message-content{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-attendance-analysis .message-buttons{
            margin-top: 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }.page-teacher-attendance-analysis .message-button{
            padding: 10px 14px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 8px;
        }.page-teacher-attendance-analysis .message-button:hover{
            background: #e2e8f0;
            border-color: #667eea;
            transform: translateX(4px);
        }.page-teacher-attendance-analysis .message-button-icon{
            font-size: 1rem;
        }.page-teacher-attendance-analysis .quick-actions{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }.page-teacher-attendance-analysis .quick-action-btn{
            padding: 8px 12px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
        }.page-teacher-attendance-analysis .quick-action-btn:hover{
            background: #e2e8f0;
            transform: translateY(-1px);
        }.page-teacher-attendance-analysis .chatbot-input-area{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 10px;
        }.page-teacher-attendance-analysis .chatbot-input{
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 25px;
            font-size: 0.9rem;
            outline: none;
        }.page-teacher-attendance-analysis .chatbot-input:focus{
            border-color: #667eea;
        }.page-teacher-attendance-analysis .chatbot-send{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s;
        }.page-teacher-attendance-analysis .chatbot-send:hover{
            transform: scale(1.1);
        }.page-teacher-attendance-analysis .chatbot-toggle{
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 20px rgba(255, 165, 0, 0.3);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s;
            padding: 0;
            overflow: visible;
        }.page-teacher-attendance-analysis .chatbot-toggle:hover{
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 30px rgba(255, 165, 0, 0.5);
        }.page-teacher-attendance-analysis .remo-ai-icon{
            width: 40px;
            height: 40px;
            filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
        }.page-teacher-attendance-analysis .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2px;
        }.page-teacher-attendance-analysis .chatbot-message.bot .message-avatar svg{
            width: 28px;
            height: 28px;
        }.page-teacher-attendance-analysis .chatbot-toggle.hidden{
            display: none;
        }@keyframes fadeIn{
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }.page-teacher-attendance-analysis .typing-indicator{
            display: flex;
            gap: 4px;
            padding: 12px 16px;
        }.page-teacher-attendance-analysis .typing-dot{
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #667eea;
            animation: typing 1.4s infinite;
        }.page-teacher-attendance-analysis .typing-dot:nth-child(2){
            animation-delay: 0.2s;
        }.page-teacher-attendance-analysis .typing-dot:nth-child(3){
            animation-delay: 0.4s;
        }@keyframes typing{
            0%, 60%, 100% {
                transform: translateY(0);
            }
            30% {
                transform: translateY(-10px);
            }
        }


/* --- Source: public/teacher-class-table-fixed.html --- */
body.page-teacher-class-table-fixed{ 
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
      background: linear-gradient(135deg, #f6fbff 0%, #e8f4fd 100%); 
      margin: 0;
      padding: 0;
    }.page-teacher-class-table-fixed .remoed-main{
      display: flex;
      min-height: 100vh;
      flex-direction: row;
      align-items: stretch;
      justify-content: flex-start;
      max-width: 100vw;
      overflow-x: hidden;
    }.page-teacher-class-table-fixed .remoed-sidebar{
      width: 260px;
      min-width: 220px;
      max-width: 280px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
      box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1);
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      height: 100vh;
      position: fixed;
      z-index: 100;
      border-right: 1px solid rgba(102, 126, 234, 0.1);
    }.page-teacher-class-table-fixed .remoed-logo{ 
      display: flex; 
      align-items: center; 
      gap: 14px; 
    }.page-teacher-class-table-fixed .remoed-logo img{ 
      height: 48px; 
    }.page-teacher-class-table-fixed .remoed-title{ 
      font-size: 1.7rem; 
      font-weight: 700; 
      color: #667eea; 
      letter-spacing: 1px; 
    }.page-teacher-class-table-fixed .remoed-user{ 
      display: flex; 
      align-items: center; 
      gap: 10px; 
    }.page-teacher-class-table-fixed .remoed-avatar{ 
      width: 72px; 
        // Defer DOM operations until DOM is ready to avoid null element access
        document.addEventListener('DOMContentLoaded', function () {
          const userType = localStorage.getItem('userType');
          if (userType !== 'teacher') {
            alert('Access denied. This page is for teachers only.');
            window.location.href = 'index.html';
            return;
          }

          const username = localStorage.getItem('remoedUsername') || 'Teacher';
          const teacherId = localStorage.getItem('teacherId');

          const avatarTextEl = document.getElementById('avatar-text');
          if (avatarTextEl) avatarTextEl.textContent = username[0].toUpperCase();

          const usernameEl = document.getElementById('remoed-username');
          if (usernameEl) usernameEl.textContent = 'Loading...';

          if (teacherId && typeof loadProfilePicture === 'function') {
            try { loadProfilePicture(teacherId); } catch (e) { /* ignore */ }
          }

          const openClassBtn = document.getElementById('open-class-btn');
          if (openClassBtn) openClassBtn.onclick = () => { window.location.href = 'teacher-open-class.html'; };

          const logoutNav = document.getElementById('logout-nav');
          if (logoutNav) {
            logoutNav.onclick = function() { localStorage.clear(); window.location.href = 'teacher-login.html'; };
          }
        });
      color: white; 
      transform: translateX(4px);
      transition: all 0.3s ease;
    }.page-teacher-class-table-fixed .remoed-menu svg{ 
      width: 20px; 
      height: 20px; 
      stroke: currentColor; 
    }.page-teacher-class-table-fixed .remoed-content{
      flex: 1;
      padding: 36px 20px 36px 20px;
      min-width: 0;
      background: #f6fbff;
      min-height: 100vh;
      box-sizing: border-box;
      margin-left: 260px;
      max-width: calc(100vw - 260px);
      overflow-x: auto;
    }.page-teacher-class-table-fixed .table-content{
      padding: 24px;
      max-width: 100%;
      overflow-x: auto;
      margin-right: 20px;
    }.page-teacher-class-table-fixed .class-grid{
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      max-width: 100%;
    }.page-teacher-class-table-fixed .header-controls{
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }.page-teacher-class-table-fixed .week-navigation{
      display: flex;
      align-items: center;
      gap: 16px;
    }.page-teacher-class-table-fixed .nav-btn{
      background: linear-gradient(135deg, #ffe85a, #f4d03f);
      color: #333;
      border: none;
      padding: 10px 18px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(255, 232, 90, 0.3);
    }.page-teacher-class-table-fixed .nav-btn:hover{
      background: linear-gradient(135deg, #f4d03f, #f1c40f);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 232, 90, 0.4);
    }.page-teacher-class-table-fixed .nav-btn:disabled{
      background: #ccc;
      cursor: not-allowed;
    }.page-teacher-class-table-fixed .week-display{
      font-weight: 600;
      color: #333;
      min-width: 120px;
      text-align: center;
    }.page-teacher-class-table-fixed .current-week-btn{
      background: linear-gradient(135deg, #28a745, #1e7e34) !important;
      color: white;
      box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
    }.page-teacher-class-table-fixed .current-week-btn:hover{
      background: linear-gradient(135deg, #1e7e34, #155724) !important;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
    }.page-teacher-class-table-fixed .open-class-btn{
      background: #667eea;
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 12px 24px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s;
    }.page-teacher-class-table-fixed .open-class-btn:hover{
      background: #5a67d8;
    }.page-teacher-class-table-fixed .class-table{
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      overflow: hidden;
      max-width: 100%;
    }.page-teacher-class-table-fixed .table-header{
      background: #f8f9fa;
      padding: 16px 20px;
      border-bottom: 1px solid #e0e6ed;
    }.page-teacher-class-table-fixed .table-header h2{
      color: #667eea;
      font-size: 1.5rem;
      font-weight: 600;
      margin: 0;
    }.page-teacher-class-table-fixed .table-content{
      padding: 24px;
      max-width: 100%;
      overflow-x: auto;
    }.page-teacher-class-table-fixed .class-grid{
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
    }.page-teacher-class-table-fixed .class-card{
      background: #fff;
      border: 1px solid #e0e6ed;
      border-radius: 8px;
      padding: 20px;
      transition: box-shadow 0.2s;
    }.page-teacher-class-table-fixed .class-card:hover{
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }.page-teacher-class-table-fixed .class-time{
      font-size: 1.1rem;
      font-weight: 600;
      color: #667eea;
      margin-bottom: 8px;
    }.page-teacher-class-table-fixed .class-date{
      color: #666;
      font-size: 0.9rem;
      margin-bottom: 12px;
    }.page-teacher-class-table-fixed .class-status{
      display: inline-block;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
    }.page-teacher-class-table-fixed .status-open{
      background: #d4edda;
      color: #155724;
    }.page-teacher-class-table-fixed .status-booked{
      background: #f8d7da;
      color: #721c24;
    }.page-teacher-class-table-fixed .status-completed{
      background: #d1ecf1;
      color: #0c5460;
    }.page-teacher-class-table-fixed .class-student{
      font-size: 0.8rem;
      color: #666;
      margin-top: 4px;
    }.page-teacher-class-table-fixed .weekly-grid{
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(28, 167, 231, 0.1);
      overflow: auto;
      max-height: calc(100vh - 200px);
      max-width: 100%;
      box-sizing: border-box;
      border: 1px solid rgba(28, 167, 231, 0.1);
    }.page-teacher-class-table-fixed .schedule-table{
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      margin: 0;
      min-width: 800px;
    }.page-teacher-class-table-fixed .schedule-table th, .page-teacher-class-table-fixed .schedule-table td{
      border: 1px solid #e0e6ed;
      padding: 12px 8px;
      text-align: center;
      vertical-align: middle;
    }.page-teacher-class-table-fixed .schedule-table th{
      background: linear-gradient(135deg, #667eea, #5a67d8);
      font-weight: 600;
      color: white;
      position: sticky;
      top: 0;
      z-index: 5;
      text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }.page-teacher-class-table-fixed .time-column{
      width: 80px;
      position: sticky;
      left: 0;
      background: #f8f9fa;
      z-index: 3;
    }.page-teacher-class-table-fixed .day-column{
      width: calc((100% - 80px) / 7);
      line-height: 1.2;
      padding: 8px 4px;
    }.page-teacher-class-table-fixed .day-column br{
      margin: 2px 0;
    }.page-teacher-class-table-fixed .time-slot{
      font-size: 0.9rem;
      color: #666;
      min-height: 40px;
    }.page-teacher-class-table-fixed .time-slot.open{
      background: #90EE90;
      color: #333;
      font-weight: 600;
    }.page-teacher-class-table-fixed .time-slot.booked{
      background: #ffe85a !important;
      color: #667eea !important;
      font-weight: 600;
    }.page-teacher-class-table-fixed .time-slot.finished{
      background: #cce5ff !important;
      color: #004085 !important;
      font-weight: 600;
    }.page-teacher-class-table-fixed .time-slot.absent{
      background: #ff6b6b;
      color: white;
      font-weight: 600;
    }.page-teacher-class-table-fixed .time-slot.student-absent{
      background: #ff8c42;
      color: white;
      font-weight: 600;
    }.page-teacher-class-table-fixed .time-slot.unavailable{
      background: #f8f9fa;
      color: #6c757d;
    }.page-teacher-class-table-fixed .time-slot.unbooked{
      background: #f8f9fa;
      color: #6c757d;
      font-weight: normal;
      cursor: default;
    }.page-teacher-class-table-fixed .time-slot.past{
      background: #f8f9fa !important;
      color: #6c757d !important;
      font-weight: normal;
      cursor: not-allowed;
    }.page-teacher-class-table-fixed .legend{
      display: flex;
      gap: 16px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }.page-teacher-class-table-fixed .legend-item{
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
    }.page-teacher-class-table-fixed .legend-color{
      width: 20px;
      height: 20px;
      border-radius: 4px;
      border: 1px solid #e0e6ed;
    }@media (max-width: 1200px){.page-teacher-class-table-fixed .remoed-sidebar{
        width: 260px;
        min-width: 260px;
      }.page-teacher-class-table-fixed .remoed-content{
        margin-left: 260px;
        max-width: calc(100vw - 260px);
      }
    }@media (max-width: 900px){.page-teacher-class-table-fixed .remoed-main{
        flex-direction: column;
      }.page-teacher-class-table-fixed .remoed-sidebar{
        width: 100%;
        position: relative;
        height: auto;
      }.page-teacher-class-table-fixed .remoed-content{
        margin-left: 0;
        max-width: 100vw;
        padding: 20px 10px;
      }.page-teacher-class-table-fixed .weekly-grid{
        max-height: 60vh;
      }.page-teacher-class-table-fixed .schedule-table{
        min-width: 600px;
      }
    }.page-teacher-class-table-fixed /* Modal Styles */
    .modal{
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      backdrop-filter: blur(2px);
    }.page-teacher-class-table-fixed .modal-content{
      background-color: #fefefe;
      margin: 5% auto;
      padding: 0;
      border-radius: 12px;
      width: 90%;
      max-width: 500px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
      animation: modalSlideIn 0.3s ease-out;
      position: relative;
      top: 50%;
      transform: translateY(-50%);
    }@keyframes modalSlideIn{
      from {
        opacity: 0;
        transform: translateY(-50px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }.page-teacher-class-table-fixed .modal-header{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 24px 0 24px;
      border-bottom: 1px solid #e0e6ed;
    }.page-teacher-class-table-fixed .modal-header h2{
      margin: 0;
      color: #667eea;
      font-size: 1.5rem;
      font-weight: 600;
    }.page-teacher-class-table-fixed .close{
      color: #aaa;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
      line-height: 1;
      transition: color 0.2s;
    }.page-teacher-class-table-fixed .close:hover{
      color: #666;
    }.page-teacher-class-table-fixed .modal-body{
      padding: 24px;
    }.page-teacher-class-table-fixed .class-details{
      margin-bottom: 20px;
    }.page-teacher-class-table-fixed .detail-row{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid #f0f0f0;
    }.page-teacher-class-table-fixed .detail-row:last-child{
      border-bottom: none;
    }.page-teacher-class-table-fixed .detail-row label{
      font-weight: 600;
      color: #333;
      min-width: 120px;
    }.page-teacher-class-table-fixed .detail-row span{
      color: #666;
      text-align: right;
      flex: 1;
    }.page-teacher-class-table-fixed .btn-join{
      background: #667eea;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-class-table-fixed .btn-join:hover{
      background: #5a67d8;
    }.page-teacher-class-table-fixed .btn-cancel{
      background: #dc3545;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-class-table-fixed .btn-cancel:hover{
      background: #c82333;
    }.page-teacher-class-table-fixed .btn-secondary{
      background: #6c757d;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-class-table-fixed .btn-secondary:hover{
      background: #5a6268;
    }.page-teacher-class-table-fixed .btn-danger{
      background: #dc3545;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-class-table-fixed .btn-danger:hover{
      background: #c82333;
    }.page-teacher-class-table-fixed .modal-actions{
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      padding-top: 20px;
      border-top: 1px solid #e0e6ed;
    }


/* --- Source: public/teacher-class-table-old.html --- */
body.page-teacher-class-table-old{ 
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
      background: linear-gradient(135deg, #f6fbff 0%, #e8f4fd 100%); 
      margin: 0;
      padding: 0;
    }.page-teacher-class-table-old .remoed-main{
      display: flex;
      min-height: 100vh;
      flex-direction: row;
      align-items: stretch;
      justify-content: flex-start;
      max-width: 100vw;
      overflow-x: hidden;
    }.page-teacher-class-table-old .remoed-sidebar{
      width: 260px;
      min-width: 220px;
      max-width: 280px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
      box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1);
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      height: 100vh;
      position: fixed;
      z-index: 100;
      border-right: 1px solid rgba(102, 126, 234, 0.1);
    }.page-teacher-class-table-old .remoed-logo{ 
      display: flex; 
      align-items: center; 
      gap: 14px; 
    }.page-teacher-class-table-old .remoed-logo img{ 
      height: 48px; 
    }.page-teacher-class-table-old .remoed-title{ 
      font-size: 1.7rem; 
      font-weight: 700; 
      color: #667eea; 
      letter-spacing: 1px; 
    }.page-teacher-class-table-old .remoed-user{ 
      display: flex; 
      align-items: center; 
      gap: 10px; 
    }.page-teacher-class-table-old .remoed-avatar{ 
      width: 72px; 
      height: 72px; 
      border-radius: 50%; 
      background: #667eea; 
      color: #fff; 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      font-weight: bold; 
      font-size: 2.2rem; 
    }.page-teacher-class-table-old .remoed-username{ 
      color: #667eea; 
      font-weight: 600; 
    }.page-teacher-class-table-old .remoed-menu{ 
      list-style: none; 
      padding: 0; 
      margin: 0; 
    }.page-teacher-class-table-old .remoed-menu li{ 
      padding: 14px 32px; 
      color: #667eea; 
      font-weight: 500; 
      cursor: pointer; 
      display: flex; 
      align-items: center; 
      gap: 12px; 
      border-left: 4px solid transparent; 
      transition: background 0.2s, border-color 0.2s; 
    }.page-teacher-class-table-old .remoed-menu li.active, .page-teacher-class-table-old .remoed-menu li:hover{ 
      background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); 
      border-left: 4px solid #667eea; 
      color: white; 
      transform: translateX(4px);
      transition: all 0.3s ease;
    }.page-teacher-class-table-old .remoed-menu svg{ 
      width: 20px; 
      height: 20px; 
      stroke: currentColor; 
    }.page-teacher-class-table-old .remoed-content{
      flex: 1;
      padding: 36px 20px 36px 20px;
      min-width: 0;
      background: #f6fbff;
      min-height: 100vh;
      box-sizing: border-box;
      margin-left: 260px;
      max-width: calc(100vw - 260px);
      overflow-x: auto;
    }.page-teacher-class-table-old .table-content{
      padding: 24px;
      max-width: 100%;
      overflow-x: auto;
      margin-right: 20px;
    }.page-teacher-class-table-old .class-grid{
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      max-width: 100%;
    }.page-teacher-class-table-old .header-controls{
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }.page-teacher-class-table-old .week-navigation{
      display: flex;
      align-items: center;
      gap: 16px;
    }.page-teacher-class-table-old .nav-btn{
      background: linear-gradient(135deg, #ffe85a, #f4d03f);
      color: #333;
      border: none;
      padding: 10px 18px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(255, 232, 90, 0.3);
    }.page-teacher-class-table-old .nav-btn:hover{
      background: linear-gradient(135deg, #f4d03f, #f1c40f);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 232, 90, 0.4);
    }.page-teacher-class-table-old .nav-btn:disabled{
      background: #ccc;
      cursor: not-allowed;
    }.page-teacher-class-table-old .week-display{
      font-weight: 600;
      color: #333;
      min-width: 120px;
      text-align: center;
    }.page-teacher-class-table-old .current-week-btn{
      background: linear-gradient(135deg, #28a745, #1e7e34) !important;
      color: white;
      box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
    }.page-teacher-class-table-old .current-week-btn:hover{
      background: linear-gradient(135deg, #1e7e34, #155724) !important;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
    }.page-teacher-class-table-old .open-class-btn{
      background: #667eea;
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 12px 24px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s;
    }.page-teacher-class-table-old .open-class-btn:hover{
      background: #5a67d8;
    }.page-teacher-class-table-old .class-table{
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      overflow: hidden;
      max-width: 100%;
    }.page-teacher-class-table-old .table-header{
      background: #f8f9fa;
      padding: 16px 20px;
      border-bottom: 1px solid #e0e6ed;
    }.page-teacher-class-table-old .table-header h2{
      color: #667eea;
      font-size: 1.5rem;
      font-weight: 600;
      margin: 0;
    }.page-teacher-class-table-old .table-content{
      padding: 24px;
      max-width: 100%;
      overflow-x: auto;
    }.page-teacher-class-table-old .class-grid{
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
    }.page-teacher-class-table-old .class-card{
      background: #fff;
      border: 1px solid #e0e6ed;
      border-radius: 8px;
      padding: 20px;
      transition: box-shadow 0.2s;
    }.page-teacher-class-table-old .class-card:hover{
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }.page-teacher-class-table-old .class-time{
      font-size: 1.1rem;
      font-weight: 600;
      color: #667eea;
      margin-bottom: 8px;
    }.page-teacher-class-table-old .class-date{
      color: #666;
      font-size: 0.9rem;
      margin-bottom: 12px;
    }.page-teacher-class-table-old .class-status{
      display: inline-block;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
    }.page-teacher-class-table-old .status-open{
      background: #d4edda;
      color: #155724;
    }.page-teacher-class-table-old .status-booked{
      background: #f8d7da;
      color: #721c24;
    }.page-teacher-class-table-old .status-completed{
      background: #d1ecf1;
      color: #0c5460;
    }.page-teacher-class-table-old .class-student{
      font-size: 0.8rem;
      color: #666;
      margin-top: 4px;
    }.page-teacher-class-table-old .weekly-grid{
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(28, 167, 231, 0.1);
      overflow: auto;
      max-height: calc(100vh - 200px);
      max-width: 100%;
      box-sizing: border-box;
      border: 1px solid rgba(28, 167, 231, 0.1);
    }.page-teacher-class-table-old .schedule-table{
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      margin: 0;
      min-width: 800px;
    }.page-teacher-class-table-old .schedule-table th, .page-teacher-class-table-old .schedule-table td{
      border: 1px solid #e0e6ed;
      padding: 12px 8px;
      text-align: center;
      vertical-align: middle;
    }.page-teacher-class-table-old .schedule-table th{
      background: linear-gradient(135deg, #667eea, #5a67d8);
      font-weight: 600;
      color: white;
      position: sticky;
      top: 0;
      z-index: 5;
      text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }.page-teacher-class-table-old .time-column{
      width: 80px;
      position: sticky;
      left: 0;
      background: #f8f9fa;
      z-index: 3;
    }.page-teacher-class-table-old .day-column{
      width: calc((100% - 80px) / 7);
      line-height: 1.2;
      padding: 8px 4px;
    }.page-teacher-class-table-old .day-column br{
      margin: 2px 0;
    }.page-teacher-class-table-old .time-slot{
      font-size: 0.9rem;
      color: #666;
      min-height: 40px;
    }.page-teacher-class-table-old .time-slot.open{
      background: #90EE90;
      color: #333;
      font-weight: 600;
    }.page-teacher-class-table-old .time-slot.booked{
      background: #ffe85a !important;
      color: #667eea !important;
      font-weight: 600;
    }.page-teacher-class-table-old .time-slot.finished{
      background: #cce5ff !important;
      color: #004085 !important;
      font-weight: 600;
    }.page-teacher-class-table-old .time-slot.absent{
      background: #ff6b6b;
      color: white;
      font-weight: 600;
    }.page-teacher-class-table-old .time-slot.student-absent{
      background: #ff8c42;
      color: white;
      font-weight: 600;
    }.page-teacher-class-table-old .time-slot.unavailable{
      background: #f8f9fa;
      color: #6c757d;
    }.page-teacher-class-table-old .time-slot.unbooked{
      background: #f8f9fa;
      color: #6c757d;
      font-weight: normal;
      cursor: default;
    }.page-teacher-class-table-old .time-slot.past{
      background: #f8f9fa !important;
      color: #6c757d !important;
      font-weight: normal;
      cursor: not-allowed;
    }.page-teacher-class-table-old .legend{
      display: flex;
      gap: 16px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }.page-teacher-class-table-old .legend-item{
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
    }.page-teacher-class-table-old .legend-color{
      width: 20px;
      height: 20px;
      border-radius: 4px;
      border: 1px solid #e0e6ed;
    }@media (max-width: 1200px){.page-teacher-class-table-old .remoed-sidebar{
        width: 260px;
        min-width: 260px;
      }.page-teacher-class-table-old .remoed-content{
        margin-left: 260px;
        max-width: calc(100vw - 260px);
      }
    }@media (max-width: 900px){.page-teacher-class-table-old .remoed-main{
        flex-direction: column;
      }.page-teacher-class-table-old .remoed-sidebar{
        width: 100%;
        position: relative;
        height: auto;
      }.page-teacher-class-table-old .remoed-content{
        margin-left: 0;
        max-width: 100vw;
        padding: 20px 10px;
      }.page-teacher-class-table-old .weekly-grid{
        max-height: 60vh;
      }.page-teacher-class-table-old .schedule-table{
        min-width: 600px;
      }
    }.page-teacher-class-table-old /* Modal Styles */
    .modal{
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      backdrop-filter: blur(2px);
    }.page-teacher-class-table-old .modal-content{
      background-color: #fefefe;
      margin: 5% auto;
      padding: 0;
      border-radius: 12px;
      width: 90%;
      max-width: 500px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
      animation: modalSlideIn 0.3s ease-out;
      position: relative;
      top: 50%;
      transform: translateY(-50%);
    }@keyframes modalSlideIn{
      from {
        opacity: 0;
        transform: translateY(-50px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }.page-teacher-class-table-old .modal-header{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 24px 0 24px;
      border-bottom: 1px solid #e0e6ed;
    }.page-teacher-class-table-old .modal-header h2{
      margin: 0;
      color: #667eea;
      font-size: 1.5rem;
      font-weight: 600;
    }.page-teacher-class-table-old .close{
      color: #aaa;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
      line-height: 1;
      transition: color 0.2s;
    }.page-teacher-class-table-old .close:hover{
      color: #666;
    }.page-teacher-class-table-old .modal-body{
      padding: 24px;
    }.page-teacher-class-table-old .class-details{
      margin-bottom: 20px;
    }.page-teacher-class-table-old .detail-row{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid #f0f0f0;
    }.page-teacher-class-table-old .detail-row:last-child{
      border-bottom: none;
    }.page-teacher-class-table-old .detail-row label{
      font-weight: 600;
      color: #333;
      min-width: 120px;
    }.page-teacher-class-table-old .detail-row span{
      color: #666;
      text-align: right;
      flex: 1;
    }.page-teacher-class-table-old .btn-join{
      background: #667eea;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-class-table-old .btn-join:hover{
      background: #5a67d8;
    }.page-teacher-class-table-old .btn-cancel{
      background: #dc3545;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-class-table-old .btn-cancel:hover{
      background: #c82333;
    }.page-teacher-class-table-old .btn-secondary{
      background: #6c757d;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-class-table-old .btn-secondary:hover{
      background: #5a6268;
    }.page-teacher-class-table-old .btn-danger{
      background: #dc3545;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-class-table-old .btn-danger:hover{
      background: #c82333;
    }.page-teacher-class-table-old .modal-actions{
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      padding-top: 20px;
      border-top: 1px solid #e0e6ed;
    }


/* --- Source: public/teacher-class-table.html --- */
.page-teacher-class-table /* Base font for consistency */
    body{
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }.page-teacher-class-table /* Layout for main app shell */
    .remoed-main{
      display: flex;
    }.page-teacher-class-table .remoed-sidebar{
      width: 260px;
      min-width: 260px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
      box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1);
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      position: fixed;
      height: 100vh;
      overflow: hidden;
      z-index: 100;
    }.page-teacher-class-table .remoed-logo{ 
      display: flex; 
      align-items: center; 
      gap: 14px; 
    }.page-teacher-class-table .remoed-logo img{ 
      height: 48px; 
    }.page-teacher-class-table .remoed-title{ 
      font-size: 1.7rem; 
      font-weight: 700; 
      color: #667eea; 
      letter-spacing: 1px; 
    }.page-teacher-class-table .remoed-user{ 
      display: flex; 
      align-items: center; 
      gap: 10px; 
    }.page-teacher-class-table .remoed-avatar{ 
      width: 72px; 
      height: 72px; 
      border-radius: 50%; 
      background: #667eea; 
      color: #fff; 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      font-weight: bold; 
      font-size: 2.2rem; 
    }.page-teacher-class-table .remoed-username{ 
      color: #667eea; 
      font-weight: 600; 
    }.page-teacher-class-table .remoed-menu{ 
      list-style: none; 
      padding: 0; 
      margin: 0; 
    }.page-teacher-class-table .remoed-menu li{ 
      padding: 14px 32px; 
      color: #64748b; 
      font-weight: 500; 
      font-size: 0.875rem;
      cursor: pointer; 
      display: flex; 
      align-items: center; 
      gap: 12px; 
      border-left: 4px solid transparent; 
      transition: background 0.2s, border-color 0.2s; 
    }.page-teacher-class-table .remoed-menu li.active, .page-teacher-class-table .remoed-menu li:hover{ 
      background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%); 
      border-left: 4px solid #667eea; 
      color: white; 
      transform: translateX(4px);
      transition: all 0.3s ease;
      border-radius: 0 8px 8px 0;
    }.page-teacher-class-table .remoed-menu svg{ 
      width: 20px; 
      height: 20px; 
      stroke: currentColor; 
    }.page-teacher-class-table .remoed-content{
      flex: 1;
      padding: 16px 20px;
      min-width: 0;
      background: #f6fbff;
      min-height: 100vh;
      box-sizing: border-box;
      margin-left: 260px;
      max-width: calc(100vw - 260px);
      overflow-x: auto;
    }.page-teacher-class-table /* Modern Header Styles */
    .remoed-header{
      background: #fff;
      border-radius: 12px;
      padding: 16px 20px;
      margin-bottom: 16px;
      box-shadow: 0 2px 12px rgba(28, 167, 231, 0.08);
      border: 1px solid rgba(28, 167, 231, 0.1);
    }.page-teacher-class-table .remoed-header h1{
      color: #667eea;
      font-size: 1.5rem;
      font-weight: 700;
      margin: 0 0 12px 0;
      letter-spacing: -0.5px;
    }.page-teacher-class-table .remoed-header-controls{
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }.page-teacher-class-table .remoed-week-navigation{
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }.page-teacher-class-table .remoed-nav-btn{
      background: linear-gradient(135deg, #667eea, #5a67d8);
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.85rem;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }.page-teacher-class-table .remoed-nav-btn:hover{
      background: linear-gradient(135deg, #5a67d8, #4c51bf);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    }.page-teacher-class-table .remoed-nav-btn:disabled{
      background: #e2e8f0;
      color: #94a3b8;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }.page-teacher-class-table .remoed-week-display{
      font-weight: 600;
      color: #374151;
      min-width: 140px;
      text-align: center;
      font-size: 1rem;
    }.page-teacher-class-table .remoed-current-week-btn{
      background: linear-gradient(135deg, #28a745, #1e7e34) !important;
      color: white;
      box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3) !important;
    }.page-teacher-class-table .remoed-current-week-btn:hover{
      background: linear-gradient(135deg, #1e7e34, #155724) !important;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4) !important;
    }.page-teacher-class-table .remoed-action-buttons{
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }.page-teacher-class-table .remoed-action-btn{
      background: linear-gradient(135deg, #1ca7e7, #0d8bd9);
      color: white;
      border: none;
      border-radius: 8px;
      padding: 8px 14px;
      cursor: pointer;
      font-size: 0.85rem;
      font-weight: 600;
      box-shadow: 0 2px 8px rgba(28, 167, 231, 0.3);
      transition: all 0.3s ease;
    }.page-teacher-class-table .remoed-action-btn:hover{
      background: linear-gradient(135deg, #0d8bd9, #0b7bc7);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(28, 167, 231, 0.4);
    }.page-teacher-class-table .remoed-refresh-btn{
      background: linear-gradient(135deg, #28a745, #1e7e34);
      box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
    }.page-teacher-class-table .remoed-refresh-btn:hover{
      background: linear-gradient(135deg, #1e7e34, #155724);
      box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
    }.page-teacher-class-table /* Modern Legend Styles */
    .remoed-legend{
      background: #fff;
      border-radius: 12px;
      padding: 16px 20px;
      margin-bottom: 16px;
      box-shadow: 0 2px 12px rgba(28, 167, 231, 0.08);
      border: 1px solid rgba(28, 167, 231, 0.1);
    }.page-teacher-class-table .remoed-legend h3{
      color: #667eea;
      font-size: 1rem;
      font-weight: 600;
      margin: 0 0 12px 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }.page-teacher-class-table .remoed-legend-grid{
      display: flex;
      flex-wrap: nowrap;
      gap: 8px;
      align-items: center;
      overflow-x: auto;
    }.page-teacher-class-table .remoed-legend-item{
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      background: #f8fafc;
      border-radius: 8px;
      border: 1px solid #e2e8f0;
      transition: all 0.2s ease;
      white-space: nowrap;
      flex-shrink: 0;
    }.page-teacher-class-table .remoed-legend-item:hover{
      background: #f1f5f9;
      transform: translateY(-1px);
    }.page-teacher-class-table .remoed-legend-color{
      width: 20px;
      height: 20px;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 0.75rem;
      border: 1px solid rgba(0, 0, 0, 0.1);
      flex-shrink: 0;
    }.page-teacher-class-table .remoed-legend-text{
      font-size: 0.85rem;
      color: #374151;
      font-weight: 500;
      white-space: nowrap;
    }.page-teacher-class-table /* Modern Schedule Grid */
    .remoed-schedule-container{
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 8px 32px rgba(28, 167, 231, 0.1);
      overflow: hidden;
      border: 1px solid rgba(28, 167, 231, 0.1);
    }.page-teacher-class-table .remoed-schedule-table{
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      margin: 0;
      min-width: 800px;
    }.page-teacher-class-table .remoed-schedule-table th, .page-teacher-class-table .remoed-schedule-table td{
      border: 1px solid #e2e8f0;
      padding: 10px 8px;
      text-align: center;
      vertical-align: middle;
    }.page-teacher-class-table .remoed-schedule-table th{
      background: linear-gradient(135deg, #667eea, #5a67d8);
      font-weight: 600;
      color: white;
      position: sticky;
      top: 0;
      z-index: 5;
      text-shadow: 0 1px 2px rgba(0,0,0,0.1);
      font-size: 0.8rem;
    }.page-teacher-class-table .remoed-time-column{
      width: 100px;
      position: sticky;
      left: 0;
      background: #f8fafc;
      z-index: 3;
      font-weight: 600;
      color: #374151;
    }.page-teacher-class-table .remoed-day-column{
      width: calc((100% - 100px) / 7);
      line-height: 1.3;
      padding: 12px 8px;
      font-size: 0.85rem;
    }.page-teacher-class-table .remoed-day-column br{
      margin: 4px 0;
    }.page-teacher-class-table .remoed-time-slot{
      font-size: 0.8rem;
      color: #6b7280;
      min-height: 40px;
      transition: all 0.2s ease;
      cursor: pointer;
        position: relative;
    }.page-teacher-class-table /* Status-based styling */
    .status-completed{
      background: linear-gradient(135deg, #10b981, #059669) !important;
      color: white !important;
      font-weight: 600 !important;
      text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
      border: 2px solid #047857 !important;
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
      background-color: #10b981 !important;
    }.page-teacher-class-table .status-completed::after{
      content: '✓';
      position: absolute;
      top: 2px;
      right: 4px;
      font-size: 12px;
      font-weight: bold;
      color: white;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-teacher-class-table .status-absent{
      background: linear-gradient(135deg, #ef4444, #dc2626) !important;
      color: white !important;
      font-weight: 600 !important;
      text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
      border: 2px solid #b91c1c !important;
      box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
    }.page-teacher-class-table .status-absent::after{
      content: '✗';
      position: absolute;
      top: 2px;
      right: 4px;
      font-size: 12px;
      font-weight: bold;
      color: white;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-teacher-class-table .status-past{
      background: #9ca3af !important;
      color: white !important;
      font-weight: 600 !important;
      opacity: 0.7 !important;
    }.page-teacher-class-table .remoed-time-slot.open{
      background: #dcfce7;
      color: #166534;
      font-weight: 600;
      border: 2px solid #22c55e;
    }.page-teacher-class-table .remoed-time-slot.open:hover{
      background: #bbf7d0;
      transform: scale(1.02);
    }.page-teacher-class-table .remoed-time-slot.booked{
      background: #fef3c7 !important;
      color: #92400e !important;
      font-weight: 600;
      border: 2px solid #f59e0b;
    }.page-teacher-class-table .remoed-time-slot.booked:hover{
      background: #fde68a !important;
      transform: scale(1.02);
    }.page-teacher-class-table .remoed-time-slot.finished{
      background: #dbeafe !important;
      color: #1e40af !important;
      font-weight: 600;
      border: 2px solid #3b82f6;
    }.page-teacher-class-table .remoed-time-slot.absent{
      background: #fecaca;
      color: #991b1b;
      font-weight: 600;
      border: 2px solid #ef4444;
    }.page-teacher-class-table .remoed-time-slot.student-absent{
      background: #fed7aa;
      color: #9a3412;
      font-weight: 600;
      border: 2px solid #f97316;
    }.page-teacher-class-table .remoed-time-slot.unavailable{
      background: #f8fafc;
      color: #64748b;
      cursor: default;
    }.page-teacher-class-table .remoed-time-slot.unbooked{
      background: #f8fafc;
      color: #64748b;
      font-weight: normal;
      cursor: default;
    }.page-teacher-class-table .remoed-time-slot.past{
      background: #f1f5f9 !important;
      color: #475569 !important;
      font-weight: 600;
      cursor: pointer;
      border: 2px solid #64748b;
      position: relative;
    }.page-teacher-class-table .remoed-time-slot.past:hover{
      background: #e2e8f0 !important;
      color: #334155 !important;
      border-color: #475569;
      transform: scale(1.02);
    }.page-teacher-class-table .remoed-time-slot.past::after{
      content: '📝';
      position: absolute;
      top: 4px;
      right: 4px;
      font-size: 0.7em;
    }.page-teacher-class-table /* Modern Modal Styles */
    .remoed-modal{
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(4px);
      align-items: center;
      justify-content: center;
    }.page-teacher-class-table .remoed-modal.show{
      display: flex;
    }.page-teacher-class-table .remoed-modal-content{
      background: #ffffff;
      border-radius: 1rem;
      width: 90%;
      max-width: 600px;
      max-height: 90vh;
      overflow: hidden;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      animation: remoedModalFadeIn 0.3s ease-out;
      display: flex;
      flex-direction: column;
    }@keyframes remoedModalFadeIn{
      from { 
        transform: scale(0.95) translateY(-10px); 
        opacity: 0; 
      }
      to { 
        transform: scale(1) translateY(0); 
        opacity: 1; 
      }
    }.page-teacher-class-table .remoed-modal-header{
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      padding: 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: 1rem 1rem 0 0;
    }.page-teacher-class-table .remoed-modal-title{
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 1.25rem;
      font-weight: 600;
    }.page-teacher-class-table .remoed-modal-close{
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: white;
      width: 2rem;
      height: 2rem;
      border-radius: 0.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
    }.page-teacher-class-table .remoed-modal-close:hover{
      background: rgba(255, 255, 255, 0.3);
      transform: scale(1.05);
    }.page-teacher-class-table .remoed-modal-body{
      padding: 1.5rem;
      overflow-y: auto;
      flex: 1;
    }.page-teacher-class-table .remoed-modal-footer{
      padding: 1.5rem;
      border-top: 1px solid #e2e8f0;
      display: flex;
      gap: 0.75rem;
      justify-content: flex-end;
      background: #f8fafc;
    }.page-teacher-class-table /* Modern Button Styles */
    .remoed-btn{
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 0.5rem;
      font-weight: 600;
      font-size: 0.875rem;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }.page-teacher-class-table .remoed-btn-primary{
      background: linear-gradient(135deg, #667eea, #5a67d8);
      color: white;
    }.page-teacher-class-table .remoed-btn-primary:hover{
      background: linear-gradient(135deg, #5a67d8, #4c51bf);
      transform: translateY(-1px);
    }.page-teacher-class-table .remoed-btn-secondary{
      background: #6b7280;
      color: white;
    }.page-teacher-class-table .remoed-btn-secondary:hover{
      background: #4b5563;
    }.page-teacher-class-table .remoed-btn-success{
      background: linear-gradient(135deg, #28a745, #1e7e34);
      color: white;
    }.page-teacher-class-table .remoed-btn-success:hover{
      background: linear-gradient(135deg, #1e7e34, #155724);
    }.page-teacher-class-table .remoed-btn-warning{
      background: linear-gradient(135deg, #ffc107, #e0a800);
      color: #212529;
    }.page-teacher-class-table .remoed-btn-warning:hover{
      background: linear-gradient(135deg, #e0a800, #d39e00);
    }.page-teacher-class-table .remoed-btn-danger{
      background: linear-gradient(135deg, #dc3545, #c82333);
      color: white;
    }.page-teacher-class-table .remoed-btn-danger:hover{
      background: linear-gradient(135deg, #c82333, #bd2130);
    }.page-teacher-class-table /* Responsive Design */
    @media (max-width: 1200px){
      .remoed-sidebar {
        width: 260px;
        min-width: 260px;
      }
      .remoed-content {
        margin-left: 260px;
        max-width: calc(100vw - 260px);
        padding: 24px 20px;
      }
      .remoed-legend-grid {
        gap: 6px;
      }
      
      .remoed-legend-item {
        padding: 4px 8px;
      }
      
      .remoed-legend-text {
        font-size: 0.8rem;
      }
    }@media (max-width: 900px){.page-teacher-class-table .remoed-main{
        flex-direction: column;
      }.page-teacher-class-table .remoed-sidebar{
        width: 100%;
        position: relative;
        height: auto;
      }.page-teacher-class-table .remoed-content{
        margin-left: 0;
        max-width: 100vw;
        padding: 20px 16px;
      }.page-teacher-class-table .remoed-schedule-container{
        max-height: 60vh;
        overflow: auto;
      }.page-teacher-class-table .remoed-schedule-table{
        min-width: 600px;
      }.page-teacher-class-table .remoed-header-controls{
        flex-direction: column;
        align-items: stretch;
      }.page-teacher-class-table .remoed-week-navigation{
        justify-content: center;
      }.page-teacher-class-table .remoed-action-buttons{
        justify-content: center;
      }
    }.page-teacher-class-table /* Legacy compatibility styles */
    .modal{ display: none; }.page-teacher-class-table .modal.show{ display: flex; }.page-teacher-class-table /* Alias legacy modal classes to the modern remoed modal classes */
  .modal-content{ background: #ffffff; border-radius: 1rem; width: 90%; max-width: 600px; max-height: 90vh; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); display: flex; flex-direction: column; }.page-teacher-class-table .modal-header{ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; border-radius: 1rem 1rem 0 0; }.page-teacher-class-table .modal-body{ padding: 1.5rem; overflow-y: auto; flex: 1; }.page-teacher-class-table .modal-footer{ padding: 1.5rem; border-top: 1px solid #e2e8f0; display: flex; gap: 0.75rem; justify-content: flex-end; background: #f8fafc; }.page-teacher-class-table /* Alias legacy button classes to the modern remoed button classes */
    .btn-join, .page-teacher-class-table .btn-secondary, .page-teacher-class-table .btn-danger, .page-teacher-class-table .btn-success, .page-teacher-class-table .btn-warning{
      /* copy of .remoed-btn */
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 0.5rem;
      font-weight: 600;
      font-size: 0.875rem;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }.page-teacher-class-table .btn-join{ /* primary */ background: linear-gradient(135deg, #667eea, #5a67d8); color: white; }.page-teacher-class-table .btn-secondary{ background: #6b7280; color: white; }.page-teacher-class-table .btn-danger{ background: linear-gradient(135deg, #dc3545, #c82333); color: white; }.page-teacher-class-table .btn-success{ background: linear-gradient(135deg, #28a745, #1e7e34); color: white; }.page-teacher-class-table .btn-warning{ background: linear-gradient(135deg, #ffc107, #e0a800); color: #212529; }.page-teacher-class-table /* Star Rating Styles */
    .star-rating{
      display: flex;
      gap: 5px;
      margin: 10px 0;
    }.page-teacher-class-table .star-rating .star{
      font-size: 24px;
      color: #ddd;
      cursor: pointer;
      transition: color 0.2s ease;
    }.page-teacher-class-table .star-rating .star:hover, .page-teacher-class-table .star-rating .star.active{
      color: #ffd700;
    }.page-teacher-class-table .star-rating .star:hover ~ .star{
      color: #ddd;
    }.page-teacher-class-table /* Form Styles */
    .form-group{
      margin-bottom: 1rem;
    }.page-teacher-class-table .form-group label{
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 600;
      color: #374151;
    }.page-teacher-class-table .form-group textarea, .page-teacher-class-table .form-group select, .page-teacher-class-table .form-group input[type="file"]{
      width: 100%;
      padding: 0.75rem;
      border: 1px solid #d1d5db;
      border-radius: 0.5rem;
      box-sizing: border-box;
      font-size: 0.875rem;
      transition: border-color 0.2s ease;
    }.page-teacher-class-table .form-group textarea:focus, .page-teacher-class-table .form-group select:focus{
      outline: none;
      border-color: #667eea;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }.page-teacher-class-table .char-count{
      margin-top: 0.5rem;
      font-size: 0.75rem;
      color: #6b7280;
      text-align: right;
    }.page-teacher-class-table #remo-ai-chatbot{
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 380px;
        height: 600px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        z-index: 10000;
        display: none;
        flex-direction: column;
        overflow: hidden;
        transition: all 0.3s ease;
    }.page-teacher-class-table #remo-ai-chatbot.open{
        display: flex;
    }.page-teacher-class-table .chatbot-header{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 20px 20px 0 0;
    }.page-teacher-class-table .chatbot-header h3{
        margin: 0;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }.page-teacher-class-table .chatbot-close{
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }.page-teacher-class-table .chatbot-close:hover{
        background: rgba(255, 255, 255, 0.3);
    }.page-teacher-class-table .chatbot-messages{
        flex: 1;
        overflow-y: auto;
        padding: 20px;
        background: #f8fafc;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }.page-teacher-class-table .chatbot-message{
        display: flex;
        gap: 10px;
        animation: fadeIn 0.3s ease;
    }.page-teacher-class-table .chatbot-message.user{
        flex-direction: row-reverse;
    }.page-teacher-class-table .message-avatar{
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        flex-shrink: 0;
    }.page-teacher-class-table .chatbot-message.bot .message-avatar{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }.page-teacher-class-table .chatbot-message.user .message-avatar{
        background: #e2e8f0;
        color: #667eea;
    }.page-teacher-class-table .message-content{
        max-width: 75%;
        padding: 12px 16px;
        border-radius: 18px;
        font-size: 0.9rem;
        line-height: 1.5;
    }.page-teacher-class-table .chatbot-message.bot .message-content{
        background: white;
        color: #1a202c;
        border: 1px solid #e2e8f0;
    }.page-teacher-class-table .chatbot-message.user .message-content{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }.page-teacher-class-table .message-buttons{
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }.page-teacher-class-table .message-button{
        padding: 10px 14px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s;
        color: #667eea;
        font-weight: 500;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 8px;
    }.page-teacher-class-table .message-button:hover{
        background: #e2e8f0;
        border-color: #667eea;
        transform: translateX(4px);
    }.page-teacher-class-table .message-button-icon{
        font-size: 1rem;
    }.page-teacher-class-table .quick-actions{
        padding: 15px 20px;
        background: white;
        border-top: 1px solid #e2e8f0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }.page-teacher-class-table .quick-action-btn{
        padding: 8px 12px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s;
        color: #667eea;
        font-weight: 500;
    }.page-teacher-class-table .quick-action-btn:hover{
        background: #e2e8f0;
        transform: translateY(-1px);
    }.page-teacher-class-table .chatbot-input-area{
        padding: 15px 20px;
        background: white;
        border-top: 1px solid #e2e8f0;
        display: flex;
        gap: 10px;
    }.page-teacher-class-table .chatbot-input{
        flex: 1;
        padding: 10px 15px;
        border: 1px solid #e2e8f0;
        border-radius: 25px;
        font-size: 0.9rem;
        outline: none;
    }.page-teacher-class-table .chatbot-input:focus{
        border-color: #667eea;
    }.page-teacher-class-table .chatbot-send{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s;
    }.page-teacher-class-table .chatbot-send:hover{
        transform: scale(1.1);
    }.page-teacher-class-table .chatbot-toggle{
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 20px rgba(255, 165, 0, 0.3);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s;
        padding: 0;
        overflow: visible;
    }.page-teacher-class-table .chatbot-toggle:hover{
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 30px rgba(255, 165, 0, 0.5);
    }.page-teacher-class-table .remo-ai-icon{
        width: 40px;
        height: 40px;
        filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
    }.page-teacher-class-table .chatbot-message.bot .message-avatar{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2px;
    }.page-teacher-class-table .chatbot-message.bot .message-avatar svg{
        width: 28px;
        height: 28px;
    }.page-teacher-class-table .chatbot-toggle.hidden{
        display: none;
    }@keyframes fadeIn{
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }.page-teacher-class-table .typing-indicator{
        display: flex;
        gap: 4px;
        padding: 12px 16px;
    }.page-teacher-class-table .typing-dot{
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #667eea;
        animation: typing 1.4s infinite;
    }.page-teacher-class-table .typing-dot:nth-child(2){
        animation-delay: 0.2s;
    }.page-teacher-class-table .typing-dot:nth-child(3){
        animation-delay: 0.4s;
    }@keyframes typing{
        0%, 60%, 100% {
            transform: translateY(0);
        }
        30% {
            transform: translateY(-10px);
        }
    }


/* --- Source: public/teacher-dashboard.html --- */
body.page-teacher-dashboard{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #f8fafc; 
            color: #1a202c;
            line-height: 1.6;
            margin: 0;
            padding: 0;
        }.page-teacher-dashboard /* Navigation Header */
        .nav-header{
            position: fixed;
            top: 0;
            left: 260px;
            right: 0;
            height: 50px;
            background: #ffffff;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.5rem;
            z-index: 50;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }.page-teacher-dashboard .nav-left{
            display: flex;
            align-items: center;
            gap: 1rem;
        }.page-teacher-dashboard .nav-right{
            display: flex;
            align-items: center;
            gap: 1rem;
        }.page-teacher-dashboard .nav-icon{
            position: relative;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid #e9ecef;
        }.page-teacher-dashboard .nav-icon:hover{
            background: #e9ecef;
            transform: translateY(-1px);
        }.page-teacher-dashboard .nav-icon svg{
            width: 20px;
            height: 20px;
            color: #667eea;
        }.page-teacher-dashboard .nav-icon.primary svg{
            color: #8b5cf6;
        }.page-teacher-dashboard .nav-badge{
            position: absolute;
            top: -5px;
            right: -5px;
            background: #8b5cf6;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: 600;
        }.page-teacher-dashboard .nav-dropdown{
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            min-width: 350px;
            max-height: 600px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
        }.page-teacher-dashboard .nav-dropdown.show{
            display: block;
        }.page-teacher-dashboard .nav-dropdown-header{
            padding: 12px 16px;
            border-bottom: 1px solid #e2e8f0;
            font-weight: 600;
            color: #1a202c;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }.page-teacher-dashboard .nav-dropdown-content{
            padding: 8px 0;
        }.page-teacher-dashboard .nav-dropdown-item{
            padding: 8px 16px;
            border-bottom: 1px solid #f1f5f9;
            transition: all 0.2s ease;
            cursor: pointer;
        }.page-teacher-dashboard .nav-dropdown-item:hover{
            background: #f8f9fa;
            transform: translateX(2px);
        }.page-teacher-dashboard .nav-dropdown-item:last-child{
            border-bottom: none;
        }.page-teacher-dashboard .nav-dropdown-item.read{
            opacity: 0.6;
            pointer-events: none;
        }.page-teacher-dashboard .nav-dropdown-item.read:hover{
            transform: none;
            background: transparent;
        }.page-teacher-dashboard /* Time tracking minimized */
        .time-tracking-mini{
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: #f8f9fa;
            border-radius: 20px;
            border: 1px solid #e9ecef;
        }.page-teacher-dashboard .time-status-mini{
            font-size: 0.8rem;
            font-weight: 500;
        }.page-teacher-dashboard .time-status-mini.clocked-in{
            color: #28a745;
        }.page-teacher-dashboard .time-status-mini.not-clocked{
            color: #dc3545;
        }.page-teacher-dashboard .time-btn-mini{
            padding: 4px 8px;
            border: none;
            border-radius: 4px;
            font-size: 0.7rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }.page-teacher-dashboard .time-btn-mini.clock-in{
            background: #28a745;
            color: white;
        }.page-teacher-dashboard .time-btn-mini.clock-in.primary{
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
            color: white;
        }.page-teacher-dashboard .time-btn-mini.clock-in.primary:hover{
            background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
        }.page-teacher-dashboard .time-btn-mini.clock-out{
            background: #dc3545;
            color: white;
        }.page-teacher-dashboard /* Charts */
        .charts-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }.page-teacher-dashboard .charts-grid-secondary{
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }@media (max-width: 1400px){.page-teacher-dashboard .charts-grid-secondary{
                grid-template-columns: repeat(2, 1fr);
            }
        }@media (max-width: 768px){.page-teacher-dashboard .charts-grid, .page-teacher-dashboard .charts-grid-secondary{
                grid-template-columns: 1fr;
            }
        }.page-teacher-dashboard .chart-card{
            background: white;
            border-radius: 8px;
            padding: 0.75rem;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
            border: 1px solid #e0e6ed;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }.page-teacher-dashboard .chart-card.primary{
            border-left: 4px solid #8b5cf6;
        }.page-teacher-dashboard .chart-card:hover{
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        }.page-teacher-dashboard .chart-header{
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }.page-teacher-dashboard .chart-title{
            font-size: 0.75rem;
            font-weight: 600;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }.page-teacher-dashboard .chart-icon{
            width: 24px;
            height: 24px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-teacher-dashboard .chart-icon.primary{
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
            color: white;
        }.page-teacher-dashboard .chart-icon svg{
            width: 16px;
            height: 16px;
        }.page-teacher-dashboard .chart-value{
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.2rem;
        }.page-teacher-dashboard .chart-value.primary{
            color: #8b5cf6;
        }.page-teacher-dashboard .chart-change{
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            gap: 0.2rem;
        }.page-teacher-dashboard .chart-change.positive{
            color: #10b981;
        }.page-teacher-dashboard .chart-change.negative{
            color: #ef4444;
        }.page-teacher-dashboard /* Main content adjustment */
        .remoed-content{
            margin-top: 50px;
        }.page-teacher-dashboard .remoed-header{
            background: #ffffff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-left: 1.25rem;
            padding-right: 1.25rem;
            height: 4rem;
            border-bottom: 1px solid #e2e8f0;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
        }.page-teacher-dashboard .remoed-logo{ display: flex; align-items: center; gap: 0.75rem; }.page-teacher-dashboard .remoed-logo img{ height: 2.5rem; }.page-teacher-dashboard .remoed-title{ font-size: 1.5rem; font-weight: 700; color: #667eea; }.page-teacher-dashboard .remoed-user{ display: flex; align-items: center; gap: 0.75rem; }.page-teacher-dashboard .remoed-avatar{ 
            width: 72px; 
            height: 72px; 
            border-radius: 50%; 
            background: #667eea; 
            color: #fff; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-weight: bold; 
            font-size: 2.2rem; 
        }.page-teacher-dashboard .remoed-username{ color: #667eea; font-weight: 600; }.page-teacher-dashboard .remoed-main{ 
            display: flex; 
            min-height: 100vh; 
            max-width: 100vw;
            overflow-x: hidden;
        }.page-teacher-dashboard /* Sidebar styles: see css/teacher-sidebar.css */
        .remoed-content{ 
            flex: 1; 
            padding: 0.75rem 1rem; 
            margin-left: 260px;
            max-width: calc(100vw - 260px);
            box-sizing: border-box;
        }.page-teacher-dashboard .remoed-grid{ 
            display: grid; 
            grid-template-columns: 2fr 1fr; 
            gap: 0.75rem; 
            max-width: 100%;
        }.page-teacher-dashboard .remoed-section{ 
            background: #ffffff; 
            border-radius: 8px; 
            box-shadow: 0 2px 6px rgba(0,0,0,0.05); 
            padding: 12px; 
            margin-bottom: 12px; 
            border: 1px solid #e0e6ed;
            max-width: 100%;
            box-sizing: border-box;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }.page-teacher-dashboard .remoed-section:hover{ 
            transform: translateY(-1px); 
            box-shadow: 0 3px 10px rgba(0,0,0,0.08); 
        }.page-teacher-dashboard .remoed-section-title{ 
            font-size: 0.95rem; 
            font-weight: 600; 
            color: #1a202c; 
            margin-bottom: 0.75rem; 
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #e2e8f0;
        }.page-teacher-dashboard /* Notification and Upcoming Classes Container */
        .notification-container{
            max-height: 250px;
            overflow-y: auto;
            overflow-x: hidden;
            border: 1px solid #e0e6ed;
            border-radius: 8px;
            background: #f8f9fa;
            padding: 12px;
        }.page-teacher-dashboard .upcoming-classes-container{
            max-height: 200px;
            overflow-y: auto;
            overflow-x: hidden;
            border: 1px solid #e0e6ed;
            border-radius: 8px;
            background: #f8f9fa;
            padding: 12px;
        }.page-teacher-dashboard .notification-list, .page-teacher-dashboard .upcoming-classes-list{
            list-style: none;
            padding: 0;
            margin: 0;
        }.page-teacher-dashboard .notification-item, .page-teacher-dashboard .upcoming-class-item{
            padding: 12px 16px;
            border-bottom: 1px solid #e0e6ed;
            background: #ffffff;
            margin: 6px 0;
            border-radius: 6px;
            font-size: 0.9rem;
            transition: background-color 0.2s ease;
        }.page-teacher-dashboard .notification-item:hover, .page-teacher-dashboard .upcoming-class-item:hover{
            background: #f8f9fa;
        }.page-teacher-dashboard .notification-item:last-child, .page-teacher-dashboard .upcoming-class-item:last-child{
            border-bottom: none;
        }.page-teacher-dashboard /* Community & Social Responsibility */
        .community-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }@media (max-width: 768px){.page-teacher-dashboard .community-grid{ grid-template-columns: 1fr; }
        }.page-teacher-dashboard .community-item{
            display: flex;
            gap: 10px;
            align-items: flex-start;
            padding: 10px 12px;
            border-radius: 10px;
            border: 1px solid #e0e6ed;
            background: #fafdff;
        }.page-teacher-dashboard .community-icon{
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(102, 126, 234, 0.12);
            color: #667eea;
            flex-shrink: 0;
            font-size: 1.05rem;
        }.page-teacher-dashboard .community-item h4{
            margin: 0;
            font-size: 0.95rem;
            color: #1a202c;
            font-weight: 700;
        }.page-teacher-dashboard .community-item p{
            margin: 4px 0 0 0;
            font-size: 0.85rem;
            color: #64748b;
            line-height: 1.5;
        }.page-teacher-dashboard /* Fix class schedule table overlap */
        .remoed-class-table-preview{ 
            background: #f8fafc; 
            border-radius: 0.5rem; 
            padding: 1rem; 
            margin-bottom: 1rem; 
            max-width: 100%;
            overflow-x: auto;
        }.page-teacher-dashboard .remoed-class-table-grid{ 
            display: grid; 
            grid-template-columns: repeat(7, 1fr); 
            gap: 0.25rem; 
            font-size: 0.75rem; 
            min-width: 600px;
        }.page-teacher-dashboard .remoed-class-table-header{ 
            background: #667eea; 
            color: #fff; 
            padding: 0.5rem; 
            text-align: center; 
            border-radius: 0.25rem; 
            font-weight: 600; 
            font-size: 0.75rem;
        }.page-teacher-dashboard .remoed-class-table-cell{ 
            background: #fff; 
            padding: 0.5rem; 
            text-align: center; 
            border-radius: 0.25rem; 
            border: 1px solid #e2e8f0; 
            font-size: 0.75rem;
            word-wrap: break-word;
            overflow: hidden;
        }.page-teacher-dashboard .remoed-class-table-cell.booked{ 
            background: #fef3c7; 
            color: #d97706; 
            font-weight: 600; 
        }.page-teacher-dashboard .remoed-action-buttons{ display: flex; gap: 0.75rem; margin-top: 1rem; }.page-teacher-dashboard .remoed-btn{ 
            padding: 0.75rem 1.5rem; 
            border: none; 
            border-radius: 0.5rem; 
            cursor: pointer; 
            font-weight: 500; 
            font-size: 0.875rem; 
            transition: all 0.2s ease; 
        }.page-teacher-dashboard .remoed-btn-primary{ background: #667eea; color: #fff; }.page-teacher-dashboard .remoed-btn-primary:hover{ background: #5a67d8; }.page-teacher-dashboard .remoed-btn-yellow{ background: #f59e0b; color: #fff; }.page-teacher-dashboard .remoed-btn-yellow:hover{ background: #d97706; }.page-teacher-dashboard .remoed-upcoming-list{ list-style: none; padding: 0; margin: 0; }.page-teacher-dashboard .remoed-upcoming-item{ 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            padding: 0.75rem 0; 
            border-bottom: 1px solid #e2e8f0; 
        }.page-teacher-dashboard .remoed-upcoming-item:last-child{ border-bottom: none; }.page-teacher-dashboard .remoed-upcoming-time{ color: #667eea; font-weight: 600; }.page-teacher-dashboard .remoed-upcoming-student{ color: #64748b; }.page-teacher-dashboard .remoed-fee-stats{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }.page-teacher-dashboard .remoed-fee-stat{ text-align: center; padding: 1rem; background: #f8fafc; border-radius: 0.5rem; border: 1px solid #e2e8f0; }.page-teacher-dashboard .remoed-fee-amount{ font-size: 1.25rem; font-weight: 700; color: #667eea; }.page-teacher-dashboard .remoed-fee-label{ color: #64748b; font-size: 0.875rem; margin-top: 0.25rem; }.page-teacher-dashboard .remoed-announcement{ background: #fef3c7; border: 1px solid #f59e0b; border-radius: 0.5rem; padding: 1rem; margin-bottom: 1rem; }.page-teacher-dashboard .remoed-announcement-title{ font-weight: 600; color: #d97706; margin-bottom: 0.5rem; }.page-teacher-dashboard .remoed-announcement-content{ color: #92400e; font-size: 0.875rem; line-height: 1.5; }.page-teacher-dashboard .remoed-training-card{ background: #2563eb; color: #fff; border-radius: 0.5rem; padding: 1.5rem; margin-bottom: 1rem; }.page-teacher-dashboard .remoed-training-title{ font-weight: 600; margin-bottom: 0.5rem; }.page-teacher-dashboard .remoed-training-desc{ opacity: 0.9; font-size: 0.875rem; margin-bottom: 1rem; }.page-teacher-dashboard .remoed-training-btn{ 
            background: rgba(255,255,255,0.2); 
            border: 1px solid rgba(255,255,255,0.3); 
            color: #fff; 
            padding: 0.5rem 1rem; 
            border-radius: 0.375rem; 
            cursor: pointer; 
            transition: background 0.2s; 
            font-weight: 500; 
            font-size: 0.875rem;
        }.page-teacher-dashboard .remoed-training-btn:hover{ background: rgba(255,255,255,0.3); }.page-teacher-dashboard /* Time tracking specific styles */
        #time-in-btn, .page-teacher-dashboard #time-out-btn, .page-teacher-dashboard #view-log-btn{
            background: #667eea;
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 0.5rem;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.2s ease;
            margin-right: 0.75rem;
            margin-bottom: 0.75rem;
            font-size: 0.875rem;
        }.page-teacher-dashboard #time-in-btn:hover, .page-teacher-dashboard #time-out-btn:hover, .page-teacher-dashboard #view-log-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }.page-teacher-dashboard #time-in-btn:hover{ background: #218838; }.page-teacher-dashboard #time-out-btn:hover{ background: #c82333; }.page-teacher-dashboard #view-log-btn:hover{ background: #5a67d8; }.page-teacher-dashboard #time-in-btn:disabled{
            background: #cbd5e1;
            color: #64748b;
            cursor: not-allowed;
            transform: none;
        }.page-teacher-dashboard #time-status-message{
            margin-top: 1rem;
            padding: 0.75rem;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            font-weight: 500;
        }.page-teacher-dashboard #time-status-message.error{
            background: #fef2f2;
            color: #dc2626;
            border: 1px solid #fecaca;
        }.page-teacher-dashboard #time-status-message.success{
            background: #f0fdf4;
            color: #16a34a;
            border: 1px solid #bbf7d0;
        }.page-teacher-dashboard #time-status-message.warning{
            background: #fffbeb;
            color: #d97706;
            border: 1px solid #fed7aa;
        }@media (max-width: 900px){.page-teacher-dashboard .remoed-main{ flex-direction: column; }.page-teacher-dashboard .remoed-sidebar{ 
                width: 100%; 
                flex-direction: row; 
                border-bottom: 1px solid rgba(102, 126, 234, 0.1); 
                position: relative;
                height: auto;
            }.page-teacher-dashboard .remoed-content{
                margin-left: 0;
                max-width: 100vw;
                margin-top: 0;
            }.page-teacher-dashboard .remoed-menu li{ padding: 14px 16px; font-size: 0.875rem; }.page-teacher-dashboard .remoed-content{ padding: 1rem; }.page-teacher-dashboard .remoed-grid{ grid-template-columns: 1fr; gap: 1rem; }.page-teacher-dashboard /* Navigation header adjustments for mobile */
            .nav-header{
                left: 0;
                padding: 0 1rem;
            }.page-teacher-dashboard .nav-left h1{
                font-size: 1.2rem;
            }.page-teacher-dashboard .time-tracking-mini{
                padding: 0.25rem 0.5rem;
                font-size: 0.8rem;
            }.page-teacher-dashboard .nav-icon{
                width: 35px;
                height: 35px;
            }.page-teacher-dashboard .nav-icon svg{
                width: 18px;
                height: 18px;
            }.page-teacher-dashboard /* Charts grid adjustments for mobile */
            .charts-grid{
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }.page-teacher-dashboard .chart-card{
                padding: 1rem;
            }.page-teacher-dashboard .chart-value{
                font-size: 1.5rem;
            }.page-teacher-dashboard .chart-title{
                font-size: 0.8rem;
            }
        }@media (max-width: 600px){.page-teacher-dashboard .charts-grid{
                grid-template-columns: 1fr;
            }.page-teacher-dashboard .nav-right{
                gap: 0.5rem;
            }.page-teacher-dashboard .time-tracking-mini{
                display: none;
            }
        }.page-teacher-dashboard #remo-ai-chatbot{
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 380px;
            height: 600px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            display: none;
            flex-direction: column;
            overflow: hidden;
            transition: all 0.3s ease;
        }.page-teacher-dashboard #remo-ai-chatbot.open{
            display: flex;
        }.page-teacher-dashboard .chatbot-header{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 20px 20px 0 0;
        }.page-teacher-dashboard .chatbot-header h3{
            margin: 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }.page-teacher-dashboard .chatbot-close{
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }.page-teacher-dashboard .chatbot-close:hover{
            background: rgba(255, 255, 255, 0.3);
        }.page-teacher-dashboard .chatbot-messages{
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: #f8fafc;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }.page-teacher-dashboard .chatbot-message{
            display: flex;
            gap: 10px;
            animation: fadeIn 0.3s ease;
        }.page-teacher-dashboard .chatbot-message.user{
            flex-direction: row-reverse;
        }.page-teacher-dashboard .message-avatar{
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }.page-teacher-dashboard .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2px;
        }.page-teacher-dashboard .chatbot-message.bot .message-avatar svg{
            width: 28px;
            height: 28px;
        }.page-teacher-dashboard .chatbot-message.user .message-avatar{
            background: #e2e8f0;
            color: #667eea;
        }.page-teacher-dashboard .message-content{
            max-width: 75%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 0.9rem;
            line-height: 1.5;
        }.page-teacher-dashboard .chatbot-message.bot .message-content{
            background: white;
            color: #1a202c;
            border: 1px solid #e2e8f0;
        }.page-teacher-dashboard .chatbot-message.user .message-content{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-dashboard .message-buttons{
            margin-top: 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }.page-teacher-dashboard .message-button{
            padding: 10px 14px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 8px;
        }.page-teacher-dashboard .message-button:hover{
            background: #e2e8f0;
            border-color: #667eea;
            transform: translateX(4px);
        }.page-teacher-dashboard .message-button-icon{
            font-size: 1rem;
        }.page-teacher-dashboard .quick-actions{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }.page-teacher-dashboard .quick-action-btn{
            padding: 8px 12px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
        }.page-teacher-dashboard .quick-action-btn:hover{
            background: #e2e8f0;
            transform: translateY(-1px);
        }.page-teacher-dashboard .chatbot-input-area{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 10px;
        }.page-teacher-dashboard .chatbot-input{
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 25px;
            font-size: 0.9rem;
            outline: none;
        }.page-teacher-dashboard .chatbot-input:focus{
            border-color: #667eea;
        }.page-teacher-dashboard .chatbot-send{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s;
        }.page-teacher-dashboard .chatbot-send:hover{
            transform: scale(1.1);
        }.page-teacher-dashboard .chatbot-toggle{
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 20px rgba(255, 165, 0, 0.3);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s;
            padding: 0;
            overflow: visible;
        }.page-teacher-dashboard .chatbot-toggle:hover{
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 30px rgba(255, 165, 0, 0.5);
        }.page-teacher-dashboard .remo-ai-icon{
            width: 40px;
            height: 40px;
            filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
        }.page-teacher-dashboard .chatbot-toggle.hidden{
            display: none;
        }.page-teacher-dashboard /* Adjust tour button position when chatbot is open */
        #remo-ai-chatbot.open ~ #tour-button{
            bottom: 680px !important;
        }@keyframes fadeIn{
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }.page-teacher-dashboard .typing-indicator{
            display: flex;
            gap: 4px;
            padding: 12px 16px;
        }.page-teacher-dashboard .typing-dot{
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #667eea;
            animation: typing 1.4s infinite;
        }.page-teacher-dashboard .typing-dot:nth-child(2){
            animation-delay: 0.2s;
        }.page-teacher-dashboard .typing-dot:nth-child(3){
            animation-delay: 0.4s;
        }@keyframes typing{
            0%, 60%, 100% {
                transform: translateY(0);
            }
            30% {
                transform: translateY(-10px);
            }
        }


/* --- Source: public/teacher-lessons-library.html --- */
body.page-teacher-lessons-library{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #f8fafc; 
            color: #1a202c;
            line-height: 1.6;
            margin: 0;
            padding: 0;
        }.page-teacher-lessons-library .remoed-content{
            margin-left: 260px;
            padding: 1rem 1.25rem;
            min-height: 100vh;
        }.page-teacher-lessons-library .page-header{
            background: white;
            padding: 1rem 1.25rem;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            margin-bottom: 1rem;
        }.page-teacher-lessons-library .page-header h1{
            margin: 0;
            color: #667eea;
            font-size: 1.5rem;
            font-weight: 700;
        }.page-teacher-lessons-library .page-header p{
            margin: 0.5rem 0 0 0;
            color: #64748b;
            font-size: 0.875rem;
        }.page-teacher-lessons-library .library-container{
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 2rem;
        }@media (max-width: 1200px){.page-teacher-lessons-library .library-container{
                grid-template-columns: 1fr;
            }
        }.page-teacher-lessons-library .selection-panel{
            background: white;
            padding: 1rem 1.25rem;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            height: fit-content;
        }.page-teacher-lessons-library .files-panel{
            background: white;
            padding: 1rem 1.25rem;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }.page-teacher-lessons-library .form-group{
            margin-bottom: 1.5rem;
        }.page-teacher-lessons-library .form-group label{
            display: block;
            margin-bottom: 0.5rem;
            color: #374151;
            font-weight: 600;
            font-size: 0.9rem;
        }.page-teacher-lessons-library .form-group select{
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 0.95rem;
            background: white;
            color: #1a202c;
            cursor: pointer;
            transition: border-color 0.2s;
        }.page-teacher-lessons-library .form-group select:hover{
            border-color: #667eea;
        }.page-teacher-lessons-library .form-group select:focus{
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }.page-teacher-lessons-library .form-group select:disabled{
            background: #f3f4f6;
            cursor: not-allowed;
            color: #9ca3af;
        }.page-teacher-lessons-library .form-control{
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 0.95rem;
            background: white;
            color: #1a202c;
            box-sizing: border-box;
        }.page-teacher-lessons-library .form-control:focus{
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }.page-teacher-lessons-library .lesson-info{
            background: #f8fafc;
            padding: 1rem;
            border-radius: 8px;
            margin-top: 1rem;
            border-left: 4px solid #667eea;
        }.page-teacher-lessons-library .lesson-info h3{
            margin: 0 0 0.5rem 0;
            color: #667eea;
            font-size: 1.1rem;
            font-weight: 600;
        }.page-teacher-lessons-library .lesson-info p{
            margin: 0.25rem 0;
            color: #64748b;
            font-size: 0.9rem;
        }.page-teacher-lessons-library .upload-section{
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid #e5e7eb;
        }.page-teacher-lessons-library .upload-area{
            border: 2px dashed #d1d5db;
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            background: #f9fafb;
            transition: all 0.2s;
            cursor: pointer;
        }.page-teacher-lessons-library .upload-area:hover{
            border-color: #667eea;
            background: #f0f4ff;
        }.page-teacher-lessons-library .upload-area.dragover{
            border-color: #667eea;
            background: #eef2ff;
        }.page-teacher-lessons-library .upload-icon{
            width: 48px;
            height: 48px;
            margin: 0 auto 1rem;
            color: #667eea;
        }.page-teacher-lessons-library .upload-text{
            color: #374151;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }.page-teacher-lessons-library .upload-hint{
            color: #9ca3af;
            font-size: 0.85rem;
        }.page-teacher-lessons-library .file-input{
            display: none;
        }.page-teacher-lessons-library .upload-btn{
            background: #667eea;
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 1rem;
            transition: background 0.2s;
        }.page-teacher-lessons-library .upload-btn:hover{
            background: #5568d3;
        }.page-teacher-lessons-library .upload-btn:disabled{
            background: #9ca3af;
            cursor: not-allowed;
        }.page-teacher-lessons-library .files-list{
            margin-top: 1.5rem;
        }.page-teacher-lessons-library .files-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }.page-teacher-lessons-library .files-header h2{
            margin: 0;
            color: #667eea;
            font-size: 1.25rem;
            font-weight: 600;
        }.page-teacher-lessons-library .file-count{
            color: #64748b;
            font-size: 0.9rem;
        }.page-teacher-lessons-library .file-item{
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            margin-bottom: 0.75rem;
            background: #f9fafb;
            transition: all 0.2s;
        }.page-teacher-lessons-library .file-item:hover{
            background: #f3f4f6;
            border-color: #d1d5db;
        }.page-teacher-lessons-library .file-info{
            display: flex;
            align-items: center;
            gap: 1rem;
            flex: 1;
        }.page-teacher-lessons-library .file-icon{
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #eef2ff;
            border-radius: 8px;
            color: #667eea;
        }.page-teacher-lessons-library .file-details{
            flex: 1;
        }.page-teacher-lessons-library .file-name{
            font-weight: 600;
            color: #1a202c;
            margin-bottom: 0.25rem;
        }.page-teacher-lessons-library .file-meta{
            font-size: 0.85rem;
            color: #64748b;
        }.page-teacher-lessons-library .file-actions{
            display: flex;
            gap: 0.5rem;
        }.page-teacher-lessons-library .btn-icon{
            background: none;
            border: 1px solid #d1d5db;
            padding: 0.5rem;
            border-radius: 6px;
            cursor: pointer;
            color: #374151;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-teacher-lessons-library .btn-icon:hover{
            background: #f3f4f6;
            border-color: #9ca3af;
        }.page-teacher-lessons-library .btn-icon.view{
            color: #667eea;
        }.page-teacher-lessons-library .btn-icon.view:hover{
            background: #eef2ff;
            border-color: #667eea;
        }.page-teacher-lessons-library .empty-state{
            text-align: center;
            padding: 3rem 1rem;
            color: #9ca3af;
        }.page-teacher-lessons-library .empty-state-icon{
            width: 64px;
            height: 64px;
            margin: 0 auto 1rem;
            color: #d1d5db;
        }.page-teacher-lessons-library .empty-state h3{
            margin: 0 0 0.5rem 0;
            color: #6b7280;
        }.page-teacher-lessons-library .empty-state p{
            margin: 0;
            font-size: 0.9rem;
        }.page-teacher-lessons-library .loading{
            text-align: center;
            padding: 2rem;
            color: #64748b;
        }.page-teacher-lessons-library .alert{
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1rem;
        }.page-teacher-lessons-library .alert-success{
            background: #d1fae5;
            color: #065f46;
            border: 1px solid #a7f3d0;
        }.page-teacher-lessons-library .alert-error{
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }.page-teacher-lessons-library .alert-info{
            background: #dbeafe;
            color: #1e40af;
            border: 1px solid #93c5fd;
        }.page-teacher-lessons-library /* Preview Panel Styles */
        .preview-panel{
            position: fixed;
            top: 0;
            right: -100%;
            width: 60%;
            max-width: 800px;
            height: 100vh;
            background: white;
            box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            transition: right 0.3s ease;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }.page-teacher-lessons-library .preview-panel.open{
            right: 0;
        }.page-teacher-lessons-library .preview-header{
            padding: 1.5rem;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f8fafc;
        }.page-teacher-lessons-library .preview-header h3{
            margin: 0;
            color: #667eea;
            font-size: 1.25rem;
            font-weight: 600;
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }.page-teacher-lessons-library .preview-close{
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #64748b;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 6px;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
        }.page-teacher-lessons-library .preview-close:hover{
            background: #e5e7eb;
            color: #1a202c;
        }.page-teacher-lessons-library .preview-content{
            flex: 1;
            overflow: auto;
            padding: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8fafc;
            min-height: 500px;
            position: relative;
        }.page-teacher-lessons-library .preview-content > *{
            max-width: 100%;
            max-height: 100%;
        }.page-teacher-lessons-library .preview-content iframe{
            width: 100%;
            height: 100%;
            min-height: 600px;
            border: none;
            background: white;
        }.page-teacher-lessons-library .preview-content embed{
            width: 100%;
            height: 100%;
            min-height: 600px;
            border: none;
            background: white;
        }.page-teacher-lessons-library .preview-content img{
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }.page-teacher-lessons-library .preview-content video{
            max-width: 100%;
            max-height: 100%;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }.page-teacher-lessons-library .preview-unsupported{
            text-align: center;
            padding: 3rem;
            color: #64748b;
        }.page-teacher-lessons-library .preview-unsupported-icon{
            font-size: 4rem;
            margin-bottom: 1rem;
        }.page-teacher-lessons-library .preview-overlay{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }.page-teacher-lessons-library .preview-overlay.show{
            display: block;
            opacity: 1;
        }@media (max-width: 768px){.page-teacher-lessons-library .preview-panel{
                width: 100%;
                max-width: 100%;
            }
        }.page-teacher-lessons-library /* Sidebar menu colors to match rest of site */
        .remoed-sidebar{
            overflow: hidden;
        }.page-teacher-lessons-library .remoed-menu li{
            color: #64748b !important;
            padding: 14px 32px;
            border-left: 4px solid transparent;
        }.page-teacher-lessons-library .remoed-menu li.active{
            background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%) !important;
            border-left: 4px solid #667eea !important;
            color: white !important;
            transform: translateX(4px);
            transition: all 0.3s ease;
            border-radius: 0 8px 8px 0;
        }.page-teacher-lessons-library .remoed-menu li:hover:not(.active){
            background: #f1f5f9 !important;
            color: #2563eb !important;
        }.page-teacher-lessons-library #remo-ai-chatbot{
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 380px;
            height: 600px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            display: none;
            flex-direction: column;
            overflow: hidden;
            transition: all 0.3s ease;
        }.page-teacher-lessons-library #remo-ai-chatbot.open{
            display: flex;
        }.page-teacher-lessons-library .chatbot-header{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 20px 20px 0 0;
        }.page-teacher-lessons-library .chatbot-header h3{
            margin: 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }.page-teacher-lessons-library .chatbot-close{
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }.page-teacher-lessons-library .chatbot-close:hover{
            background: rgba(255, 255, 255, 0.3);
        }.page-teacher-lessons-library .chatbot-messages{
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: #f8fafc;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }.page-teacher-lessons-library .chatbot-message{
            display: flex;
            gap: 10px;
            animation: fadeIn 0.3s ease;
        }.page-teacher-lessons-library .chatbot-message.user{
            flex-direction: row-reverse;
        }.page-teacher-lessons-library .message-avatar{
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }.page-teacher-lessons-library .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-lessons-library .chatbot-message.user .message-avatar{
            background: #e2e8f0;
            color: #667eea;
        }.page-teacher-lessons-library .message-content{
            max-width: 75%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 0.9rem;
            line-height: 1.5;
        }.page-teacher-lessons-library .chatbot-message.bot .message-content{
            background: white;
            color: #1a202c;
            border: 1px solid #e2e8f0;
        }.page-teacher-lessons-library .chatbot-message.user .message-content{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-lessons-library .message-buttons{
            margin-top: 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }.page-teacher-lessons-library .message-button{
            padding: 10px 14px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 8px;
        }.page-teacher-lessons-library .message-button:hover{
            background: #e2e8f0;
            border-color: #667eea;
            transform: translateX(4px);
        }.page-teacher-lessons-library .message-button-icon{
            font-size: 1rem;
        }.page-teacher-lessons-library .quick-actions{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }.page-teacher-lessons-library .quick-action-btn{
            padding: 8px 12px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
        }.page-teacher-lessons-library .quick-action-btn:hover{
            background: #e2e8f0;
            transform: translateY(-1px);
        }.page-teacher-lessons-library .chatbot-input-area{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 10px;
        }.page-teacher-lessons-library .chatbot-input{
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 25px;
            font-size: 0.9rem;
            outline: none;
        }.page-teacher-lessons-library .chatbot-input:focus{
            border-color: #667eea;
        }.page-teacher-lessons-library .chatbot-send{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s;
        }.page-teacher-lessons-library .chatbot-send:hover{
            transform: scale(1.1);
        }.page-teacher-lessons-library .chatbot-toggle{
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 20px rgba(255, 165, 0, 0.3);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s;
            padding: 0;
            overflow: visible;
        }.page-teacher-lessons-library .chatbot-toggle:hover{
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 30px rgba(255, 165, 0, 0.5);
        }.page-teacher-lessons-library .remo-ai-icon{
            width: 40px;
            height: 40px;
            filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
        }.page-teacher-lessons-library .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2px;
        }.page-teacher-lessons-library .chatbot-message.bot .message-avatar svg{
            width: 28px;
            height: 28px;
        }.page-teacher-lessons-library .chatbot-toggle.hidden{
            display: none;
        }@keyframes fadeIn{
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }.page-teacher-lessons-library .typing-indicator{
            display: flex;
            gap: 4px;
            padding: 12px 16px;
        }.page-teacher-lessons-library .typing-dot{
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #667eea;
            animation: typing 1.4s infinite;
        }.page-teacher-lessons-library .typing-dot:nth-child(2){
            animation-delay: 0.2s;
        }.page-teacher-lessons-library .typing-dot:nth-child(3){
            animation-delay: 0.4s;
        }@keyframes typing{
            0%, 60%, 100% {
                transform: translateY(0);
            }
            30% {
                transform: translateY(-10px);
            }
        }


/* --- Source: public/teacher-login.html --- */
body.page-teacher-login{
      --primary: #667eea;
      --primary-dark: #764ba2;
      --surface: #ffffff;
      --text: #1e2a4a;
      --muted: #6b7280;
      --stroke: #e7eaf3;
      --bg: #efefff;
    }body.page-teacher-login{
      margin: 0;
      padding: 24px;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #f3f0ff 0%, #e9e3ff 40%, #f7f3ff 100%);
      color: var(--text);
      overflow: visible;
      position: relative;
    }.page-teacher-login body::before{
      content: "";
      position: fixed;
      inset: 0;
      background:
        radial-gradient(circle at 20% 18%, rgba(167, 139, 250, 0.35), transparent 55%),
        radial-gradient(circle at 70% 22%, rgba(139, 92, 246, 0.28), transparent 60%),
        linear-gradient(180deg, rgba(245, 240, 255, 0.9) 0%, rgba(245, 240, 255, 0.1) 35%, transparent 60%);
      z-index: 0;
      pointer-events: none;
    }.page-teacher-login body::after{
      content: "";
      position: fixed;
      inset: 0;
      background:
        linear-gradient(180deg, transparent 55%, rgba(99, 102, 241, 0.35) 55%, rgba(99, 102, 241, 0.35) 100%),
        linear-gradient(180deg, transparent 62%, rgba(124, 58, 237, 0.28) 62%, rgba(124, 58, 237, 0.28) 100%),
        linear-gradient(180deg, transparent 68%, rgba(139, 92, 246, 0.22) 68%, rgba(139, 92, 246, 0.22) 100%);
      clip-path: polygon(0% 72%, 10% 64%, 22% 70%, 34% 58%, 48% 68%, 60% 56%, 74% 66%, 86% 58%, 100% 68%, 100% 100%, 0% 100%);
      opacity: 0.75;
      z-index: 0;
      pointer-events: none;
    }@keyframes slideUp{
      from { opacity: 0; transform: translateY(22px); }
      to { opacity: 1; transform: translateY(0); }
    }.page-teacher-login .login-shell{
      position: relative;
      width: min(900px, 100%);
      z-index: 1;
      margin: 0 300px;
    }.page-teacher-login .login-card{
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      background: var(--surface);
      border-radius: 28px;
      overflow: visible;
      box-shadow: 0 30px 60px rgba(31, 41, 55, 0.18);
      border: 1px solid rgba(102, 126, 234, 0.1);
      animation: slideUp 0.7s ease-out;
      position: relative;
      z-index: 1;
    }.page-teacher-login .login-panel{
      padding: 44px 52px;
      position: relative;
    }.page-teacher-login .login-visual{
      background: linear-gradient(135deg, #4c1d95 0%, #312e81 45%, #0f172a 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 32px;
      animation: none;
    }.page-teacher-login .intro-card{
      width: min(340px, 82%);
      border-radius: 24px;
      background: transparent;
      border: none;
      padding: 12px;
      color: #f8fafc;
      box-shadow: none;
      animation: none;
    }.page-teacher-login .intro-card h3{
      margin: 0 0 14px;
      font-size: 1.6rem;
      font-weight: 700;
      letter-spacing: 0.3px;
      color: #f8fafc;
    }.page-teacher-login .intro-card p{
      margin: 0 0 18px;
      color: rgba(248, 250, 252, 0.88);
      line-height: 1.7;
      font-size: 1.02rem;
    }.page-teacher-login .intro-card ul{
      margin: 0;
      padding-left: 0;
      list-style: none;
      color: rgba(248, 250, 252, 0.9);
      line-height: 1.6;
      font-size: 1rem;
      display: grid;
      gap: 12px;
    }.page-teacher-login .intro-card li{
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }.page-teacher-login .intro-icon{
      width: 20px;
      height: 20px;
      margin-top: 2px;
      flex: 0 0 auto;
      color: rgba(248, 250, 252, 0.9);
    }.page-teacher-login .peek-character{
      position: absolute;
      height: auto;
      z-index: 10;
      pointer-events: none;
      filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.25));
      transition: transform 0.25s ease;
    }.page-teacher-login .peek-character img{
      width: 100%;
      height: auto;
      display: block;
      object-fit: contain;
    }.page-teacher-login .peek-boy{
      left: -323px;
      bottom: -30px;
      width: 320px;
    }.page-teacher-login .peek-boy:hover{
      transform: rotate(-2deg);
    }.page-teacher-login .peek-robot{
      right: -350px;
      bottom: -60px;
      width: 380px;
    }.page-teacher-login .peek-robot:hover{
      transform: rotate(2deg);
    }.page-teacher-login .chat-bubble{
      position: absolute;
      background: #ffffff;
      color: #1e2a4a;
      padding: 10px 16px;
      border-radius: 16px;
      font-size: 0.95rem;
      font-weight: 600;
      white-space: nowrap;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.3s ease;
      pointer-events: none;
      z-index: 20;
    }.page-teacher-login .chat-bubble::after{
      content: "";
      position: absolute;
      bottom: -8px;
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-top: 10px solid #ffffff;
    }.page-teacher-login .peek-boy .chat-bubble{
      top: -10px;
      left: 50%;
      transform: translateX(-50%) translateY(10px);
    }.page-teacher-login .peek-boy .chat-bubble::after{
      left: 50%;
      transform: translateX(-50%);
    }.page-teacher-login .peek-robot .chat-bubble{
      top: -10px;
      left: 50%;
      transform: translateX(-50%) translateY(10px);
    }.page-teacher-login .peek-robot .chat-bubble::after{
      left: 50%;
      transform: translateX(-50%);
    }.page-teacher-login .peek-character{
      pointer-events: auto;
    }.page-teacher-login .peek-character:hover .chat-bubble{
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }.page-teacher-login .brand{
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 22px;
    }.page-teacher-login .brand img{
      height: 44px;
    }.page-teacher-login .brand-name{
      font-weight: 800;
      color: var(--primary);
      font-size: 1.4rem;
      letter-spacing: 0.5px;
    }.page-teacher-login .brand-subtitle{
      font-size: 0.9rem;
      color: var(--muted);
    }.page-teacher-login .login-title{
      font-size: 1.9rem;
      margin: 6px 0 6px;
      color: var(--text);
    }.page-teacher-login .login-subtitle{
      margin: 0 0 24px;
      color: var(--muted);
      font-size: 0.98rem;
    }.page-teacher-login .remoed-form-input{
      border: 1px solid var(--stroke) !important;
      border-radius: 14px !important;
      padding: 12px 16px !important;
      font-size: 1rem !important;
      transition: all 0.2s ease !important;
      background: #fbfbff !important;
    }.page-teacher-login .remoed-form-input:focus{
      border-color: var(--primary) !important;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2) !important;
      transform: none !important;
    }.page-teacher-login .remoed-form-label{
      color: var(--text) !important;
      font-weight: 600 !important;
      font-size: 0.95rem !important;
      margin-bottom: 0.5rem !important;
    }.page-teacher-login .remoed-btn-primary{
      background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
      border: none !important;
      border-radius: 14px !important;
      padding: 14px 30px !important;
      font-size: 1rem !important;
      font-weight: 700 !important;
      color: white !important;
      cursor: pointer !important;
      transition: all 0.3s ease !important;
      box-shadow: 0 10px 18px rgba(17, 24, 39, 0.18) !important;
    }.page-teacher-login .remoed-btn-primary:hover{
      transform: translateY(-1px) !important;
      box-shadow: 0 18px 28px rgba(102, 126, 234, 0.35) !important;
    }.page-teacher-login .remoed-status.error, .page-teacher-login .remoed-status.success{
      border-radius: 12px !important;
      padding: 12px !important;
      font-weight: 500 !important;
      margin-bottom: 16px;
    }.page-teacher-login .links-container{
      text-align: left;
      margin-top: 1.5rem;
      display: grid;
      gap: 10px;
    }.page-teacher-login .links-container a{
      color: #3f2ea6 !important;
      text-decoration: none !important;
      font-weight: 700 !important;
      font-size: 0.95rem !important;
      transition: all 0.2s ease !important;
      padding: 10px 14px !important;
      border-radius: 10px !important;
      background: rgba(79, 70, 229, 0.14) !important;
      display: inline-flex !important;
      align-items: center !important;
    }.page-teacher-login .links-container a:hover{
      background: rgba(102, 126, 234, 0.15) !important;
      transform: translateX(2px) !important;
    }.page-teacher-login .password-input-container{
      position: relative;
      display: flex;
      align-items: center;
    }.page-teacher-login .password-input-container input{
      padding-right: 48px;
    }.page-teacher-login .password-toggle{
      position: absolute;
      right: 10px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      border-radius: 6px;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-teacher-login .password-toggle:hover{
      background: rgba(102, 126, 234, 0.12);
    }.page-teacher-login .eye-icon{
      font-size: 1.1rem;
      color: var(--primary);
    }@media (max-width: 1200px){.page-teacher-login .login-shell{
        margin: 0 auto;
      }.page-teacher-login .peek-character{
        display: none;
      }
    }@media (max-width: 900px){.page-teacher-login .login-card{
        grid-template-columns: 1fr;
      }.page-teacher-login .login-visual{
        order: -1;
        padding: 28px 24px;
      }.page-teacher-login .login-panel{
        padding: 32px 28px;
      }
    }


/* --- Source: public/teacher-messages.html --- */
body.page-teacher-messages{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f8fafc; color: #1a202c; margin: 0; padding: 0; }.page-teacher-messages .remoed-main{ display: flex; min-height: 100vh; }.page-teacher-messages .remoed-content{ flex: 1; padding: 18px 20px; margin-left: 260px; max-width: calc(100vw - 260px); }.page-teacher-messages .messenger{
            background: white;
            border-radius: 16px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            border: 1px solid #e8f4fd;
            overflow: hidden;
            display: grid;
            grid-template-columns: 30% 70%;
            min-height: calc(100vh - 36px);
        }.page-teacher-messages /* Left column */
        .chat-list{
            border-right: 1px solid #e8f4fd;
            display: flex;
            flex-direction: column;
            min-width: 280px;
        }.page-teacher-messages .chat-list-header{
            padding: 16px;
            border-bottom: 1px solid #e8f4fd;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }.page-teacher-messages .chat-list-header h1{
            margin: 0;
            font-size: 1.1rem;
            color: #667eea;
            font-weight: 800;
        }.page-teacher-messages .chat-search{
            padding: 12px 16px;
            border-bottom: 1px solid #e8f4fd;
        }.page-teacher-messages .chat-search input{
            width: 100%;
            border: 2px solid #e8f4fd;
            border-radius: 999px;
            padding: 10px 14px;
            outline: none;
        }.page-teacher-messages .chat-search input:focus{ border-color: #667eea; }.page-teacher-messages .chat-items{ overflow-y: auto; flex: 1; }.page-teacher-messages .chat-item{
            padding: 14px 16px;
            display: flex;
            gap: 12px;
            cursor: pointer;
            border-bottom: 1px solid #f1f5f9;
            transition: background 0.15s ease;
        }.page-teacher-messages .chat-item:hover{ background: #f8faff; }.page-teacher-messages .chat-item.active{ background: #eef2ff; }.page-teacher-messages .avatar{
            width: 44px; height: 44px; border-radius: 50%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white; display: flex; align-items: center; justify-content: center;
            font-weight: 800; flex-shrink: 0; overflow: hidden;
        }.page-teacher-messages .avatar img{ width: 100%; height: 100%; object-fit: cover; }.page-teacher-messages .chat-item-main{ flex: 1; min-width: 0; }.page-teacher-messages .chat-item-top{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }.page-teacher-messages .chat-name{ font-weight: 800; color: #1a202c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.page-teacher-messages .chat-time{ font-size: 0.8rem; color: #94a3b8; flex-shrink: 0; }.page-teacher-messages .chat-snippet{ font-size: 0.9rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }.page-teacher-messages .unread-pill{
            margin-left: 8px;
            background: #667eea;
            color: white;
            font-size: 0.75rem;
            font-weight: 800;
            padding: 2px 8px;
            border-radius: 999px;
        }.page-teacher-messages /* Right column */
        .chat-pane{ display: flex; flex-direction: column; min-width: 0; }.page-teacher-messages .chat-pane-header{
            padding: 14px 16px;
            border-bottom: 1px solid #e8f4fd;
            display: flex;
            align-items: center;
            gap: 12px;
        }.page-teacher-messages .back-btn{
            display: none;
            border: none;
            background: #e8f4fd;
            color: #667eea;
            padding: 8px 12px;
            border-radius: 999px;
            cursor: pointer;
            font-weight: 800;
        }.page-teacher-messages .pane-title{ display: flex; flex-direction: column; min-width: 0; }.page-teacher-messages .pane-title .name{ font-weight: 900; color: #1a202c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.page-teacher-messages .pane-title .sub{ font-size: 0.85rem; color: #94a3b8; }.page-teacher-messages .chat-scroll{
            flex: 1;
            overflow-y: auto;
            padding: 16px;
            background: linear-gradient(180deg, #fbfdff, #f8fafc);
            display: flex;
            flex-direction: column;
            gap: 10px;
        }.page-teacher-messages /* Parent container fix: column flow for margin auto */
        .message-wrap{
            display: flex;
            flex-direction: column;
            width: 100%;
        }.page-teacher-messages .bubble{
            max-width: 75%;
            padding: 10px 16px;
            border-radius: 18px;
            font-size: 0.95rem;
            line-height: 1.35;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
            word-wrap: break-word;
            white-space: pre-wrap;
            text-align: left;
            position: relative;
        }.page-teacher-messages /* OVERRIDES (requested): sent vs received */
        .message-sent{
            margin-left: auto !important;
            margin-right: 0 !important;
            background-color: #4A90E2 !important;
            color: #fff !important;
            border-radius: 18px 18px 2px 18px !important;
            text-align: left !important;
        }.page-teacher-messages .message-received{
            margin-right: auto !important;
            margin-left: 0 !important;
            background-color: #F0F0F0 !important;
            color: #333 !important;
            border-radius: 18px 18px 18px 2px !important;
            text-align: left !important;
        }.page-teacher-messages /* Bubble tails */
        .message-sent::after{
            content: '';
            position: absolute;
            right: -6px;
            bottom: 8px;
            width: 0;
            height: 0;
            border-left: 8px solid #4A90E2;
            border-top: 8px solid transparent;
            border-bottom: 8px solid transparent;
        }.page-teacher-messages .message-received::after{
            content: '';
            position: absolute;
            left: -6px;
            bottom: 8px;
            width: 0;
            height: 0;
            border-right: 8px solid #F0F0F0;
            border-top: 8px solid transparent;
            border-bottom: 8px solid transparent;
        }.page-teacher-messages .bubble-meta.meta-sent{ text-align: right; }.page-teacher-messages .bubble-meta.meta-received{ text-align: left; }.page-teacher-messages .bubble-meta{
            font-size: 0.75rem;
            color: #94a3b8;
            margin-top: 4px;
        }.page-teacher-messages .composer{
            position: sticky;
            bottom: 0;
            padding: 12px 14px;
            border-top: 1px solid #e8f4fd;
            background: white;
            display: flex;
            gap: 10px;
            align-items: flex-end;
        }.page-teacher-messages .attach-btn{
            width: 42px; height: 42px;
            border-radius: 999px;
            border: 2px solid #e8f4fd;
            background: #fbfdff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #667eea;
            flex-shrink: 0;
        }.page-teacher-messages .attach-btn:hover{ border-color: #667eea; }.page-teacher-messages .composer textarea{
            flex: 1;
            min-height: 42px;
            max-height: 120px;
            border: 2px solid #e8f4fd;
            border-radius: 14px;
            padding: 10px 12px;
            resize: none;
            outline: none;
            font-family: inherit;
            font-size: 0.95rem;
        }.page-teacher-messages .composer textarea:focus{ border-color: #667eea; }.page-teacher-messages .send-btn{
            padding: 11px 18px;
            border: none;
            border-radius: 14px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-weight: 900;
            cursor: pointer;
            flex-shrink: 0;
        }.page-teacher-messages .send-btn:disabled{ opacity: 0.6; cursor: not-allowed; }.page-teacher-messages .empty-pane{
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
            color: #64748b;
            text-align: center;
        }.page-teacher-messages /* Mobile */
        @media (max-width: 900px){
            .remoed-content { margin-left: 0; max-width: 100vw; padding: 12px; }
            .messenger { grid-template-columns: 1fr; min-height: calc(100vh - 24px); }
            .chat-list { border-right: none; }
            .chat-pane { display: none; }
            .messenger.show-chat .chat-list { display: none; }
            .messenger.show-chat .chat-pane { display: flex; }
            .back-btn { display: inline-flex; }
        }


/* --- Source: public/teacher-open-class.html --- */
body.page-teacher-open-class{ 
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
      background: linear-gradient(135deg, #f6fbff 0%, #e8f4fd 100%); 
      margin: 0;
      padding: 0;
    }.page-teacher-open-class .remoed-main{
            display: flex;
            min-height: 100vh;
            flex-direction: row;
            align-items: stretch;
            justify-content: flex-start;
            max-width: 100vw;
            overflow-x: hidden;
        }.page-teacher-open-class .remoed-content{
            flex: 1;
            padding: 40px 32px 40px 32px;
            min-width: 0;
            background: #f6fbff;
            min-height: 100vh;
            box-sizing: border-box;
            margin-left: 260px;
            max-width: calc(100vw - 260px);
        }.page-teacher-open-class .header-controls{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
        }.page-teacher-open-class .week-navigation{
            display: flex;
            align-items: center;
            gap: 16px;
        }.page-teacher-open-class .open-class-toolbar-row{
            display: flex;
            align-items: center;
            margin-bottom: 16px;
            min-width: 0;
        }.page-teacher-open-class .open-class-week-nav{
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 10px;
            min-width: 0;
            flex: 1 1 auto;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 4px;
        }.page-teacher-open-class .open-class-week-nav .week-display{
            flex: 0 0 auto;
            white-space: nowrap;
        }.page-teacher-open-class .open-class-toolbar-actions{
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 8px;
            flex: 0 0 auto;
            margin-left: 4px;
            padding-left: 12px;
            border-left: 2px solid rgba(90, 103, 216, 0.28);
        }.page-teacher-open-class .open-class-toolbar-btn{
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border: none;
            border-radius: 10px;
            padding: 8px 12px;
            font-size: 0.85rem;
            font-weight: 700;
            font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Trebuchet MS", "Segoe UI", cursive, sans-serif;
            color: #fff;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
            transition: transform 0.15s ease, box-shadow 0.15s ease;
            min-height: 40px;
            white-space: nowrap;
        }.page-teacher-open-class .open-class-toolbar-btn:hover{
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
        }.page-teacher-open-class .open-class-toolbar-btn--open{
            background: linear-gradient(180deg, #34ce57 0%, #28a745 55%, #1e7e34 100%);
        }.page-teacher-open-class .open-class-toolbar-btn--close{
            background: linear-gradient(180deg, #868e96 0%, #6c757d 50%, #495057 100%);
        }.page-teacher-open-class .open-class-toolbar-btn--schedule{
            background: #5a67d8;
            box-shadow: 0 2px 10px rgba(90, 103, 216, 0.35);
        }.page-teacher-open-class .open-class-toolbar-btn--schedule:hover{
            background: #4c51bf;
        }.page-teacher-open-class .open-class-toolbar-ico{
            flex-shrink: 0;
        }.page-teacher-open-class .open-class-toolbar-ico--sphere{
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, #8ef5a8 0%, #28a745 45%, #145c24 100%);
            box-shadow: inset -1px -1px 2px rgba(0, 0, 0, 0.25), 1px 1px 2px rgba(255, 255, 255, 0.35);
        }.page-teacher-open-class .open-class-toolbar-ico--square{
            width: 10px;
            height: 10px;
            border-radius: 2px;
            background: linear-gradient(135deg, #e9d5ff 0%, #c4b5fd 45%, #a78bfa 100%);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 1px 1px 2px rgba(0, 0, 0, 0.2);
        }.page-teacher-open-class .open-class-week-nav .nav-btn{
            min-width: 0;
            padding: 10px 12px;
            font-size: 0.82rem;
        }.page-teacher-open-class .nav-btn{
      background: linear-gradient(135deg, #ffe85a, #f4d03f);
      color: #333;
      border: none;
      padding: 10px 18px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(255, 232, 90, 0.3);
      height: 40px;
      min-width: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-teacher-open-class .nav-btn:hover{
      background: linear-gradient(135deg, #f4d03f, #f1c40f);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 232, 90, 0.4);
    }.page-teacher-open-class .nav-btn:disabled{
            background: #ccc;
            cursor: not-allowed;
        }.page-teacher-open-class .week-display{
            font-weight: 600;
            color: #333;
            min-width: 120px;
            text-align: center;
        }.page-teacher-open-class .current-week-btn{
      background: linear-gradient(135deg, #28a745, #1e7e34) !important;
      color: white;
      box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
    }.page-teacher-open-class .current-week-btn:hover{
      background: linear-gradient(135deg, #1e7e34, #155724) !important;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
    }.page-teacher-open-class .action-buttons{
            display: flex;
            gap: 12px;
        }.page-teacher-open-class .submit-btn{
      background: linear-gradient(135deg, #667eea, #5a67d8);
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 12px 24px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
      height: 40px;
      min-width: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-teacher-open-class .submit-btn:hover{
      background: linear-gradient(135deg, #5a67d8, #4c51bf);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }.page-teacher-open-class .back-btn{
            background: #667eea;
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 12px 24px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            height: 40px;
            min-width: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
        }.page-teacher-open-class .back-btn:hover{
            background: #5a67d8;
        }.page-teacher-open-class .legend{
            display: flex;
            gap: 16px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }.page-teacher-open-class .legend-item{
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
        }.page-teacher-open-class .legend-color{
            width: 20px;
            height: 20px;
            border-radius: 4px;
            border: 1px solid #e0e6ed;
        }.page-teacher-open-class .weekly-grid{
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(28, 167, 231, 0.1);
      overflow: auto;
      max-height: calc(100vh - 200px);
      max-width: 100%;
      box-sizing: border-box;
      border: 1px solid rgba(28, 167, 231, 0.1);
    }.page-teacher-open-class .schedule-table{
            width: 100%;
            border-collapse: collapse;
            table-layout: fixed;
            margin: 0;
            min-width: 800px;
        }.page-teacher-open-class .schedule-table th, .page-teacher-open-class .schedule-table td{
            border: 1px solid #e0e6ed;
            padding: 12px 8px;
            text-align: center;
            vertical-align: middle;
        }.page-teacher-open-class .schedule-table th{
      background: linear-gradient(135deg, #667eea, #5a67d8);
      font-weight: 600;
      color: white;
      position: sticky;
      top: 0;
      z-index: 5;
      text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }.page-teacher-open-class .time-column{
            width: 80px;
            position: sticky;
            left: 0;
            background: #f8f9fa;
            z-index: 3;
        }.page-teacher-open-class .day-column{
            width: calc((100% - 80px) / 7);
            line-height: 1.2;
            padding: 8px 4px;
        }.page-teacher-open-class .day-column br{
            margin: 2px 0;
        }.page-teacher-open-class .time-slot{
            font-size: 0.9rem;
            color: #666;
            min-height: 40px;
            cursor: pointer;
            transition: background 0.2s;
        }.page-teacher-open-class .time-slot:hover:not(.already-opened):not(.unavailable){
            background: #e3f2fd;
        }.page-teacher-open-class .time-slot.selected{
            background: #ffffff;
            color: #333;
            font-weight: 600;
        }.page-teacher-open-class .time-slot.already-opened{
            background: #e8f5e8;
            color: #2d5a2d;
            font-weight: 600;
            cursor: pointer;
        }.page-teacher-open-class .time-slot.unavailable{
            background: #f8f9fa;
            color: #6c757d;
            cursor: not-allowed;
        }.page-teacher-open-class .notification{
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            color: #856404;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 16px;
            font-weight: 600;
        }@media (max-width: 1200px){.page-teacher-open-class .remoed-sidebar{
                width: 260px;
                min-width: 260px;
            }.page-teacher-open-class .remoed-content{
                margin-left: 260px;
                max-width: calc(100vw - 260px);
            }
        }@media (max-width: 900px){.page-teacher-open-class .remoed-main{
                flex-direction: column;
            }.page-teacher-open-class .remoed-sidebar{
                width: 100%;
                position: relative;
                height: auto;
            }.page-teacher-open-class .remoed-content{
                margin-left: 0;
                max-width: 100vw;
                padding: 20px 10px;
            }.page-teacher-open-class .weekly-grid{
                max-height: 60vh;
            }.page-teacher-open-class .schedule-table{
                min-width: 600px;
            }
        }

/* PHT time notices: keep copy on one horizontal row; scroll horizontally on narrow viewports */
#open-class-pht-note,
#student-book-pht-note,
#teacher-schedule-pht-note,
#teacher-class-table-pht-note,
.student-schedule-pht-note {
    white-space: nowrap;
    overflow-x: auto;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}


/* --- Source: public/teacher-peer-learning-connections.html --- */
body.page-teacher-peer-learning-connections{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #f8fafc; 
            color: #1a202c;
            margin: 0;
            padding: 0;
        }.page-teacher-peer-learning-connections .remoed-main{
            display: flex;
            min-height: 100vh;
        }.page-teacher-peer-learning-connections .remoed-content{
            flex: 1;
            padding: 36px 40px;
            margin-left: 260px;
            max-width: calc(100vw - 260px);
        }.page-teacher-peer-learning-connections .page-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
        }.page-teacher-peer-learning-connections .page-header h1{
            color: #667eea;
            font-size: 2rem;
            font-weight: 700;
            margin: 0;
        }.page-teacher-peer-learning-connections .back-btn{
            padding: 10px 20px;
            background: #e8f4fd;
            color: #667eea;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }.page-teacher-peer-learning-connections .back-btn:hover{
            background: #667eea;
            color: white;
        }.page-teacher-peer-learning-connections .tab-buttons{
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
            border-bottom: 2px solid #e8f4fd;
        }.page-teacher-peer-learning-connections .tab-btn{
            padding: 12px 24px;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            color: #64748b;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.95rem;
        }.page-teacher-peer-learning-connections .tab-btn.active{
            color: #667eea;
            border-bottom-color: #667eea;
        }.page-teacher-peer-learning-connections .tab-btn:hover{
            color: #667eea;
        }.page-teacher-peer-learning-connections .tab-content{
            display: none;
        }.page-teacher-peer-learning-connections .tab-content.active{
            display: block;
        }.page-teacher-peer-learning-connections .section-card{
            background: white;
            border-radius: 16px;
            padding: 28px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            border: 1px solid #e8f4fd;
        }.page-teacher-peer-learning-connections .connection-card{
            background: white;
            border: 2px solid #e8f4fd;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: all 0.2s;
        }.page-teacher-peer-learning-connections .connection-card:hover{
            border-color: #667eea;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
        }.page-teacher-peer-learning-connections .connection-avatar{
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            flex-shrink: 0;
        }.page-teacher-peer-learning-connections .connection-info{
            flex: 1;
        }.page-teacher-peer-learning-connections .connection-info h4{
            margin: 0 0 4px 0;
            color: #1a202c;
            font-size: 1.1rem;
        }.page-teacher-peer-learning-connections .connection-info p{
            margin: 0;
            color: #64748b;
            font-size: 0.9rem;
        }.page-teacher-peer-learning-connections .connection-actions{
            display: flex;
            gap: 8px;
        }.page-teacher-peer-learning-connections .btn-primary{
            padding: 10px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s;
        }.page-teacher-peer-learning-connections .btn-primary:hover{
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }.page-teacher-peer-learning-connections .btn-secondary{
            padding: 10px 20px;
            background: #e8f4fd;
            color: #667eea;
            border: 2px solid #667eea;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s;
        }.page-teacher-peer-learning-connections .btn-secondary:hover{
            background: #667eea;
            color: white;
        }.page-teacher-peer-learning-connections .btn-danger{
            padding: 10px 20px;
            background: #fee;
            color: #e74c3c;
            border: 2px solid #e74c3c;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s;
        }.page-teacher-peer-learning-connections .btn-danger:hover{
            background: #e74c3c;
            color: white;
        }.page-teacher-peer-learning-connections .status-badge{
            display: inline-block;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-left: 8px;
        }.page-teacher-peer-learning-connections .status-badge.pending{
            background: #fff3cd;
            color: #856404;
        }.page-teacher-peer-learning-connections .status-badge.connected{
            background: #d4edda;
            color: #155724;
        }.page-teacher-peer-learning-connections .empty-state{
            text-align: center;
            padding: 60px 20px;
            color: #64748b;
        }.page-teacher-peer-learning-connections .empty-state svg{
            width: 80px;
            height: 80px;
            margin-bottom: 20px;
            opacity: 0.5;
        }.page-teacher-peer-learning-connections .empty-state h3{
            color: #1a202c;
            margin-bottom: 8px;
        }.page-teacher-peer-learning-connections /* Message modal */
        .message-modal-overlay{
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.5); z-index: 2000;
            display: flex; align-items: center; justify-content: center;
        }.page-teacher-peer-learning-connections .message-modal{
            background: white; border-radius: 16px; padding: 24px;
            max-width: 480px; width: 90%; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        }.page-teacher-peer-learning-connections .message-modal h3{ margin: 0 0 16px 0; color: #667eea; font-size: 1.2rem; }.page-teacher-peer-learning-connections .message-modal textarea{
            width: 100%; min-height: 120px; padding: 12px; border: 2px solid #e8f4fd;
            border-radius: 8px; font-size: 0.95rem; resize: vertical; box-sizing: border-box;
        }.page-teacher-peer-learning-connections .message-modal textarea:focus{ outline: none; border-color: #667eea; }.page-teacher-peer-learning-connections .message-modal-actions{ display: flex; gap: 12px; margin-top: 16px; justify-content: flex-end; }.page-teacher-peer-learning-connections .connection-request-card{
            background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
            border: 2px solid #667eea;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 16px;
        }.page-teacher-peer-learning-connections .request-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }.page-teacher-peer-learning-connections .request-info{
            display: flex;
            align-items: center;
            gap: 16px;
        }.page-teacher-peer-learning-connections .request-message{
            background: white;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 16px;
            color: #64748b;
            font-size: 0.9rem;
        }.page-teacher-peer-learning-connections .request-actions{
            display: flex;
            gap: 8px;
        }.page-teacher-peer-learning-connections /* Remo AI Chatbot Styles */
        #remo-ai-chatbot{
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 380px;
            height: 600px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            display: none;
            flex-direction: column;
            overflow: hidden;
            transition: all 0.3s ease;
        }.page-teacher-peer-learning-connections #remo-ai-chatbot.open{
            display: flex;
        }.page-teacher-peer-learning-connections .chatbot-header{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 20px 20px 0 0;
        }.page-teacher-peer-learning-connections .chatbot-header h3{
            margin: 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }.page-teacher-peer-learning-connections .chatbot-close{
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }.page-teacher-peer-learning-connections .chatbot-close:hover{
            background: rgba(255, 255, 255, 0.3);
        }.page-teacher-peer-learning-connections .chatbot-messages{
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: #f8fafc;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }.page-teacher-peer-learning-connections .chatbot-message{
            display: flex;
            gap: 10px;
            animation: fadeIn 0.3s ease;
        }.page-teacher-peer-learning-connections .chatbot-message.user{
            flex-direction: row-reverse;
        }.page-teacher-peer-learning-connections .message-avatar{
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }.page-teacher-peer-learning-connections .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2px;
        }.page-teacher-peer-learning-connections .chatbot-message.bot .message-avatar svg{
            width: 28px;
            height: 28px;
        }.page-teacher-peer-learning-connections .chatbot-message.user .message-avatar{
            background: #e2e8f0;
            color: #667eea;
        }.page-teacher-peer-learning-connections .message-content{
            max-width: 75%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 0.9rem;
            line-height: 1.5;
        }.page-teacher-peer-learning-connections .chatbot-message.bot .message-content{
            background: white;
            color: #1a202c;
            border: 1px solid #e2e8f0;
        }.page-teacher-peer-learning-connections .chatbot-message.user .message-content{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-peer-learning-connections .chatbot-input-area{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 10px;
        }.page-teacher-peer-learning-connections .chatbot-input{
            flex: 1;
            padding: 10px 15px;
            border: 2px solid #e2e8f0;
            border-radius: 25px;
            font-size: 0.9rem;
            outline: none;
        }.page-teacher-peer-learning-connections .chatbot-input:focus{
            border-color: #667eea;
        }.page-teacher-peer-learning-connections .chatbot-send{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s;
        }.page-teacher-peer-learning-connections .chatbot-send:hover{
            transform: scale(1.1);
        }.page-teacher-peer-learning-connections .chatbot-toggle{
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 20px rgba(255, 165, 0, 0.3);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s;
            padding: 0;
            overflow: visible;
        }.page-teacher-peer-learning-connections .chatbot-toggle:hover{
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 30px rgba(255, 165, 0, 0.5);
        }.page-teacher-peer-learning-connections .chatbot-toggle.hidden{
            display: none;
        }.page-teacher-peer-learning-connections .remo-ai-icon{
            width: 40px;
            height: 40px;
            filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
        }@keyframes fadeIn{
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


/* --- Source: public/teacher-performance-indicator.html --- */
body.page-teacher-performance-indicator{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #f8fafc; 
            color: #1a202c;
            margin: 0;
            padding: 0;
        }.page-teacher-performance-indicator .remoed-main{
            display: flex;
            min-height: 100vh;
        }.page-teacher-performance-indicator .remoed-content{
            flex: 1;
            padding: 36px 40px;
            margin-left: 260px;
            max-width: calc(100vw - 260px);
        }.page-teacher-performance-indicator .page-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
        }.page-teacher-performance-indicator .page-header h1{
            color: #667eea;
            font-size: 2rem;
            font-weight: 700;
            margin: 0;
        }.page-teacher-performance-indicator .period-selector{
            display: flex;
            gap: 12px;
            align-items: center;
        }.page-teacher-performance-indicator .period-btn{
            padding: 8px 16px;
            border: 2px solid #667eea;
            background: white;
            color: #667eea;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }.page-teacher-performance-indicator .period-btn.active{
            background: #667eea;
            color: white;
        }.page-teacher-performance-indicator .period-btn:hover{
            background: #667eea;
            color: white;
        }.page-teacher-performance-indicator .stats-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 24px;
            margin-bottom: 32px;
        }.page-teacher-performance-indicator .stat-card{
            background: white;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            border-left: 4px solid;
        }.page-teacher-performance-indicator .stat-card.completed{ border-left-color: #28a745; }.page-teacher-performance-indicator .stat-card.absent{ border-left-color: #dc3545; }.page-teacher-performance-indicator .stat-card.cancelled{ border-left-color: #ffc107; }.page-teacher-performance-indicator .stat-card.late{ border-left-color: #fd7e14; }.page-teacher-performance-indicator .stat-card.system-issue{ border-left-color: #6f42c1; }.page-teacher-performance-indicator .stat-card.teacher-issue{ border-left-color: #e83e8c; }.page-teacher-performance-indicator .stat-card.student-issue{ border-left-color: #20c997; }.page-teacher-performance-indicator .stat-label{
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 8px;
            font-weight: 600;
        }.page-teacher-performance-indicator .stat-value{
            font-size: 2rem;
            font-weight: 700;
            color: #1a202c;
        }.page-teacher-performance-indicator .metrics-section{
            background: white;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 32px;
        }.page-teacher-performance-indicator .metrics-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 24px;
        }.page-teacher-performance-indicator .metric-item{
            text-align: center;
        }.page-teacher-performance-indicator .metric-label{
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 8px;
        }.page-teacher-performance-indicator .metric-value{
            font-size: 1.8rem;
            font-weight: 700;
            color: #667eea;
        }.page-teacher-performance-indicator .breakdown-section{
            background: white;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 24px;
        }.page-teacher-performance-indicator .breakdown-header{
            font-size: 1.2rem;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid #e2e8f0;
        }.page-teacher-performance-indicator .breakdown-list{
            max-height: 300px;
            overflow-y: auto;
        }.page-teacher-performance-indicator .breakdown-item{
            padding: 12px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }.page-teacher-performance-indicator .breakdown-item:last-child{
            border-bottom: none;
        }.page-teacher-performance-indicator .breakdown-date{
            font-weight: 600;
            color: #1a202c;
        }.page-teacher-performance-indicator .breakdown-time{
            color: #666;
            font-size: 0.9rem;
        }.page-teacher-performance-indicator .loading{
            text-align: center;
            padding: 40px;
            color: #666;
        }.page-teacher-performance-indicator .error{
            background: #fee;
            color: #c33;
            padding: 16px;
            border-radius: 8px;
            margin: 16px 0;
        }.page-teacher-performance-indicator /* Performance Metrics Cards Styles */
        .charts-grid-secondary{
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }@media (max-width: 1400px){.page-teacher-performance-indicator .charts-grid-secondary{
                grid-template-columns: repeat(2, 1fr);
            }
        }@media (max-width: 768px){.page-teacher-performance-indicator .charts-grid-secondary{
                grid-template-columns: 1fr;
            }
        }.page-teacher-performance-indicator .chart-card:hover{
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        }.page-teacher-performance-indicator /* Badge System Styles */
        .badges-section{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 16px;
            padding: 32px;
            margin-bottom: 32px;
            box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
        }.page-teacher-performance-indicator .badges-header{
            color: white;
            margin-bottom: 24px;
        }.page-teacher-performance-indicator .badges-header h2{
            color: white;
            font-size: 1.8rem;
            margin: 0 0 8px 0;
            display: flex;
            align-items: center;
            gap: 12px;
        }.page-teacher-performance-indicator .badges-header p{
            color: rgba(255, 255, 255, 0.9);
            margin: 0;
            font-size: 1rem;
        }.page-teacher-performance-indicator .badges-grid{
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
            margin-top: 24px;
        }.page-teacher-performance-indicator .badge-card{
            background: white;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }.page-teacher-performance-indicator .badge-card.earned{
            border: 3px solid #28a745;
            transform: scale(1.05);
            box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
        }.page-teacher-performance-indicator .badge-card.earned::before{
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transform: rotate(45deg);
            animation: shine 3s infinite;
        }.page-teacher-performance-indicator .badge-card.locked{
            opacity: 0.5;
            filter: grayscale(100%);
        }@keyframes shine{
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }.page-teacher-performance-indicator .badge-icon{
            font-size: 3rem;
            margin-bottom: 12px;
            display: block;
        }.page-teacher-performance-indicator .badge-card.earned .badge-icon{
            animation: bounce 2s infinite;
        }@keyframes bounce{
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }.page-teacher-performance-indicator .badge-name{
            font-weight: 700;
            font-size: 1rem;
            color: #1a202c;
            margin-bottom: 8px;
        }.page-teacher-performance-indicator .badge-description{
            font-size: 0.85rem;
            color: #666;
            line-height: 1.4;
        }.page-teacher-performance-indicator .badge-status{
            margin-top: 8px;
            font-size: 0.75rem;
            font-weight: 600;
        }.page-teacher-performance-indicator .badge-status.earned{
            color: #28a745;
        }.page-teacher-performance-indicator .badge-status.locked{
            color: #999;
        }.page-teacher-performance-indicator .badge-progress{
            margin-top: 8px;
            height: 4px;
            background: #e2e8f0;
            border-radius: 2px;
            overflow: hidden;
        }.page-teacher-performance-indicator .badge-progress-bar{
            height: 100%;
            background: linear-gradient(90deg, #667eea, #764ba2);
            transition: width 0.3s ease;
        }.page-teacher-performance-indicator .attendance-analysis-section{
            margin-top: 32px;
        }.page-teacher-performance-indicator .section-title{
            font-size: 1.5rem;
            font-weight: 700;
            color: #667eea;
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 3px solid #667eea;
        }.page-teacher-performance-indicator #remo-ai-chatbot{
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 380px;
            height: 600px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            display: none;
            flex-direction: column;
            overflow: hidden;
            transition: all 0.3s ease;
        }.page-teacher-performance-indicator #remo-ai-chatbot.open{
            display: flex;
        }.page-teacher-performance-indicator .chatbot-header{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 20px 20px 0 0;
        }.page-teacher-performance-indicator .chatbot-header h3{
            margin: 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }.page-teacher-performance-indicator .chatbot-close{
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }.page-teacher-performance-indicator .chatbot-close:hover{
            background: rgba(255, 255, 255, 0.3);
        }.page-teacher-performance-indicator .chatbot-messages{
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: #f8fafc;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }.page-teacher-performance-indicator .chatbot-message{
            display: flex;
            gap: 10px;
            animation: fadeIn 0.3s ease;
        }.page-teacher-performance-indicator .chatbot-message.user{
            flex-direction: row-reverse;
        }.page-teacher-performance-indicator .message-avatar{
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }.page-teacher-performance-indicator .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-performance-indicator .chatbot-message.user .message-avatar{
            background: #e2e8f0;
            color: #667eea;
        }.page-teacher-performance-indicator .message-content{
            max-width: 75%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 0.9rem;
            line-height: 1.5;
        }.page-teacher-performance-indicator .chatbot-message.bot .message-content{
            background: white;
            color: #1a202c;
            border: 1px solid #e2e8f0;
        }.page-teacher-performance-indicator .chatbot-message.user .message-content{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-performance-indicator .message-buttons{
            margin-top: 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }.page-teacher-performance-indicator .message-button{
            padding: 10px 14px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 8px;
        }.page-teacher-performance-indicator .message-button:hover{
            background: #e2e8f0;
            border-color: #667eea;
            transform: translateX(4px);
        }.page-teacher-performance-indicator .message-button-icon{
            font-size: 1rem;
        }.page-teacher-performance-indicator .quick-actions{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }.page-teacher-performance-indicator .quick-action-btn{
            padding: 8px 12px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
        }.page-teacher-performance-indicator .quick-action-btn:hover{
            background: #e2e8f0;
            transform: translateY(-1px);
        }.page-teacher-performance-indicator .chatbot-input-area{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 10px;
        }.page-teacher-performance-indicator .chatbot-input{
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 25px;
            font-size: 0.9rem;
            outline: none;
        }.page-teacher-performance-indicator .chatbot-input:focus{
            border-color: #667eea;
        }.page-teacher-performance-indicator .chatbot-send{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s;
        }.page-teacher-performance-indicator .chatbot-send:hover{
            transform: scale(1.1);
        }.page-teacher-performance-indicator .chatbot-toggle{
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 20px rgba(255, 165, 0, 0.3);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s;
            padding: 0;
            overflow: visible;
        }.page-teacher-performance-indicator .chatbot-toggle:hover{
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 30px rgba(255, 165, 0, 0.5);
        }.page-teacher-performance-indicator .remo-ai-icon{
            width: 40px;
            height: 40px;
            filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
        }.page-teacher-performance-indicator .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2px;
        }.page-teacher-performance-indicator .chatbot-message.bot .message-avatar svg{
            width: 28px;
            height: 28px;
        }.page-teacher-performance-indicator .chatbot-toggle.hidden{
            display: none;
        }@keyframes fadeIn{
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }.page-teacher-performance-indicator .typing-indicator{
            display: flex;
            gap: 4px;
            padding: 12px 16px;
        }.page-teacher-performance-indicator .typing-dot{
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #667eea;
            animation: typing 1.4s infinite;
        }.page-teacher-performance-indicator .typing-dot:nth-child(2){
            animation-delay: 0.2s;
        }.page-teacher-performance-indicator .typing-dot:nth-child(3){
            animation-delay: 0.4s;
        }@keyframes typing{
            0%, 60%, 100% {
                transform: translateY(0);
            }
            30% {
                transform: translateY(-10px);
            }
        }


/* --- Source: public/teacher-professional-development.html --- */
body.page-teacher-professional-development{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #f8fafc; 
            color: #1a202c;
            margin: 0;
            padding: 0;
        }.page-teacher-professional-development .remoed-main{
            display: flex;
            min-height: 100vh;
        }.page-teacher-professional-development .remoed-content{
            flex: 1;
            padding: 36px 40px;
            margin-left: 260px;
            max-width: calc(100vw - 260px);
        }.page-teacher-professional-development .page-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
        }.page-teacher-professional-development .page-header h1{
            color: #667eea;
            font-size: 2rem;
            font-weight: 700;
            margin: 0;
        }.page-teacher-professional-development .section-card{
            background: white;
            border-radius: 16px;
            padding: 28px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            border: 1px solid #e8f4fd;
        }.page-teacher-professional-development .section-title{
            font-size: 1.5rem;
            font-weight: 700;
            color: #667eea;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }.page-teacher-professional-development .training-grid{
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }.page-teacher-professional-development .training-card{
            background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
            border: 2px solid #e8f4fd;
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s ease;
            cursor: pointer;
        }.page-teacher-professional-development .training-card:hover{
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
            border-color: #667eea;
        }.page-teacher-professional-development .training-card.completed{
            background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
            border-color: #10b981;
        }.page-teacher-professional-development .training-card.in-progress{
            background: linear-gradient(135deg, #fff4e6 0%, #ffffff 100%);
            border-color: #f59e0b;
        }.page-teacher-professional-development .training-icon{
            font-size: 2.5rem;
            margin-bottom: 12px;
        }.page-teacher-professional-development .training-title{
            font-size: 1.1rem;
            font-weight: 700;
            color: #667eea;
            margin-bottom: 8px;
        }.page-teacher-professional-development .training-description{
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 12px;
            line-height: 1.5;
        }.page-teacher-professional-development .training-meta{
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #666;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid #e8f4fd;
        }.page-teacher-professional-development .training-status{
            padding: 4px 12px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.75rem;
        }.page-teacher-professional-development .status-available{
            background: #e8f4fd;
            color: #667eea;
        }.page-teacher-professional-development .status-completed{
            background: #d1fae5;
            color: #10b981;
        }.page-teacher-professional-development .status-in-progress{
            background: #fef3c7;
            color: #f59e0b;
        }.page-teacher-professional-development .certification-table{
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }.page-teacher-professional-development .certification-table th, .page-teacher-professional-development .certification-table td{
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #e8f4fd;
        }.page-teacher-professional-development .certification-table th{
            background: #f0f8ff;
            color: #667eea;
            font-weight: 700;
            font-size: 0.9rem;
        }.page-teacher-professional-development .certification-table tr:hover{
            background: #f8f9fa;
        }.page-teacher-professional-development .expiry-badge{
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
        }.page-teacher-professional-development .expiry-valid{
            background: #d1fae5;
            color: #10b981;
        }.page-teacher-professional-development .expiry-warning{
            background: #fef3c7;
            color: #f59e0b;
        }.page-teacher-professional-development .expiry-expired{
            background: #fee2e2;
            color: #e74c3c;
        }.page-teacher-professional-development .assessment-card{
            background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
            border: 2px solid #e8f4fd;
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 16px;
        }.page-teacher-professional-development .assessment-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }.page-teacher-professional-development .assessment-title{
            font-size: 1.2rem;
            font-weight: 700;
            color: #667eea;
        }.page-teacher-professional-development .assessment-date{
            font-size: 0.85rem;
            color: #666;
        }.page-teacher-professional-development .skill-levels{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-top: 16px;
        }.page-teacher-professional-development .skill-level-item{
            background: white;
            padding: 16px;
            border-radius: 8px;
            border: 2px solid #e8f4fd;
        }.page-teacher-professional-development .skill-name{
            font-weight: 600;
            color: #667eea;
            margin-bottom: 8px;
        }.page-teacher-professional-development .level-badge{
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-top: 8px;
        }.page-teacher-professional-development .level-beginner{
            background: #fee2e2;
            color: #e74c3c;
        }.page-teacher-professional-development .level-intermediate{
            background: #fef3c7;
            color: #f59e0b;
        }.page-teacher-professional-development .level-advanced{
            background: #dbeafe;
            color: #3b82f6;
        }.page-teacher-professional-development .level-expert{
            background: #d1fae5;
            color: #10b981;
        }.page-teacher-professional-development .peer-learning-grid{
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }.page-teacher-professional-development .peer-card{
            background: white;
            border: 2px solid #e8f4fd;
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s ease;
        }.page-teacher-professional-development .peer-card:hover{
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
            border-color: #667eea;
        }.page-teacher-professional-development .peer-header{
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }.page-teacher-professional-development .peer-avatar{
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.2rem;
        }.page-teacher-professional-development .peer-info h4{
            margin: 0;
            color: #667eea;
            font-size: 1rem;
        }.page-teacher-professional-development .peer-info p{
            margin: 4px 0 0 0;
            color: #666;
            font-size: 0.85rem;
        }.page-teacher-professional-development .peer-expertise{
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 12px;
        }.page-teacher-professional-development .expertise-tag{
            background: #e8f4fd;
            color: #667eea;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
        }.page-teacher-professional-development .btn-primary{
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }.page-teacher-professional-development .btn-primary:hover{
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }.page-teacher-professional-development .btn-secondary{
            background: white;
            color: #667eea;
            border: 2px solid #667eea;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }.page-teacher-professional-development .btn-secondary:hover{
            background: #f0f8ff;
        }.page-teacher-professional-development .tab-buttons{
            display: flex;
            gap: 8px;
            margin-bottom: 24px;
            border-bottom: 2px solid #e8f4fd;
        }.page-teacher-professional-development .tab-btn{
            padding: 12px 24px;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            color: #666;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }.page-teacher-professional-development .tab-btn.active{
            color: #667eea;
            border-bottom-color: #667eea;
        }.page-teacher-professional-development .tab-content{
            display: none;
        }.page-teacher-professional-development .tab-content.active{
            display: block;
        }.page-teacher-professional-development .empty-state{
            text-align: center;
            padding: 40px;
            color: #666;
        }.page-teacher-professional-development .empty-state-icon{
            font-size: 4rem;
            margin-bottom: 16px;
        }@media (max-width: 768px){.page-teacher-professional-development .remoed-content{
                margin-left: 0;
                padding: 20px;
            }.page-teacher-professional-development .remoed-sidebar{
                transform: translateX(-100%);
            }.page-teacher-professional-development .training-grid, .page-teacher-professional-development .peer-learning-grid{
                grid-template-columns: 1fr;
            }
        }.page-teacher-professional-development #remo-ai-chatbot{
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 380px;
            height: 600px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            display: none;
            flex-direction: column;
            overflow: hidden;
            transition: all 0.3s ease;
        }.page-teacher-professional-development #remo-ai-chatbot.open{
            display: flex;
        }.page-teacher-professional-development .chatbot-header{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 20px 20px 0 0;
        }.page-teacher-professional-development .chatbot-header h3{
            margin: 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }.page-teacher-professional-development .chatbot-close{
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }.page-teacher-professional-development .chatbot-close:hover{
            background: rgba(255, 255, 255, 0.3);
        }.page-teacher-professional-development .chatbot-messages{
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: #f8fafc;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }.page-teacher-professional-development .chatbot-message{
            display: flex;
            gap: 10px;
            animation: fadeIn 0.3s ease;
        }.page-teacher-professional-development .chatbot-message.user{
            flex-direction: row-reverse;
        }.page-teacher-professional-development .message-avatar{
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }.page-teacher-professional-development .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-professional-development .chatbot-message.user .message-avatar{
            background: #e2e8f0;
            color: #667eea;
        }.page-teacher-professional-development .message-content{
            max-width: 75%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 0.9rem;
            line-height: 1.5;
        }.page-teacher-professional-development .chatbot-message.bot .message-content{
            background: white;
            color: #1a202c;
            border: 1px solid #e2e8f0;
        }.page-teacher-professional-development .chatbot-message.user .message-content{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-professional-development .message-buttons{
            margin-top: 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }.page-teacher-professional-development .message-button{
            padding: 10px 14px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 8px;
        }.page-teacher-professional-development .message-button:hover{
            background: #e2e8f0;
            border-color: #667eea;
            transform: translateX(4px);
        }.page-teacher-professional-development .message-button-icon{
            font-size: 1rem;
        }.page-teacher-professional-development .quick-actions{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }.page-teacher-professional-development .quick-action-btn{
            padding: 8px 12px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
        }.page-teacher-professional-development .quick-action-btn:hover{
            background: #e2e8f0;
            transform: translateY(-1px);
        }.page-teacher-professional-development .chatbot-input-area{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 10px;
        }.page-teacher-professional-development .chatbot-input{
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 25px;
            font-size: 0.9rem;
            outline: none;
        }.page-teacher-professional-development .chatbot-input:focus{
            border-color: #667eea;
        }.page-teacher-professional-development .chatbot-send{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s;
        }.page-teacher-professional-development .chatbot-send:hover{
            transform: scale(1.1);
        }.page-teacher-professional-development .chatbot-toggle{
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 20px rgba(255, 165, 0, 0.3);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s;
            padding: 0;
            overflow: visible;
        }.page-teacher-professional-development .chatbot-toggle:hover{
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 30px rgba(255, 165, 0, 0.5);
        }.page-teacher-professional-development .remo-ai-icon{
            width: 40px;
            height: 40px;
            filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
        }.page-teacher-professional-development .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2px;
        }.page-teacher-professional-development .chatbot-message.bot .message-avatar svg{
            width: 28px;
            height: 28px;
        }.page-teacher-professional-development .chatbot-toggle.hidden{
            display: none;
        }@keyframes fadeIn{
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }.page-teacher-professional-development .typing-indicator{
            display: flex;
            gap: 4px;
            padding: 12px 16px;
        }.page-teacher-professional-development .typing-dot{
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #667eea;
            animation: typing 1.4s infinite;
        }.page-teacher-professional-development .typing-dot:nth-child(2){
            animation-delay: 0.2s;
        }.page-teacher-professional-development .typing-dot:nth-child(3){
            animation-delay: 0.4s;
        }@keyframes typing{
            0%, 60%, 100% {
                transform: translateY(0);
            }
            30% {
                transform: translateY(-10px);
            }
        }


/* --- Source: public/teacher-profile.html --- */
body.page-teacher-profile{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #F0F2F5; 
            margin: 0;
            padding: 0;
        }.page-teacher-profile .remoed-main{
            display: flex;
            min-height: 100vh;
        }.page-teacher-profile /* Sidebar: see css/teacher-sidebar.css */
        .remoed-content{
            flex: 1;
            padding: 24px 32px;
            margin-left: 260px;
            max-width: calc(100vw - 260px);
            background: #F0F2F5;
        }.page-teacher-profile .profile-container{
            max-width: 1200px;
            margin: 0 auto;
        }.page-teacher-profile /* Facebook-style Profile Header */
        .profile-header{
            background: white;
            border-radius: 16px;
            padding: 32px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            display: flex;
            align-items: center;
            gap: 24px;
        }.page-teacher-profile .profile-avatar-large{
            width: 160px;
            height: 160px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
            border: 4px solid #667eea;
            box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
        }.page-teacher-profile .profile-avatar-large:hover{
            transform: scale(1.05);
            box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
        }.page-teacher-profile .profile-avatar-large img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }.page-teacher-profile .upload-overlay{
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 12px;
            text-align: center;
            font-size: 0.9rem;
            font-weight: 600;
            transform: translateY(100%);
            transition: transform 0.3s;
        }.page-teacher-profile .profile-avatar-large:hover .upload-overlay{
            transform: translateY(0);
        }.page-teacher-profile .profile-header-info{
            flex: 1;
        }.page-teacher-profile .profile-name-large{
            font-size: 2.5rem;
            font-weight: 800;
            color: #667eea;
            margin: 0 0 8px 0;
        }.page-teacher-profile .profile-email-large{
            color: #4A6FA5;
            margin: 0 0 16px 0;
            font-size: 1.1rem;
            font-weight: 600;
        }.page-teacher-profile .profile-actions{
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }.page-teacher-profile /* Sticky footer actions so Edit/Save are always visible */
        .profile-footer-actions{
            position: sticky;
            bottom: 0;
            margin-top: 24px;
            padding-top: 12px;
            padding-bottom: 12px;
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
            z-index: 5;
        }.page-teacher-profile .back-btn{
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 700;
            transition: all 0.3s ease;
            font-size: 1rem;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }.page-teacher-profile .back-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }.page-teacher-profile /* Profile Content Grid - Facebook Style */
        .profile-content-grid{
            display: grid;
            grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
            gap: 24px;
        }.page-teacher-profile .profile-sidebar-card{
            background: white;
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            height: fit-content;
            position: sticky;
            top: 24px;
            min-width: 0;
            max-width: 100%;
            box-sizing: border-box;
        }.page-teacher-profile .profile-main-card{
            background: white;
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }.page-teacher-profile .section-title{
            font-size: 1.5rem;
            font-weight: 800;
            color: #667eea;
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 3px solid #667eea;
        }.page-teacher-profile .info-section{
            margin-bottom: 32px;
        }.page-teacher-profile .info-section-title{
            font-size: 1.2rem;
            font-weight: 700;
            color: #1E3A5F;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }.page-teacher-profile .form-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }.page-teacher-profile .form-group{
            margin-bottom: 20px;
        }.page-teacher-profile .form-group.full-width{
            grid-column: 1 / -1;
        }.page-teacher-profile .form-label{
            display: block;
            margin-bottom: 8px;
            font-weight: 700;
            color: #1E3A5F;
            font-size: 0.95rem;
        }.page-teacher-profile .form-input{
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #E8F4FD;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }.page-teacher-profile .form-input:focus{
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
        }.page-teacher-profile .form-textarea{
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #E8F4FD;
            border-radius: 12px;
            font-size: 1rem;
            min-height: 120px;
            resize: vertical;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }.page-teacher-profile .form-textarea:focus{
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
        }.page-teacher-profile .file-upload{
            position: relative;
            display: inline-block;
            cursor: pointer;
            width: 100%;
        }.page-teacher-profile .file-upload input[type=file]{
            position: absolute;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }.page-teacher-profile .file-upload-label{
            display: block;
            padding: 16px;
            border: 3px dashed #667eea;
            border-radius: 12px;
            text-align: center;
            color: #667eea;
            font-weight: 700;
            transition: all 0.3s ease;
            font-size: 1rem;
            background: #F0F8FF;
            cursor: pointer;
        }.page-teacher-profile .file-upload:hover .file-upload-label{
            background: linear-gradient(135deg, #E8F4FD, #FFFBF0);
            border-color: #667eea;
            transform: scale(1.02);
        }.page-teacher-profile .save-btn{
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            border: none;
            padding: 12px 28px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
        }.page-teacher-profile .save-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
        }.page-teacher-profile .save-btn:disabled{
            background: #ccc;
            border-color: #999;
            cursor: not-allowed;
            transform: none;
        }.page-teacher-profile .edit-btn{
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 12px 28px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }.page-teacher-profile .edit-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }.page-teacher-profile .cancel-btn{
            background: linear-gradient(135deg, #6c757d, #5a6268);
            color: white;
            border: none;
            padding: 12px 28px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
        }.page-teacher-profile .cancel-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
        }.page-teacher-profile .form-input:disabled, .page-teacher-profile .form-textarea:disabled, .page-teacher-profile .form-input[readonly], .page-teacher-profile .form-textarea[readonly]{
            background-color: #f8f9fa;
            color: #495057;
            cursor: not-allowed;
        }.page-teacher-profile .form-help{
            color: #6c757d;
            font-size: 0.7rem;
            margin-top: 2px;
            display: block;
        }.page-teacher-profile .file-upload.disabled{
            opacity: 0.6;
            pointer-events: none;
        }.page-teacher-profile .education-item{
            background: #F8F9FA;
            border: 2px solid #E8F4FD;
            border-left: 4px solid #667eea;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 16px;
            transition: all 0.3s ease;
        }.page-teacher-profile .education-item:hover{
            border-color: #667eea;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
        }.page-teacher-profile /* Compact document item layout */
        .document-item{
            background: #F8F9FA;
            border: 2px solid #E8F4FD;
            border-left: 4px solid #667eea;
            border-radius: 12px;
            padding: 12px;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }.page-teacher-profile .document-item:hover{
            border-color: #667eea;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
        }.page-teacher-profile .document-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }.page-teacher-profile .document-header strong{
            font-size: 0.9rem;
            color: #667eea;
        }.page-teacher-profile .document-content{
            display: flex;
            gap: 12px;
            align-items: flex-start;
        }.page-teacher-profile .document-upload-compact{
            flex: 0 0 140px;
            min-width: 140px;
        }.page-teacher-profile .document-preview-compact{
            flex: 1;
            min-width: 0;
        }.page-teacher-profile /* Grid layout for document containers */
        #diplomas-container, .page-teacher-profile #certificates-container{
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 16px;
            margin-bottom: 16px;
        }@media (max-width: 768px){.page-teacher-profile #diplomas-container, .page-teacher-profile #certificates-container{
                grid-template-columns: 1fr;
            }
        }.page-teacher-profile /* Bulk Upload Styles */
        .bulk-upload-zone{
            position: relative;
        }.page-teacher-profile .bulk-upload-zone.drag-over{
            background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
            border-color: #764ba2;
            transform: scale(1.02);
        }.page-teacher-profile .bulk-upload-zone:hover{
            background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
            border-color: #764ba2;
        }.page-teacher-profile /* Document Category Tabs */
        .doc-category-btn{
            background: transparent;
            border: none;
            padding: 10px 16px;
            border-radius: 8px 8px 0 0;
            cursor: pointer;
            font-weight: 600;
            color: #666;
            transition: all 0.3s ease;
            position: relative;
            font-size: 0.9rem;
        }.page-teacher-profile .doc-category-btn:hover{
            background: #f0f8ff;
            color: #667eea;
        }.page-teacher-profile .doc-category-btn.active{
            background: #f0f8ff;
            color: #667eea;
            border-bottom: 3px solid #667eea;
        }.page-teacher-profile .doc-count-badge{
            background: #667eea;
            color: white;
            border-radius: 12px;
            padding: 2px 8px;
            font-size: 0.75rem;
            margin-left: 6px;
            font-weight: 700;
        }.page-teacher-profile /* Preview Mode Styles */
        .preview-mode{
            pointer-events: none;
        }.page-teacher-profile .preview-mode .form-input, .page-teacher-profile .preview-mode .form-textarea, .page-teacher-profile .preview-mode button:not(.preview-btn), .page-teacher-profile .preview-mode .file-upload{
            opacity: 0.6;
        }.page-teacher-profile .preview-overlay{
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.75);
            z-index: 9998;
            display: none;
            backdrop-filter: blur(4px);
        }.page-teacher-profile .preview-modal{
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            border-radius: 20px;
            padding: 0;
            max-width: 95vw;
            max-height: 95vh;
            overflow-y: auto;
            z-index: 9999;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            display: none;
            width: 100%;
            max-width: 800px;
        }.page-teacher-profile .preview-modal::-webkit-scrollbar{
            width: 8px;
        }.page-teacher-profile .preview-modal::-webkit-scrollbar-track{
            background: #f1f1f1;
            border-radius: 10px;
        }.page-teacher-profile .preview-modal::-webkit-scrollbar-thumb{
            background: #667eea;
            border-radius: 10px;
        }.page-teacher-profile .preview-modal::-webkit-scrollbar-thumb:hover{
            background: #5a67d8;
        }.page-teacher-profile .preview-modal-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 2px solid #e8f4fd;
        }.page-teacher-profile .preview-modal-header h3{
            margin: 0;
            color: #667eea;
        }.page-teacher-profile .close-preview-btn{
            background: rgba(255,255,255,0.2);
            color: white;
            border: 2px solid white;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }.page-teacher-profile .close-preview-btn:hover{
            background: rgba(255,255,255,0.3);
            transform: scale(1.05);
        }@media (max-width: 768px){.page-teacher-profile .preview-modal{
                max-width: 100vw;
                max-height: 100vh;
                border-radius: 0;
                top: 0;
                left: 0;
                transform: none;
            }.page-teacher-profile .preview-modal-header{
                border-radius: 0 !important;
            }
        }.page-teacher-profile .education-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }.page-teacher-profile .education-header span{
            font-weight: 800;
            font-size: 1.1rem;
            color: #667eea;
        }.page-teacher-profile .work-experience-item{
            background: #F8F9FA;
            border: 2px solid #E8F4FD;
            border-left: 4px solid #667eea;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 16px;
            transition: all 0.3s ease;
        }.page-teacher-profile .work-experience-item:hover{
            border-color: #667eea;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
        }.page-teacher-profile .work-experience-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }.page-teacher-profile .work-experience-header span{
            font-weight: 800;
            font-size: 1.1rem;
            color: #667eea;
        }.page-teacher-profile .remove-btn{
            background: linear-gradient(135deg, #dc3545, #c82333);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 700;
            transition: all 0.3s ease;
        }.page-teacher-profile .remove-btn:hover{
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
        }.page-teacher-profile .add-btn{
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }.page-teacher-profile .add-btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }.page-teacher-profile /* Video Upload Styles */
         .video-upload-section{
             margin-top: 10px;
             width: 100%;
         }.page-teacher-profile .video-upload-btn{
             display: flex;
             align-items: center;
             gap: 8px;
             padding: 8px 12px;
             background: #f8f9fa;
             border: 2px dashed #1ca7e7;
             border-radius: 8px;
             cursor: pointer;
             transition: all 0.2s;
             font-size: 0.7rem;
             color: #1ca7e7;
             font-weight: 600;
             justify-content: center;
         }.page-teacher-profile .video-upload-btn:hover{
             background: #eaf7ff;
             border-color: #168fc1;
         }.page-teacher-profile .video-upload-btn svg{
             width: 16px;
             height: 16px;
         }.page-teacher-profile .video-preview{
             margin-top: 8px;
             background: #f8f9fa;
             border-radius: 8px;
             padding: 8px;
             border: 1px solid #e0e6ed;
         }.page-teacher-profile #video-player{
             aspect-ratio: 1 / 1; /* Make it square */
             width: 100%;
             max-width: 100%;
             object-fit: cover;
         }.page-teacher-profile .video-info{
             display: flex;
             justify-content: space-between;
             align-items: center;
             margin-top: 6px;
             font-size: 0.65rem;
             color: #666;
         }.page-teacher-profile .remove-video-btn{
             background: #dc3545;
             color: white;
             border: none;
             padding: 2px 6px;
             border-radius: 4px;
             cursor: pointer;
             font-size: 0.6rem;
         }.page-teacher-profile .remove-video-btn:hover{
             background: #c82333;
         }.page-teacher-profile .success-message{
            background: #d4edda;
            color: #155724;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            animation: fadeIn 0.5s ease-in;
        }.page-teacher-profile .error-message{
            background: #f8d7da;
            color: #721c24;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: none;
        }@keyframes fadeIn{
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }.page-teacher-profile /* Tab Styles */
        .tab-container{
            margin-bottom: 0;
        }.page-teacher-profile .tab-buttons{
            display: flex;
            border-bottom: 3px solid #E8F4FD;
            margin-bottom: 32px;
            gap: 8px;
        }.page-teacher-profile .tab-button{
            background: none;
            border: none;
            padding: 16px 24px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 700;
            color: #4A6FA5;
            border-bottom: 4px solid transparent;
            transition: all 0.3s ease;
            position: relative;
            top: 3px;
        }.page-teacher-profile .tab-button.active{
            color: #667eea;
            border-bottom-color: #667eea;
        }.page-teacher-profile .tab-button:hover{
            color: #667eea;
            background: #F0F8FF;
            border-radius: 12px 12px 0 0;
        }.page-teacher-profile /* Info Cards - Facebook Style */
        .info-card{
            background: #F8F9FA;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 16px;
            border-left: 4px solid #667eea;
            overflow: hidden;
            word-wrap: break-word;
        }.page-teacher-profile .info-row{
            display: flex;
            align-items: flex-start;
            padding: 12px 0;
            border-bottom: 1px solid #E8F4FD;
            gap: 8px;
            min-width: 0;
        }.page-teacher-profile .info-row:last-child{
            border-bottom: none;
        }.page-teacher-profile .info-label{
            font-weight: 700;
            color: #1E3A5F;
            min-width: 80px;
            max-width: 80px;
            font-size: 0.9rem;
            flex-shrink: 0;
        }.page-teacher-profile .info-value{
            color: #4A6FA5;
            font-size: 0.9rem;
            flex: 1;
            word-wrap: break-word;
            word-break: break-word;
            overflow-wrap: anywhere;
            line-height: 1.4;
            min-width: 0;
        }.page-teacher-profile .info-value.empty{
            color: #999;
            font-style: italic;
        }.page-teacher-profile .tab-content{
            display: none;
        }.page-teacher-profile .tab-content.active{
            display: block;
        }.page-teacher-profile /* Teaching Abilities Assessment Styles */
        .assessment-notice{
            background: linear-gradient(135deg, #E8F4FD 0%, #F0F8FF 100%);
            border-left: 4px solid #667eea;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 32px;
        }.page-teacher-profile .assessment-notice h4{
            color: #667eea;
            margin: 0 0 8px 0;
            font-size: 1.1rem;
            font-weight: 700;
        }.page-teacher-profile .assessment-notice p{
            color: #4A6FA5;
            margin: 0;
            font-size: 0.95rem;
            line-height: 1.6;
        }.page-teacher-profile .skill-assessment-card{
            background: #F8F9FA;
            border: 2px solid #E8F4FD;
            border-left: 4px solid #667eea;
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 24px;
            transition: all 0.3s ease;
        }.page-teacher-profile .skill-assessment-card:hover{
            border-color: #667eea;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
        }.page-teacher-profile .skill-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }.page-teacher-profile .skill-name{
            font-size: 1.2rem;
            font-weight: 700;
            color: #1E3A5F;
        }.page-teacher-profile .assessed-level{
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.95rem;
        }.page-teacher-profile .skill-stars{
            font-size: 1.2rem;
            color: #ffc107;
            letter-spacing: 2px;
        }.page-teacher-profile .assessment-criteria{
            background: white;
            border-radius: 8px;
            padding: 16px;
            margin-top: 16px;
            margin-bottom: 16px;
        }.page-teacher-profile .assessment-criteria h5{
            color: #667eea;
            margin: 0 0 12px 0;
            font-size: 0.95rem;
            font-weight: 700;
        }.page-teacher-profile .criteria-list{
            list-style: none;
            padding: 0;
            margin: 0;
        }.page-teacher-profile .criteria-item{
            display: flex;
            align-items: flex-start;
            gap: 8px;
            padding: 8px 0;
            border-bottom: 1px solid #E8F4FD;
            font-size: 0.9rem;
            color: #4A6FA5;
        }.page-teacher-profile .criteria-item:last-child{
            border-bottom: none;
        }.page-teacher-profile .criteria-item::before{
            content: "✓";
            color: #4CAF50;
            font-weight: bold;
            flex-shrink: 0;
        }.page-teacher-profile .assessment-source{
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 12px;
            font-size: 0.85rem;
            color: #666;
        }.page-teacher-profile .assessment-source-badge{
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 8px;
            background: #E8F4FD;
            border-radius: 6px;
            color: #667eea;
            font-weight: 600;
        }.page-teacher-profile .level-description{
            background: white;
            border-radius: 8px;
            padding: 16px;
            margin-top: 16px;
        }.page-teacher-profile .level-description label{
            display: block;
            margin-bottom: 8px;
            font-weight: 700;
            color: #1E3A5F;
            font-size: 0.95rem;
        }.page-teacher-profile .teacher-description{
            background: white;
            border-radius: 8px;
            padding: 16px;
            margin-top: 16px;
        }.page-teacher-profile .teacher-description label{
            display: block;
            margin-bottom: 8px;
            font-weight: 700;
            color: #1E3A5F;
            font-size: 0.95rem;
        }.page-teacher-profile .level-badge{
            display: inline-block;
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-right: 8px;
        }.page-teacher-profile .level-badge.beginner{
            background: #FFF3CD;
            color: #856404;
        }.page-teacher-profile .level-badge.intermediate{
            background: #D1ECF1;
            color: #0C5460;
        }.page-teacher-profile .level-badge.advanced{
            background: #D4EDDA;
            color: #155724;
        }.page-teacher-profile .level-badge.expert{
            background: #D1E7DD;
            color: #0F5132;
        }.page-teacher-profile .level-badge.master{
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
        }.page-teacher-profile /* Support & Resources Styles */
        .support-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }.page-teacher-profile .support-card{
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 12px;
            padding: 24px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }.page-teacher-profile .support-card:hover{
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.15);
        }.page-teacher-profile .support-icon{
            font-size: 3rem;
            margin-bottom: 16px;
        }.page-teacher-profile .support-card h3{
            color: #667eea;
            margin: 0 0 12px 0;
            font-size: 1.2rem;
        }.page-teacher-profile .support-card p{
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 16px;
            line-height: 1.5;
        }.page-teacher-profile .support-btn{
            background: #667eea;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s ease;
            width: 100%;
        }.page-teacher-profile .support-btn:hover{
            background: #5568d3;
        }.page-teacher-profile .quick-links{
            display: flex;
            flex-direction: column;
            gap: 12px;
        }.page-teacher-profile .quick-link{
            display: flex;
            align-items: center;
            padding: 12px 16px;
            background: #f8f9fa;
            border-radius: 8px;
            text-decoration: none;
            color: #667eea;
            font-weight: 600;
            transition: all 0.3s ease;
        }.page-teacher-profile .quick-link:hover{
            background: #e9ecef;
            transform: translateX(5px);
        }.page-teacher-profile /* Legal Links Styles */
        .legal-links{
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-top: 16px;
        }.page-teacher-profile .legal-link{
            display: inline-flex;
            align-items: center;
            padding: 12px 20px;
            background: #f8f9fa;
            border: 2px solid #667eea;
            border-radius: 8px;
            text-decoration: none;
            color: #667eea;
            font-weight: 600;
            transition: all 0.3s ease;
        }.page-teacher-profile .legal-link:hover{
            background: #667eea;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
        }.page-teacher-profile .document-preview{
            max-width: 100%;
            max-height: 200px;
            border: 2px solid #E8F4FD;
            border-radius: 12px;
            margin-top: 12px;
            display: none;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }.page-teacher-profile .document-preview img{
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 12px;
        }.page-teacher-profile .file-preview{
            max-width: 200px;
            max-height: 150px;
            width: auto;
            height: auto;
            border: 2px solid #E8F4FD;
            border-radius: 12px;
            margin-top: 12px;
            display: none;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            overflow: hidden;
        }.page-teacher-profile .file-preview img{
            width: 100%;
            max-width: 200px;
            max-height: 150px;
            height: auto;
            object-fit: contain;
            border-radius: 12px;
            display: block;
        }.page-teacher-profile .file-preview .file-info{
            background: #f8f9fa;
            padding: 8px 12px;
            font-size: 0.85rem;
            color: #666;
            border-top: 1px solid #E8F4FD;
            text-align: center;
        }.page-teacher-profile /* Compact preview styles */
        .document-preview-compact{
            border: 2px solid #E8F4FD;
            border-radius: 8px;
            display: none;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            overflow: hidden;
            background: white;
        }.page-teacher-profile .document-preview-compact img{
            width: 100%;
            max-width: 100%;
            max-height: 120px;
            height: auto;
            object-fit: contain;
            display: block;
        }.page-teacher-profile .document-preview-compact .file-info{
            background: #f8f9fa;
            padding: 6px 8px;
            font-size: 0.75rem;
            color: #666;
            border-top: 1px solid #E8F4FD;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }.page-teacher-profile .file-upload-label-compact{
            display: block;
            padding: 10px 12px;
            border: 2px dashed #667eea;
            border-radius: 8px;
            text-align: center;
            color: #667eea;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 0.85rem;
            background: #F0F8FF;
            cursor: pointer;
        }.page-teacher-profile .file-upload-label-compact:hover{
            background: linear-gradient(135deg, #E8F4FD, #FFFBF0);
            border-color: #667eea;
        }.page-teacher-profile .video-upload-section{
            margin-top: 10px;
            width: 100%;
        }.page-teacher-profile .video-upload-btn{
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            background: #f8f9fa;
            border: 2px dashed #667eea;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.9rem;
            color: #667eea;
            font-weight: 600;
            justify-content: center;
        }.page-teacher-profile .video-upload-btn:hover{
            background: #eaf7ff;
            border-color: #667eea;
        }.page-teacher-profile .video-preview{
            margin-top: 12px;
            background: #f8f9fa;
            border-radius: 8px;
            padding: 12px;
            border: 2px solid #E8F4FD;
        }.page-teacher-profile .video-preview video, .page-teacher-profile #video-player{
            aspect-ratio: 1 / 1; /* Make it square */
            width: 100%;
            max-width: 100%;
            object-fit: cover;
        }.page-teacher-profile .video-info{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px;
            font-size: 0.9rem;
            color: #666;
        }.page-teacher-profile .remove-video-btn{
            background: #dc3545;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 600;
        }.page-teacher-profile .remove-video-btn:hover{
            background: #c82333;
        }.page-teacher-profile .success-message{
            background: #d4edda;
            color: #155724;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: none;
        }.page-teacher-profile .error-message{
            background: #f8d7da;
            color: #721c24;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: none;
        }.page-teacher-profile /* Responsive Design */
        @media (max-width: 1024px){
            .profile-content-grid {
                grid-template-columns: 1fr;
            }
            
            .profile-sidebar-card {
                position: static;
            }
            
            .form-grid {
                grid-template-columns: 1fr;
            }
        }@media (max-width: 768px){.page-teacher-profile .profile-header{
                flex-direction: column;
                text-align: center;
            }.page-teacher-profile .profile-avatar-large{
                width: 120px;
                height: 120px;
            }.page-teacher-profile .profile-name-large{
                font-size: 2rem;
            }.page-teacher-profile .tab-buttons{
                flex-wrap: wrap;
            }.page-teacher-profile .tab-button{
                font-size: 0.9rem;
                padding: 12px 16px;
            }
        }.page-teacher-profile #remo-ai-chatbot{
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 380px;
            height: 600px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            display: none;
            flex-direction: column;
            overflow: hidden;
            transition: all 0.3s ease;
        }.page-teacher-profile #remo-ai-chatbot.open{
            display: flex;
        }.page-teacher-profile .chatbot-header{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 20px 20px 0 0;
        }.page-teacher-profile .chatbot-header h3{
            margin: 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }.page-teacher-profile .chatbot-close{
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }.page-teacher-profile .chatbot-close:hover{
            background: rgba(255, 255, 255, 0.3);
        }.page-teacher-profile .chatbot-messages{
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: #f8fafc;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }.page-teacher-profile .chatbot-message{
            display: flex;
            gap: 10px;
            animation: fadeIn 0.3s ease;
        }.page-teacher-profile .chatbot-message.user{
            flex-direction: row-reverse;
        }.page-teacher-profile .message-avatar{
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }.page-teacher-profile .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-profile .chatbot-message.user .message-avatar{
            background: #e2e8f0;
            color: #667eea;
        }.page-teacher-profile .message-content{
            max-width: 75%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 0.9rem;
            line-height: 1.5;
        }.page-teacher-profile .chatbot-message.bot .message-content{
            background: white;
            color: #1a202c;
            border: 1px solid #e2e8f0;
        }.page-teacher-profile .chatbot-message.user .message-content{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-teacher-profile .message-buttons{
            margin-top: 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }.page-teacher-profile .message-button{
            padding: 10px 14px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 8px;
        }.page-teacher-profile .message-button:hover{
            background: #e2e8f0;
            border-color: #667eea;
            transform: translateX(4px);
        }.page-teacher-profile .message-button-icon{
            font-size: 1rem;
        }.page-teacher-profile .quick-actions{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }.page-teacher-profile .quick-action-btn{
            padding: 8px 12px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #667eea;
            font-weight: 500;
        }.page-teacher-profile .quick-action-btn:hover{
            background: #e2e8f0;
            transform: translateY(-1px);
        }.page-teacher-profile .chatbot-input-area{
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 10px;
        }.page-teacher-profile .chatbot-input{
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 25px;
            font-size: 0.9rem;
            outline: none;
        }.page-teacher-profile .chatbot-input:focus{
            border-color: #667eea;
        }.page-teacher-profile .chatbot-send{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s;
        }.page-teacher-profile .chatbot-send:hover{
            transform: scale(1.1);
        }.page-teacher-profile .chatbot-toggle{
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 20px rgba(255, 165, 0, 0.3);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s;
            padding: 0;
            overflow: visible;
        }.page-teacher-profile .chatbot-toggle:hover{
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 30px rgba(255, 165, 0, 0.5);
        }.page-teacher-profile .remo-ai-icon{
            width: 40px;
            height: 40px;
            filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
        }.page-teacher-profile .chatbot-message.bot .message-avatar{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2px;
        }.page-teacher-profile .chatbot-message.bot .message-avatar svg{
            width: 28px;
            height: 28px;
        }.page-teacher-profile .chatbot-toggle.hidden{
            display: none;
        }@keyframes fadeIn{
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }.page-teacher-profile .typing-indicator{
            display: flex;
            gap: 4px;
            padding: 12px 16px;
        }.page-teacher-profile .typing-dot{
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #667eea;
            animation: typing 1.4s infinite;
        }.page-teacher-profile .typing-dot:nth-child(2){
            animation-delay: 0.2s;
        }.page-teacher-profile .typing-dot:nth-child(3){
            animation-delay: 0.4s;
        }@keyframes typing{
            0%, 60%, 100% {
                transform: translateY(0);
            }
            30% {
                transform: translateY(-10px);
            }
        }


/* --- Source: public/teacher-referrals.html --- */
body.page-teacher-referrals{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f6fbff; margin: 0; color: #1a202c; }.page-teacher-referrals .remoed-main{ display: flex; min-height: 100vh; }.page-teacher-referrals .remoed-content{ flex: 1; margin-left: 260px; padding: 16px 20px 40px; min-width: 0; box-sizing: border-box; }@media (max-width: 900px){.page-teacher-referrals .remoed-content{ margin-left: 0; padding: 12px; }
    }.page-teacher-referrals .page-head{ margin-bottom: 16px; }.page-teacher-referrals .page-head h1{ margin: 0; font-size: 1.5rem; color: #667eea; font-weight: 800; }.page-teacher-referrals .page-head p{ margin: 8px 0 0; color: #64748b; font-size: 0.9rem; max-width: 720px; }.page-teacher-referrals .banner-info{
      background: linear-gradient(135deg, rgba(102,126,234,0.12), rgba(28,167,231,0.1));
      border: 1px solid rgba(102,126,234,0.25);
      border-radius: 12px;
      padding: 12px 14px;
      font-size: 0.85rem;
      color: #334155;
      margin-bottom: 16px;
    }.page-teacher-referrals .link-card{
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(28,167,231,0.08);
      padding: 16px;
      margin-bottom: 16px;
      border: 1px solid #e5e7eb;
    }.page-teacher-referrals .link-card h2{ margin: 0 0 10px; font-size: 1rem; color: #0f172a; }.page-teacher-referrals .code-row{ display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }.page-teacher-referrals .code-pill{
      font-family: ui-monospace, monospace;
      font-weight: 700;
      padding: 8px 12px;
      background: #f1f5f9;
      border-radius: 8px;
      border: 1px solid #e2e8f0;
      font-size: 0.95rem;
    }.page-teacher-referrals .link-url{ word-break: break-all; font-size: 0.85rem; color: #2563eb; font-weight: 600; }.page-teacher-referrals .btn{
      padding: 8px 14px;
      border: none;
      border-radius: 8px;
      background: linear-gradient(135deg, #667eea, #5a67d8);
      color: #fff;
      font-weight: 700;
      cursor: pointer;
      font-size: 0.85rem;
    }.page-teacher-referrals .btn:hover{ filter: brightness(1.05); }.page-teacher-referrals button.btn-outline, .page-teacher-referrals .btn.btn-outline{
      background: #fff !important;
      color: #667eea !important;
      border: 2px solid #667eea !important;
    }.page-teacher-referrals .grid-stats{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 16px;
    }@media (max-width: 800px){.page-teacher-referrals .grid-stats{ grid-template-columns: 1fr; } }.page-teacher-referrals .stat-card{
      background: #fff;
      border-radius: 12px;
      padding: 16px;
      border: 1px solid #e5e7eb;
      box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    }.page-teacher-referrals .stat-card h3{ margin: 0 0 6px; font-size: 0.85rem; color: #64748b; font-weight: 700; }.page-teacher-referrals .stat-card .big{ font-size: 1.75rem; font-weight: 800; color: #0f172a; }.page-teacher-referrals .stat-card .muted{ font-size: 0.8rem; color: #94a3b8; margin-top: 4px; }.page-teacher-referrals .filters{ display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 12px; }.page-teacher-referrals .filters label{ display: block; font-size: 0.75rem; font-weight: 700; color: #475569; margin-bottom: 4px; }.page-teacher-referrals .filters input{ padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 0.9rem; }.page-teacher-referrals .table-wrap{ background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; overflow: auto; max-height: 560px; }.page-teacher-referrals table{ width: 100%; border-collapse: collapse; min-width: 880px; }.page-teacher-referrals th, .page-teacher-referrals td{ padding: 10px 12px; text-align: left; border-bottom: 1px solid #f1f5f9; font-size: 0.85rem; vertical-align: top; }.page-teacher-referrals th{ background: #f8fafc; color: #0f172a; font-weight: 800; position: sticky; top: 0; z-index: 1; }.page-teacher-referrals .ref-tag{
      font-family: ui-monospace, monospace;
      font-weight: 800;
      font-size: 0.8rem;
      color: #4338ca;
      background: #eef2ff;
      padding: 4px 8px;
      border-radius: 6px;
    }.page-teacher-referrals .empty{ padding: 40px; text-align: center; color: #64748b; }.page-teacher-referrals .muted{ color: #64748b; font-size: 0.8rem; }


/* --- Source: public/teacher-register.html --- */
body.page-teacher-register{
      --primary: #667eea;
      --primary-dark: #764ba2;
      --surface: #ffffff;
      --text: #1e2a4a;
      --muted: #6b7280;
      --stroke: #e7eaf3;
    }body.page-teacher-register{
      margin: 0;
      padding: 24px;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.22));
      color: var(--text);
      overflow-x: hidden;
    }@keyframes slideUp{
      from { opacity: 0; transform: translateY(22px); }
      to { opacity: 1; transform: translateY(0); }
    }.page-teacher-register .login-shell{
      position: relative;
      width: min(1050px, 100%);
    }.page-teacher-register .login-card{
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      background: var(--surface);
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(31, 41, 55, 0.18);
      border: 1px solid rgba(102, 126, 234, 0.1);
      animation: slideUp 0.7s ease-out;
    }.page-teacher-register .login-panel{
      padding: 44px 52px;
    }.page-teacher-register .login-visual{
      background: linear-gradient(140deg, var(--primary), var(--primary-dark));
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 32px;
    }.page-teacher-register .intro-card{
      width: min(320px, 82%);
      border-radius: 24px;
      background: #f8fafc;
      border: 1px solid rgba(255, 255, 255, 0.35);
      padding: 28px;
      color: #1e2a4a;
      box-shadow: 0 18px 36px rgba(15, 23, 42, 0.15);
    }.page-teacher-register .intro-card h3{
      margin: 0 0 14px;
      font-size: 1.5rem;
      font-weight: 800;
    }.page-teacher-register .intro-card p{
      margin: 0 0 18px;
      color: #334155;
      line-height: 1.7;
      font-size: 1.05rem;
    }.page-teacher-register .intro-card ul{
      margin: 0;
      padding-left: 18px;
      color: #334155;
      line-height: 1.7;
      font-size: 1.02rem;
    }.page-teacher-register .brand{
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
    }.page-teacher-register .brand img{
      height: 44px;
    }.page-teacher-register .brand-name{
      font-weight: 800;
      color: var(--primary);
      font-size: 1.4rem;
      letter-spacing: 0.5px;
    }.page-teacher-register .brand-subtitle{
      font-size: 0.9rem;
      color: var(--muted);
    }.page-teacher-register .login-title{
      font-size: 1.9rem;
      margin: 6px 0 6px;
      color: var(--text);
    }.page-teacher-register .login-subtitle{
      margin: 0 0 24px;
      color: var(--muted);
      font-size: 0.98rem;
    }.page-teacher-register .remoed-form-input{
      border: 1px solid var(--stroke) !important;
      border-radius: 14px !important;
      padding: 12px 16px !important;
      font-size: 1rem !important;
      transition: all 0.2s ease !important;
      background: #fbfbff !important;
      width: 100%;
      box-sizing: border-box;
    }.page-teacher-register .remoed-form-input:focus{
      border-color: var(--primary) !important;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2) !important;
      outline: none;
    }.page-teacher-register .remoed-form-label{
      color: var(--text) !important;
      font-weight: 600 !important;
      font-size: 0.95rem !important;
      margin-bottom: 0.5rem !important;
      display: block;
    }.page-teacher-register .remoed-btn-primary{
      background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
      border: none !important;
      border-radius: 14px !important;
      padding: 14px 30px !important;
      font-size: 1rem !important;
      font-weight: 600 !important;
      color: white !important;
      cursor: pointer !important;
      transition: all 0.3s ease !important;
      box-shadow: 0 14px 24px rgba(102, 126, 234, 0.3) !important;
      width: 100%;
    }.page-teacher-register .remoed-btn-primary:hover{
      transform: translateY(-1px) !important;
      box-shadow: 0 18px 28px rgba(102, 126, 234, 0.35) !important;
    }.page-teacher-register .remoed-btn-primary:disabled{
      opacity: 0.6;
      cursor: not-allowed;
    }.page-teacher-register .remoed-status.error, .page-teacher-register .remoed-status.success{
      border-radius: 12px !important;
      padding: 12px !important;
      font-weight: 500 !important;
      margin-bottom: 16px;
    }.page-teacher-register .links-container{
      text-align: left;
      margin-top: 1.5rem;
      display: grid;
      gap: 10px;
    }.page-teacher-register .links-container a{
      color: var(--primary) !important;
      text-decoration: none !important;
      font-weight: 600 !important;
      font-size: 0.95rem !important;
      transition: all 0.2s ease !important;
      padding: 10px 14px !important;
      border-radius: 10px !important;
      background: rgba(102, 126, 234, 0.08) !important;
      display: inline-flex !important;
      align-items: center !important;
    }.page-teacher-register .links-container a:hover{
      background: rgba(102, 126, 234, 0.15) !important;
      transform: translateX(2px) !important;
    }.page-teacher-register .password-input-container{
      position: relative;
      display: flex;
      align-items: center;
    }.page-teacher-register .password-input-container input{
      padding-right: 50px;
    }.page-teacher-register .password-toggle{
      position: absolute;
      right: 10px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      border-radius: 6px;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }.page-teacher-register .password-toggle:hover{
      background: rgba(102, 126, 234, 0.12);
    }.page-teacher-register .eye-icon{
      font-size: 1.1rem;
      color: var(--primary);
      transition: all 0.3s ease;
    }.page-teacher-register .password-toggle.show-password .eye-icon{
      color: var(--primary-dark);
    }.page-teacher-register .form-row{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }.page-teacher-register .remoed-form-group{
      margin-bottom: 1.15rem;
    }.page-teacher-register .required-indicator{
      color: #dc2626;
      margin-left: 4px;
    }@media (max-width: 900px){.page-teacher-register .login-card{
        grid-template-columns: 1fr;
      }.page-teacher-register .login-panel{
        padding: 32px 28px;
      }
    }@media (max-width: 600px){.page-teacher-register .form-row{
        grid-template-columns: 1fr;
      }
    }


/* --- Source: public/teacher-schedule.html --- */
body.page-teacher-schedule{ 
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
      background: linear-gradient(135deg, #f6fbff 0%, #e8f4fd 100%); 
      margin: 0;
      padding: 0;
    }

/* --- Typography unification: Booking Indicators + schedule grid --- */
body.page-teacher-schedule,
body.page-teacher-class-table,
body.page-teacher-class-table-fixed,
body.page-teacher-class-table-old,
body.page-student-class-table{
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
}

.page-teacher-schedule .booking-legend,
.page-teacher-schedule .weekly-grid,
.page-teacher-schedule .schedule-table,
.page-teacher-schedule .schedule-table th,
.page-teacher-schedule .schedule-table td,
.page-teacher-class-table .remoed-legend,
.page-teacher-class-table .remoed-schedule-container,
.page-teacher-class-table .remoed-schedule-table,
.page-teacher-class-table .remoed-schedule-table th,
.page-teacher-class-table .remoed-schedule-table td,
.page-teacher-class-table-fixed .booking-legend,
.page-teacher-class-table-fixed .weekly-grid,
.page-teacher-class-table-fixed .schedule-table,
.page-teacher-class-table-fixed .schedule-table th,
.page-teacher-class-table-fixed .schedule-table td,
.page-teacher-class-table-old .booking-legend,
.page-teacher-class-table-old .weekly-grid,
.page-teacher-class-table-old .schedule-table,
.page-teacher-class-table-old .schedule-table th,
.page-teacher-class-table-old .schedule-table td,
.page-student-class-table .weekly-grid,
.page-student-class-table .schedule-table,
.page-student-class-table .schedule-table th,
.page-student-class-table .schedule-table td{
  font-family: inherit !important;
}

/* Time column (00:00, etc.) */
.page-teacher-schedule .time-column,
.page-teacher-class-table-fixed .time-column,
.page-teacher-class-table-old .time-column,
.page-student-class-table .time-column,
.page-teacher-class-table .remoed-time-column{
  font-weight: 600 !important;
}

/* Status text (Unbooked, Student, etc.) */
.page-teacher-schedule .time-slot,
.page-teacher-class-table-fixed .time-slot,
.page-teacher-class-table-old .time-slot,
.page-student-class-table .time-slot,
.page-teacher-class-table .remoed-time-slot,
.page-teacher-class-table .remoed-legend-text{
  font-weight: 500 !important;
}

.page-teacher-schedule .remoed-main{
      display: flex;
      min-height: 100vh;
      flex-direction: row;
      align-items: stretch;
      justify-content: flex-start;
      max-width: 100vw;
      overflow-x: hidden;
    }.page-teacher-schedule .remoed-content{
      flex: 1;
      padding: 36px 20px 36px 20px;
      min-width: 0;
      background: #f6fbff;
      min-height: 100vh;
      box-sizing: border-box;
      margin-left: 260px;
      max-width: calc(100vw - 260px);
      overflow-x: auto;
    }.page-teacher-schedule .table-content{
      padding: 24px;
      max-width: 100%;
      overflow-x: auto;
      margin-right: 20px;
    }.page-teacher-schedule .class-grid{
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      max-width: 100%;
    }.page-teacher-schedule .header-controls{
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }.page-teacher-schedule .week-navigation{
      display: flex;
      align-items: center;
      gap: 16px;
    }.page-teacher-schedule .nav-btn{
      background: linear-gradient(135deg, #ffe85a, #f4d03f);
      color: #333;
      border: none;
      padding: 10px 18px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(255, 232, 90, 0.3);
    }.page-teacher-schedule .nav-btn:hover{
      background: linear-gradient(135deg, #f4d03f, #f1c40f);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 232, 90, 0.4);
    }.page-teacher-schedule .nav-btn:disabled{
      background: #ccc;
      cursor: not-allowed;
    }.page-teacher-schedule .week-display{
      font-weight: 600;
      color: #333;
      min-width: 120px;
      text-align: center;
    }.page-teacher-schedule .current-week-btn{
      background: linear-gradient(135deg, #28a745, #1e7e34) !important;
      color: white;
      box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
    }.page-teacher-schedule .current-week-btn:hover{
      background: linear-gradient(135deg, #1e7e34, #155724) !important;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
    }.page-teacher-schedule .open-class-btn{
      background: #667eea;
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 12px 24px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s;
    }.page-teacher-schedule .open-class-btn:hover{
      background: #5a67d8;
    }.page-teacher-schedule .class-table{
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      overflow: hidden;
      max-width: 100%;
    }.page-teacher-schedule .table-header{
      background: #f8f9fa;
      padding: 16px 20px;
      border-bottom: 1px solid #e0e6ed;
    }.page-teacher-schedule .table-header h2{
      color: #667eea;
      font-size: 1.5rem;
      font-weight: 600;
      margin: 0;
    }.page-teacher-schedule .table-content{
      padding: 24px;
      max-width: 100%;
      overflow-x: auto;
    }.page-teacher-schedule .class-grid{
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
    }.page-teacher-schedule .class-card{
      background: #fff;
      border: 1px solid #e0e6ed;
      border-radius: 8px;
      padding: 20px;
      transition: box-shadow 0.2s;
    }.page-teacher-schedule .class-card:hover{
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }.page-teacher-schedule .class-time{
      font-size: 1.1rem;
      font-weight: 600;
      color: #667eea;
      margin-bottom: 8px;
    }.page-teacher-schedule .class-date{
      color: #666;
      font-size: 0.9rem;
      margin-bottom: 12px;
    }.page-teacher-schedule .class-status{
      display: inline-block;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
    }.page-teacher-schedule .status-open{
      background: #d4edda;
      color: #155724;
    }.page-teacher-schedule .status-booked{
      background: #f8d7da;
      color: #721c24;
    }.page-teacher-schedule .status-completed{
      background: #d1ecf1;
      color: #0c5460;
    }.page-teacher-schedule .class-student{
      font-size: 0.8rem;
      color: #666;
      margin-top: 4px;
    }.page-teacher-schedule .weekly-grid{
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(28, 167, 231, 0.1);
      overflow: auto;
      max-height: calc(100vh - 200px);
      max-width: 100%;
      box-sizing: border-box;
      border: 1px solid rgba(28, 167, 231, 0.1);
    }.page-teacher-schedule .schedule-table{
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      margin: 0;
      min-width: 800px;
    }.page-teacher-schedule .schedule-table th, .page-teacher-schedule .schedule-table td{
      border: 1px solid #e0e6ed;
      padding: 12px 8px;
      text-align: center;
      vertical-align: middle;
    }.page-teacher-schedule .schedule-table th{
      background: linear-gradient(135deg, #667eea, #5a67d8);
      font-weight: 600;
      color: white;
      position: sticky;
      top: 0;
      z-index: 5;
      text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }.page-teacher-schedule .time-column{
      width: 80px;
      position: sticky;
      left: 0;
      background: #f8f9fa;
      z-index: 3;
    }.page-teacher-schedule .day-column{
      width: calc((100% - 80px) / 7);
      line-height: 1.2;
      padding: 8px 4px;
    }.page-teacher-schedule .day-column br{
      margin: 2px 0;
    }.page-teacher-schedule .time-slot{
      font-size: 0.9rem;
      color: #666;
      min-height: 40px;
    }.page-teacher-schedule .time-slot.open{
      background: #90EE90;
      color: #333;
      font-weight: 600;
    }.page-teacher-schedule .time-slot.booked{
      background: #ffe85a !important;
      color: #667eea !important;
      font-weight: 600;
    }.page-teacher-schedule /* Active booked class (status Booked) — high visibility */
    .time-slot.booked-status-active{
      background: #dc3545 !important;
      color: #fff !important;
      font-weight: 600;
      vertical-align: top;
    }.page-teacher-schedule .slot-booked-inner{
      line-height: 1.25;
      text-align: center;
      font-size: 0.78rem;
    }.page-teacher-schedule .slot-booked-inner .slot-student{
      font-weight: 700;
      margin-top: 2px;
      word-break: break-word;
    }.page-teacher-schedule .slot-booked-inner .slot-lesson{
      font-size: 0.72rem;
      opacity: 0.95;
      margin-top: 3px;
      font-weight: 500;
      word-break: break-word;
    }.page-teacher-schedule .time-slot.finished{
      background: #cce5ff !important;
      color: #004085 !important;
      font-weight: 600;
    }.page-teacher-schedule .time-slot.absent{
      background: #ff6b6b;
      color: white;
      font-weight: 600;
    }.page-teacher-schedule .time-slot.student-absent{
      background: #ff8c42;
      color: white;
      font-weight: 600;
    }.page-teacher-schedule .time-slot.unavailable{
      background: #f8f9fa;
      color: #6c757d;
    }.page-teacher-schedule .time-slot.unbooked{
      background: #f8f9fa;
      color: #6c757d;
      font-weight: normal;
      cursor: default;
    }.page-teacher-schedule .time-slot.past{
      background: #f8f9fa !important;
      color: #6c757d !important;
      font-weight: normal;
      cursor: not-allowed;
    }.page-teacher-schedule .legend{
      display: flex;
      gap: 16px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }.page-teacher-schedule .legend-item{
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
    }.page-teacher-schedule .legend-color{
      width: 20px;
      height: 20px;
      border-radius: 4px;
      border: 1px solid #e0e6ed;
    }@media (max-width: 1200px){.page-teacher-schedule .remoed-sidebar{
        width: 260px;
        min-width: 260px;
      }.page-teacher-schedule .remoed-content{
        margin-left: 260px;
        max-width: calc(100vw - 260px);
      }
    }@media (max-width: 900px){.page-teacher-schedule .remoed-main{
        flex-direction: column;
      }.page-teacher-schedule .remoed-sidebar{
        width: 100%;
        position: relative;
        height: auto;
      }.page-teacher-schedule .remoed-content{
        margin-left: 0;
        max-width: 100vw;
        padding: 20px 10px;
      }.page-teacher-schedule .weekly-grid{
        max-height: 60vh;
      }.page-teacher-schedule .schedule-table{
        min-width: 600px;
      }
    }.page-teacher-schedule /* Modal Styles */
    .modal{
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      backdrop-filter: blur(2px);
    }.page-teacher-schedule .modal-content{
      background-color: #fefefe;
      margin: 5% auto;
      padding: 0;
      border-radius: 12px;
      width: 90%;
      max-width: 500px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
      animation: modalSlideIn 0.3s ease-out;
      position: relative;
      top: 50%;
      transform: translateY(-50%);
    }@keyframes modalSlideIn{
      from {
        opacity: 0;
        transform: translateY(-50px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }.page-teacher-schedule .modal-header{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 24px 0 24px;
      border-bottom: 1px solid #e0e6ed;
    }.page-teacher-schedule .modal-header h2{
      margin: 0;
      color: #667eea;
      font-size: 1.5rem;
      font-weight: 600;
    }.page-teacher-schedule .close{
      color: #aaa;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
      line-height: 1;
      transition: color 0.2s;
    }.page-teacher-schedule .close:hover{
      color: #666;
    }.page-teacher-schedule .modal-body{
      padding: 24px;
    }.page-teacher-schedule .class-details{
      margin-bottom: 20px;
    }.page-teacher-schedule .detail-row{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid #f0f0f0;
    }.page-teacher-schedule .detail-row:last-child{
      border-bottom: none;
    }.page-teacher-schedule .detail-row label{
      font-weight: 600;
      color: #333;
      min-width: 120px;
    }.page-teacher-schedule .detail-row span{
      color: #666;
      text-align: right;
      flex: 1;
    }.page-teacher-schedule .btn-join{
      background: #667eea;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-schedule .btn-join:hover{
      background: #5a67d8;
    }.page-teacher-schedule .btn-cancel{
      background: #dc3545;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-schedule .btn-cancel:hover{
      background: #c82333;
    }.page-teacher-schedule .btn-secondary{
      background: #6c757d;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-schedule .btn-secondary:hover{
      background: #5a6268;
    }.page-teacher-schedule .btn-danger{
      background: #dc3545;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.2s;
    }.page-teacher-schedule .btn-danger:hover{
      background: #c82333;
    }.page-teacher-schedule .modal-actions{
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      padding-top: 20px;
      border-top: 1px solid #e0e6ed;
    }.page-teacher-schedule #remo-ai-chatbot{
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 380px;
        height: 600px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        z-index: 10000;
        display: none;
        flex-direction: column;
        overflow: hidden;
        transition: all 0.3s ease;
    }.page-teacher-schedule #remo-ai-chatbot.open{
        display: flex;
    }.page-teacher-schedule .chatbot-header{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 20px 20px 0 0;
    }.page-teacher-schedule .chatbot-header h3{
        margin: 0;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }.page-teacher-schedule .chatbot-close{
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }.page-teacher-schedule .chatbot-close:hover{
        background: rgba(255, 255, 255, 0.3);
    }.page-teacher-schedule .chatbot-messages{
        flex: 1;
        overflow-y: auto;
        padding: 20px;
        background: #f8fafc;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }.page-teacher-schedule .chatbot-message{
        display: flex;
        gap: 10px;
        animation: fadeIn 0.3s ease;
    }.page-teacher-schedule .chatbot-message.user{
        flex-direction: row-reverse;
    }.page-teacher-schedule .message-avatar{
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        flex-shrink: 0;
    }.page-teacher-schedule .chatbot-message.bot .message-avatar{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }.page-teacher-schedule .chatbot-message.user .message-avatar{
        background: #e2e8f0;
        color: #667eea;
    }.page-teacher-schedule .message-content{
        max-width: 75%;
        padding: 12px 16px;
        border-radius: 18px;
        font-size: 0.9rem;
        line-height: 1.5;
    }.page-teacher-schedule .chatbot-message.bot .message-content{
        background: white;
        color: #1a202c;
        border: 1px solid #e2e8f0;
    }.page-teacher-schedule .chatbot-message.user .message-content{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }.page-teacher-schedule .message-buttons{
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }.page-teacher-schedule .message-button{
        padding: 10px 14px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s;
        color: #667eea;
        font-weight: 500;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 8px;
    }.page-teacher-schedule .message-button:hover{
        background: #e2e8f0;
        border-color: #667eea;
        transform: translateX(4px);
    }.page-teacher-schedule .message-button-icon{
        font-size: 1rem;
    }.page-teacher-schedule .quick-actions{
        padding: 15px 20px;
        background: white;
        border-top: 1px solid #e2e8f0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }.page-teacher-schedule .quick-action-btn{
        padding: 8px 12px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s;
        color: #667eea;
        font-weight: 500;
    }.page-teacher-schedule .quick-action-btn:hover{
        background: #e2e8f0;
        transform: translateY(-1px);
    }.page-teacher-schedule .chatbot-input-area{
        padding: 15px 20px;
        background: white;
        border-top: 1px solid #e2e8f0;
        display: flex;
        gap: 10px;
    }.page-teacher-schedule .chatbot-input{
        flex: 1;
        padding: 10px 15px;
        border: 1px solid #e2e8f0;
        border-radius: 25px;
        font-size: 0.9rem;
        outline: none;
    }.page-teacher-schedule .chatbot-input:focus{
        border-color: #667eea;
    }.page-teacher-schedule .chatbot-send{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s;
    }.page-teacher-schedule .chatbot-send:hover{
        transform: scale(1.1);
    }.page-teacher-schedule .chatbot-toggle{
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 20px rgba(255, 165, 0, 0.3);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s;
        padding: 0;
        overflow: visible;
    }.page-teacher-schedule .chatbot-toggle:hover{
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 30px rgba(255, 165, 0, 0.5);
    }.page-teacher-schedule .remo-ai-icon{
        width: 40px;
        height: 40px;
        filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
    }.page-teacher-schedule .chatbot-message.bot .message-avatar{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2px;
    }.page-teacher-schedule .chatbot-message.bot .message-avatar svg{
        width: 28px;
        height: 28px;
    }.page-teacher-schedule .chatbot-toggle.hidden{
        display: none;
    }@keyframes fadeIn{
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }.page-teacher-schedule .typing-indicator{
        display: flex;
        gap: 4px;
        padding: 12px 16px;
    }.page-teacher-schedule .typing-dot{
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #667eea;
        animation: typing 1.4s infinite;
    }.page-teacher-schedule .typing-dot:nth-child(2){
        animation-delay: 0.2s;
    }.page-teacher-schedule .typing-dot:nth-child(3){
        animation-delay: 0.4s;
    }@keyframes typing{
        0%, 60%, 100% {
            transform: translateY(0);
        }
        30% {
            transform: translateY(-10px);
        }
    }


/* --- Source: public/teacher-service-fee-backup.html --- */
body.page-teacher-service-fee-backup{ 
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
        background: #f6fbff; 
        margin: 0;
        padding: 0;
    }.page-teacher-service-fee-backup .remoed-main{ 
        display: flex; 
        min-height: 100vh; 
    }.page-teacher-service-fee-backup .remoed-sidebar{ 
        width: 260px; 
        min-width: 260px;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); 
        box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1);
        padding: 0; 
        display: flex; 
        flex-direction: column; 
        align-items: stretch;
        position: fixed;
        height: 100vh;
        z-index: 100;
        border-right: 1px solid rgba(102, 126, 234, 0.1);
    }.page-teacher-service-fee-backup .remoed-logo{ 
        display: flex; 
        align-items: center; 
        gap: 14px; 
    }.page-teacher-service-fee-backup .remoed-logo img{ 
        height: 48px; 
    }.page-teacher-service-fee-backup .remoed-title{ 
        font-size: 1.7rem; 
        font-weight: 700; 
        color: #667eea; 
        letter-spacing: 1px; 
    }.page-teacher-service-fee-backup .remoed-user{ 
        display: flex; 
        align-items: center; 
        gap: 10px; 
    }.page-teacher-service-fee-backup .remoed-avatar{ 
        width: 72px; 
        height: 72px; 
        border-radius: 50%; 
        background: #667eea; 
        color: #fff; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        font-weight: bold; 
        font-size: 2.2rem; 
    }.page-teacher-service-fee-backup .remoed-username{ 
        color: #667eea; 
        font-weight: 600; 
    }.page-teacher-service-fee-backup .remoed-menu{ 
        list-style: none; 
        padding: 0; 
        margin: 0; 
    }.page-teacher-service-fee-backup .remoed-menu li{ 
        padding: 14px 32px; 
        color: #667eea; 
        font-weight: 500; 
        cursor: pointer; 
        display: flex; 
        align-items: center; 
        gap: 12px; 
        border-left: 4px solid transparent; 
        transition: background 0.2s, border-color 0.2s; 
    }.page-teacher-service-fee-backup .remoed-menu li.active, .page-teacher-service-fee-backup .remoed-menu li:hover{ 
        background: #667eea; 
        border-left: 4px solid #667eea; 
        color: white; 
    }.page-teacher-service-fee-backup .remoed-menu svg{ 
        width: 20px; 
        height: 20px; 
    }.page-teacher-service-fee-backup .remoed-content{ 
        flex: 1; 
        padding: 20px; 
        margin-left: 260px;
        max-width: calc(100vw - 260px);
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        overflow-x: hidden;
    }.page-teacher-service-fee-backup .service-header-panel{
      display: flex;
      justify-content: center;
      width: 100%;
      margin-top: 24px;
      margin-bottom: 0;
      align-items: center;
    }.page-teacher-service-fee-backup .service-header{
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      padding: 12px 16px;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      max-width: 100%;
      width: 100%;
      flex-wrap: wrap;
      gap: 10px;
    }.page-teacher-service-fee-backup .account-info-row{
      font-size: 1rem;
      color: #222;
      margin-bottom: 2px;
      width: 100%;
    }.page-teacher-service-fee-backup .account-label{
      font-weight: 600;
      color: #667eea;
      margin-right: 6px;
    }.page-teacher-service-fee-backup .service-header .account-info{ font-size: 1rem; color: #222; }.page-teacher-service-fee-backup .service-header .account-info span{ font-weight: 600; color: #667eea; }.page-teacher-service-fee-backup .service-header .pay-period{ color: #888; font-size: 0.95rem; }.page-teacher-service-fee-backup .service-tabs{ display: flex; justify-content: center; margin: 18px 0 0 0; gap: 8px; align-items: center; }.page-teacher-service-fee-backup .service-tab{ background: #fff; border: none; border-radius: 5px 5px 0 0; padding: 7px 18px; font-size: 1rem; color: #3a7afe; font-weight: 600; margin-right: 2px; cursor: pointer; box-shadow: 0 1px 4px rgba(28,167,231,0.04); }.page-teacher-service-fee-backup .service-tab.inactive{ color: #888; background: #fafdff; font-weight: 500; }.page-teacher-service-fee-backup .service-main-col{ display: flex; flex-direction: row; align-items: flex-start; width: 100%; justify-content: center; gap: 15px; }.page-teacher-service-fee-backup .service-section{ background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); padding: 15px 18px; width: 100%; max-width: 100%; margin: 12px 0; transition: transform 0.2s ease, box-shadow 0.2s ease; }.page-teacher-service-fee-backup .service-section:hover{ transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }.page-teacher-service-fee-backup .service-section-title{ font-size: 1.08rem; font-weight: 700; color: #222; margin-bottom: 10px; }.page-teacher-service-fee-backup .service-row{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }.page-teacher-service-fee-backup .service-label{ color: #888; font-size: 0.97rem; min-width: 90px; }.page-teacher-service-fee-backup .service-value, .page-teacher-service-fee-backup .service-input{ font-size: 1rem; color: #667eea; font-weight: 600; min-width: 50px; }.page-teacher-service-fee-backup .service-input{ border: 1px solid #e0e6ed; border-radius: 4px; padding: 2px 6px; width: 60px; font-size: 1rem; color: #667eea; background: #fafdff; }.page-teacher-service-fee-backup .service-input:disabled{ background: #f8f9fa; color: #6c757d; border-color: #dee2e6; cursor: not-allowed; }.page-teacher-service-fee-backup .service-sum{ color: #e74c3c; font-size: 1.08rem; font-weight: 700; }.page-teacher-service-fee-backup .service-section .service-row:last-child{ margin-bottom: 0; }.page-teacher-service-fee-backup .service-summary, .page-teacher-service-fee-backup .service-remark{ background: #fafdff; border-radius: 6px; padding: 10px 16px; margin: 12px 0 0 0; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; max-width: 100%; width: 100%; margin-left: auto; margin-right: auto; }.page-teacher-service-fee-backup .service-summary .label, .page-teacher-service-fee-backup .service-remark .label{ color: #888; font-weight: 500; }.page-teacher-service-fee-backup .service-summary .value, .page-teacher-service-fee-backup .service-remark .value{ color: #e74c3c; font-weight: 700; font-size: 1.08rem; }.page-teacher-service-fee-backup /* Weekly Tabs Styles */
    .week-tab{
      background: #fff;
      border: 2px solid #e0e6ed;
      border-radius: 8px 8px 0 0;
      padding: 8px 16px;
      font-size: 0.9rem;
      font-weight: 600;
      color: #666;
      cursor: pointer;
      transition: all 0.2s ease;
      margin-right: 2px;
      border-bottom: none;
      position: relative;
      white-space: nowrap;
    }.page-teacher-service-fee-backup .week-tab:hover{
      border-color: #667eea;
      color: #667eea;
      background: #f8f9fa;
      transform: translateY(-1px);
      box-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
    }.page-teacher-service-fee-backup .week-tab.active{
      background: #667eea !important;
      border-color: #667eea !important;
      color: #fff !important;
      z-index: 10;
    }.page-teacher-service-fee-backup .week-tab.active::after{
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      right: 0;
      height: 2px;
      background: #667eea;
    }.page-teacher-service-fee-backup .week-tab.active:hover{
      background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%) !important;
      border-color: #5a67d8 !important;
      transform: translateY(-1px);
      box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    }.page-teacher-service-fee-backup /* Ensure all tabs have consistent active state */
    #current-week-tab.active, .page-teacher-service-fee-backup #previous-week-tab.active, .page-teacher-service-fee-backup #daily-breakdown-tab.active, .page-teacher-service-fee-backup #weekly-payment-history-tab.active{
      background: #667eea !important;
      border-color: #667eea !important;
      color: #fff !important;
      z-index: 10;
    }.page-teacher-service-fee-backup #current-week-tab.active:hover, .page-teacher-service-fee-backup #previous-week-tab.active:hover, .page-teacher-service-fee-backup #daily-breakdown-tab.active:hover, .page-teacher-service-fee-backup #weekly-payment-history-tab.active:hover{
      background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%) !important;
      border-color: #5a67d8 !important;
      color: #fff !important;
      transform: translateY(-1px);
      box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    }.page-teacher-service-fee-backup .weekly-tabs{
      border-bottom: 2px solid #e0e6ed;
      background: #f8f9fa;
      padding: 0 10px;
      border-radius: 8px 8px 0 0;
      overflow-x: auto;
      display: flex;
      justify-content: center;
    }.page-teacher-service-fee-backup /* Week History Table */
    .week-history-table{
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }.page-teacher-service-fee-backup .week-history-table th, .page-teacher-service-fee-backup .week-history-table td{
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid #e0e6ed;
      font-size: 0.95rem;
    }.page-teacher-service-fee-backup .week-history-table th{
      background: #f8f9fa;
      font-weight: 600;
      color: #1ca7e7;
      font-size: 1rem;
    }.page-teacher-service-fee-backup .week-history-table tr:hover{
      background: #fafdff;
    }.page-teacher-service-fee-backup .week-history-table td{
      color: #333;
    }.page-teacher-service-fee-backup .week-history-table .status-success{
      color: #27ae60;
      font-weight: 500;
    }@media (max-width: 1200px){.page-teacher-service-fee-backup .service-main-col{ flex-direction: column; align-items: center; }.page-teacher-service-fee-backup .service-section{ max-width: 100%; }.page-teacher-service-fee-backup .service-header{ flex-direction: column; gap: 15px; }.page-teacher-service-fee-backup .service-header > div:first-child{ flex-direction: column; gap: 10px; }.page-teacher-service-fee-backup .remoed-content{ padding: 15px; }
    }@media (max-width: 768px){.page-teacher-service-fee-backup .service-main-col{ flex-direction: column; align-items: center; gap: 10px; }.page-teacher-service-fee-backup .service-section{ padding: 12px 15px; margin: 8px 0; }.page-teacher-service-fee-backup .service-header{ padding: 10px 12px; }.page-teacher-service-fee-backup .week-tab{ padding: 6px 12px; font-size: 0.85rem; }.page-teacher-service-fee-backup .tab-content-container{ padding: 12px; }.page-teacher-service-fee-backup .service-summary, .page-teacher-service-fee-backup .service-remark{ padding: 8px 12px; margin: 8px 0; }.page-teacher-service-fee-backup .remoed-content{ padding: 10px; }.page-teacher-service-fee-backup .account-info-row{ font-size: 0.9rem; }
    }@media (max-width: 600px){.page-teacher-service-fee-backup .service-section, .page-teacher-service-fee-backup .service-summary, .page-teacher-service-fee-backup .service-remark{ max-width: 100%; padding: 10px 12px; }.page-teacher-service-fee-backup .week-tab{ padding: 6px 10px; font-size: 0.8rem; }.page-teacher-service-fee-backup .tab-content-container{ max-width: 100%; padding: 10px; }.page-teacher-service-fee-backup #weekly-payment-history-content{ max-width: 100%; }.page-teacher-service-fee-backup .service-header{ padding: 8px 10px; }.page-teacher-service-fee-backup .remoed-content{ padding: 8px; }.page-teacher-service-fee-backup .account-info-row{ font-size: 0.85rem; }.page-teacher-service-fee-backup .service-section-title{ font-size: 1rem; }.page-teacher-service-fee-backup .service-label{ font-size: 0.9rem; }.page-teacher-service-fee-backup .service-value, .page-teacher-service-fee-backup .service-input{ font-size: 0.9rem; }
    }


/* --- Source: public/teacher-service-fee.html --- */
body.page-teacher-service-fee{ 
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
        background: #f6fbff; 
        margin: 0;
        padding: 0;
    }.page-teacher-service-fee .remoed-main{ 
        display: flex; 
        min-height: 100vh; 
    }.page-teacher-service-fee .remoed-sidebar{
        width: 260px;
        min-width: 260px;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1);
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        height: 100vh;
        overflow: hidden;
        z-index: 100;
    }.page-teacher-service-fee .remoed-logo{ 
        display: flex; 
        align-items: center; 
        gap: 14px; 
    }.page-teacher-service-fee .remoed-logo img{ 
        height: 48px; 
    }.page-teacher-service-fee .remoed-title{ 
        font-size: 1.7rem; 
        font-weight: 700; 
        color: #667eea; 
        letter-spacing: 1px; 
    }.page-teacher-service-fee .remoed-user{ 
        display: flex; 
        align-items: center; 
        gap: 10px; 
    }.page-teacher-service-fee .remoed-avatar{ 
        width: 72px; 
        height: 72px; 
        border-radius: 50%; 
        background: #667eea; 
        color: #fff; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        font-weight: bold; 
        font-size: 2.2rem; 
    }.page-teacher-service-fee .remoed-username{ 
        color: #667eea; 
        font-weight: 600; 
    }.page-teacher-service-fee .remoed-menu{ 
        list-style: none; 
        padding: 0; 
        margin: 0; 
    }.page-teacher-service-fee .remoed-menu li{
        padding: 14px 32px;
        color: #64748b;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 12px;
        border-left: 4px solid transparent;
        transition: background 0.2s, border-color 0.2s;
    }.page-teacher-service-fee .remoed-menu li.active, .page-teacher-service-fee .remoed-menu li:hover{
            background: linear-gradient(90deg, #667eea 0%, #5a67d8 100%);
            border-left: 4px solid #667eea;
            color: white;
            transform: translateX(4px);
            transition: all 0.3s ease;
            border-radius: 0 8px 8px 0;
        }.page-teacher-service-fee .remoed-menu svg{ 
            width: 20px; 
            height: 20px; 
            stroke: currentColor; 
        }.page-teacher-service-fee .remoed-content{ 
        flex: 1; 
        padding: 12px 16px; 
        margin-left: 260px;
        max-width: calc(100vw - 260px);
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        overflow-x: hidden;
    }.page-teacher-service-fee .service-header-panel{
      display: flex;
      justify-content: center;
      width: 100%;
      margin-top: 8px;
      margin-bottom: 0;
      align-items: center;
    }.page-teacher-service-fee .service-header{
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      padding: 8px 12px;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      max-width: 100%;
      width: 100%;
      flex-wrap: wrap;
      gap: 10px;
    }.page-teacher-service-fee .account-info-row{
      font-size: 0.95rem;
      color: #222;
      white-space: nowrap;
      flex-shrink: 0;
    }.page-teacher-service-fee .account-label{
      font-weight: 600;
      color: #667eea;
      margin-right: 6px;
    }.page-teacher-service-fee .service-header .account-info{ font-size: 1rem; color: #222; }.page-teacher-service-fee .service-header .account-info span{ font-weight: 600; color: #667eea; }.page-teacher-service-fee .service-header .pay-period{ color: #888; font-size: 0.95rem; }.page-teacher-service-fee .service-tabs{ display: flex; justify-content: center; margin: 18px 0 0 0; gap: 8px; align-items: center; }.page-teacher-service-fee .service-tab{ background: #fff; border: none; border-radius: 5px 5px 0 0; padding: 7px 18px; font-size: 1rem; color: #3a7afe; font-weight: 600; margin-right: 2px; cursor: pointer; box-shadow: 0 1px 4px rgba(28,167,231,0.04); }.page-teacher-service-fee .service-tab.inactive{ color: #888; background: #fafdff; font-weight: 500; }.page-teacher-service-fee .service-main-col{ display: flex; flex-direction: row; align-items: flex-start; width: 100%; justify-content: center; gap: 15px; }.page-teacher-service-fee .service-section{ background: #fff; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); padding: 10px 12px; width: 100%; max-width: 100%; margin: 6px 0; transition: transform 0.2s ease, box-shadow 0.2s ease; }.page-teacher-service-fee .service-section:hover{ transform: translateY(-1px); box-shadow: 0 3px 10px rgba(0,0,0,0.08); }.page-teacher-service-fee .service-section-title{ font-size: 0.95rem; font-weight: 700; color: #222; margin-bottom: 8px; }.page-teacher-service-fee .service-row{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }.page-teacher-service-fee .service-label{ color: #888; font-size: 0.85rem; min-width: 80px; }.page-teacher-service-fee .service-value, .page-teacher-service-fee .service-input{ font-size: 0.9rem; color: #667eea; font-weight: 600; min-width: 50px; }.page-teacher-service-fee .service-input{ border: 1px solid #e0e6ed; border-radius: 4px; padding: 2px 6px; width: 60px; font-size: 0.9rem; color: #667eea; background: #fafdff; }.page-teacher-service-fee .service-input:disabled{ background: #f8f9fa; color: #6c757d; border-color: #dee2e6; cursor: not-allowed; }.page-teacher-service-fee .service-sum{ color: #e74c3c; font-size: 1rem; font-weight: 700; }.page-teacher-service-fee .service-section .service-row:last-child{ margin-bottom: 0; }.page-teacher-service-fee .service-summary, .page-teacher-service-fee .service-remark{ background: #fafdff; border-radius: 6px; padding: 8px 12px; margin: 8px 0 0 0; font-size: 0.9rem; display: flex; justify-content: space-between; align-items: center; max-width: 100%; width: 100%; margin-left: auto; margin-right: auto; }.page-teacher-service-fee .service-summary .label, .page-teacher-service-fee .service-remark .label{ color: #888; font-weight: 500; }.page-teacher-service-fee .service-summary .value, .page-teacher-service-fee .service-remark .value{ color: #e74c3c; font-weight: 700; font-size: 1rem; }.page-teacher-service-fee /* Weekly Tabs Styles */
    .week-tab{
      background: #fff;
      border: 2px solid #e0e6ed;
      border-radius: 8px 8px 0 0;
      padding: 8px 16px;
      font-size: 0.9rem;
      font-weight: 600;
      color: #666;
      cursor: pointer;
      transition: all 0.2s ease;
      margin-right: 2px;
      border-bottom: none;
      position: relative;
      white-space: nowrap;
    }.page-teacher-service-fee .week-tab:hover{
      border-color: #667eea;
      color: #667eea;
      background: #f8f9fa;
      transform: translateY(-1px);
      box-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
    }.page-teacher-service-fee .week-tab.active{
      background: #667eea !important;
      border-color: #667eea !important;
      color: #fff !important;
      z-index: 10;
    }.page-teacher-service-fee .week-tab.active::after{
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      right: 0;
      height: 2px;
      background: #667eea;
    }.page-teacher-service-fee .week-tab.active:hover{
      background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%) !important;
      border-color: #5a67d8 !important;
      transform: translateY(-1px);
      box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    }.page-teacher-service-fee /* Ensure all tabs have consistent active state */
    #current-week-tab.active, .page-teacher-service-fee #previous-week-tab.active, .page-teacher-service-fee #daily-breakdown-tab.active, .page-teacher-service-fee #weekly-payment-history-tab.active{
      background: #667eea !important;
      border-color: #667eea !important;
      color: #fff !important;
      z-index: 10;
    }.page-teacher-service-fee #current-week-tab.active:hover, .page-teacher-service-fee #previous-week-tab.active:hover, .page-teacher-service-fee #daily-breakdown-tab.active:hover, .page-teacher-service-fee #weekly-payment-history-tab.active:hover{
      background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%) !important;
      border-color: #5a67d8 !important;
      color: #fff !important;
      transform: translateY(-1px);
      box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    }.page-teacher-service-fee .weekly-tabs{
      border-bottom: 2px solid #e0e6ed;
      background: #f8f9fa;
      padding: 0 10px;
      border-radius: 8px 8px 0 0;
      overflow-x: auto;
      display: flex;
      justify-content: center;
    }.page-teacher-service-fee /* Week History Table */
    .week-history-table{
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }.page-teacher-service-fee .week-history-table th, .page-teacher-service-fee .week-history-table td{
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid #e0e6ed;
      font-size: 0.95rem;
    }.page-teacher-service-fee .week-history-table th{
      background: #f8f9fa;
      font-weight: 600;
      color: #1ca7e7;
      font-size: 1rem;
    }.page-teacher-service-fee .week-history-table tr:hover{
      background: #fafdff;
    }.page-teacher-service-fee .week-history-table td{
      color: #333;
    }.page-teacher-service-fee .week-history-table .status-success{
      color: #27ae60;
      font-weight: 500;
    }@media (max-width: 1200px){.page-teacher-service-fee .service-main-col{ flex-direction: column; align-items: center; }.page-teacher-service-fee .service-section{ max-width: 100%; }.page-teacher-service-fee .service-header{ flex-direction: column; gap: 15px; }.page-teacher-service-fee .service-header > div:first-child{ flex-direction: column; gap: 10px; }.page-teacher-service-fee .remoed-content{ padding: 15px; }
    }@media (max-width: 768px){.page-teacher-service-fee .service-main-col{ flex-direction: column; align-items: center; gap: 10px; }.page-teacher-service-fee .service-section{ padding: 12px 15px; margin: 8px 0; }.page-teacher-service-fee .service-header{ padding: 10px 12px; }.page-teacher-service-fee .week-tab{ padding: 6px 12px; font-size: 0.85rem; }.page-teacher-service-fee .tab-content-container{ padding: 12px; }.page-teacher-service-fee .service-summary, .page-teacher-service-fee .service-remark{ padding: 8px 12px; margin: 8px 0; }.page-teacher-service-fee .remoed-content{ padding: 10px; }.page-teacher-service-fee .account-info-row{ font-size: 0.9rem; }
    }@media (max-width: 600px){.page-teacher-service-fee .service-section, .page-teacher-service-fee .service-summary, .page-teacher-service-fee .service-remark{ max-width: 100%; padding: 10px 12px; }.page-teacher-service-fee .week-tab{ padding: 6px 10px; font-size: 0.8rem; }.page-teacher-service-fee .tab-content-container{ max-width: 100%; padding: 10px; }.page-teacher-service-fee #weekly-payment-history-content{ max-width: 100%; }.page-teacher-service-fee .service-header{ padding: 8px 10px; }.page-teacher-service-fee .remoed-content{ padding: 8px; }.page-teacher-service-fee .account-info-row{ font-size: 0.85rem; }.page-teacher-service-fee .service-section-title{ font-size: 1rem; }.page-teacher-service-fee .service-label{ font-size: 0.9rem; }.page-teacher-service-fee .service-value, .page-teacher-service-fee .service-input{ font-size: 0.9rem; }
    }.page-teacher-service-fee #remo-ai-chatbot{
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 380px;
        height: 600px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        z-index: 10000;
        display: none;
        flex-direction: column;
        overflow: hidden;
        transition: all 0.3s ease;
    }.page-teacher-service-fee #remo-ai-chatbot.open{
        display: flex;
    }.page-teacher-service-fee .chatbot-header{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 20px 20px 0 0;
    }.page-teacher-service-fee .chatbot-header h3{
        margin: 0;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }.page-teacher-service-fee .chatbot-close{
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }.page-teacher-service-fee .chatbot-close:hover{
        background: rgba(255, 255, 255, 0.3);
    }.page-teacher-service-fee .chatbot-messages{
        flex: 1;
        overflow-y: auto;
        padding: 20px;
        background: #f8fafc;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }.page-teacher-service-fee .chatbot-message{
        display: flex;
        gap: 10px;
        animation: fadeIn 0.3s ease;
    }.page-teacher-service-fee .chatbot-message.user{
        flex-direction: row-reverse;
    }.page-teacher-service-fee .message-avatar{
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        flex-shrink: 0;
    }.page-teacher-service-fee .chatbot-message.bot .message-avatar{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }.page-teacher-service-fee .chatbot-message.user .message-avatar{
        background: #e2e8f0;
        color: #667eea;
    }.page-teacher-service-fee .message-content{
        max-width: 75%;
        padding: 12px 16px;
        border-radius: 18px;
        font-size: 0.9rem;
        line-height: 1.5;
    }.page-teacher-service-fee .chatbot-message.bot .message-content{
        background: white;
        color: #1a202c;
        border: 1px solid #e2e8f0;
    }.page-teacher-service-fee .chatbot-message.user .message-content{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }.page-teacher-service-fee .message-buttons{
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }.page-teacher-service-fee .message-button{
        padding: 10px 14px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s;
        color: #667eea;
        font-weight: 500;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 8px;
    }.page-teacher-service-fee .message-button:hover{
        background: #e2e8f0;
        border-color: #667eea;
        transform: translateX(4px);
    }.page-teacher-service-fee .message-button-icon{
        font-size: 1rem;
    }.page-teacher-service-fee .quick-actions{
        padding: 15px 20px;
        background: white;
        border-top: 1px solid #e2e8f0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }.page-teacher-service-fee .quick-action-btn{
        padding: 8px 12px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s;
        color: #667eea;
        font-weight: 500;
    }.page-teacher-service-fee .quick-action-btn:hover{
        background: #e2e8f0;
        transform: translateY(-1px);
    }.page-teacher-service-fee .chatbot-input-area{
        padding: 15px 20px;
        background: white;
        border-top: 1px solid #e2e8f0;
        display: flex;
        gap: 10px;
    }.page-teacher-service-fee .chatbot-input{
        flex: 1;
        padding: 10px 15px;
        border: 1px solid #e2e8f0;
        border-radius: 25px;
        font-size: 0.9rem;
        outline: none;
    }.page-teacher-service-fee .chatbot-input:focus{
        border-color: #667eea;
    }.page-teacher-service-fee .chatbot-send{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s;
    }.page-teacher-service-fee .chatbot-send:hover{
        transform: scale(1.1);
    }.page-teacher-service-fee .chatbot-toggle{
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 20px rgba(255, 165, 0, 0.3);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s;
        padding: 0;
        overflow: visible;
    }.page-teacher-service-fee .chatbot-toggle:hover{
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 30px rgba(255, 165, 0, 0.5);
    }.page-teacher-service-fee .remo-ai-icon{
        width: 40px;
        height: 40px;
        filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
    }.page-teacher-service-fee .chatbot-message.bot .message-avatar{
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2px;
    }.page-teacher-service-fee .chatbot-message.bot .message-avatar svg{
        width: 28px;
        height: 28px;
    }.page-teacher-service-fee .chatbot-toggle.hidden{
        display: none;
    }@keyframes fadeIn{
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }.page-teacher-service-fee .typing-indicator{
        display: flex;
        gap: 4px;
        padding: 12px 16px;
    }.page-teacher-service-fee .typing-dot{
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #667eea;
        animation: typing 1.4s infinite;
    }.page-teacher-service-fee .typing-dot:nth-child(2){
        animation-delay: 0.2s;
    }.page-teacher-service-fee .typing-dot:nth-child(3){
        animation-delay: 0.4s;
    }@keyframes typing{
        0%, 60%, 100% {
            transform: translateY(0);
        }
        30% {
            transform: translateY(-10px);
        }
    }


/* --- Source: public/teacher-signup.html --- */
body.page-teacher-signup{
      margin: 0;
      min-height: 100vh;
      display: grid;
      place-items: center;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f6f8fc;
      color: #0f172a;
    }.page-teacher-signup .card{
      width: min(780px, 92vw);
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      box-shadow: 0 6px 22px rgba(2, 6, 23, 0.08);
      overflow: hidden;
    }.page-teacher-signup .head{
      padding: 18px 20px;
      border-bottom: 1px solid #eef2f7;
      background: #f8fafc;
    }.page-teacher-signup .head h1{ margin: 0; font-size: 1.35rem; }.page-teacher-signup .head p{ margin: 6px 0 0; color: #64748b; font-size: .92rem; }.page-teacher-signup .body{ padding: 18px 20px 20px; }.page-teacher-signup .grid{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }.page-teacher-signup .full{ grid-column: 1 / -1; }.page-teacher-signup label{ display: block; margin-bottom: 6px; font-size: .85rem; color: #334155; font-weight: 600; }.page-teacher-signup input, .page-teacher-signup textarea{
      width: 100%;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      padding: 10px 12px;
      font-size: .92rem;
      box-sizing: border-box;
      background: #fff;
    }.page-teacher-signup textarea{ min-height: 90px; resize: vertical; }.page-teacher-signup .actions{ margin-top: 14px; display: flex; justify-content: flex-end; gap: 8px; }.page-teacher-signup .btn{
      border: none;
      border-radius: 10px;
      padding: 10px 14px;
      font-weight: 700;
      font-size: .9rem;
      cursor: pointer;
    }.page-teacher-signup .btn-primary{ background: #2563eb; color: #fff; }.page-teacher-signup .btn-secondary{ background: #e2e8f0; color: #0f172a; }.page-teacher-signup .status{ margin: 10px 0 0; font-size: .9rem; }.page-teacher-signup .status.error{ color: #dc2626; }.page-teacher-signup .status.success{ color: #15803d; }.page-teacher-signup .readonly{
      background: #f8fafc;
      color: #475569;
    }@media (max-width: 720px){.page-teacher-signup .grid{ grid-template-columns: 1fr; }
    }


/* --- Source: public/teacher-view-assessment.html --- */
body.page-teacher-view-assessment{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #F0F2F5; 
            margin: 0;
            padding: 0;
        }.page-teacher-view-assessment .container{
            max-width: 1000px;
            margin: 0 auto;
            padding: 40px 24px;
        }.page-teacher-view-assessment .header{
            background: white;
            border-radius: 16px;
            padding: 32px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }.page-teacher-view-assessment .header h1{
            color: #667eea;
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 12px;
        }.page-teacher-view-assessment .status-badge{
            display: inline-block;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9rem;
            margin-top: 12px;
        }.page-teacher-view-assessment .status-completed{
            background: #d1fae5;
            color: #065f46;
        }.page-teacher-view-assessment .status-pending{
            background: #fef3c7;
            color: #92400e;
        }.page-teacher-view-assessment .test-card{
            background: white;
            border-radius: 16px;
            padding: 32px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }.page-teacher-view-assessment .test-card h2{
            color: #1e293b;
            font-size: 1.5rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }.page-teacher-view-assessment .test-info{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }.page-teacher-view-assessment .info-item{
            padding: 16px;
            background: #f8fafc;
            border-radius: 8px;
        }.page-teacher-view-assessment .info-label{
            font-size: 0.85rem;
            color: #64748b;
            margin-bottom: 4px;
        }.page-teacher-view-assessment .info-value{
            font-size: 1.1rem;
            font-weight: 600;
            color: #1e293b;
        }.page-teacher-view-assessment .audio-player{
            margin-top: 16px;
            padding: 16px;
            background: #f8fafc;
            border-radius: 8px;
        }.page-teacher-view-assessment .audio-player audio{
            width: 100%;
            margin-top: 8px;
        }.page-teacher-view-assessment .pronunciation-words{
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 16px;
            margin-top: 16px;
        }.page-teacher-view-assessment .word-card{
            padding: 16px;
            background: #f8fafc;
            border-radius: 8px;
            text-align: center;
        }.page-teacher-view-assessment .word-card .word{
            font-size: 1.2rem;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 8px;
        }.page-teacher-view-assessment .btn{
            padding: 12px 24px;
            border-radius: 8px;
            border: none;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: all 0.2s;
        }.page-teacher-view-assessment .btn-primary{
            background: #667eea;
            color: white;
        }.page-teacher-view-assessment .btn-primary:hover{
            background: #5568d3;
        }.page-teacher-view-assessment .no-data{
            text-align: center;
            padding: 40px;
            color: #64748b;
        }.page-teacher-view-assessment .loading{
            text-align: center;
            padding: 40px;
            color: #64748b;
        }


/* --- Source: public/teacher-view-profile.html --- */
body.page-teacher-view-profile{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f8fafc; color: #1a202c; margin: 0; padding: 0; }.page-teacher-view-profile .remoed-main{ display: flex; min-height: 100vh; }.page-teacher-view-profile .remoed-content{ flex: 1; padding: 24px 32px; margin-left: 260px; max-width: calc(100vw - 260px); }.page-teacher-view-profile .profile-container{ max-width: 900px; margin: 0 auto; }.page-teacher-view-profile .back-btn{
            padding: 10px 20px; background: #e8f4fd; color: #667eea; border: none; border-radius: 8px;
            cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
        }.page-teacher-view-profile .back-btn:hover{ background: #667eea; color: white; }.page-teacher-view-profile .profile-header{
            background: white; border-radius: 16px; padding: 32px; margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08); display: flex; align-items: center; gap: 24px;
        }.page-teacher-view-profile .profile-avatar-large{
            width: 120px; height: 120px; border-radius: 50%;
            background: linear-gradient(135deg, #667eea, #764ba2); color: white;
            display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: bold;
            flex-shrink: 0; overflow: hidden;
        }.page-teacher-view-profile .profile-avatar-large img{ width: 100%; height: 100%; object-fit: cover; }.page-teacher-view-profile .profile-header-info{ flex: 1; }.page-teacher-view-profile .profile-name-large{ font-size: 1.8rem; font-weight: 800; color: #667eea; margin: 0 0 8px 0; }.page-teacher-view-profile .profile-id{ color: #64748b; font-size: 0.95rem; margin: 0 0 12px 0; }.page-teacher-view-profile .profile-intro{ color: #475569; line-height: 1.6; margin: 0; }.page-teacher-view-profile .section-card{
            background: white; border-radius: 16px; padding: 24px; margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08); border: 1px solid #e8f4fd;
        }.page-teacher-view-profile .section-title{ font-size: 1.2rem; font-weight: 700; color: #667eea; margin: 0 0 16px 0; padding-bottom: 8px; border-bottom: 2px solid #e8f4fd; }.page-teacher-view-profile .profile-item{ margin-bottom: 12px; }.page-teacher-view-profile .profile-item:last-child{ margin-bottom: 0; }.page-teacher-view-profile .profile-label{ font-weight: 600; color: #64748b; font-size: 0.9rem; }.page-teacher-view-profile .profile-value{ color: #1a202c; margin-top: 4px; }.page-teacher-view-profile .expertise-tags{ display: flex; flex-wrap: wrap; gap: 8px; }.page-teacher-view-profile .expertise-tag{ background: #e8f4fd; color: #667eea; padding: 6px 12px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; }.page-teacher-view-profile .loading, .page-teacher-view-profile .error{ text-align: center; padding: 60px 20px; color: #64748b; }.page-teacher-view-profile .error{ color: #e74c3c; }


/* --- Source: public/teachers.html --- */
.page-teachers *{ margin: 0; padding: 0; box-sizing: border-box; }body.page-teachers{
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, #FFF0F5 0%, #E8F8F5 50%, #FFF9E6 100%);
            background-attachment: fixed;
            color: #1E3A5F;
            line-height: 1.6;
            min-height: 100vh;
        }.page-teachers .navbar{
            background: white;
            padding: 20px 40px;
            box-shadow: 0 4px 20px rgba(28, 167, 231, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
        }.page-teachers .logo-section{
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: inherit;
        }.page-teachers .logo-section img{ height: 50px; }.page-teachers .logo-section span{
            font-size: 1.8rem;
            font-weight: 800;
            color: #1CA7E7;
            text-shadow: 2px 2px 4px rgba(28, 167, 231, 0.2);
        }.page-teachers .nav-buttons{ display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }.page-teachers .nav-btn{
            padding: 12px 22px;
            border-radius: 50px;
            border: 2px solid #1CA7E7;
            background: white;
            color: #1CA7E7;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            font-size: 0.95rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }.page-teachers .nav-btn:hover{
            background: #1CA7E7;
            color: white;
            transform: translateY(-2px);
        }.page-teachers .nav-btn.primary{
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            border: 2px solid #FFD700;
        }.page-teachers .nav-btn.active-nav{
            background: rgba(28, 167, 231, 0.12);
            border-color: #1CA7E7;
        }.page-teachers .page-hero{
            text-align: center;
            padding: 48px 24px 32px;
            max-width: 900px;
            margin: 0 auto;
        }.page-teachers .page-hero h1{
            font-size: clamp(1.75rem, 4vw, 2.75rem);
            font-weight: 800;
            color: #1CA7E7;
            margin-bottom: 12px;
            text-shadow: 2px 2px 4px rgba(28, 167, 231, 0.15);
        }.page-teachers .page-hero p{
            font-size: 1.1rem;
            color: #334155;
        }.page-teachers .teachers-section{
            padding: 0 24px 80px;
            max-width: 1280px;
            margin: 0 auto;
        }.page-teachers .teachers-grid{
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
        }@media (max-width: 1100px){.page-teachers .teachers-grid{ grid-template-columns: repeat(3, 1fr); }
        }@media (max-width: 768px){.page-teachers .teachers-grid{ grid-template-columns: 1fr; gap: 24px; }.page-teachers .navbar{ padding: 16px 20px; }
        }.page-teachers .teacher-card{
            background: rgba(255, 255, 255, 0.62);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.45);
            border-radius: 20px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
            padding: 28px 22px 24px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
            display: flex;
            flex-direction: column;
            align-items: center;
        }.page-teachers .teacher-card:hover{
            transform: translateY(-8px);
            border-color: rgba(255, 215, 0, 0.85);
            box-shadow: 0 12px 32px rgba(28, 167, 231, 0.2);
        }.page-teachers .teacher-card__photo-wrap{
            width: min(200px, 72vw);
            height: min(200px, 72vw);
            max-width: 220px;
            max-height: 220px;
            border-radius: 50%;
            overflow: hidden;
            margin-bottom: 16px;
            border: 4px solid rgba(255, 255, 255, 0.95);
            box-shadow: 0 8px 28px rgba(28, 167, 231, 0.25);
            background: linear-gradient(135deg, #e8ecf7, #dbe4ff);
        }.page-teachers .teacher-card__photo-wrap img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }.page-teachers .teacher-card__placeholder{
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
        }.page-teachers .teacher-card__name{
            font-size: 1.25rem;
            font-weight: 800;
            color: #1CA7E7;
            margin-bottom: 6px;
        }.page-teachers .teacher-card__rating{
            color: #667eea;
            font-weight: 700;
            margin-bottom: 12px;
            font-size: 0.95rem;
        }.page-teachers .teacher-card__bio{
            font-size: 0.95rem;
            color: #1E3A5F;
            line-height: 1.45;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 2.8em;
            margin-bottom: 18px;
            flex: 1;
        }.page-teachers .teacher-card__btn{
            width: 100%;
            padding: 12px 16px;
            border: none;
            border-radius: 14px;
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            font-weight: 800;
            font-size: 0.95rem;
            cursor: pointer;
            border: 2px solid rgba(255, 215, 0, 0.7);
            box-shadow: 0 4px 14px rgba(28, 167, 231, 0.35);
            transition: transform 0.2s, filter 0.2s;
        }.page-teachers .teacher-card__btn:hover{
            transform: translateY(-2px);
            filter: brightness(1.05);
        }.page-teachers .loading-state, .page-teachers .error-state{
            text-align: center;
            padding: 60px 20px;
            color: #64748b;
            font-size: 1.1rem;
        }.page-teachers /* Glass modal */
        .t-modal-overlay{
            position: fixed;
            inset: 0;
            z-index: 5000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
            background: rgba(30, 41, 59, 0.28);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s ease, visibility 0.25s;
        }.page-teachers .t-modal-overlay.is-open{
            opacity: 1;
            visibility: visible;
        }.page-teachers .t-modal{
            width: 100%;
            max-width: 920px;
            max-height: min(92vh, 720px);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            border-radius: 24px;
            background: rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.65);
            box-shadow: 0 25px 60px rgba(30, 41, 59, 0.25);
        }.page-teachers .t-modal__head{
            display: flex;
            justify-content: flex-end;
            padding: 12px 16px 0;
        }.page-teachers .t-modal__close{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: none;
            background: rgba(255,255,255,0.55);
            font-size: 1.5rem;
            cursor: pointer;
            color: #64748b;
            line-height: 1;
        }.page-teachers .t-modal__close:hover{ background: rgba(255,255,255,0.9); color: #1e293b; }.page-teachers .t-modal__body{
            display: grid;
            grid-template-columns: minmax(240px, 320px) 1fr;
            gap: 24px;
            padding: 8px 28px 24px;
            overflow-y: auto;
            min-height: 0;
        }@media (max-width: 720px){.page-teachers .t-modal__body{
                grid-template-columns: 1fr;
                padding: 8px 18px 20px;
            }
        }.page-teachers .t-modal__left{
            display: flex;
            flex-direction: column;
            gap: 16px;
            align-items: center;
        }.page-teachers .t-modal__photo-lg{
            width: 220px;
            height: 220px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid rgba(255,255,255,0.9);
            box-shadow: 0 12px 36px rgba(28, 167, 231, 0.2);
        }.page-teachers .t-modal__photo-lg-ph{
            width: 220px;
            height: 220px;
            border-radius: 50%;
            background: linear-gradient(135deg, #c7d2fe, #e9d5ff);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4.5rem;
        }.page-teachers .t-modal__video{
            width: 100%;
            max-width: 280px;
            aspect-ratio: 16/9;
            border-radius: 16px;
            background: rgba(0,0,0,0.06);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border: 2px dashed rgba(28, 167, 231, 0.35);
            color: #64748b;
            font-size: 0.85rem;
            text-align: center;
            padding: 12px;
        }.page-teachers .t-modal__video-play{
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1CA7E7, #5CB3FF);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            padding-left: 4px;
            box-shadow: 0 6px 20px rgba(28, 167, 231, 0.4);
        }.page-teachers .t-modal__video video{
            width: 100%;
            height: 100%;
            border-radius: 14px;
            object-fit: cover;
        }.page-teachers .t-modal__right h2{
            font-size: 1.5rem;
            color: #1e293b;
            margin-bottom: 8px;
        }.page-teachers .t-modal__right .t-rating{
            color: #667eea;
            font-weight: 700;
            margin-bottom: 16px;
        }.page-teachers .t-modal__section{
            margin-bottom: 18px;
        }.page-teachers .t-modal__section h3{
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #64748b;
            margin-bottom: 8px;
        }.page-teachers .t-modal__bio{
            font-size: 0.95rem;
            color: #334155;
            line-height: 1.55;
        }.page-teachers .t-modal__pills{
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }.page-teachers .t-modal__pill{
            font-size: 0.8rem;
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(102, 126, 234, 0.18);
            color: #4338ca;
            font-weight: 700;
        }.page-teachers .t-modal__subjects{
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }.page-teachers .t-modal__subject{
            font-size: 0.85rem;
            padding: 8px 14px;
            border-radius: 12px;
            background: rgba(28, 167, 231, 0.12);
            color: #0e7490;
            font-weight: 700;
            border: 1px solid rgba(28, 167, 231, 0.25);
        }.page-teachers .t-modal__footer{
            padding: 16px 28px 24px;
            border-top: 1px solid rgba(148, 163, 184, 0.3);
        }@media (max-width: 720px){.page-teachers .t-modal__footer{ padding: 14px 18px 20px; }
        }.page-teachers .t-modal__book{
            width: 100%;
            padding: 14px 20px;
            border: none;
            border-radius: 14px;
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: white;
            font-weight: 800;
            font-size: 1rem;
            cursor: pointer;
            box-shadow: 0 6px 22px rgba(34, 197, 94, 0.35);
            transition: filter 0.2s, transform 0.2s;
            white-space: normal;
            line-height: 1.35;
        }.page-teachers .t-modal__book:hover{
            filter: brightness(1.06);
            transform: translateY(-2px);
        }


/* --- Source: public/terms-of-service.html --- */
body.page-terms-of-service{ 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #F0F2F5; 
            margin: 0;
            padding: 0;
            line-height: 1.8;
        }.page-terms-of-service .container{
            max-width: 1000px;
            margin: 0 auto;
            padding: 40px 24px;
        }.page-terms-of-service .header{
            background: white;
            border-radius: 16px;
            padding: 32px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            text-align: center;
        }.page-terms-of-service .header h1{
            color: #667eea;
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 12px;
        }.page-terms-of-service .header p{
            color: #64748b;
            font-size: 1.1rem;
        }.page-terms-of-service .content-card{
            background: white;
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            margin-bottom: 24px;
        }.page-terms-of-service .section-title{
            font-size: 1.8rem;
            font-weight: 800;
            color: #667eea;
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 3px solid #667eea;
            display: flex;
            align-items: center;
            gap: 12px;
        }.page-terms-of-service .subsection-title{
            font-size: 1.4rem;
            font-weight: 700;
            color: #1E3A5F;
            margin-top: 32px;
            margin-bottom: 16px;
        }.page-terms-of-service .pillar-item{
            margin-bottom: 24px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            border-left: 4px solid #667eea;
        }.page-terms-of-service .pillar-item h4{
            font-size: 1.2rem;
            font-weight: 700;
            color: #667eea;
            margin-bottom: 12px;
        }.page-terms-of-service .pillar-item ul{
            margin: 12px 0;
            padding-left: 24px;
        }.page-terms-of-service .pillar-item li{
            margin-bottom: 8px;
            color: #1E3A5F;
        }.page-terms-of-service .framework-section{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 32px;
            border-radius: 16px;
            margin: 32px 0;
        }.page-terms-of-service .framework-section h3{
            color: white;
            font-size: 1.6rem;
            margin-bottom: 24px;
        }.page-terms-of-service .framework-item{
            margin-bottom: 20px;
            padding: 16px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            backdrop-filter: blur(10px);
        }.page-terms-of-service .framework-item strong{
            font-size: 1.1rem;
            display: block;
            margin-bottom: 8px;
        }.page-terms-of-service .framework-item ul{
            margin: 8px 0;
            padding-left: 20px;
        }.page-terms-of-service .framework-item li{
            margin-bottom: 6px;
        }.page-terms-of-service .guiding-statement{
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 32px;
            border-radius: 16px;
            border: 3px solid #667eea;
            margin: 32px 0;
            text-align: center;
            font-style: italic;
            font-size: 1.2rem;
            color: #1E3A5F;
            line-height: 1.8;
        }.page-terms-of-service .back-button{
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: #667eea;
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-top: 24px;
        }.page-terms-of-service .back-button:hover{
            background: #5a67d8;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
        }.page-terms-of-service .practice-item{
            margin-bottom: 16px;
            padding: 16px;
            background: #f8f9fa;
            border-radius: 8px;
        }.page-terms-of-service .practice-item strong{
            color: #667eea;
            display: block;
            margin-bottom: 8px;
        }@media (max-width: 768px){.page-terms-of-service .container{
                padding: 20px 16px;
            }.page-terms-of-service .content-card{
                padding: 24px;
            }.page-terms-of-service .header h1{
                font-size: 2rem;
            }
        }


/* --- Source: public/test-booking-integration.html --- */
.page-test-booking-integration *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }body.page-test-booking-integration{
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
            color: #333;
        }.page-test-booking-integration .container{
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        }.page-test-booking-integration h1{
            text-align: center;
            margin-bottom: 30px;
            color: #667eea;
        }.page-test-booking-integration .test-section{
            margin-bottom: 30px;
            padding: 20px;
            border: 2px solid #e9ecef;
            border-radius: 10px;
        }.page-test-booking-integration .test-section h3{
            margin-bottom: 15px;
            color: #495057;
        }.page-test-booking-integration .form-group{
            margin-bottom: 15px;
        }.page-test-booking-integration label{
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
        }.page-test-booking-integration input, .page-test-booking-integration select{
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }.page-test-booking-integration .btn{
            background: #667eea;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            margin: 5px;
            transition: background 0.3s;
        }.page-test-booking-integration .btn:hover{
            background: #5a6fd8;
        }.page-test-booking-integration .btn-success{
            background: #28a745;
        }.page-test-booking-integration .btn-success:hover{
            background: #218838;
        }.page-test-booking-integration .btn-warning{
            background: #ffc107;
            color: #333;
        }.page-test-booking-integration .btn-warning:hover{
            background: #e0a800;
        }.page-test-booking-integration .result{
            margin-top: 15px;
            padding: 15px;
            border-radius: 5px;
            background: #f8f9fa;
            border-left: 4px solid #667eea;
        }.page-test-booking-integration .result.success{
            background: #d4edda;
            border-left-color: #28a745;
        }.page-test-booking-integration .result.error{
            background: #f8d7da;
            border-left-color: #dc3545;
        }.page-test-booking-integration .info-box{
            background: #e7f3ff;
            border: 1px solid #b3d9ff;
            border-radius: 5px;
            padding: 15px;
            margin-bottom: 20px;
        }.page-test-booking-integration .info-box h4{
            margin-bottom: 10px;
            color: #0066cc;
        }


/* --- Source: public/test-class-finish.html --- */
body.page-test-class-finish{
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 50px auto;
            padding: 20px;
            background: #f5f5f5;
        }.page-test-class-finish .test-section{
            background: white;
            padding: 20px;
            margin: 20px 0;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }.page-test-class-finish .test-btn{
            background: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            cursor: pointer;
            margin: 10px 5px;
            font-size: 16px;
        }.page-test-class-finish .test-btn:hover{
            background: #45a049;
        }.page-test-class-finish .test-btn.teacher{
            background: #2196F3;
        }.page-test-class-finish .test-btn.student{
            background: #FF9800;
        }.page-test-class-finish .test-btn.danger{
            background: #f44336;
        }.page-test-class-finish .status{
            padding: 10px;
            margin: 10px 0;
            border-radius: 4px;
            font-weight: bold;
        }.page-test-class-finish .status.success{
            background: #d4edda;
            color: #155724;
        }.page-test-class-finish .status.error{
            background: #f8d7da;
            color: #721c24;
        }.page-test-class-finish .status.info{
            background: #d1ecf1;
            color: #0c5460;
        }.page-test-class-finish .log{
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            padding: 10px;
            border-radius: 4px;
            margin: 10px 0;
            font-family: monospace;
            font-size: 12px;
            max-height: 300px;
            overflow-y: auto;
        }


/* --- Source: public/test-clean-classroom-portforward.html --- */
body.page-test-clean-classroom-portforward{
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 50px auto;
            padding: 20px;
            background: #f5f5f5;
        }.page-test-clean-classroom-portforward .test-section{
            background: white;
            padding: 20px;
            margin: 20px 0;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }.page-test-clean-classroom-portforward .test-btn{
            background: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            cursor: pointer;
            margin: 10px 5px;
            font-size: 16px;
        }.page-test-clean-classroom-portforward .test-btn:hover{
            background: #45a049;
        }.page-test-clean-classroom-portforward .test-btn.teacher{
            background: #2196F3;
        }.page-test-clean-classroom-portforward .test-btn.teacher:hover{
            background: #1976D2;
        }.page-test-clean-classroom-portforward .test-btn.student{
            background: #FF9800;
        }.page-test-clean-classroom-portforward .test-btn.student:hover{
            background: #F57C00;
        }.page-test-clean-classroom-portforward .status{
            padding: 10px;
            margin: 10px 0;
            border-radius: 4px;
            font-weight: bold;
        }.page-test-clean-classroom-portforward .status.success{
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }.page-test-clean-classroom-portforward .status.error{
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }.page-test-clean-classroom-portforward .status.info{
            background: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }.page-test-clean-classroom-portforward .test-room{
            background: #e9ecef;
            padding: 15px;
            border-radius: 6px;
            margin: 10px 0;
            font-family: monospace;
        }.page-test-clean-classroom-portforward .url-display{
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            padding: 10px;
            border-radius: 4px;
            margin: 10px 0;
            font-family: monospace;
            word-break: break-all;
        }


/* --- Source: public/test-login.html --- */
body.page-test-login{ 
            font-family: Arial, sans-serif;
            max-width: 600px;
            margin: 50px auto;
            padding: 20px; 
            background-color: #f5f5f5;
        }.page-test-login .test-form{
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }.page-test-login .form-group{
            margin-bottom: 20px;
        }.page-test-login label{
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }.page-test-login input{
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
        }.page-test-login button{
            background: #007bff;
            color: white;
            padding: 12px 24px;
            border: none; 
            border-radius: 4px;
            cursor: pointer; 
            width: 100%;
        }.page-test-login button:hover{
            background: #0056b3;
        }.page-test-login button:disabled{
            background: #ccc;
            cursor: not-allowed;
        }.page-test-login .result{
            margin-top: 20px;
            padding: 15px;
            border-radius: 4px;
            white-space: pre-wrap;
        }.page-test-login .success{
            background: #d4edda;
            border: 1px solid #c3e6cb;
            color: #155724;
        }.page-test-login .error{
            background: #f8d7da;
            border: 1px solid #f5c6cb;
            color: #721c24;
        }.page-test-login .info{
            background: #d1ecf1;
            border: 1px solid #bee5eb;
            color: #0c5460;
        }


/* --- Source: public/test-new-waiting-room.html --- */
body.page-test-new-waiting-room{
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 50px auto;
            padding: 20px;
            background: #f5f5f5;
        }.page-test-new-waiting-room .test-section{
            background: white;
            padding: 20px;
            margin: 20px 0;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }.page-test-new-waiting-room .test-btn{
            background: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            cursor: pointer;
            margin: 10px 5px;
            font-size: 16px;
        }.page-test-new-waiting-room .test-btn:hover{
            background: #45a049;
        }.page-test-new-waiting-room .test-btn.teacher{
            background: #2196F3;
        }.page-test-new-waiting-room .test-btn.student{
            background: #FF9800;
        }.page-test-new-waiting-room .test-btn.danger{
            background: #f44336;
        }.page-test-new-waiting-room .status{
            padding: 10px;
            margin: 10px 0;
            border-radius: 4px;
            font-weight: bold;
        }.page-test-new-waiting-room .status.success{
            background: #d4edda;
            color: #155724;
        }.page-test-new-waiting-room .status.error{
            background: #f8d7da;
            color: #721c24;
        }.page-test-new-waiting-room .status.info{
            background: #d1ecf1;
            color: #0c5460;
        }.page-test-new-waiting-room .log{
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            padding: 10px;
            border-radius: 4px;
            margin: 10px 0;
            font-family: monospace;
            font-size: 12px;
            max-height: 300px;
            overflow-y: auto;
        }


/* --- Source: public/test-password-change.html --- */
body.page-test-password-change{ 
            font-family: Arial, sans-serif; 
            max-width: 800px; 
            margin: 50px auto; 
            padding: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }.page-test-password-change .container{
            background: rgba(255, 255, 255, 0.1);
            padding: 30px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }.page-test-password-change button{
            background: #4CAF50;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin: 10px 5px;
        }.page-test-password-change button:hover{ background: #45a049; }.page-test-password-change .result{
            background: rgba(0, 0, 0, 0.3);
            padding: 15px;
            border-radius: 5px;
            margin: 10px 0;
            white-space: pre-wrap;
        }.page-test-password-change input{
            padding: 8px;
            margin: 5px;
            border-radius: 3px;
            border: none;
        }


/* --- Source: public/test-timezone.html --- */
body.page-test-timezone{
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background: #f5f5f5;
        }.page-test-timezone .container{
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }.page-test-timezone .section{
            margin-bottom: 20px;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }.page-test-timezone .timezone-info{
            background: #e3f2fd;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
        }.page-test-timezone .date-test{
            background: #f3e5f5;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
        }.page-test-timezone .api-test{
            background: #e8f5e8;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
        }.page-test-timezone button{
            background: #667eea;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            margin: 5px;
        }.page-test-timezone button:hover{
            background: #5a67d8;
        }.page-test-timezone pre{
            background: #f8f9fa;
            padding: 10px;
            border-radius: 5px;
            overflow-x: auto;
        }


/* --- Source: public/test-token.html --- */
body.page-test-token{
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background: #f5f5f5;
        }.page-test-token .container{
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }.page-test-token .section{
            margin-bottom: 20px;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }.page-test-token .token-info{
            background: #e3f2fd;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
        }.page-test-token .test-result{
            background: #f3e5f5;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
        }.page-test-token button{
            background: #667eea;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            margin: 5px;
        }.page-test-token button:hover{
            background: #5a67d8;
        }.page-test-token pre{
            background: #f8f9fa;
            padding: 10px;
            border-radius: 5px;
            overflow-x: auto;
            max-height: 300px;
            overflow-y: auto;
        }.page-test-token .error{
            background: #ffebee;
            color: #c62828;
            border: 1px solid #ffcdd2;
        }.page-test-token .success{
            background: #e8f5e8;
            color: #2e7d32;
            border: 1px solid #c8e6c9;
        }


/* --- Source: public/trial-class.html --- */
.page-trial-class .preview-container{ display: flex; flex-direction: column; align-items: center; margin-top: 40px; }.page-trial-class #video-preview{ width: 320px; height: 240px; background: #222; border-radius: 8px; margin-bottom: 20px; }.page-trial-class #mic-level{ width: 320px; height: 10px; background: #eee; border-radius: 5px; margin-bottom: 20px; }.page-trial-class #mic-bar{ height: 100%; background: #3a7afe; border-radius: 5px; width: 0; transition: width 0.1s; }.page-trial-class .status{ margin-bottom: 20px; color: #333; }.page-trial-class .join-btn{ padding: 0.8rem 2rem; background: #3a7afe; color: #fff; border: none; border-radius: 5px; font-size: 1.1rem; cursor: pointer; transition: background 0.2s; }.page-trial-class .join-btn:hover{ background: #255ed6; }.page-trial-class .remoed-header{
            background: #fafdff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-left: 32px;
            padding-right: 32px;
            height: 56px;
            min-height: 40px;
            max-height: 64px;
            box-shadow: 0 2px 8px rgba(28,167,231,0.06), 0 1px 0 #e6f0fa;
            border-bottom: 1px solid #e6f0fa;
        }


/* --- Source: public/video-room.html --- */
body.page-video-room{ margin: 0; background: #f4f6fb; height: 100vh; }.page-video-room .classroom-layout{ display: flex; height: 100vh; width: 100vw; overflow: hidden; }.page-video-room .toolbar{ width: 64px; background: #23272f; display: flex; flex-direction: column; align-items: center; padding: 16px 0; gap: 24px; box-shadow: 2px 0 8px rgba(0,0,0,0.04); }.page-video-room .toolbar-btn{ background: none; border: none; cursor: pointer; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; transition: background 0.2s, box-shadow 0.2s; position: relative; }.page-video-room .toolbar-btn:hover, .page-video-room .toolbar-btn:focus{ background: #3a7afe; box-shadow: 0 2px 8px rgba(58,122,254,0.08); }.page-video-room .toolbar-btn svg{ width: 28px; height: 28px; color: #fff; }.page-video-room .toolbar-btn .custom-tooltip{ display: none; position: absolute; left: 48px; top: 50%; transform: translateY(-50%); background: #222; color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 0.95rem; white-space: nowrap; z-index: 10; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }.page-video-room .toolbar-btn:hover .custom-tooltip, .page-video-room .toolbar-btn:focus .custom-tooltip{ display: block; }.page-video-room .center-panel{ flex: 2.5; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 32px 0 0 0; height: 100vh; overflow-y: auto; }.page-video-room .class-timer{ font-size: 1.2rem; color: #3a7afe; font-weight: 600; margin-bottom: 18px; letter-spacing: 1px; }.page-video-room .tab-container{ width: 100%; max-width: 1100px; margin-bottom: 16px; }.page-video-room .tab-buttons{ display: flex; gap: 4px; margin-bottom: 8px; }.page-video-room .tab-btn{ background: #f4f6fb; border: none; border-radius: 8px 8px 0 0; padding: 12px 24px; font-size: 1rem; cursor: pointer; color: #666; transition: all 0.2s; position: relative; z-index: 10; }.page-video-room .tab-btn.active{ background: #fff; color: #3a7afe; font-weight: 600; box-shadow: 0 -2px 8px rgba(0,0,0,0.05); }.page-video-room .tab-btn:hover{ background: #e0e6ed; }.page-video-room .tab-btn:active{ transform: translateY(1px); }.page-video-room .tab-content{ background: #fff; border-radius: 0 12px 12px 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); min-height: 480px; max-height: 700px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: auto; border: 1px solid #e0e6ed; }.page-video-room .lesson-viewer{ width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }.page-video-room .whiteboard-tab{ width: 100%; height: 100%; display: flex; flex-direction: column; }.page-video-room .whiteboard-controls{ display: flex; gap: 12px; margin-bottom: 16px; justify-content: center; align-items: center; }.page-video-room .wb-control-btn{ background: #f4f6fb; border: none; border-radius: 6px; padding: 8px 16px; cursor: pointer; font-size: 0.9rem; transition: background 0.2s; }.page-video-room .wb-control-btn.active{ background: #3a7afe; color: white; }.page-video-room .wb-control-btn:hover{ background: #e0e6ed; }.page-video-room .wb-control-btn.active:hover{ background: #255ed6; }.page-video-room .wb-color-picker{ width: 40px; height: 32px; border: none; border-radius: 4px; cursor: pointer; }.page-video-room .wb-brush-size{ width: 60px; padding: 4px; border: 1px solid #ccc; border-radius: 4px; }.page-video-room .whiteboard-canvas{ flex: 1; background: white; border: 1px solid #e0e6ed; border-radius: 8px; cursor: crosshair; min-height: 400px; }.page-video-room .files-tab{ width: 100%; display: flex; flex-direction: column; align-items: center; }.page-video-room .lesson-nav{ margin-top: 12px; display: flex; gap: 8px; justify-content: center; }.page-video-room .lesson-nav-btn{ background: #3a7afe; color: #fff; border: none; border-radius: 5px; padding: 0.5rem 1.2rem; font-size: 1rem; cursor: pointer; transition: background 0.2s; }.page-video-room .lesson-nav-btn:hover{ background: #255ed6; }.page-video-room .whiteboard{ width: 800px; height: 220px; background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); margin: 20px 0; cursor: crosshair; display: none; border: 1px solid #e0e6ed; }.page-video-room .file-upload-form{ display: none; margin-top: 12px; }.page-video-room .file-list{ width: 100%; max-width: 800px; margin-bottom: 20px; /* display: none; */ }.page-video-room .right-panel{ flex: 1.2; background: #fff; border-left: 1px solid #eee; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; min-width: 340px; height: 100vh; box-shadow: -2px 0 8px rgba(0,0,0,0.04); }.page-video-room .video-feeds{
          display: flex;
          flex-direction: column;
          gap: 12px;
          justify-content: flex-start;
          align-items: center;
          padding: 18px 0 8px 0;
        }.page-video-room .video-feed{ width: 160px; height: 120px; background: #111; border-radius: 8px; object-fit: cover; border: 2px solid #3a7afe; box-shadow: 0 2px 8px rgba(58,122,254,0.08); }.page-video-room .chat-header{ font-weight: 600; color: #3a7afe; padding: 0 0 8px 0; text-align: center; letter-spacing: 1px; }.page-video-room .chat-messages{ flex: 1; min-height: 0; overflow-y: auto; background: #f4f6fb; border-radius: 8px; padding: 10px; margin: 0 16px 8px 16px; font-size: 1rem; border: 1px solid #e0e6ed; }.page-video-room .chat-form{ display: flex; gap: 8px; padding: 0 16px 16px 16px; }.page-video-room .chat-input{ flex: 1; padding: 0.5rem; border-radius: 5px; border: 1px solid #ccc; font-size: 1rem; }@media (max-width: 1200px){.page-video-room .center-panel, .page-video-room .lesson-viewer, .page-video-room .whiteboard, .page-video-room .file-list{ max-width: 95vw; }.page-video-room .video-feed, .page-video-room .whiteboard{ width: 90vw; max-width: 160px; }
        }@media (max-width: 900px){.page-video-room .classroom-layout{ flex-direction: column; }.page-video-room .toolbar, .page-video-room .right-panel{ min-width: 0; width: 100vw; height: auto; }.page-video-room .center-panel{ height: auto; }
        }.page-video-room /* Loading animation for PDF viewer */
        @keyframes loading{
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }.page-video-room .remoed-header{
            background: #fafdff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-left: 32px;
            padding-right: 32px;
            height: 56px;
            min-height: 40px;
            max-height: 64px;
            box-shadow: 0 2px 8px rgba(28,167,231,0.06), 0 1px 0 #e6f0fa;
            border-bottom: 1px solid #e6f0fa;
        }.page-video-room .remoed-logo{
            height:100%; display:flex; align-items:center; gap:10px;
        }.page-video-room .remoed-logo img{
            height:36px; width:auto; display:inline-block; vertical-align:middle;
        }.page-video-room .remoed-title{
            font-size:1.3rem; font-weight:700; color:#1ca7e7; letter-spacing:1px;
        }.page-video-room .remoed-user{
            display:flex; align-items:center; gap:10px;
        }.page-video-room .remoed-avatar{
            width:32px; height:32px; background:#1ca7e7; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1rem; font-weight:bold;
        }.page-video-room .remoed-username{
            font-size:1rem; color:#333; font-weight:600;
        }.page-video-room #local-video{
          filter: brightness(1.2) contrast(1.1) saturate(1.1) drop-shadow(0 0 8px #fff8);
          background: #fff;
          border-radius: 8px;
        }.page-video-room #clear-whiteboard{ background: #ff6b6b; color: white; }.page-video-room #clear-whiteboard:hover{ background: #ff5252; }


/* --- Source: public/waiting-room.html --- */
.page-waiting-room *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }body.page-waiting-room{
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #333;
        }.page-waiting-room .waiting-container{
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            max-width: 600px;
            width: 90%;
            text-align: center;
        }.page-waiting-room .waiting-icon{
            font-size: 4rem;
            margin-bottom: 20px;
            animation: pulse 2s infinite;
        }.page-waiting-room .waiting-title{
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }.page-waiting-room .waiting-subtitle{
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 30px;
            line-height: 1.5;
        }.page-waiting-room .waiting-spinner{
            width: 50px;
            height: 50px;
            border: 5px solid rgba(102,126,234,0.3);
            border-top: 5px solid #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 30px;
        }.page-waiting-room .status-message{
            font-size: 1.1rem;
            color: #667eea;
            font-weight: 600;
            margin-bottom: 30px;
        }.page-waiting-room .room-info{
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            margin: 25px 0;
            text-align: left;
        }.page-waiting-room .room-info h3{
            font-size: 1.2rem;
            margin-bottom: 15px;
            text-align: center;
            color: #333;
        }.page-waiting-room .room-detail{
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #e9ecef;
        }.page-waiting-room .room-detail:last-child{
            border-bottom: none;
        }.page-waiting-room .room-label{
            font-weight: 500;
            color: #333;
        }.page-waiting-room .room-value{
            font-weight: 600;
            color: #667eea;
        }.page-waiting-room .class-info{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 12px;
            padding: 20px;
            margin: 25px 0;
        }.page-waiting-room .class-info h3{
            font-size: 1.2rem;
            margin-bottom: 10px;
        }.page-waiting-room .class-details{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-top: 15px;
        }.page-waiting-room .class-detail{
            text-align: center;
        }.page-waiting-room .class-detail-label{
            font-size: 0.9rem;
            opacity: 0.8;
            margin-bottom: 5px;
        }.page-waiting-room .class-detail-value{
            font-size: 1.1rem;
            font-weight: 600;
        }.page-waiting-room .action-buttons{
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 30px;
            flex-wrap: wrap;
        }.page-waiting-room .btn{
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }.page-waiting-room .btn-primary{
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            color: white;
        }.page-waiting-room .btn-primary:hover{
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(40,167,69,0.3);
        }.page-waiting-room .btn-secondary{
            background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
            color: white;
        }.page-waiting-room .btn-secondary:hover{
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(108,117,125,0.3);
        }.page-waiting-room .btn-warning{
            background: #ffc107;
            color: #212529;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s;
        }.page-waiting-room .btn-warning:hover{
            background: #e0a800;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255,193,7,0.3);
        }.page-waiting-room .btn-danger{
            background: #dc3545;
            color: white;
        }.page-waiting-room .btn-danger:hover{
            background: #c82333;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(220,53,69,0.3);
        }.page-waiting-room .notification{
            position: fixed;
            top: 20px;
            right: 20px;
            background: white;
            border-radius: 8px;
            padding: 15px 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }.page-waiting-room .notification.show{
            transform: translateX(0);
        }.page-waiting-room .notification.success{
            border-left: 4px solid #28a745;
        }.page-waiting-room .notification.error{
            border-left: 4px solid #dc3545;
        }.page-waiting-room .notification.warning{
            border-left: 4px solid #ffc107;
        }.page-waiting-room .notification.info{
            border-left: 4px solid #17a2b8;
        }@keyframes pulse{
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }@keyframes spin{
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }.page-waiting-room .loading-overlay{
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            color: white;
            font-size: 1.2rem;
        }.page-waiting-room .loading-spinner{
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255,255,255,0.3);
            border-top: 4px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 15px;
        }


/* --- Source: public/whiteboard.html --- */
body.page-whiteboard{ 
            margin: 0; 
            padding: 0; 
            background: #f4f6fb; 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow: hidden;
        }.page-whiteboard .whiteboard-container{
            position: relative;
            width: 100vw;
            height: 100vh;
            display: flex;
            flex-direction: column;
        }.page-whiteboard .whiteboard-header{
            background: #1ca7e7;
            color: white;
            padding: 12px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }.page-whiteboard .whiteboard-title{
            font-size: 1.2rem;
            font-weight: 600;
        }.page-whiteboard .whiteboard-controls{
            display: flex;
            gap: 12px;
            align-items: center;
        }.page-whiteboard .control-btn{
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: background 0.2s;
        }.page-whiteboard .control-btn:hover{
            background: rgba(255,255,255,0.3);
        }.page-whiteboard .control-btn.active{
            background: rgba(255,255,255,0.4);
        }.page-whiteboard .color-picker{
            width: 40px;
            height: 32px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }.page-whiteboard .brush-size{
            width: 60px;
            padding: 4px;
            border: none;
            border-radius: 4px;
        }.page-whiteboard .whiteboard-canvas{
            flex: 1;
            background: white;
            cursor: crosshair;
            border: none;
        }.page-whiteboard .close-btn{
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            padding: 8px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1rem;
        }.page-whiteboard .close-btn:hover{
            background: rgba(255,255,255,0.3);
        }.page-whiteboard .room-info{
            font-size: 0.9rem;
            opacity: 0.9;
        }


/* Student auth / payment / waiting-room: same Comic Sans stack as student portal (no student-portal-layout.css on these) */
body.student-login-page,
body.page-student-register,
body.page-student-waiting-room,
body.page-student-payment,
body.page-student-reset-password,
body.page-student-reschedule,
body.page-student-forgot-password {
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Trebuchet MS", "Segoe UI", cursive, sans-serif;
}
body.student-login-page input,
body.student-login-page select,
body.student-login-page textarea,
body.student-login-page button,
body.page-student-register input,
body.page-student-register select,
body.page-student-register textarea,
body.page-student-register button,
body.page-student-waiting-room input,
body.page-student-waiting-room select,
body.page-student-waiting-room textarea,
body.page-student-waiting-room button,
body.page-student-payment input,
body.page-student-payment select,
body.page-student-payment textarea,
body.page-student-payment button,
body.page-student-reset-password input,
body.page-student-reset-password select,
body.page-student-reset-password textarea,
body.page-student-reset-password button,
body.page-student-reschedule input,
body.page-student-reschedule select,
body.page-student-reschedule textarea,
body.page-student-reschedule button,
body.page-student-forgot-password input,
body.page-student-forgot-password select,
body.page-student-forgot-password textarea,
body.page-student-forgot-password button {
  font-family: inherit;
}

