.login-page{color:#fff;background:radial-gradient(circle at 75% 75%,#2d5d9b 0%,#173868 50%,#0d2240 100%);flex-direction:column;min-height:100vh;display:flex}.login-header{justify-content:space-between;align-items:center;width:100%;padding:24px 48px;display:flex}.header-left{align-items:center;gap:16px;display:flex}.header-brand{border-right:1px solid #ffffff40;align-items:center;gap:12px;padding-right:16px;display:flex}.logo-text{letter-spacing:.5px;font-size:1.25rem;font-weight:800}.header-title h1{font-size:1rem;font-weight:700;line-height:1.1}.header-title span{opacity:.8;font-size:.72rem;font-weight:400}.header-right{text-align:right;opacity:.85;font-size:.72rem;line-height:1.3}.login-main{flex:1;justify-content:center;align-items:center;padding:20px;display:flex}.login-card{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff08;border:1px solid #ffffff14;border-radius:16px;width:100%;max-width:820px;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000073}.info-panel{text-align:center;background:#122a50a6;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:48px 36px;display:flex}.play-icon{background:#ffffff1f;border-radius:14px;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:24px;display:flex}.play-icon svg{fill:#fff;width:28px;height:28px;margin-left:3px}.info-panel h2{margin-bottom:8px;font-size:1.4rem;font-weight:700}.info-panel p.subtitle{opacity:.8;max-width:250px;margin-bottom:32px;font-size:.8rem;line-height:1.35}.features-list{text-align:left;width:100%;max-width:250px;list-style:none}.features-list li{opacity:.9;align-items:center;margin-bottom:12px;font-size:.78rem;display:flex}.features-list li:before{content:"•";color:#3b82f6;margin-right:10px;font-size:1.4rem;line-height:0}.form-panel{color:#1e293b;background:#fff;flex-direction:column;flex:1;justify-content:center;padding:48px 40px;display:flex}.form-panel h2{color:#0f172a;margin-bottom:6px;font-size:1.35rem;font-weight:700}.form-panel p.form-subtitle{color:#64748b;margin-bottom:28px;font-size:.72rem}.form-group input{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;outline:none;width:100%;padding:10px 12px;font-size:.82rem;transition:all .2s}.form-group input:focus{background-color:#fff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.form-group input::placeholder{color:#94a3b8}.info-note{color:#64748b;align-items:center;gap:4px;margin-top:6px;font-size:.62rem;display:flex}.info-note span{color:#2563eb}.btn-submit{color:#fff;cursor:pointer;background:#2b62b7;border:none;border-radius:6px;width:100%;margin-top:8px;padding:11px;font-size:.82rem;font-weight:600;transition:background-color .2s}.btn-submit:hover{background:#1d4ed8}.btn-submit:disabled{cursor:not-allowed;background:#94a3b8}.form-footer{text-align:center;color:#64748b;margin-top:40px;font-size:.72rem}.form-footer a{color:#2563eb;font-weight:600;text-decoration:none}.form-footer a:hover{text-decoration:underline}.divider{align-items:center;gap:12px;margin:20px 0;display:flex}.divider:before,.divider:after{content:"";background:#e2e8f0;flex:1;height:1px}.divider span{color:#94a3b8;font-size:.72rem;font-weight:500}.btn-google{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;justify-content:center;align-items:center;gap:10px;width:100%;padding:11px;font-size:.82rem;font-weight:600;transition:background-color .2s,border-color .2s;display:flex}.btn-google:hover{background:#f9fafb;border-color:#9ca3af}.btn-google:disabled{cursor:not-allowed;opacity:.6;background:#f3f4f6}@media (width<=768px){.login-header{text-align:center;flex-direction:column;gap:12px;padding:20px}.header-right{text-align:center}.login-card{flex-direction:column}.info-panel,.form-panel{padding:30px 20px}}.register-page{color:#fff;background:radial-gradient(circle at 75% 75%,#2d5d9b 0%,#173868 50%,#0d2240 100%);flex-direction:column;min-height:100vh;display:flex}.register-header{justify-content:space-between;align-items:center;width:100%;padding:24px 48px;display:flex}.register-main{flex:1;justify-content:center;align-items:center;padding:20px;display:flex}.register-card{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff08;border:1px solid #ffffff14;border-radius:16px;width:100%;max-width:820px;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000073}.register-page .info-panel{text-align:center;background:#122a50a6;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:48px 36px;display:flex}.register-page .play-icon{background:#ffffff1f;border-radius:14px;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:24px;display:flex}.register-page .play-icon svg{fill:#fff;width:28px;height:28px;margin-left:3px}.register-page .info-panel h2{margin-bottom:8px;font-size:1.4rem;font-weight:700}.register-page .info-panel p.subtitle{opacity:.8;max-width:250px;margin-bottom:32px;font-size:.8rem;line-height:1.35}.register-page .features-list{text-align:left;width:100%;max-width:250px;list-style:none}.register-page .features-list li{opacity:.9;align-items:center;margin-bottom:12px;font-size:.78rem;display:flex}.register-page .features-list li:before{content:"•";color:#3b82f6;margin-right:10px;font-size:1.4rem;line-height:0}.register-page .form-panel{color:#1e293b;background:#fff;flex-direction:column;flex:1;justify-content:center;padding:40px 36px;display:flex}.register-page .form-panel h2{color:#0f172a;margin-bottom:6px;font-size:1.35rem;font-weight:700}.register-page .form-panel p.form-subtitle{color:#64748b;margin-bottom:20px;font-size:.72rem}.register-page .form-group{margin-bottom:14px}.register-page .form-group label{color:#1e293b;margin-bottom:5px;font-size:.7rem;font-weight:700;display:block}.register-page .form-group input{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;outline:none;width:100%;padding:9px 12px;font-size:.82rem;transition:all .2s}.register-page .form-group input:focus{background-color:#fff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.register-page .form-group input::placeholder{color:#94a3b8}.register-page .info-note{color:#64748b;align-items:center;gap:4px;margin-top:5px;font-size:.62rem;display:flex}.register-page .info-note span{color:#2563eb}.register-page .btn-submit{color:#fff;cursor:pointer;background:#2b62b7;border:none;border-radius:6px;width:100%;margin-top:8px;padding:11px;font-size:.82rem;font-weight:600;transition:background-color .2s}.register-page .btn-submit:hover{background:#1d4ed8}.register-page .btn-submit:disabled{cursor:not-allowed;background:#94a3b8}.register-page .form-footer{text-align:center;color:#64748b;margin-top:28px;font-size:.72rem}.register-page .form-footer a{color:#2563eb;font-weight:600;text-decoration:none}.register-page .form-footer a:hover{text-decoration:underline}.error-message{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin-bottom:12px;padding:8px 12px;font-size:.75rem}.success-message{color:#16a34a;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;margin-bottom:12px;padding:8px 12px;font-size:.75rem}@media (width<=768px){.register-header{text-align:center;flex-direction:column;gap:12px;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{color:#334155;background-color:#f1f5f9;flex-direction:column;min-height:100vh;display:flex}.catalog-header{color:#fff;background-color:#172a46;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 32px;display:flex;box-shadow:0 2px 4px #0000001a}.nav-left{align-items:center;gap:24px;display:flex}.brand{border-right:1px solid #fff3;align-items:center;gap:12px;padding-right:20px;display:flex}.brand-logo{align-items:center;gap:8px;display:flex}.brand-logo .seal{background:#ffffff26;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:10px;font-weight:700;display:flex}.brand-text{letter-spacing:.5px;font-size:1.15rem;font-weight:800}.brand-app{font-size:1.1rem;font-weight:700}.nav-links{align-items:center;gap:8px;list-style:none;display:flex}.nav-links a{color:#cbd5e1;border-radius:6px;padding:6px 16px;font-size:.85rem;font-weight:500;text-decoration:none;transition:all .2s}.nav-links a:hover{color:#fff;background:#ffffff14}.nav-links a.active{color:#fff;background-color:#2563eb}.nav-links a.admin-link{color:#fff;background-color:#16a34a;font-weight:600}.nav-links a.admin-link:hover{background-color:#15803d}.user-profile{align-items:center;gap:12px;display:flex}.avatar{color:#fff;background-color:#2563eb;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:.85rem;font-weight:700;display:flex}.user-info{flex-direction:column;line-height:1.2;display:flex}.user-name{color:#fff;font-size:.82rem;font-weight:700}.user-role{color:#94a3b8;font-size:.7rem}.logout-btn-header{color:#cbd5e1;cursor:pointer;background:0 0;border:1px solid #ffffff4d;border-radius:4px;padding:4px 12px;font-size:.75rem;transition:all .2s}.logout-btn-header:hover{color:#fff;background:#ffffff1a}.catalog-layout{flex:1;gap:24px;width:100%;max-width:1440px;margin:0 auto;padding:24px 32px;display:flex}aside.sidebar{flex-direction:column;flex-shrink:0;gap:20px;width:280px;display:flex}.widget-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:18px;box-shadow:0 1px 3px #00000005}.widget-title{color:#1e293b;border-bottom:1px solid #f1f5f9;margin-bottom:14px;padding-bottom:8px;font-size:.82rem;font-weight:700}.views-list{flex-direction:column;gap:12px;list-style:none;display:flex}.view-item{cursor:pointer;border-radius:4px;align-items:center;gap:12px;padding:4px;transition:background .15s;display:flex}.view-item:hover{background:#f8fafc}.view-number{color:#2563eb;background-color:#eff6ff;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;font-size:.72rem;font-weight:700;display:flex}.view-details{flex-direction:column;gap:2px;width:100%;min-width:0;display:flex}.view-name{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;font-weight:600;overflow:hidden}.view-count{color:#94a3b8;font-size:.65rem}.subtitle-tag{color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px;font-size:.68rem;font-weight:700}.checkbox-list{flex-direction:column;gap:8px;display:flex}.checkbox-item{color:#64748b;align-items:center;gap:8px;font-size:.75rem;display:flex}.custom-checkbox{border:1px dashed #cbd5e1;border-radius:3px;flex-shrink:0;width:14px;height:14px}.rated-list{flex-direction:column;gap:12px;display:flex}.rated-item{flex-direction:column;gap:4px;display:flex}.rated-bar{background-color:#cbd5e1;border-radius:3px;height:6px}.rated-meta{color:#94a3b8;align-items:center;gap:4px;font-size:.65rem;display:flex}.star-icon{color:#f59e0b;font-size:.7rem}main.content-area{flex-direction:column;flex:1;gap:20px;display:flex}.filter-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:12px;padding:12px 16px;display:flex;box-shadow:0 1px 3px #00000005}.search-box{flex:1;align-items:center;display:flex;position:relative}.search-icon{color:#94a3b8;font-size:.85rem;position:absolute;left:12px}.search-input{color:#334155;background-color:#fff;border:1px solid #e2e8f0;border-radius:6px;outline:none;width:100%;padding:8px 12px 8px 34px;font-size:.8rem}.search-input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.search-input::placeholder{color:#94a3b8}.btn-filter{color:#fff;cursor:pointer;white-space:nowrap;background-color:#172a46;border:none;border-radius:6px;align-items:center;gap:6px;padding:8px 18px;font-size:.78rem;font-weight:600;transition:background .2s;display:flex}.btn-filter:hover{background-color:#1e3a62}.filter-select{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #e2e8f0;border-radius:6px;outline:none;flex:1;min-width:0;padding:8px 12px;font-size:.8rem}.filter-select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.btn-clear{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #e2e8f0;border-radius:6px;padding:8px 14px;font-size:.75rem;font-weight:500;transition:all .2s}.btn-clear:hover{color:#475569;background:#f1f5f9;border-color:#cbd5e1}.course-detail-header{margin-bottom:16px}.course-detail-header h2{color:#172a46;margin:8px 0 4px;font-size:1.3rem;font-weight:700}.course-detail-header .recording-count{color:#64748b;font-size:.85rem}.back-btn{color:#2563eb;cursor:pointer;background:0 0;border:1px solid #e2e8f0;border-radius:6px;padding:6px 12px;font-size:.8rem;transition:all .2s}.back-btn:hover{background:#eff6ff;border-color:#2563eb}.resume-banner{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1e3a5f,#2563eb);border-radius:10px;align-items:center;gap:12px;margin-bottom:16px;padding:14px 20px;transition:transform .15s,box-shadow .15s;display:flex}.resume-banner:hover{transform:translateY(-2px);box-shadow:0 4px 16px #2563eb59}.resume-icon{flex-shrink:0;font-size:1.4rem}.resume-info{flex-direction:column;flex:1;display:flex}.resume-title{font-size:.95rem;font-weight:600}.resume-time{opacity:.85;margin-top:2px;font-size:.8rem}.resume-arrow{opacity:.8;flex-shrink:0;font-size:1.2rem}.catalog-error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px 16px;font-size:.85rem}.catalog-loading{text-align:center;color:#64748b;padding:3rem;font-size:1rem}.courses-grid{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.course-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;transition:transform .2s,box-shadow .2s;display:flex;overflow:hidden;box-shadow:0 2px 4px #00000008}.course-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.card-banner{background:linear-gradient(135deg,#1e40af 0%,#3b82f6 100%);justify-content:space-between;align-items:flex-start;height:140px;padding:12px;display:flex;position:relative}.semester-badge{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;background:#fff3;border:1px solid #ffffff4d;border-radius:4px;padding:4px 10px;font-size:.68rem;font-weight:600;display:inline-block}.duration-badge{color:#fff;background:#0009;border-radius:4px;padding:4px 8px;font-size:.68rem;font-weight:600}.card-body{flex-direction:column;flex:1;justify-content:space-between;padding:16px;display:flex}.course-info h3{color:#0f172a;margin-bottom:6px;font-size:.95rem;font-weight:700}.instructor{color:#64748b;align-items:center;gap:4px;margin-bottom:4px;font-size:.75rem;display:flex}.course-code{color:#2563eb;font-size:.7rem;font-weight:600}.card-footer{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;display:flex}.rating-stars{color:#f59e0b;align-items:center;gap:1px;font-size:.85rem;display:flex}.star-filled{color:#f59e0b}.star-empty{color:#cbd5e1}.no-rating{color:#94a3b8;font-size:.72rem;font-style:italic}.recommend-score{align-items:center;gap:6px;display:flex}.score-bar{background-color:#10b981;border-radius:2px;width:32px;height:4px}.score-text{color:#10b981;font-size:.72rem;font-weight:700}.no-results{text-align:center;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:10px;grid-column:1/-1;padding:3rem}.pagination{justify-content:center;align-items:center;gap:6px;margin-top:12px;margin-bottom:20px;display:flex}.page-btn{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:6px 12px;font-size:.75rem;font-weight:500;transition:all .2s}.page-btn:hover:not(:disabled){background-color:#f8fafc;border-color:#94a3b8}.page-btn.active{color:#fff;background-color:#2563eb;border-color:#2563eb}.page-btn:disabled{opacity:.4;cursor:not-allowed}@media (width<=1024px){.courses-grid{grid-template-columns:repeat(2,1fr)}}@media (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{flex-direction:row;width:100%;overflow-x:auto}.widget-card{min-width:260px}.filter-card{flex-direction:column}.courses-grid{grid-template-columns:1fr}}.materials-section{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#f8fafc;background:#1e293bbf;border:1px solid #ffffff14;border-radius:12px;margin-top:1.5rem;padding:1.5rem;box-shadow:0 4px 20px #0003}.materials-header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;margin-bottom:1.2rem;padding-bottom:.8rem;display:flex}.materials-title{color:#38bdf8;letter-spacing:-.01em;align-items:center;gap:.6rem;font-size:1.15rem;font-weight:600;display:flex}.section-icon{color:#38bdf8;width:20px;height:20px}.btn-upload{color:#fff;cursor:pointer;background:#0284c7;border:none;border-radius:6px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.85rem;font-weight:600;transition:background-color .2s,transform .1s;display:flex}.btn-upload:hover{background:#0369a1;transform:translateY(-1px)}.materials-grid{flex-direction:column;gap:.75rem;display:flex}.material-card{background:#0f172aa6;border:1px solid #ffffff0f;border-radius:8px;justify-content:space-between;align-items:center;padding:.9rem 1.2rem;transition:border-color .2s,background .2s;display:flex}.material-card:hover{background:#0f172ad9;border-color:#38bdf859}.material-info{align-items:center;gap:1rem;display:flex}.file-badge{letter-spacing:.05em;text-transform:uppercase;text-align:center;border-radius:4px;min-width:48px;padding:.25rem .55rem;font-size:.7rem;font-weight:800;display:inline-block}.badge-pdf{color:#f87171;background:#ef444426;border:1px solid #ef44444d}.badge-zip{color:#fbbf24;background:#f59e0b26;border:1px solid #f59e0b4d}.badge-py{color:#34d399;background:#10b98126;border:1px solid #10b9814d}.badge-sql{color:#c084fc;background:#a855f726;border:1px solid #a855f74d}.badge-default{color:#cbd5e1;background:#94a3b826;border:1px solid #94a3b84d}.material-details{flex-direction:column;gap:.25rem;display:flex}.material-name{color:#f1f5f9;font-size:.95rem;font-weight:600}.material-meta{color:#94a3b8;align-items:center;gap:.75rem;font-size:.8rem;display:flex}.file-size{color:#64748b;font-weight:500}.badge-version{color:#38bdf8;background:#38bdf81f;border:1px solid #38bdf840;border-radius:4px;padding:.1rem .4rem;font-size:.72rem;font-weight:700}.badge-downloads{color:#cbd5e1;background:#1e293bcc;border:1px solid #ffffff14;border-radius:4px;padding:.1rem .45rem;font-size:.75rem}.material-actions{align-items:center;gap:.6rem;display:flex}.btn-download{color:#38bdf8;cursor:pointer;background:#38bdf81f;border:1px solid #38bdf840;border-radius:6px;align-items:center;gap:.4rem;padding:.4rem .8rem;font-size:.82rem;font-weight:500;transition:all .2s;display:flex}.btn-download:hover{color:#fff;background:#0284c7;border-color:#0284c7}.btn-delete{color:#f87171;cursor:pointer;background:#ef44441a;border:1px solid #ef444440;border-radius:6px;align-items:center;gap:.35rem;padding:.4rem .7rem;font-size:.82rem;font-weight:500;transition:all .2s;display:flex}.btn-delete:hover{color:#fff;background:#dc2626;border-color:#dc2626}.materials-empty{text-align:center;color:#64748b;padding:1.5rem;font-size:.88rem}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#000000bf;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-content{color:#f8fafc;background:#1e293b;border:1px solid #ffffff1a;border-radius:12px;width:90%;max-width:480px;padding:1.5rem;box-shadow:0 10px 30px #00000080}.modal-header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;margin-bottom:1.2rem;padding-bottom:.8rem;display:flex}.modal-title{color:#f8fafc;font-size:1.1rem;font-weight:600}.btn-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;font-size:1.4rem}.btn-close:hover{color:#f8fafc}.form-group{flex-direction:column;gap:.4rem;margin-bottom:1rem;display:flex}.form-group label{color:#cbd5e1;font-size:.82rem;font-weight:500}.form-input{color:#f8fafc;background:#0f172a;border:1px solid #ffffff1a;border-radius:6px;padding:.6rem .8rem;font-size:.88rem}.form-input:focus{border-color:#38bdf8;outline:none}.form-hint{color:#64748b;font-size:.75rem}.btn-secondary{color:#cbd5e1;cursor:pointer;background:#334155;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.85rem}.btn-secondary:hover{background:#475569}.btn-primary{color:#fff;cursor:pointer;background:#0284c7;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.85rem;font-weight:600}.btn-primary:hover{background:#0369a1}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.error-banner{color:#f87171;background:#ef444426;border:1px solid #ef44444d;border-radius:6px;margin-bottom:1rem;padding:.6rem .8rem;font-size:.82rem}.notes-editor{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;height:100%;min-height:400px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;overflow:hidden}.notes-toolbar{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.toolbar-left,.toolbar-right{align-items:center;gap:8px;display:flex}.toolbar-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-items:center;width:36px;height:36px;font-size:1rem;transition:all .15s;display:flex}.toolbar-btn:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.toolbar-btn.active{color:#2563eb;background:#eff6ff;border-color:#3b82f6}.toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.toolbar-divider{background:#e2e8f0;width:1px;height:24px;margin:0 4px}.export-menu{position:relative}.export-dropdown{z-index:10;background:#fff;border:1px solid #e2e8f0;border-radius:6px;min-width:160px;margin-top:4px;position:absolute;top:100%;right:0;box-shadow:0 4px 12px #0000001a}.export-dropdown button{text-align:left;color:#334155;cursor:pointer;background:0 0;border:none;width:100%;padding:10px 12px;font-size:.85rem;transition:background .15s;display:block}.export-dropdown button:hover{background:#f1f5f9}.export-dropdown button:first-child{border-radius:6px 6px 0 0}.export-dropdown button:last-child{border-radius:0 0 6px 6px}.save-status{color:#22c55e;font-size:.75rem}.save-error{color:#ef4444;font-size:.75rem}.notes-tabs{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0;display:flex}.notes-tab{color:#64748b;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;flex:1;margin-bottom:-1px;padding:10px 16px;font-size:.85rem;font-weight:500;transition:all .15s}.notes-tab:hover{color:#334155;background:#f1f5f9}.notes-tab.active{color:#2563eb;background:#fff;border-bottom-color:#2563eb}.notes-editor-content{flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.notes-editor-main{background:#fff;flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.notes-textarea{resize:none;color:#1e293b;background:#fff;border:none;outline:none;flex:1;min-width:0;min-height:200px;padding:16px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem;line-height:1.6}.notes-textarea::placeholder{color:#94a3b8}.notes-preview{color:#1e293b;background:#fff;flex:1;padding:16px;font-size:.9rem;line-height:1.7;overflow-y:auto}.notes-preview .katex{font-size:1em!important}.notes-preview .katex-display{overflow:auto hidden}.notes-preview pre{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;margin:12px 0;padding:12px;overflow-x:auto}.notes-preview code{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.85em}.notes-preview pre code{font-size:inherit;background:0 0;padding:0}.notes-preview .hljs{background:0 0;padding:0}.notes-preview blockquote{color:#64748b;border-left:3px solid #3b82f6;margin:12px 0;padding-left:12px;font-style:italic}.notes-preview ul,.notes-preview ol{margin:8px 0;padding-left:24px}.notes-preview li{margin:4px 0}.notes-preview h1,.notes-preview h2,.notes-preview h3{color:#0f172a;margin-top:16px;margin-bottom:8px;font-weight:600}.notes-preview h1{font-size:1.5rem}.notes-preview h2{font-size:1.25rem}.notes-preview h3{font-size:1.1rem}.notes-preview table{border-collapse:collapse;width:100%;margin:12px 0}.notes-preview th,.notes-preview td{text-align:left;border:1px solid #e2e8f0;padding:8px 12px}.notes-preview th{background:#f8fafc;font-weight:600}.notes-preview hr{border:none;border-top:1px solid #e2e8f0;margin:16px 0}.notes-preview .timestamp-link{color:#2563eb;cursor:pointer;border-radius:2px;padding:0 2px;font-weight:500;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;transition:all .15s;display:inline-block}.notes-preview .timestamp-link:hover{color:#1d4ed8;background-color:#f0f4ff;text-decoration-style:solid;transform:scale(1.02)}.notes-preview .timestamp-link:active{background-color:#dbeafe;transform:scale(.95)}.notes-preview .timestamp-link:focus{outline-offset:2px;border-radius:2px;outline:2px solid #3b82f6}.timestamps-panel{background:#fafafa;flex-direction:column;height:100%;display:flex;overflow:hidden}.timestamps-header{color:#334155;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0;padding:12px 16px;font-size:.8rem;font-weight:600}.timestamps-list{flex:1;margin:0;padding:8px;list-style:none;overflow-y:auto}.timestamp-item{cursor:pointer;border:1px solid #0000;border-radius:6px;align-items:center;gap:8px;margin-bottom:4px;padding:10px 12px;transition:background .15s;display:flex}.timestamp-item:hover{background:#eff6ff;border-color:#bfdbfe}.timestamp-item:active{background:#dbeafe;transform:scale(.98)}.timestamp-badge{color:#fff;white-space:nowrap;background:#2563eb;border-radius:12px;flex-shrink:0;padding:2px 10px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.7rem;font-weight:600;display:inline-block}.timestamp-desc{color:#475569;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.85rem;overflow:hidden}.timestamps-empty{text-align:center;color:#94a3b8;padding:40px 16px;font-size:.85rem;line-height:1.6}.notes-preview::-webkit-scrollbar{width:8px}.notes-textarea::-webkit-scrollbar{width:8px}.timestamps-list::-webkit-scrollbar{width:8px}.notes-preview::-webkit-scrollbar-track{background:#f1f5f9}.notes-textarea::-webkit-scrollbar-track{background:#f1f5f9}.timestamps-list::-webkit-scrollbar-track{background:#f1f5f9}.notes-preview::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.notes-textarea::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.timestamps-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.notes-preview::-webkit-scrollbar-thumb:hover{background:#94a3b8}.notes-textarea::-webkit-scrollbar-thumb:hover{background:#94a3b8}.timestamps-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (width<=768px){.notes-editor{border:none;border-radius:0;min-height:300px}.notes-tabs{flex-wrap:wrap}.notes-tab{flex:1;min-width:100px}.toolbar-left{flex-wrap:wrap;order:1}.toolbar-right{order:2;justify-content:flex-end;width:100%}}.forum-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:20px;padding:18px;box-shadow:0 1px 3px #00000005}.forum-header{color:#1e293b;border-bottom:1px solid #f1f5f9;align-items:center;gap:8px;margin-bottom:12px;padding-bottom:8px;font-size:.82rem;font-weight:700;display:flex}.forum-content{flex-direction:column;gap:10px;display:flex}.forum-empty{color:#94a3b8;text-align:center;padding:12px 8px;font-size:.78rem}.forum-questions-list{flex-direction:column;gap:10px;max-height:300px;padding-right:4px;display:flex;overflow-y:auto}.forum-questions-list::-webkit-scrollbar{width:4px}.forum-questions-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:2px}.forum-questions-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.forum-new-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;padding:8px 12px;font-size:.78rem;font-weight:600;transition:background .2s}.forum-new-btn:hover{background:#1d4ed8}.forum-question-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px}.forum-question-header{align-items:center;gap:8px;margin-bottom:6px;display:flex}.forum-avatar{color:#fff;background:#2563eb;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:.65rem;font-weight:700;display:flex}.forum-avatar-sm{width:22px;height:22px;font-size:.55rem}.forum-question-meta{flex-direction:column;min-width:0;display:flex}.forum-author{color:#1e293b;font-size:.75rem;font-weight:600}.forum-time{color:#2563eb;cursor:pointer;font-size:.65rem}.forum-time:hover{text-decoration:underline}.forum-question-text{color:#334155;margin-bottom:6px;font-size:.78rem;line-height:1.4}.forum-question-footer{align-items:center;display:flex}.forum-answers-toggle{color:#64748b;cursor:pointer;background:0 0;border:none;padding:2px 0;font-size:.7rem;font-weight:500}.forum-answers-toggle:hover{color:#2563eb}.forum-answers{border-top:1px solid #e2e8f0;margin-top:8px;padding-top:8px}.forum-answers-loading,.forum-answers-empty{color:#94a3b8;text-align:center;padding:6px;font-size:.7rem}.forum-answers-list{flex-direction:column;gap:6px;margin-bottom:8px;display:flex}.forum-answer{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:8px}.forum-answer-verified{background:#f0fdf4;border-color:#22c55e}.forum-answer-header{align-items:center;gap:6px;margin-bottom:4px;display:flex}.forum-answer-author{color:#1e293b;font-size:.7rem;font-weight:600}.forum-verified-badge{color:#22c55e;margin-left:auto;font-size:.6rem;font-weight:600}.forum-answer-text{color:#475569;margin-bottom:4px;font-size:.75rem;line-height:1.4}.forum-verify-btn{color:#64748b;cursor:pointer;background:0 0;border:1px solid #e2e8f0;border-radius:4px;padding:2px 6px;font-size:.65rem;transition:all .2s}.forum-verify-btn:hover{color:#22c55e;background:#f0fdf4;border-color:#22c55e}.forum-answer-input{align-items:flex-end;gap:6px;display:flex}.forum-answer-input textarea{resize:none;border:1px solid #e2e8f0;border-radius:6px;flex:1;padding:6px 8px;font-family:inherit;font-size:.75rem}.forum-answer-input textarea:focus{border-color:#2563eb;outline:none}.forum-send-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:6px;padding:6px 10px;font-size:.72rem;font-weight:600}.forum-send-btn:hover:not(:disabled){background:#1d4ed8}.forum-send-btn:disabled{opacity:.5;cursor:not-allowed}.forum-modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.forum-modal{background:#fff;border-radius:12px;width:90%;max-width:480px;box-shadow:0 20px 60px #0003}.forum-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.forum-modal-header h3{color:#1e293b;margin:0;font-size:1rem;font-weight:700}.forum-modal-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;font-size:1.4rem;line-height:1}.forum-modal-close:hover{color:#1e293b}.forum-modal-body{padding:20px}.forum-modal-timestamp{color:#64748b;background:#f8fafc;border-radius:6px;margin-bottom:12px;padding:8px 12px;font-size:.82rem}.forum-modal-body textarea{resize:vertical;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:8px;width:100%;padding:10px 12px;font-family:inherit;font-size:.85rem}.forum-modal-body textarea:focus{border-color:#2563eb;outline:none}.forum-modal-error{color:#ef4444;margin-top:8px;font-size:.78rem}.forum-modal-footer{border-top:1px solid #e2e8f0;justify-content:flex-end;gap:8px;padding:16px 20px;display:flex}.forum-modal-cancel{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:6px;padding:8px 16px;font-size:.82rem;font-weight:500}.forum-modal-cancel:hover{background:#e2e8f0}.forum-modal-send{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;padding:8px 16px;font-size:.82rem;font-weight:600}.forum-modal-send:hover:not(:disabled){background:#1d4ed8}.forum-modal-send:disabled{opacity:.5;cursor:not-allowed}.forum-progress-marker{z-index:15;cursor:pointer;pointer-events:auto;position:absolute;top:50%;transform:translate(-50%,-50%)}.forum-progress-dot{background:#f97316;border:2px solid #fff;border-radius:50%;width:10px;height:10px;transition:transform .2s;box-shadow:0 1px 3px #0000004d}.forum-progress-marker:hover .forum-progress-dot{background:#ea580c;transform:scale(1.3)}.forum-progress-tooltip{color:#fff;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;background:#1e293b;border-radius:4px;padding:4px 8px;font-size:.65rem;transition:all .2s;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.forum-progress-marker:hover .forum-progress-tooltip{opacity:1;visibility:visible}.forum-progress-tooltip:after{content:"";border:4px solid #0000;border-top-color:#1e293b;position:absolute;top:100%;left:50%;transform:translate(-50%)}.player-page{color:#334155;background-color:#f1f5f9;flex-direction:column;min-height:100vh;display:flex}.player-header{color:#fff;background-color:#172a46;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 32px;display:flex;box-shadow:0 2px 4px #0000001a}.player-header .nav-left{align-items:center;gap:24px;display:flex}.player-header .brand{border-right:1px solid #fff3;align-items:center;gap:12px;padding-right:20px;display:flex}.player-header .brand-logo{align-items:center;gap:8px;display:flex}.player-header .brand-logo .seal{background:#ffffff26;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:10px;font-weight:700;display:flex}.player-header .brand-text{letter-spacing:.5px;font-size:1.15rem;font-weight:800}.player-header .brand-app{font-size:1.1rem;font-weight:700}.player-header .nav-links{align-items:center;gap:8px;list-style:none;display:flex}.player-header .nav-links a{color:#cbd5e1;border-radius:6px;padding:6px 16px;font-size:.85rem;font-weight:500;text-decoration:none;transition:all .2s}.player-header .nav-links a:hover{color:#fff;background:#ffffff14}.player-header .user-profile{align-items:center;gap:12px;display:flex}.player-header .avatar{color:#fff;background-color:#2563eb;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:.85rem;font-weight:700;display:flex}.player-header .user-info{flex-direction:column;line-height:1.2;display:flex}.player-header .user-name{color:#fff;font-size:.82rem;font-weight:700}.player-header .user-role{color:#94a3b8;font-size:.7rem}.player-header .logout-btn-header{color:#cbd5e1;cursor:pointer;background:0 0;border:1px solid #ffffff4d;border-radius:4px;padding:4px 12px;font-size:.75rem;transition:all .2s}.player-header .logout-btn-header:hover{color:#fff;background:#ffffff1a}.breadcrumb-bar{background-color:#fff;border-bottom:1px solid #e2e8f0;padding:10px 32px}.breadcrumbs{color:#64748b;align-items:center;gap:8px;max-width:1440px;margin:0 auto;font-size:.75rem;display:flex}.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{flex:1;gap:24px;width:100%;max-width:1440px;margin:0 auto;padding:24px 32px;display:flex}.player-main{flex-direction:column;flex:1;gap:20px;display:flex}.video-player-card{aspect-ratio:16/9;background:radial-gradient(circle at 50% 40%,#1d3356 0%,#0c182b 100%);border-radius:12px;width:100%;position:relative;overflow:hidden;box-shadow:0 10px 25px -5px #0000004d}.video-element{background:#000;width:100%;height:100%;display:block}.video-iframe{aspect-ratio:16/9;border:none;width:100%;display:block}.video-error{text-align:center;color:#e74c3c;background:#e74c3c0d;padding:40px 20px;font-size:.95rem}.resume-banner{color:#1e40af;text-align:center;background:#2563eb1a;border:1px solid #2563eb;border-radius:8px;padding:12px 20px;font-size:.85rem;font-weight:600}.info-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:24px;box-shadow:0 1px 3px #00000005}.info-card h2{color:#0f172a;margin-bottom:20px;font-size:1.2rem;font-weight:700}.meta-grid{border-bottom:1px solid #f1f5f9;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px;padding-bottom:20px;display:grid}.meta-item{flex-direction:column;gap:4px;display:flex}.meta-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;font-size:.65rem;font-weight:700}.meta-value{color:#1e293b;font-size:.85rem;font-weight:700}.description-section h3{color:#1e293b;margin-bottom:8px;font-size:.8rem;font-weight:700}.description-text{color:#94a3b8;font-size:.8rem;line-height:1.5}.rating-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px 24px;box-shadow:0 1px 3px #00000005}.rating-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:16px;display:flex}.rating-header h3{color:#0f172a;font-size:.9rem;font-weight:700}.star-rating-input{gap:6px;display:flex}.star-box{color:#d97706;cursor:pointer;background:#fef3c7;border:1px solid #fde68a;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;font-size:.85rem;transition:all .2s;display:flex}.star-box.empty{color:#cbd5e1;background:#f8fafc;border-color:#e2e8f0}.star-box:hover{transform:scale(1.08)}.rating-success{color:#2e7d32;margin-left:12px;font-size:13px;font-weight:600}.rating-error{color:#c62828;margin-left:12px;font-size:13px;font-weight:600}.stats-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.stat-item{flex-direction:column;gap:2px;display:flex}.stat-value{color:#0f172a;font-size:1.1rem;font-weight:800}.stat-label{color:#94a3b8;font-size:.68rem}.player-sidebar{flex-direction:column;flex-shrink:0;gap:20px;width:280px;display:flex}.participants-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:18px;box-shadow:0 1px 3px #00000005}.participants-title{color:#1e293b;align-items:center;gap:6px;margin-bottom:16px;font-size:.82rem;font-weight:700;display:flex}.participants-list{flex-direction:column;gap:14px;display:flex}.participant-item{align-items:center;gap:10px;display:flex}.p-avatar{color:#475569;background-color:#f1f5f9;border:1px solid #e2e8f0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:.72rem;font-weight:700;display:flex}.p-info{flex-direction:column;display:flex}.p-name{color:#1e293b;font-size:.78rem;font-weight:700}.p-role{color:#94a3b8;font-size:.65rem}.no-participants{color:#94a3b8;text-align:center;padding:8px;font-size:.78rem}.course-info-sidebar{flex-direction:column;gap:12px;display:flex}.course-detail{flex-direction:column;gap:2px;display:flex}.course-detail .meta-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;font-size:.62rem;font-weight:700}.course-detail .meta-value{color:#1e293b;font-size:.82rem;font-weight:600}.player-loading{text-align:center;color:#64748b;padding:4rem;font-size:1.1rem}.player-error{color:#dc2626;text-align:center;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:1rem;padding:1rem}.back-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;padding:10px 20px;font-size:.85rem;font-weight:600;transition:background .2s}.back-btn:hover{background:#1d4ed8}.player-container{text-align:center;max-width:600px;margin:0 auto;padding:2rem}.notes-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:0;overflow:hidden;box-shadow:0 1px 3px #00000005}@media (width<=900px){.player-layout{flex-direction:column;padding:16px}.player-sidebar{width:100%}.meta-grid,.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (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}}.chapters-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:20px;padding:18px;box-shadow:0 1px 3px #00000005}.chapters-header{color:#1e293b;border-bottom:1px solid #f1f5f9;align-items:center;gap:8px;margin-bottom:12px;padding-bottom:8px;font-size:.82rem;font-weight:700;display:flex}.chapters-header span:last-child{color:#64748b;font-size:.7rem;font-weight:500}.chapters-list{flex-direction:column;gap:8px;max-height:300px;padding-right:4px;display:flex;overflow-y:auto}.chapters-list::-webkit-scrollbar{width:4px}.chapters-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:2px}.chapters-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.chapters-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.chapter-item{cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:10px;padding:10px;transition:all .2s;display:flex}.chapter-item:hover{background:#eff6ff;border-color:#bfdbfe;transform:translate(2px)}.chapter-index{color:#fff;background:#2563eb;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:.75rem;font-weight:700;display:flex}.chapter-info{flex:1;min-width:0}.chapter-title{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;font-weight:600;overflow:hidden}.chapter-time{color:#64748b;font-size:.7rem;font-weight:500}@media (width<=900px){.chapters-card{margin-bottom:16px}.chapters-list{max-height:200px}}.video-player-card{aspect-ratio:16/9;background:#000;border-radius:12px;width:100%;position:relative;overflow:hidden}.video-element{object-fit:contain;background:#000;width:100%;height:100%;display:block}.video-iframe{aspect-ratio:16/9;background:#000;border:none;width:100%;height:100%;display:block}.custom-controls{z-index:20;opacity:0;background:linear-gradient(#0000,#000000d9);padding:12px 16px 16px;transition:opacity .3s;position:absolute;bottom:0;left:0;right:0}.video-player-card:hover .custom-controls,.custom-controls:hover,.custom-controls:focus-within{opacity:1}.progress-container{cursor:pointer;background:#ffffff40;border-radius:3px;width:100%;height:6px;margin-bottom:10px;transition:height .2s;position:relative}.progress-container:hover{background:#ffffff59;height:10px}.progress-bar{background:#2563eb;border-radius:3px;height:100%;transition:width 50ms linear;position:relative}.progress-chapter-marker{pointer-events:none;z-index:5;background:#fbbf24;border-radius:1px;width:3px;height:14px;position:absolute;top:-4px;transform:translate(-50%);box-shadow:0 0 6px #fbbf2499}.progress-hover-preview{color:#fff;white-space:nowrap;pointer-events:none;z-index:30;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000d9;border-radius:4px;margin-bottom:6px;padding:3px 8px;font-size:.7rem;font-weight:600;transition:opacity .15s;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.progress-hover-preview:after{content:"";border:5px solid #0000;border-top-color:#000000d9;position:absolute;top:100%;left:50%;transform:translate(-50%)}.controls-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.control-btn{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff1f;border:1px solid #ffffff26;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;font-size:.95rem;transition:all .2s;display:flex}.control-btn:hover{background:#ffffff40;border-color:#ffffff4d;transform:scale(1.05)}.control-btn:active{transform:scale(.95)}.time-display{color:#fff;font-variant-numeric:tabular-nums;align-items:center;gap:4px;min-width:90px;font-size:.8rem;font-weight:500;display:flex}.time-separator{color:#fff6}.volume-control{align-items:center;gap:8px;margin-left:auto;display:flex}.volume-slider{appearance:none;cursor:pointer;background:#ffffff4d;border-radius:2px;outline:none;width:70px;height:4px;transition:width .2s}.volume-slider:hover{width:90px}.volume-slider::-webkit-slider-thumb{-webkit-appearance:none;cursor:pointer;background:#2563eb;border-radius:50%;width:12px;height:12px;box-shadow:0 0 6px #2563eb80}.volume-slider::-moz-range-thumb{cursor:pointer;background:#2563eb;border:none;border-radius:50%;width:12px;height:12px}.chapters-toggle{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff1f;border:1px solid #ffffff26;border-radius:8px;align-items:center;gap:4px;padding:5px 12px;font-size:.75rem;font-weight:600;transition:all .2s;display:flex}.chapters-toggle:hover{background:#ffffff40;border-color:#ffffff4d}.chapter-markers{pointer-events:none;z-index:5;height:20px;position:absolute;bottom:70px;left:0;right:0}.chapter-marker{pointer-events:auto;cursor:pointer;z-index:10;background:#2563eb;width:2px;height:24px;transition:all .2s;position:absolute;top:-8px;transform:translate(-50%)}.chapter-marker:hover{background:#1d4ed8;width:4px;height:32px;top:-12px;box-shadow:0 0 8px #2563eb80}.chapter-marker:hover .chapter-marker-tooltip{opacity:1!important;visibility:visible!important}.chapter-marker-tooltip{color:#fff;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;z-index:20;background:#1e293b;border-radius:4px;padding:4px 8px;font-size:.7rem;transition:all .2s;position:absolute;bottom:30px;left:50%;transform:translate(-50%)}.chapter-marker-tooltip:after{content:"";border:4px solid #0000;border-top-color:#1e293b;position:absolute;top:100%;left:50%;transform:translate(-50%)}@media (width<=768px){.controls-row{gap:8px}.control-btn{width:32px;height:32px;font-size:.85rem}.volume-slider{width:50px}.volume-slider:hover{width:60px}.time-display{min-width:70px;font-size:.7rem}.chapters-toggle{padding:4px 8px;font-size:.65rem}.progress-container{height:4px}.progress-container:hover{height:8px}.custom-controls{padding:8px 10px 10px}.chapter-markers{bottom:60px}}@media (width<=480px){.controls-row{gap:6px}.control-btn{width:28px;height:28px;font-size:.75rem}.volume-slider{width:40px}.time-display{min-width:60px;font-size:.65rem}.chapters-toggle{padding:3px 6px;font-size:.6rem}}.history-content{max-width:1200px;margin:0 auto;padding:24px}.history-content h2{color:#1a237e;margin-bottom:20px;font-size:24px}.card-banner{position:relative}.history-progress-bar{background:#e0e0e0;border-radius:3px;width:100%;height:6px;margin-bottom:8px;overflow:hidden}.history-progress-fill{background:linear-gradient(90deg,#1a237e,#3949ab);border-radius:3px;height:100%;transition:width .3s}.history-meta-row{justify-content:space-between;align-items:center;display:flex}.history-percent{color:#1a237e;font-size:13px;font-weight:600}.history-date{color:#888;font-size:12px}.page-info{color:#666;padding:0 12px;font-size:14px}.mis-cursos-content{max-width:1100px;margin:0 auto;padding:24px}.mis-cursos-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.mis-cursos-header h2{color:#1a237e;margin:0;font-size:24px}.btn-inscribir{color:#fff;cursor:pointer;background:#1a237e;border:none;border-radius:8px;padding:10px 20px;font-size:14px;font-weight:600}.btn-inscribir:hover{background:#283593}.cursos-section{margin-bottom:32px}.cursos-section h3{color:#333;border-bottom:2px solid #e8eaf6;margin-bottom:16px;padding-bottom:8px;font-size:18px}.cursos-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.curso-card{background:#fff;border-radius:12px;padding:20px;transition:box-shadow .2s;box-shadow:0 1px 6px #0000000f}.curso-card:hover{box-shadow:0 4px 16px #0000001a}.curso-card.impartir{border-left:4px solid #ff9800}.curso-card-header{justify-content:space-between;margin-bottom:8px;display:flex}.curso-codigo{color:#1a237e;background:#e8eaf6;border-radius:12px;padding:2px 10px;font-size:12px;font-weight:600}.curso-seccion{color:#666;font-size:13px}.curso-card h4{color:#333;margin:0 0 4px;font-size:16px}.curso-semestre{color:#888;margin:0 0 12px;font-size:13px}.curso-rol{color:#ff9800;text-transform:uppercase;margin:0;font-size:12px;font-weight:600}.curso-actions{gap:8px;display:flex}.btn-ver{color:#fff;cursor:pointer;background:#1a237e;border:none;border-radius:6px;flex:1;padding:6px 14px;font-size:13px}.btn-ver:hover{background:#283593}.btn-desinscribir{color:#c62828;cursor:pointer;background:#ffebee;border:none;border-radius:6px;padding:6px 14px;font-size:13px}.btn-desinscribir:hover{background:#ffcdd2}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:500px;padding:28px}.modal-content h3{color:#1a237e;margin:0 0 12px}.modal-select{border:1px solid #ddd;border-radius:8px;width:100%;margin:12px 0;padding:10px;font-size:14px}.btn-cancel{cursor:pointer;background:#f5f5f5;border:none;border-radius:6px;padding:8px 16px}.btn-confirm{color:#fff;cursor:pointer;background:#1a237e;border:none;border-radius:6px;padding:8px 16px;font-weight:600}.btn-confirm:disabled{opacity:.5;cursor:not-allowed}.upload-content{max-width:1200px;margin:0 auto;padding:24px}.upload-content h2{color:#1a237e;margin-bottom:4px;font-size:24px}.upload-subtitle{color:#666;margin-bottom:24px}.upload-success{color:#2e7d32;background:#e8f5e9;border-radius:8px;margin-bottom:16px;padding:12px 16px}.upload-error{color:#c62828;background:#ffebee;border-radius:8px;margin-bottom:16px;padding:12px 16px}.upload-course-card{background:#fff;border-radius:12px;transition:box-shadow .2s;overflow:hidden;box-shadow:0 1px 6px #0000000f}.upload-course-card:hover{box-shadow:0 4px 16px #0000001a}.upload-course-card .card-banner{cursor:pointer;background:#e8eaf6;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.upload-course-card .semester-badge,.upload-course-card .seccion-badge{color:#fff;background:#1a237e;border-radius:12px;padding:4px 10px;font-size:12px;font-weight:600}.upload-course-card .card-body{padding:16px 20px}.upload-course-card .course-info{cursor:pointer}.upload-course-card .course-info h3{color:#1a237e;margin:0 0 4px;font-size:18px}.upload-course-card .course-code{color:#666;font-size:13px}.expanded-content{border-top:1px solid #eee;margin-top:16px;padding-top:16px}.recordings-section h4{color:#333;margin-bottom:12px;font-size:15px}.recordings-list{flex-direction:column;gap:8px;margin-bottom:20px;display:flex}.recording-item{cursor:pointer;background:#f5f5f5;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 14px;transition:background .15s;display:flex}.recording-item:hover{background:#e8eaf6}.recording-info{flex-direction:column;gap:2px;display:flex}.recording-title{color:#1a237e;font-size:14px;font-weight:600}.recording-meta{color:#888;font-size:12px}.recording-rating .star-filled{color:#ffc107;font-size:13px;font-weight:600}.recording-rating .no-rating{color:#aaa;font-size:12px}.upload-form-section h4{color:#333;margin-bottom:12px;font-size:15px}.upload-form{background:#fafafa;border:1px solid #eee;border-radius:8px;padding:16px}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;border:1px solid #ddd;border-radius:8px;width:100%;padding:9px 12px;font-size:14px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#1a237e;outline:none;box-shadow:0 0 0 2px #1a237e1a}.form-hint{color:#888;margin-top:3px;font-size:11px;display:block}.btn-upload{color:#fff;cursor:pointer;background:#1a237e;border:none;border-radius:8px;width:100%;margin-top:4px;padding:10px 20px;font-size:14px;font-weight:600}.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{color:#1a237e;margin-bottom:24px;font-size:24px}.tendencias-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.tendencias-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 6px #0000000f}.tendencias-card h3{color:#1a237e;border-bottom:2px solid #e8eaf6;margin:0 0 16px;padding-bottom:8px;font-size:17px}.no-data{color:#999;font-style:italic}.ranking-list{margin:0;padding:0;list-style:none}.ranking-list li{cursor:pointer;color:#333;border-bottom:1px solid #f0f0f0;justify-content:space-between;padding:10px 0;font-size:14px;display:flex}.ranking-list li:hover{color:#1a237e}.ranking-count{color:#1a237e;background:#e8eaf6;border-radius:10px;padding:2px 10px;font-size:12px;font-weight:600}.temas-list{margin:0;padding:0;list-style:none}.temas-list li{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;padding:10px 0;display:flex}.tema-name{color:#333;font-weight:600}.tema-count{color:#888;font-size:12px}.recomend-list{margin:0;padding:0;list-style:none}.recomend-list li{cursor:pointer;border-bottom:1px solid #f0f0f0;padding:12px 0;position:relative}.recomend-bar{background:#1a237e0f;border-radius:4px;position:absolute;top:0;bottom:0;left:0}.recomend-info{color:#333;font-size:13px;position:relative}.profile-content{max-width:800px;margin:0 auto;padding:24px}.profile-loading{color:#666;justify-content:center;align-items:center;height:400px;font-size:18px;display:flex}.profile-card{background:#fff;border-radius:12px;margin-bottom:20px;padding:24px;box-shadow:0 2px 8px #00000014}.profile-header{border-bottom:1px solid #e0e0e0;align-items:center;gap:20px;margin-bottom:24px;padding-bottom:20px;display:flex}.profile-avatar-large{color:#fff;background:linear-gradient(135deg,#1a237e,#3949ab);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:80px;height:80px;font-size:28px;font-weight:700;display:flex}.profile-header-info h2{color:#1a237e;margin:0 0 4px;font-size:24px}.profile-email{color:#666;font-size:14px}.profile-details{flex-direction:column;gap:16px;display:flex}.profile-field{flex-direction:column;gap:4px;display:flex}.field-label{color:#888;text-transform:uppercase;letter-spacing:.5px;font-size:12px;font-weight:600}.field-value{color:#333;font-size:15px}.status-active{color:#2e7d32;font-weight:600}.status-inactive{color:#c62828;font-weight:600}.roles-list{flex-wrap:wrap;gap:8px;display:flex}.role-badge{color:#1a237e;background:#e8eaf6;border-radius:16px;padding:4px 12px;font-size:13px;font-weight:500}.profile-section-title{color:#1a237e;margin:0 0 16px;font-size:18px}.profile-courses-list{flex-direction:column;gap:8px;display:flex}.profile-course-item{cursor:pointer;background:#f5f5f5;border-radius:8px;justify-content:space-between;align-items:center;padding:12px 16px;transition:background .2s;display:flex}.profile-course-item:hover{background:#e8eaf6}.course-item-info{flex-direction:column;gap:2px;display:flex}.course-item-code{color:#1a237e;font-size:13px;font-weight:600}.course-item-name{color:#333;font-size:15px}.course-item-meta{color:#666;flex-direction:column;align-items:flex-end;gap:2px;font-size:13px;display:flex}.admin-container{color:#334155;background-color:#f1f5f9;flex-direction:column;min-height:100vh;display:flex}.admin-header{color:#fff;background-color:#172a46;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 32px;display:flex;box-shadow:0 2px 4px #0000001a}.admin-main{flex:1;width:100%;max-width:1440px;margin:0 auto;padding:24px 32px}.admin-page{width:100%}.admin-title{color:#172a46;margin-bottom:4px;font-size:1.5rem;font-weight:700}.admin-subtitle{color:#64748b;margin-bottom:24px;font-size:.9rem}.admin-page-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.stats-grid{grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:32px;display:grid}.stat-card{background:#fff;border:1px solid #e2e8f0;border-top:4px solid #2563eb;border-radius:10px;padding:24px;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{color:#64748b;margin-top:4px;font-size:.9rem}.quick-actions h2{color:#172a46;margin-bottom:12px;font-size:1.1rem}.actions-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.action-btn{color:#334155;text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:14px 18px;font-size:.85rem;font-weight:600;text-decoration:none;transition:all .2s}.action-btn:hover{color:#2563eb;background:#eff6ff;border-color:#2563eb}.table-container{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.admin-table{border-collapse:collapse;width:100%}.admin-table th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.5px;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 16px;font-size:.78rem;font-weight:700}.admin-table td{border-bottom:1px solid #f1f5f9;padding:12px 16px;font-size:.85rem}.admin-table tbody tr:hover{background:#f8fafc}.admin-table .no-data{text-align:center;color:#94a3b8;padding:24px}.actions-cell{gap:8px;display:flex}.badge{border-radius:12px;padding:3px 10px;font-size:.72rem;font-weight:600;display:inline-block}.badge-active{color:#16a34a;background:#dcfce7}.badge-inactive{color:#dc2626;background:#fee2e2}.btn-primary{color:#fff;cursor:pointer;background-color:#2563eb;border:none;border-radius:8px;padding:10px 20px;font-size:.85rem;font-weight:600;transition:background .2s}.btn-primary:hover{background-color:#1d4ed8}.btn-primary:disabled{cursor:not-allowed;background:#94a3b8}.btn-secondary{color:#fff;cursor:pointer;background-color:#7c3aed;border:none;border-radius:8px;padding:10px 20px;font-size:.85rem;font-weight:600;transition:background .2s}.btn-secondary:hover{background-color:#6d28d9}.btn-cancel{color:#64748b;cursor:pointer;background:0 0;border:1px solid #e2e8f0;border-radius:8px;padding:10px 20px;font-size:.85rem;font-weight:500}.btn-cancel:hover{background:#f1f5f9}.btn-edit{color:#2563eb;cursor:pointer;background:0 0;border:1px solid #bfdbfe;border-radius:4px;padding:4px 12px;font-size:.75rem;font-weight:500}.btn-edit:hover{background:#eff6ff}.btn-delete{color:#dc2626;cursor:pointer;background:0 0;border:1px solid #fecaca;border-radius:4px;padding:4px 12px;font-size:.75rem;font-weight:500}.btn-delete:hover{background:#fef2f2}.btn-delete-small{color:#dc2626;cursor:pointer;background:0 0;border:none;padding:2px 8px;font-size:.72rem}.filter-bar{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:12px;margin-bottom:20px;padding:12px 16px;display:flex}.filter-bar label{color:#475569;font-size:.82rem;font-weight:600}.filter-bar select{color:#334155;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;outline:none;padding:8px 12px;font-size:.82rem}.filter-bar select:focus{border-color:#2563eb}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:12px;width:100%;max-width:480px;max-height:90vh;padding:24px;overflow-y:auto}.modal h2{color:#172a46;margin-bottom:20px;font-size:1.15rem}.form-group input,.form-group select,.form-group textarea{color:#334155;border:1px solid #e2e8f0;border-radius:6px;outline:none;width:100%;padding:10px 12px;font-size:.85rem}.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{resize:vertical;min-height:80px}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.modal-actions{justify-content:flex-end;gap:12px;margin-top:20px;display:flex}.admin-error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:16px;padding:10px 16px;font-size:.85rem}.admin-loading{text-align:center;color:#64748b;padding:3rem;font-size:1rem}.docentes-grid{grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px;display:grid}.docentes-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px}.docentes-card h3{color:#172a46;border-bottom:1px solid #f1f5f9;margin-bottom:12px;padding-bottom:8px;font-size:.9rem}.docentes-list{flex-direction:column;gap:8px;list-style:none;display:flex}.docentes-list li{background:#f8fafc;border-radius:6px;justify-content:space-between;align-items:center;padding:8px;font-size:.8rem;display:flex}.docentes-list li.no-data{color:#94a3b8;justify-content:center}.asignar-actions{flex-direction:column;gap:8px;margin-top:12px;display:flex}.upload-section{max-width:800px}.preview-section{margin-top:20px}.preview-section h3{color:#172a46;margin-bottom:10px;font-size:.9rem}.upload-actions{margin-top:16px}.result-section{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;margin-top:20px;padding:16px}.result-section h3{color:#166534;margin-bottom:8px;font-size:.9rem}.errors-list{margin-top:12px}.errors-list h4{color:#dc2626;margin-bottom:6px;font-size:.82rem}.errors-list ul{color:#dc2626;padding-left:20px;font-size:.8rem;list-style:outside}@media (width<=1024px){.stats-grid,.actions-grid,.docentes-grid{grid-template-columns:repeat(2,1fr)}}@media (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{flex-direction:column;gap:16px;margin-top:20px;display:flex}.docente-assign-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px}.docente-assign-card h3{color:#172a46;border-bottom:1px solid #f1f5f9;margin-bottom:12px;padding-bottom:8px;font-size:.9rem}.docente-assign-form{align-items:flex-end;gap:12px;display:flex}.docente-assign-form select{color:#334155;border:1px solid #e2e8f0;border-radius:6px;outline:none;flex:1;padding:10px 12px;font-size:.85rem}.docente-assigned-info{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;justify-content:space-between;align-items:center;padding:12px;display:flex}.docente-assigned-info span{color:#166534;font-size:.85rem}.roles-assign-section{background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:20px;padding:20px}.roles-assign-section h3{color:#172a46;border-bottom:1px solid #f1f5f9;margin-bottom:12px;padding-bottom:8px;font-size:.9rem}.roles-grid{grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px;display:grid}.roles-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px}.roles-card h3{color:#172a46;border-bottom:1px solid #f1f5f9;margin-bottom:12px;padding-bottom:8px;font-size:.9rem}.roles-list{flex-direction:column;gap:8px;list-style:none;display:flex}.roles-list li{background:#f8fafc;border-radius:6px;justify-content:space-between;align-items:center;padding:8px;font-size:.8rem;display:flex}.roles-list li.no-data{color:#94a3b8;justify-content:center}.roles-table-section{margin-top:20px}.roles-table-section h3{color:#172a46;margin-bottom:12px;font-size:.9rem}.badge-catedratico{color:#1d4ed8;background:#dbeafe;border-radius:12px;padding:2px 8px;font-size:.75rem}.badge-auxiliar{color:#92400e;background:#fef3c7;border-radius:12px;padding:2px 8px;font-size:.75rem}.badge-administrador{color:#6d28d9;background:#ede9fe;border-radius:12px;padding:2px 8px;font-size:.75rem}.badge-estudiante{color:#065f46;background:#d1fae5;border-radius:12px;padding:2px 8px;font-size:.75rem}.playlists-page-container{background-color:#f4f6f9;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.playlists-header{z-index:100;background:#fff;border-bottom:1px solid #e0e0e0;justify-content:space-between;align-items:center;padding:12px 32px;display:flex;position:sticky;top:0;box-shadow:0 2px 4px #0000000a}.playlists-header .nav-left{align-items:center;gap:36px;display:flex}.playlists-header .brand{align-items:center;gap:12px;display:flex}.playlists-header .brand-logo{align-items:center;gap:6px;display:flex}.playlists-header .seal{color:#fff;letter-spacing:.5px;background:#1a237e;border-radius:6px;padding:4px 7px;font-size:14px;font-weight:800}.playlists-header .brand-text{color:#1a237e;font-size:18px;font-weight:800}.playlists-header .brand-app{color:#c2185b;border-left:1px solid #ddd;padding-left:8px;font-size:14px;font-weight:700}.playlists-header .nav-links{gap:20px;margin:0;padding:0;list-style:none;display:flex}.playlists-header .nav-links a{color:#555;border-radius:6px;padding:6px 12px;font-size:14px;font-weight:500;text-decoration:none;transition:all .2s}.playlists-header .nav-links a:hover,.playlists-header .nav-links a.active{color:#1a237e;background:#e8eaf6;font-weight:600}.playlists-header .user-profile{align-items:center;gap:12px;display:flex}.playlists-header .avatar{color:#fff;background:#1a237e;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:14px;font-weight:700;display:flex}.playlists-header .user-info{flex-direction:column;display:flex}.playlists-header .user-name{color:#333;font-size:14px;font-weight:600}.playlists-header .user-role{color:#777;text-transform:capitalize;font-size:11px}.playlists-header .logout-btn-header{cursor:pointer;color:#666;background:0 0;border:1px solid #ddd;border-radius:6px;padding:6px 14px;font-size:13px;transition:all .2s}.playlists-header .logout-btn-header:hover{color:#d32f2f;background:#ffebee;border-color:#ffcdd2}.playlists-toast{color:#fff;z-index:9999;background:#1a237e;border-radius:8px;padding:12px 24px;font-size:14px;font-weight:600;animation:.3s ease-out slideUp;position:fixed;bottom:24px;right:24px;box-shadow:0 4px 16px #0003}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.playlists-main{max-width:1200px;margin:0 auto;padding:32px 24px}.playlists-hero{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px;display:flex}.hero-text h2{color:#1a237e;margin:0 0 6px;font-size:28px;font-weight:800}.hero-text p{color:#666;margin:0;font-size:15px}.btn-create-playlist{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1a237e 0%,#283593 100%);border:none;border-radius:10px;flex-shrink:0;align-items:center;gap:8px;padding:12px 24px;font-size:15px;font-weight:600;transition:all .2s;display:flex;box-shadow:0 4px 12px #1a237e40}.btn-create-playlist:hover{background:linear-gradient(135deg,#283593 0%,#303f9f 100%);transform:translateY(-2px);box-shadow:0 6px 16px #1a237e59}.btn-create-playlist .btn-icon{font-size:20px;font-weight:700}.playlists-metrics{grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px;display:grid}.metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;padding:20px;display:flex;box-shadow:0 2px 6px #00000008}.metric-value{color:#1a237e;margin-bottom:6px;font-size:32px;font-weight:800;line-height:1}.metric-label{color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-size:13px;font-weight:600}.playlists-filter-bar{margin-bottom:24px}.search-input-wrapper{max-width:480px;position:relative}.search-input-wrapper .search-icon{color:#94a3b8;font-size:16px;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.playlist-search-input{box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:12px 16px 12px 42px;font-size:14px;transition:border-color .2s,box-shadow .2s}.playlist-search-input:focus{border-color:#1a237e;box-shadow:0 0 0 3px #1a237e1f}.playlists-loading,.playlists-empty{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:64px 20px}.loading-spinner{border:4px solid #e2e8f0;border-top-color:#1a237e;border-radius:50%;width:42px;height:42px;margin:0 auto 16px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.empty-icon{margin-bottom:12px;font-size:54px}.playlists-empty h3{color:#1e293b;margin:0 0 8px;font-size:20px}.playlists-empty p{color:#64748b;max-width:480px;margin:0 auto 20px;font-size:15px}.btn-create-empty{color:#fff;cursor:pointer;background:#1a237e;border:none;border-radius:8px;padding:12px 24px;font-weight:600}.playlists-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:22px;display:grid}.playlist-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;padding:22px;transition:all .22s ease-in-out;display:flex;box-shadow:0 2px 8px #0000000a}.playlist-card:hover{border-color:#cbd5e1;transform:translateY(-4px);box-shadow:0 8px 22px #1a237e1f}.card-top{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.visibility-badge{border-radius:20px;padding:4px 10px;font-size:12px;font-weight:700}.visibility-badge.publica{color:#2e7d32;background:#e8f5e9;border:1px solid #c8e6c9}.visibility-badge.privada{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0}.recordings-count-badge{color:#1a237e;background:#e8eaf6;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:600}.playlist-title{color:#0f172a;margin:0 0 8px;font-size:18px;font-weight:700;line-height:1.35}.playlist-desc{color:#64748b;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex-grow:1;margin:0 0 18px;font-size:14px;line-height:1.5;display:-webkit-box;overflow:hidden}.card-footer{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding-top:14px;display:flex}.card-date{color:#94a3b8;font-size:12px}.card-actions{gap:8px;display:flex}.btn-action-share{color:#1a237e;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;padding:5px 10px;font-size:12px;font-weight:600;transition:all .2s}.btn-action-share:hover{background:#e8eaf6;border-color:#9fa8da}.btn-action-delete{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:5px 8px;font-size:14px;transition:all .2s}.btn-action-delete:hover{background:#fee2e2;border-color:#fca5a5}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0f172a99;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border-radius:16px;width:100%;max-width:520px;padding:28px;animation:.2s ease-out modalEnter;box-shadow:0 20px 40px #00000040}@keyframes modalEnter{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.modal-header h3{color:#1a237e;margin:0;font-size:20px;font-weight:700}.btn-close-modal{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px;font-size:20px}.btn-close-modal:hover{color:#1e293b}.modal-error-banner{color:#dc2626;background:#fef2f2;border:1px solid #fee2e2;border-radius:8px;margin-bottom:16px;padding:10px 14px;font-size:13px}.form-group{margin-bottom:18px}.form-group label{color:#334155;margin-bottom:6px;font-size:13px;font-weight:600;display:block}.form-group input[type=text],.form-group textarea{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:10px 14px;font-family:inherit;font-size:14px;transition:border-color .2s}.form-group input[type=text]:focus,.form-group textarea:focus{border-color:#1a237e}.visibility-options{flex-direction:column;gap:10px;display:flex}.radio-pill{cursor:pointer;border:1px solid #e2e8f0;border-radius:10px;align-items:flex-start;gap:12px;padding:12px 16px;transition:all .2s;display:flex}.radio-pill.selected{background:#f5f7ff;border-color:#1a237e}.radio-pill input[type=radio]{margin-top:4px}.radio-pill div{flex-direction:column;display:flex}.radio-pill strong{color:#1e293b;font-size:14px}.radio-pill span{color:#64748b;margin-top:2px;font-size:12px}.modal-footer{justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.btn-cancel{cursor:pointer;color:#475569;background:0 0;border:1px solid #cbd5e1;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:600}.btn-confirm{color:#fff;cursor:pointer;background:#1a237e;border:none;border-radius:8px;padding:10px 22px;font-size:14px;font-weight:600}.btn-confirm:disabled,.btn-cancel:disabled{opacity:.6;cursor:not-allowed}.delete-warning{color:#475569;margin-bottom:20px;font-size:14px;line-height:1.5}.btn-confirm-delete{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:8px;padding:10px 22px;font-size:14px;font-weight:600}@media (width<=768px){.playlists-hero{flex-direction:column;align-items:stretch}.playlists-metrics,.playlists-grid{grid-template-columns:1fr}}.playlist-detail-container{background-color:#f4f6f9;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.playlist-detail-header{z-index:100;background:#fff;border-bottom:1px solid #e0e0e0;justify-content:space-between;align-items:center;padding:12px 32px;display:flex;position:sticky;top:0;box-shadow:0 2px 4px #0000000a}.playlist-detail-header .nav-left{align-items:center;gap:36px;display:flex}.playlist-detail-header .brand{align-items:center;gap:12px;display:flex}.playlist-detail-header .brand-logo{align-items:center;gap:6px;display:flex}.playlist-detail-header .seal{color:#fff;letter-spacing:.5px;background:#1a237e;border-radius:6px;padding:4px 7px;font-size:14px;font-weight:800}.playlist-detail-header .brand-text{color:#1a237e;font-size:18px;font-weight:800}.playlist-detail-header .brand-app{color:#c2185b;border-left:1px solid #ddd;padding-left:8px;font-size:14px;font-weight:700}.playlist-detail-header .nav-links{gap:20px;margin:0;padding:0;list-style:none;display:flex}.playlist-detail-header .nav-links a{color:#555;border-radius:6px;padding:6px 12px;font-size:14px;font-weight:500;text-decoration:none;transition:all .2s}.playlist-detail-header .nav-links a:hover,.playlist-detail-header .nav-links a.active{color:#1a237e;background:#e8eaf6;font-weight:600}.playlist-detail-header .user-profile{align-items:center;gap:12px;display:flex}.playlist-detail-header .avatar{color:#fff;background:#1a237e;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:14px;font-weight:700;display:flex}.playlist-detail-header .user-info{flex-direction:column;display:flex}.playlist-detail-header .user-name{color:#333;font-size:14px;font-weight:600}.playlist-detail-header .user-role{color:#777;text-transform:capitalize;font-size:11px}.playlist-detail-header .logout-btn-header{cursor:pointer;color:#666;background:0 0;border:1px solid #ddd;border-radius:6px;padding:6px 14px;font-size:13px}.playlist-toast{color:#fff;z-index:9999;background:#1a237e;border-radius:8px;padding:12px 24px;font-size:14px;font-weight:600;animation:.3s ease-out slideUp;position:fixed;bottom:24px;right:24px;box-shadow:0 4px 16px #0003}.playlist-detail-main{max-width:1100px;margin:0 auto;padding:28px 20px}.btn-back-link{color:#1a237e;cursor:pointer;background:0 0;border:none;align-items:center;margin-bottom:20px;padding:6px 0;font-size:14px;font-weight:600;transition:transform .15s;display:inline-flex}.btn-back-link:hover{transform:translate(-4px)}.playlist-hero-banner{background:#fff;border:1px solid #e2e8f0;border-radius:16px;justify-content:space-between;align-items:flex-start;gap:32px;margin-bottom:32px;padding:32px;display:flex;box-shadow:0 4px 14px #00000008}.banner-left{flex:1}.banner-badges{flex-wrap:wrap;gap:10px;margin-bottom:14px;display:flex}.badge-visibility{border-radius:20px;padding:4px 12px;font-size:12px;font-weight:700}.badge-visibility.publica{color:#2e7d32;background:#e8f5e9;border:1px solid #c8e6c9}.badge-visibility.privada{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0}.badge-stat{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:4px 12px;font-size:12px;font-weight:600}.banner-title{color:#1a237e;margin:0 0 10px;font-size:28px;font-weight:800;line-height:1.25}.banner-description{color:#475569;margin:0 0 16px;font-size:15px;line-height:1.6}.banner-date{color:#94a3b8;font-size:12px}.banner-actions{flex-direction:column;gap:10px;min-width:190px;display:flex}.btn-play-all{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1a237e 0%,#283593 100%);border:none;border-radius:10px;padding:12px 20px;font-size:15px;font-weight:700;transition:all .2s;box-shadow:0 4px 12px #1a237e40}.btn-play-all:hover{background:linear-gradient(135deg,#283593 0%,#303f9f 100%);transform:translateY(-2px);box-shadow:0 6px 16px #1a237e59}.btn-share-hero{color:#1a237e;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .2s}.btn-share-hero:hover{background:#e8eaf6;border-color:#9fa8da}.btn-edit-hero{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .2s}.btn-edit-hero:hover{background:#f1f5f9}.recordings-section{margin-top:16px}.section-title-row{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.section-title-row h2{color:#1e293b;margin:0;font-size:20px;font-weight:700}.btn-add-more{color:#1a237e;cursor:pointer;background:0 0;border:1px dashed #9fa8da;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .2s}.btn-add-more:hover{background:#e8eaf6;border-color:#1a237e}.empty-recordings-box{text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:14px;padding:48px 20px}.empty-recordings-box .empty-icon{margin-bottom:12px;font-size:48px}.empty-recordings-box h3{color:#1e293b;margin:0 0 8px;font-size:18px}.empty-recordings-box p{color:#64748b;max-width:440px;margin:0 auto 20px;font-size:14px}.btn-go-catalog{color:#fff;cursor:pointer;background:#1a237e;border:none;border-radius:8px;padding:10px 22px;font-weight:600}.recordings-list{flex-direction:column;gap:12px;display:flex}.recording-row-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:16px;padding:14px 18px;transition:all .2s;display:flex;box-shadow:0 1px 4px #00000005}.recording-row-card:hover{border-color:#9fa8da;box-shadow:0 4px 12px #1a237e14}.row-index{color:#94a3b8;text-align:center;flex-shrink:0;width:28px;font-size:16px;font-weight:700}.row-thumb{color:#fff;cursor:pointer;background:#1a237e;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:58px;height:42px;transition:transform .15s;display:flex}.row-thumb:hover{transform:scale(1.05)}.play-icon-hover{font-size:16px}.row-info{cursor:pointer;flex:1}.row-title{color:#0f172a;margin:0 0 6px;font-size:15px;font-weight:600}.row-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row-course{color:#1a237e;font-size:12px;font-weight:600}.row-tag{color:#64748b;background:#f1f5f9;border-radius:4px;padding:2px 8px;font-size:11px}.row-duration{color:#475569;flex-shrink:0;font-size:13px;font-weight:600}.row-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.btn-row-play{color:#1a237e;cursor:pointer;background:#e8eaf6;border:1px solid #c5cae9;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:600;transition:all .2s}.btn-row-play:hover{color:#fff;background:#1a237e;border-color:#1a237e}.btn-row-remove{color:#94a3b8;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:6px 8px;font-size:14px;transition:all .2s}.btn-row-remove:hover{color:#dc2626;background:#fee2e2;border-color:#fca5a5}@media (width<=768px){.playlist-hero-banner{flex-direction:column;padding:20px}.banner-actions{width:100%;min-width:unset}.recording-row-card{flex-wrap:wrap}.row-duration,.row-actions{margin-left:auto}}.public-playlist-container{background-color:#f8fafc;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.public-header{z-index:100;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:14px 32px;display:flex;position:sticky;top:0;box-shadow:0 2px 4px #00000008}.public-brand{align-items:center;gap:10px;display:flex}.public-brand .seal{color:#fff;background:#1a237e;border-radius:6px;padding:4px 7px;font-size:14px;font-weight:800}.public-brand .brand-text{color:#1a237e;font-size:18px;font-weight:800}.public-brand .brand-app{color:#c2185b;border-left:1px solid #ddd;padding-left:8px;font-size:14px;font-weight:700}.btn-explore-catalog{color:#fff;cursor:pointer;background:#1a237e;border:none;border-radius:8px;padding:8px 18px;font-size:14px;font-weight:600;transition:all .2s}.btn-explore-catalog:hover{background:#283593}.public-toast{color:#fff;z-index:9999;background:#1a237e;border-radius:8px;padding:12px 24px;font-size:14px;font-weight:600;position:fixed;bottom:24px;right:24px;box-shadow:0 4px 16px #0003}.public-main{max-width:1000px;margin:0 auto;padding:36px 20px}.public-loading,.public-error-card{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:64px 24px}.public-error-card .error-icon{margin-bottom:12px;font-size:54px}.public-error-card h2{color:#0f172a;margin:0 0 8px;font-size:22px}.public-error-card p{color:#64748b;margin:0 0 20px;font-size:15px}.btn-return-catalog{color:#fff;cursor:pointer;background:#1a237e;border:none;border-radius:8px;padding:10px 22px;font-weight:600}.public-hero-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-bottom:28px;padding:32px;box-shadow:0 4px 16px #0000000a}.hero-top-badges{flex-wrap:wrap;gap:10px;margin-bottom:14px;display:flex}.public-badge{color:#2e7d32;background:#e8f5e9;border:1px solid #c8e6c9;border-radius:20px;padding:4px 12px;font-size:12px;font-weight:700}.stat-pill{color:#334155;background:#f1f5f9;border-radius:20px;padding:4px 12px;font-size:12px;font-weight:600}.public-title{color:#1a237e;margin:0 0 10px;font-size:28px;font-weight:800;line-height:1.25}.public-description{color:#475569;margin:0 0 16px;font-size:15px;line-height:1.6}.public-meta-bar{color:#94a3b8;gap:10px;margin-bottom:22px;font-size:13px;display:flex}.hero-action-buttons{flex-wrap:wrap;gap:12px;display:flex}.btn-play-public-all{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1a237e 0%,#283593 100%);border:none;border-radius:10px;padding:12px 24px;font-size:15px;font-weight:700;transition:all .2s;box-shadow:0 4px 12px #1a237e40}.btn-play-public-all:hover{transform:translateY(-2px);box-shadow:0 6px 16px #1a237e59}.btn-copy-public-link{color:#1a237e;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;padding:12px 20px;font-size:14px;font-weight:600;transition:all .2s}.btn-copy-public-link:hover{background:#e8eaf6;border-color:#9fa8da}.public-recordings-section h3{color:#1e293b;margin:0 0 16px;font-size:18px;font-weight:700}.public-recordings-list{flex-direction:column;gap:12px;display:flex}.public-recording-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:16px;padding:14px 18px;transition:all .2s;display:flex}.public-recording-card:hover{border-color:#9fa8da;box-shadow:0 4px 12px #1a237e14}.card-num{color:#94a3b8;text-align:center;width:24px;font-size:16px;font-weight:700}.card-thumb{color:#fff;cursor:pointer;background:#1a237e;border-radius:6px;justify-content:center;align-items:center;width:54px;height:38px;font-size:14px;display:flex}.card-body{cursor:pointer;flex:1}.card-body h4{color:#0f172a;margin:0 0 6px;font-size:15px;font-weight:600}.card-tags{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.card-tags .course-name{color:#1a237e;font-size:12px;font-weight:600}.card-tags .tag{color:#64748b;background:#f1f5f9;border-radius:4px;padding:2px 8px;font-size:11px}.card-duration{color:#475569;font-size:13px;font-weight:600}.btn-view-class{color:#1a237e;cursor:pointer;background:#e8eaf6;border:1px solid #c5cae9;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:600;transition:all .2s}.btn-view-class:hover{color:#fff;background:#1a237e}.app{width:100%;min-height:100vh}*{box-sizing:border-box;margin:0;padding:0;font-family:Segoe UI,system-ui,-apple-system,Roboto,sans-serif}body{color:#334155;background-color:#f1f5f9;flex-direction:column;min-height:100vh;display:flex}a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}
