.login-page{min-height:100vh;background:radial-gradient(circle at 75% 75%,#2d5d9b,#173868,#0d2240);display:flex;flex-direction:column;color:#fff}.login-header{display:flex;justify-content:space-between;align-items:center;padding:24px 48px;width:100%}.header-left{display:flex;align-items:center;gap:16px}.header-brand{display:flex;align-items:center;gap:12px;border-right:1px solid rgba(255,255,255,.25);padding-right:16px}.logo-text{font-weight:800;font-size:1.25rem;letter-spacing:.5px}.header-title h1{font-size:1rem;font-weight:700;line-height:1.1}.header-title span{font-size:.72rem;opacity:.8;font-weight:400}.header-right{text-align:right;font-size:.72rem;opacity:.85;line-height:1.3}.login-main{flex:1;display:flex;justify-content:center;align-items:center;padding:20px}.login-card{display:flex;width:100%;max-width:820px;background:#ffffff08;border-radius:16px;box-shadow:0 25px 50px -12px #00000073;overflow:hidden;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.08)}.info-panel{flex:1;background:#122a50a6;padding:48px 36px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.play-icon{width:64px;height:64px;background:#ffffff1f;border-radius:14px;display:flex;justify-content:center;align-items:center;margin-bottom:24px}.play-icon svg{width:28px;height:28px;fill:#fff;margin-left:3px}.info-panel h2{font-size:1.4rem;margin-bottom:8px;font-weight:700}.info-panel p.subtitle{font-size:.8rem;opacity:.8;margin-bottom:32px;max-width:250px;line-height:1.35}.features-list{list-style:none;text-align:left;width:100%;max-width:250px}.features-list li{font-size:.78rem;margin-bottom:12px;display:flex;align-items:center;opacity:.9}.features-list li:before{content:"•";color:#3b82f6;font-size:1.4rem;line-height:0;margin-right:10px}.form-panel{flex:1;background:#fff;color:#1e293b;padding:48px 40px;display:flex;flex-direction:column;justify-content:center}.form-panel h2{font-size:1.35rem;font-weight:700;color:#0f172a;margin-bottom:6px}.form-panel p.form-subtitle{font-size:.72rem;color:#64748b;margin-bottom:28px}.form-group{margin-bottom:18px}.form-group label{display:block;font-size:.7rem;font-weight:700;color:#1e293b;margin-bottom:6px}.form-group input{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:.82rem;outline:none;background-color:#f8fafc;transition:all .2s ease}.form-group input:focus{border-color:#2563eb;background-color:#fff;box-shadow:0 0 0 3px #2563eb1a}.form-group input::placeholder{color:#94a3b8}.info-note{font-size:.62rem;color:#64748b;margin-top:6px;display:flex;align-items:center;gap:4px}.info-note span{color:#2563eb}.btn-submit{width:100%;padding:11px;background:#2b62b7;color:#fff;border:none;border-radius:6px;font-size:.82rem;font-weight:600;cursor:pointer;margin-top:8px;transition:background-color .2s}.btn-submit:hover{background:#1d4ed8}.btn-submit:disabled{background:#94a3b8;cursor:not-allowed}.form-footer{margin-top:40px;text-align:center;font-size:.72rem;color:#64748b}.form-footer a{color:#2563eb;text-decoration:none;font-weight:600}.form-footer a:hover{text-decoration:underline}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:8px 12px;border-radius:6px;font-size:.75rem;margin-bottom:16px}.success-message{background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a;padding:8px 12px;border-radius:6px;font-size:.75rem;margin-bottom:16px}.divider{display:flex;align-items:center;margin:20px 0;gap:12px}.divider:before,.divider:after{content:"";flex:1;height:1px;background:#e2e8f0}.divider span{font-size:.72rem;color:#94a3b8;font-weight:500}.btn-google{width:100%;padding:11px;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:6px;font-size:.82rem;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;transition:background-color .2s,border-color .2s}.btn-google:hover{background:#f9fafb;border-color:#9ca3af}.btn-google:disabled{background:#f3f4f6;cursor:not-allowed;opacity:.6}@media (max-width: 768px){.login-header{flex-direction:column;gap:12px;text-align:center;padding:20px}.header-right{text-align:center}.login-card{flex-direction:column}.info-panel,.form-panel{padding:30px 20px}}.register-page{min-height:100vh;background:radial-gradient(circle at 75% 75%,#2d5d9b,#173868,#0d2240);display:flex;flex-direction:column;color:#fff}.register-header{display:flex;justify-content:space-between;align-items:center;padding:24px 48px;width:100%}.register-main{flex:1;display:flex;justify-content:center;align-items:center;padding:20px}.register-card{display:flex;width:100%;max-width:820px;background:#ffffff08;border-radius:16px;box-shadow:0 25px 50px -12px #00000073;overflow:hidden;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.08)}.register-page .info-panel{flex:1;background:#122a50a6;padding:48px 36px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.register-page .play-icon{width:64px;height:64px;background:#ffffff1f;border-radius:14px;display:flex;justify-content:center;align-items:center;margin-bottom:24px}.register-page .play-icon svg{width:28px;height:28px;fill:#fff;margin-left:3px}.register-page .info-panel h2{font-size:1.4rem;margin-bottom:8px;font-weight:700}.register-page .info-panel p.subtitle{font-size:.8rem;opacity:.8;margin-bottom:32px;max-width:250px;line-height:1.35}.register-page .features-list{list-style:none;text-align:left;width:100%;max-width:250px}.register-page .features-list li{font-size:.78rem;margin-bottom:12px;display:flex;align-items:center;opacity:.9}.register-page .features-list li:before{content:"•";color:#3b82f6;font-size:1.4rem;line-height:0;margin-right:10px}.register-page .form-panel{flex:1;background:#fff;color:#1e293b;padding:40px 36px;display:flex;flex-direction:column;justify-content:center}.register-page .form-panel h2{font-size:1.35rem;font-weight:700;color:#0f172a;margin-bottom:6px}.register-page .form-panel p.form-subtitle{font-size:.72rem;color:#64748b;margin-bottom:20px}.register-page .form-group{margin-bottom:14px}.register-page .form-group label{display:block;font-size:.7rem;font-weight:700;color:#1e293b;margin-bottom:5px}.register-page .form-group input{width:100%;padding:9px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:.82rem;outline:none;background-color:#f8fafc;transition:all .2s ease}.register-page .form-group input:focus{border-color:#2563eb;background-color:#fff;box-shadow:0 0 0 3px #2563eb1a}.register-page .form-group input::placeholder{color:#94a3b8}.register-page .info-note{font-size:.62rem;color:#64748b;margin-top:5px;display:flex;align-items:center;gap:4px}.register-page .info-note span{color:#2563eb}.register-page .btn-submit{width:100%;padding:11px;background:#2b62b7;color:#fff;border:none;border-radius:6px;font-size:.82rem;font-weight:600;cursor:pointer;margin-top:8px;transition:background-color .2s}.register-page .btn-submit:hover{background:#1d4ed8}.register-page .btn-submit:disabled{background:#94a3b8;cursor:not-allowed}.register-page .form-footer{margin-top:28px;text-align:center;font-size:.72rem;color:#64748b}.register-page .form-footer a{color:#2563eb;text-decoration:none;font-weight:600}.register-page .form-footer a:hover{text-decoration:underline}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:8px 12px;border-radius:6px;font-size:.75rem;margin-bottom:12px}.success-message{background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a;padding:8px 12px;border-radius:6px;font-size:.75rem;margin-bottom:12px}@media (max-width: 768px){.register-header{flex-direction:column;gap:12px;text-align:center;padding:20px}.header-right{text-align:center}.register-card{flex-direction:column}.register-page .info-panel,.register-page .form-panel{padding:30px 20px}}.catalog-container{min-height:100vh;background-color:#f1f5f9;color:#334155;display:flex;flex-direction:column}.catalog-header{background-color:#172a46;color:#fff;padding:12px 32px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000001a;flex-shrink:0}.nav-left{display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:12px;border-right:1px solid rgba(255,255,255,.2);padding-right:20px}.brand-logo{display:flex;align-items:center;gap:8px}.brand-logo .seal{width:32px;height:32px;background:#ffffff26;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700}.brand-text{font-weight:800;font-size:1.15rem;letter-spacing:.5px}.brand-app{font-size:1.1rem;font-weight:700}.nav-links{display:flex;align-items:center;gap:8px;list-style:none}.nav-links a{color:#cbd5e1;text-decoration:none;padding:6px 16px;border-radius:6px;font-size:.85rem;font-weight:500;transition:all .2s}.nav-links a:hover{color:#fff;background:#ffffff14}.nav-links a.active{background-color:#2563eb;color:#fff}.nav-links a.admin-link{background-color:#16a34a;color:#fff;font-weight:600}.nav-links a.admin-link:hover{background-color:#15803d}.user-profile{display:flex;align-items:center;gap:12px}.avatar{width:36px;height:36px;background-color:#2563eb;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem}.user-info{display:flex;flex-direction:column;line-height:1.2}.user-name{font-size:.82rem;font-weight:700;color:#fff}.user-role{font-size:.7rem;color:#94a3b8}.logout-btn-header{background:transparent;border:1px solid rgba(255,255,255,.3);color:#cbd5e1;padding:4px 12px;border-radius:4px;font-size:.75rem;cursor:pointer;transition:all .2s}.logout-btn-header:hover{background:#ffffff1a;color:#fff}.catalog-layout{display:flex;gap:24px;padding:24px 32px;max-width:1440px;margin:0 auto;width:100%;flex:1}aside.sidebar{width:280px;display:flex;flex-direction:column;gap:20px;flex-shrink:0}.widget-card{background:#fff;border-radius:10px;padding:18px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #00000005}.widget-title{font-size:.82rem;font-weight:700;color:#1e293b;margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}.views-list{list-style:none;display:flex;flex-direction:column;gap:12px}.view-item{display:flex;align-items:center;gap:12px;cursor:pointer;padding:4px;border-radius:4px;transition:background .15s}.view-item:hover{background:#f8fafc}.view-number{width:20px;height:20px;background-color:#eff6ff;color:#2563eb;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700;flex-shrink:0}.view-details{display:flex;flex-direction:column;gap:2px;width:100%;min-width:0}.view-name{font-size:.75rem;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.view-count{font-size:.65rem;color:#94a3b8}.subtitle-tag{font-size:.68rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.checkbox-list{display:flex;flex-direction:column;gap:8px}.checkbox-item{display:flex;align-items:center;gap:8px;font-size:.75rem;color:#64748b}.custom-checkbox{width:14px;height:14px;border:1px dashed #cbd5e1;border-radius:3px;flex-shrink:0}.rated-list{display:flex;flex-direction:column;gap:12px}.rated-item{display:flex;flex-direction:column;gap:4px}.rated-bar{height:6px;background-color:#cbd5e1;border-radius:3px}.rated-meta{display:flex;align-items:center;gap:4px;font-size:.65rem;color:#94a3b8}.star-icon{color:#f59e0b;font-size:.7rem}main.content-area{flex:1;display:flex;flex-direction:column;gap:20px}.filter-card{background:#fff;border-radius:10px;padding:12px 16px;border:1px solid #e2e8f0;display:flex;align-items:center;gap:12px;box-shadow:0 1px 3px #00000005}.search-box{flex:1;position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;color:#94a3b8;font-size:.85rem}.search-input{width:100%;padding:8px 12px 8px 34px;border:1px solid #e2e8f0;border-radius:6px;font-size:.8rem;outline:none;color:#334155;background-color:#fff}.search-input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.search-input::placeholder{color:#94a3b8}.btn-filter{background-color:#172a46;color:#fff;border:none;padding:8px 18px;border-radius:6px;font-size:.78rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px;transition:background .2s;white-space:nowrap}.btn-filter:hover{background-color:#1e3a62}.filter-select{flex:1;padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:.8rem;color:#334155;background-color:#fff;outline:none;cursor:pointer;min-width:0}.filter-select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.btn-clear{background:transparent;color:#64748b;border:1px solid #e2e8f0;padding:8px 14px;border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap;transition:all .2s}.btn-clear:hover{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.course-detail-header{margin-bottom:16px}.course-detail-header h2{font-size:1.3rem;color:#172a46;margin:8px 0 4px;font-weight:700}.course-detail-header .recording-count{font-size:.85rem;color:#64748b}.back-btn{background:transparent;border:1px solid #e2e8f0;color:#2563eb;padding:6px 12px;border-radius:6px;font-size:.8rem;cursor:pointer;transition:all .2s}.back-btn:hover{background:#eff6ff;border-color:#2563eb}.resume-banner{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#1e3a5f,#2563eb);color:#fff;padding:14px 20px;border-radius:10px;margin-bottom:16px;cursor:pointer;transition:transform .15s,box-shadow .15s}.resume-banner:hover{transform:translateY(-2px);box-shadow:0 4px 16px #2563eb59}.resume-icon{font-size:1.4rem;flex-shrink:0}.resume-info{display:flex;flex-direction:column;flex:1}.resume-title{font-weight:600;font-size:.95rem}.resume-time{font-size:.8rem;opacity:.85;margin-top:2px}.resume-arrow{font-size:1.2rem;flex-shrink:0;opacity:.8}.catalog-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:10px 16px;border-radius:8px;font-size:.85rem}.catalog-loading{text-align:center;padding:3rem;color:#64748b;font-size:1rem}.courses-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.course-card{background:#fff;border-radius:10px;overflow:hidden;border:1px solid #e2e8f0;box-shadow:0 2px 4px #00000008;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;cursor:pointer}.course-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.card-banner{height:140px;background:linear-gradient(135deg,#1e40af,#3b82f6);padding:12px;position:relative;display:flex;justify-content:space-between;align-items:flex-start}.semester-badge{background:#fff3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;font-size:.68rem;font-weight:600;padding:4px 10px;border-radius:4px;display:inline-block;border:1px solid rgba(255,255,255,.3)}.duration-badge{background:#0009;color:#fff;font-size:.68rem;font-weight:600;padding:4px 8px;border-radius:4px}.card-body{padding:16px;display:flex;flex-direction:column;flex:1;justify-content:space-between}.course-info h3{font-size:.95rem;font-weight:700;color:#0f172a;margin-bottom:6px}.instructor{font-size:.75rem;color:#64748b;display:flex;align-items:center;gap:4px;margin-bottom:4px}.course-code{font-size:.7rem;color:#2563eb;font-weight:600}.card-footer{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #f1f5f9;margin-top:12px}.rating-stars{display:flex;align-items:center;gap:1px;color:#f59e0b;font-size:.85rem}.star-filled{color:#f59e0b}.star-empty{color:#cbd5e1}.no-rating{color:#94a3b8;font-size:.72rem;font-style:italic}.recommend-score{display:flex;align-items:center;gap:6px}.score-bar{width:32px;height:4px;background-color:#10b981;border-radius:2px}.score-text{color:#10b981;font-weight:700;font-size:.72rem}.no-results{grid-column:1 / -1;text-align:center;padding:3rem;color:#64748b;background:#fff;border-radius:10px;border:1px solid #e2e8f0}.pagination{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:12px;margin-bottom:20px}.page-btn{padding:6px 12px;border:1px solid #cbd5e1;background-color:#fff;color:#475569;border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s}.page-btn:hover:not(:disabled){background-color:#f8fafc;border-color:#94a3b8}.page-btn.active{background-color:#2563eb;color:#fff;border-color:#2563eb}.page-btn:disabled{opacity:.4;cursor:not-allowed}@media (max-width: 1024px){.courses-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.catalog-header{flex-direction:column;gap:12px;padding:16px}.nav-left{flex-direction:column;gap:12px}.brand{border-right:none;padding-right:0}.catalog-layout{flex-direction:column;padding:16px}aside.sidebar{width:100%;flex-direction:row;overflow-x:auto}.widget-card{min-width:260px}.filter-card{flex-direction:column}.courses-grid{grid-template-columns:1fr}}.player-page{min-height:100vh;background-color:#f1f5f9;color:#334155;display:flex;flex-direction:column}.player-header{background-color:#172a46;color:#fff;padding:12px 32px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000001a;flex-shrink:0}.player-header .nav-left{display:flex;align-items:center;gap:24px}.player-header .brand{display:flex;align-items:center;gap:12px;border-right:1px solid rgba(255,255,255,.2);padding-right:20px}.player-header .brand-logo{display:flex;align-items:center;gap:8px}.player-header .brand-logo .seal{width:32px;height:32px;background:#ffffff26;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700}.player-header .brand-text{font-weight:800;font-size:1.15rem;letter-spacing:.5px}.player-header .brand-app{font-size:1.1rem;font-weight:700}.player-header .nav-links{display:flex;align-items:center;gap:8px;list-style:none}.player-header .nav-links a{color:#cbd5e1;text-decoration:none;padding:6px 16px;border-radius:6px;font-size:.85rem;font-weight:500;transition:all .2s}.player-header .nav-links a:hover{color:#fff;background:#ffffff14}.player-header .user-profile{display:flex;align-items:center;gap:12px}.player-header .avatar{width:36px;height:36px;background-color:#2563eb;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem}.player-header .user-info{display:flex;flex-direction:column;line-height:1.2}.player-header .user-name{font-size:.82rem;font-weight:700;color:#fff}.player-header .user-role{font-size:.7rem;color:#94a3b8}.player-header .logout-btn-header{background:transparent;border:1px solid rgba(255,255,255,.3);color:#cbd5e1;padding:4px 12px;border-radius:4px;font-size:.75rem;cursor:pointer;transition:all .2s}.player-header .logout-btn-header:hover{background:#ffffff1a;color:#fff}.breadcrumb-bar{background-color:#fff;border-bottom:1px solid #e2e8f0;padding:10px 32px}.breadcrumbs{display:flex;align-items:center;gap:8px;font-size:.75rem;color:#64748b;max-width:1440px;margin:0 auto}.breadcrumbs a{color:#2563eb;text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}.breadcrumbs span.separator{color:#94a3b8}.breadcrumbs span.current{color:#0f172a;font-weight:600}.player-layout{display:flex;gap:24px;padding:24px 32px;max-width:1440px;margin:0 auto;width:100%;flex:1}.player-main{flex:1;display:flex;flex-direction:column;gap:20px}.video-player-card{background:radial-gradient(circle at 50% 40%,#1d3356,#0c182b);border-radius:12px;overflow:hidden;box-shadow:0 10px 25px -5px #0000004d}.video-element{width:100%;display:block;aspect-ratio:16 / 9;background:#000}.video-iframe{width:100%;display:block;aspect-ratio:16 / 9;border:none}.video-error{padding:40px 20px;text-align:center;color:#e74c3c;font-size:.95rem;background:#e74c3c0d}.resume-banner{background:#2563eb1a;border:1px solid #2563eb;color:#1e40af;padding:12px 20px;border-radius:8px;font-size:.85rem;font-weight:600;text-align:center}.info-card{background:#fff;border-radius:10px;padding:24px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #00000005}.info-card h2{font-size:1.2rem;font-weight:700;color:#0f172a;margin-bottom:20px}.meta-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #f1f5f9}.meta-item{display:flex;flex-direction:column;gap:4px}.meta-label{font-size:.65rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px}.meta-value{font-size:.85rem;font-weight:700;color:#1e293b}.description-section h3{font-size:.8rem;font-weight:700;color:#1e293b;margin-bottom:8px}.description-text{font-size:.8rem;color:#94a3b8;line-height:1.5}.rating-card{background:#fff;border-radius:10px;padding:20px 24px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #00000005}.rating-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:1px solid #f1f5f9;margin-bottom:16px}.rating-header h3{font-size:.9rem;font-weight:700;color:#0f172a}.star-rating-input{display:flex;gap:6px}.star-box{width:28px;height:28px;background:#fef3c7;border:1px solid #fde68a;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#d97706;font-size:.85rem;cursor:pointer;transition:all .2s}.star-box.empty{background:#f8fafc;border-color:#e2e8f0;color:#cbd5e1}.star-box:hover{transform:scale(1.08)}.rating-success{color:#2e7d32;font-size:13px;font-weight:600;margin-left:12px}.rating-error{color:#c62828;font-size:13px;font-weight:600;margin-left:12px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat-item{display:flex;flex-direction:column;gap:2px}.stat-value{font-size:1.1rem;font-weight:800;color:#0f172a}.stat-label{font-size:.68rem;color:#94a3b8}.player-sidebar{width:280px;flex-shrink:0;display:flex;flex-direction:column;gap:20px}.participants-card{background:#fff;border-radius:10px;padding:18px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #00000005}.participants-title{font-size:.82rem;font-weight:700;color:#1e293b;margin-bottom:16px;display:flex;align-items:center;gap:6px}.participants-list{display:flex;flex-direction:column;gap:14px}.participant-item{display:flex;align-items:center;gap:10px}.p-avatar{width:32px;height:32px;background-color:#f1f5f9;color:#475569;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.72rem;border:1px solid #e2e8f0;flex-shrink:0}.p-info{display:flex;flex-direction:column}.p-name{font-size:.78rem;font-weight:700;color:#1e293b}.p-role{font-size:.65rem;color:#94a3b8}.no-participants{font-size:.78rem;color:#94a3b8;text-align:center;padding:8px}.course-info-sidebar{display:flex;flex-direction:column;gap:12px}.course-detail{display:flex;flex-direction:column;gap:2px}.course-detail .meta-label{font-size:.62rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px}.course-detail .meta-value{font-size:.82rem;font-weight:600;color:#1e293b}.player-loading{text-align:center;padding:4rem;color:#64748b;font-size:1.1rem}.player-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:1rem;border-radius:8px;margin-bottom:1rem;text-align:center}.back-btn{background:#2563eb;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:600;font-size:.85rem;transition:background .2s}.back-btn:hover{background:#1d4ed8}.player-container{padding:2rem;max-width:600px;margin:0 auto;text-align:center}@media (max-width: 900px){.player-layout{flex-direction:column;padding:16px}.player-sidebar{width:100%}.meta-grid,.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.player-header{flex-direction:column;gap:12px;padding:16px}.player-header .nav-left{flex-direction:column;gap:12px}.player-header .brand{border-right:none;padding-right:0}.breadcrumb-bar{padding:10px 16px}.breadcrumbs{flex-wrap:wrap}}.history-content{max-width:1200px;margin:0 auto;padding:24px}.history-content h2{font-size:24px;margin-bottom:20px;color:#1a237e}.card-banner{position:relative}.history-progress-bar{width:100%;height:6px;background:#e0e0e0;border-radius:3px;overflow:hidden;margin-bottom:8px}.history-progress-fill{height:100%;background:linear-gradient(90deg,#1a237e,#3949ab);border-radius:3px;transition:width .3s}.history-meta-row{display:flex;justify-content:space-between;align-items:center}.history-percent{font-size:13px;font-weight:600;color:#1a237e}.history-date{font-size:12px;color:#888}.page-info{padding:0 12px;color:#666;font-size:14px}.mis-cursos-content{max-width:1100px;margin:0 auto;padding:24px}.mis-cursos-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.mis-cursos-header h2{font-size:24px;color:#1a237e;margin:0}.btn-inscribir{background:#1a237e;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-weight:600;cursor:pointer;font-size:14px}.btn-inscribir:hover{background:#283593}.cursos-section{margin-bottom:32px}.cursos-section h3{font-size:18px;color:#333;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #e8eaf6}.cursos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.curso-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 6px #0000000f;transition:box-shadow .2s}.curso-card:hover{box-shadow:0 4px 16px #0000001a}.curso-card.impartir{border-left:4px solid #ff9800}.curso-card-header{display:flex;justify-content:space-between;margin-bottom:8px}.curso-codigo{background:#e8eaf6;color:#1a237e;padding:2px 10px;border-radius:12px;font-size:12px;font-weight:600}.curso-seccion{color:#666;font-size:13px}.curso-card h4{margin:0 0 4px;font-size:16px;color:#333}.curso-semestre{color:#888;font-size:13px;margin:0 0 12px}.curso-rol{color:#ff9800;font-size:12px;font-weight:600;text-transform:uppercase;margin:0}.curso-actions{display:flex;gap:8px}.btn-ver{background:#1a237e;color:#fff;border:none;padding:6px 14px;border-radius:6px;font-size:13px;cursor:pointer;flex:1}.btn-ver:hover{background:#283593}.btn-desinscribir{background:#ffebee;color:#c62828;border:none;padding:6px 14px;border-radius:6px;font-size:13px;cursor:pointer}.btn-desinscribir:hover{background:#ffcdd2}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;padding:28px;width:90%;max-width:500px}.modal-content h3{margin:0 0 12px;color:#1a237e}.modal-select{width:100%;padding:10px;border:1px solid #ddd;border-radius:8px;font-size:14px;margin:12px 0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.btn-cancel{background:#f5f5f5;border:none;padding:8px 16px;border-radius:6px;cursor:pointer}.btn-confirm{background:#1a237e;color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-weight:600}.btn-confirm:disabled{opacity:.5;cursor:not-allowed}.upload-content{max-width:1200px;margin:0 auto;padding:24px}.upload-content h2{font-size:24px;color:#1a237e;margin-bottom:4px}.upload-subtitle{color:#666;margin-bottom:24px}.upload-success{background:#e8f5e9;color:#2e7d32;padding:12px 16px;border-radius:8px;margin-bottom:16px}.upload-error{background:#ffebee;color:#c62828;padding:12px 16px;border-radius:8px;margin-bottom:16px}.upload-course-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 6px #0000000f;transition:box-shadow .2s}.upload-course-card:hover{box-shadow:0 4px 16px #0000001a}.upload-course-card .card-banner{padding:16px 20px;background:#e8eaf6;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.upload-course-card .semester-badge,.upload-course-card .seccion-badge{font-size:12px;font-weight:600;padding:4px 10px;border-radius:12px;background:#1a237e;color:#fff}.upload-course-card .card-body{padding:16px 20px}.upload-course-card .course-info{cursor:pointer}.upload-course-card .course-info h3{font-size:18px;color:#1a237e;margin:0 0 4px}.upload-course-card .course-code{color:#666;font-size:13px}.expanded-content{margin-top:16px;border-top:1px solid #eee;padding-top:16px}.recordings-section h4{font-size:15px;color:#333;margin-bottom:12px}.recordings-list{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.recording-item{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:#f5f5f5;border-radius:8px;cursor:pointer;transition:background .15s}.recording-item:hover{background:#e8eaf6}.recording-info{display:flex;flex-direction:column;gap:2px}.recording-title{font-weight:600;font-size:14px;color:#1a237e}.recording-meta{font-size:12px;color:#888}.recording-rating .star-filled{color:#ffc107;font-weight:600;font-size:13px}.recording-rating .no-rating{color:#aaa;font-size:12px}.upload-form-section h4{font-size:15px;color:#333;margin-bottom:12px}.upload-form{background:#fafafa;border-radius:8px;padding:16px;border:1px solid #eee}.form-group{margin-bottom:14px}.form-group label{display:block;font-weight:600;margin-bottom:5px;color:#333;font-size:13px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:9px 12px;border:1px solid #ddd;border-radius:8px;font-size:14px;box-sizing:border-box}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#1a237e;box-shadow:0 0 0 2px #1a237e1a}.form-hint{display:block;font-size:11px;color:#888;margin-top:3px}.btn-upload{background:#1a237e;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;width:100%;margin-top:4px}.btn-upload:hover{background:#283593}.btn-upload:disabled{opacity:.5;cursor:not-allowed}.tendencias-content{max-width:1200px;margin:0 auto;padding:24px}.tendencias-content h2{font-size:24px;color:#1a237e;margin-bottom:24px}.tendencias-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.tendencias-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 6px #0000000f}.tendencias-card h3{font-size:17px;color:#1a237e;margin:0 0 16px;padding-bottom:8px;border-bottom:2px solid #e8eaf6}.no-data{color:#999;font-style:italic}.ranking-list{list-style:none;padding:0;margin:0}.ranking-list li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f0f0f0;cursor:pointer;font-size:14px;color:#333}.ranking-list li:hover{color:#1a237e}.ranking-count{background:#e8eaf6;color:#1a237e;padding:2px 10px;border-radius:10px;font-size:12px;font-weight:600}.temas-list{list-style:none;padding:0;margin:0}.temas-list li{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f0f0f0}.tema-name{font-weight:600;color:#333}.tema-count{font-size:12px;color:#888}.recomend-list{list-style:none;padding:0;margin:0}.recomend-list li{position:relative;padding:12px 0;border-bottom:1px solid #f0f0f0;cursor:pointer}.recomend-bar{position:absolute;left:0;top:0;bottom:0;background:#1a237e0f;border-radius:4px}.recomend-info{position:relative;font-size:13px;color:#333}.profile-content{max-width:800px;margin:0 auto;padding:24px}.profile-loading{display:flex;justify-content:center;align-items:center;height:400px;font-size:18px;color:#666}.profile-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:24px;margin-bottom:20px}.profile-header{display:flex;align-items:center;gap:20px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #e0e0e0}.profile-avatar-large{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#1a237e,#3949ab);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;flex-shrink:0}.profile-header-info h2{font-size:24px;color:#1a237e;margin:0 0 4px}.profile-email{font-size:14px;color:#666}.profile-details{display:flex;flex-direction:column;gap:16px}.profile-field{display:flex;flex-direction:column;gap:4px}.field-label{font-size:12px;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.5px}.field-value{font-size:15px;color:#333}.status-active{color:#2e7d32;font-weight:600}.status-inactive{color:#c62828;font-weight:600}.roles-list{display:flex;gap:8px;flex-wrap:wrap}.role-badge{background:#e8eaf6;color:#1a237e;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500}.profile-section-title{font-size:18px;color:#1a237e;margin:0 0 16px}.profile-courses-list{display:flex;flex-direction:column;gap:8px}.profile-course-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f5f5f5;border-radius:8px;cursor:pointer;transition:background .2s}.profile-course-item:hover{background:#e8eaf6}.course-item-info{display:flex;flex-direction:column;gap:2px}.course-item-code{font-size:13px;color:#1a237e;font-weight:600}.course-item-name{font-size:15px;color:#333}.course-item-meta{display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:13px;color:#666}.admin-container{min-height:100vh;background-color:#f1f5f9;color:#334155;display:flex;flex-direction:column}.admin-header{background-color:#172a46;color:#fff;padding:12px 32px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000001a;flex-shrink:0}.admin-main{flex:1;padding:24px 32px;max-width:1440px;margin:0 auto;width:100%}.admin-page{width:100%}.admin-title{font-size:1.5rem;font-weight:700;color:#172a46;margin-bottom:4px}.admin-subtitle{font-size:.9rem;color:#64748b;margin-bottom:24px}.admin-page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:32px}.stat-card{background:#fff;border-radius:10px;padding:24px;border:1px solid #e2e8f0;border-top:4px solid #2563eb;text-decoration:none;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.stat-number{font-size:2rem;font-weight:800}.stat-label{font-size:.9rem;color:#64748b;margin-top:4px}.quick-actions h2{font-size:1.1rem;color:#172a46;margin-bottom:12px}.actions-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.action-btn{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:14px 18px;text-decoration:none;color:#334155;font-weight:600;font-size:.85rem;text-align:center;transition:all .2s}.action-btn:hover{background:#eff6ff;border-color:#2563eb;color:#2563eb}.table-container{background:#fff;border-radius:10px;border:1px solid #e2e8f0;overflow:hidden}.admin-table{width:100%;border-collapse:collapse}.admin-table th{background:#f8fafc;padding:12px 16px;text-align:left;font-size:.78rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e2e8f0}.admin-table td{padding:12px 16px;font-size:.85rem;border-bottom:1px solid #f1f5f9}.admin-table tbody tr:hover{background:#f8fafc}.admin-table .no-data{text-align:center;color:#94a3b8;padding:24px}.actions-cell{display:flex;gap:8px}.badge{display:inline-block;padding:3px 10px;border-radius:12px;font-size:.72rem;font-weight:600}.badge-active{background:#dcfce7;color:#16a34a}.badge-inactive{background:#fee2e2;color:#dc2626}.btn-primary{background-color:#2563eb;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-primary:hover{background-color:#1d4ed8}.btn-primary:disabled{background:#94a3b8;cursor:not-allowed}.btn-secondary{background-color:#7c3aed;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-secondary:hover{background-color:#6d28d9}.btn-cancel{background:transparent;color:#64748b;border:1px solid #e2e8f0;padding:10px 20px;border-radius:8px;font-size:.85rem;font-weight:500;cursor:pointer}.btn-cancel:hover{background:#f1f5f9}.btn-edit{background:transparent;color:#2563eb;border:1px solid #bfdbfe;padding:4px 12px;border-radius:4px;font-size:.75rem;font-weight:500;cursor:pointer}.btn-edit:hover{background:#eff6ff}.btn-delete{background:transparent;color:#dc2626;border:1px solid #fecaca;padding:4px 12px;border-radius:4px;font-size:.75rem;font-weight:500;cursor:pointer}.btn-delete:hover{background:#fef2f2}.btn-delete-small{background:transparent;color:#dc2626;border:none;padding:2px 8px;font-size:.72rem;cursor:pointer}.filter-bar{display:flex;align-items:center;gap:12px;margin-bottom:20px;background:#fff;padding:12px 16px;border-radius:10px;border:1px solid #e2e8f0}.filter-bar label{font-size:.82rem;font-weight:600;color:#475569}.filter-bar select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:.82rem;color:#334155;background:#fff;outline:none;cursor:pointer}.filter-bar select:focus{border-color:#2563eb}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;border-radius:12px;padding:24px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto}.modal h2{font-size:1.15rem;color:#172a46;margin-bottom:20px}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:.82rem;font-weight:600;color:#475569;margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:.85rem;color:#334155;outline:none}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.form-group textarea{min-height:80px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.admin-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:10px 16px;border-radius:8px;font-size:.85rem;margin-bottom:16px}.admin-loading{text-align:center;padding:3rem;color:#64748b;font-size:1rem}.docentes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}.docentes-card{background:#fff;border-radius:10px;padding:20px;border:1px solid #e2e8f0}.docentes-card h3{font-size:.9rem;color:#172a46;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}.docentes-list{list-style:none;display:flex;flex-direction:column;gap:8px}.docentes-list li{display:flex;justify-content:space-between;align-items:center;padding:8px;background:#f8fafc;border-radius:6px;font-size:.8rem}.docentes-list li.no-data{justify-content:center;color:#94a3b8}.asignar-actions{display:flex;flex-direction:column;gap:8px;margin-top:12px}.upload-section{max-width:800px}.preview-section{margin-top:20px}.preview-section h3{font-size:.9rem;color:#172a46;margin-bottom:10px}.upload-actions{margin-top:16px}.result-section{margin-top:20px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:16px}.result-section h3{font-size:.9rem;color:#166534;margin-bottom:8px}.errors-list{margin-top:12px}.errors-list h4{font-size:.82rem;color:#dc2626;margin-bottom:6px}.errors-list ul{list-style:disc;padding-left:20px;font-size:.8rem;color:#dc2626}@media (max-width: 1024px){.stats-grid,.actions-grid,.docentes-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.admin-header{flex-direction:column;gap:12px;padding:16px}.stats-grid,.actions-grid,.docentes-grid{grid-template-columns:1fr}.docentes-assignment{flex-direction:column}.admin-main{padding:16px}}.docentes-assignment{display:flex;flex-direction:column;gap:16px;margin-top:20px}.docente-assign-card{background:#fff;border-radius:10px;padding:20px;border:1px solid #e2e8f0}.docente-assign-card h3{font-size:.9rem;color:#172a46;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}.docente-assign-form{display:flex;gap:12px;align-items:flex-end}.docente-assign-form select{flex:1;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:.85rem;color:#334155;outline:none}.docente-assigned-info{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px}.docente-assigned-info span{font-size:.85rem;color:#166534}.roles-assign-section{background:#fff;border-radius:10px;padding:20px;border:1px solid #e2e8f0;margin-bottom:20px}.roles-assign-section h3{font-size:.9rem;color:#172a46;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}.roles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}.roles-card{background:#fff;border-radius:10px;padding:20px;border:1px solid #e2e8f0}.roles-card h3{font-size:.9rem;color:#172a46;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}.roles-list{list-style:none;display:flex;flex-direction:column;gap:8px}.roles-list li{display:flex;justify-content:space-between;align-items:center;padding:8px;background:#f8fafc;border-radius:6px;font-size:.8rem}.roles-list li.no-data{justify-content:center;color:#94a3b8}.roles-table-section{margin-top:20px}.roles-table-section h3{font-size:.9rem;color:#172a46;margin-bottom:12px}.badge-catedratico{background:#dbeafe;color:#1d4ed8;padding:2px 8px;border-radius:12px;font-size:.75rem}.badge-auxiliar{background:#fef3c7;color:#92400e;padding:2px 8px;border-radius:12px;font-size:.75rem}.badge-administrador{background:#ede9fe;color:#6d28d9;padding:2px 8px;border-radius:12px;font-size:.75rem}.badge-estudiante{background:#d1fae5;color:#065f46;padding:2px 8px;border-radius:12px;font-size:.75rem}.app{width:100%;min-height:100vh}*{margin:0;padding:0;box-sizing:border-box;font-family:Segoe UI,system-ui,-apple-system,Roboto,sans-serif}body{min-height:100vh;background-color:#f1f5f9;color:#334155;display:flex;flex-direction:column}a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}
