@import"https://fonts.googleapis.com/css2?family=Arvo:wght@400;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap";*{font-family:system-ui!important}.auth-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f5f5f5;padding:16px}.auth-card{width:100%;max-width:420px;background:#fff;border-radius:14px;padding:32px;box-shadow:0 10px 30px #00000014;border:1px solid #e5e7eb}.auth-title{font-size:24px;font-weight:700;text-align:center;color:#111827;margin-bottom:6px}.auth-subtitle{text-align:center;color:#6b7280;font-size:14px;margin-bottom:24px}.auth-field{display:flex;flex-direction:column;margin-bottom:16px}.auth-field label{font-size:13px;margin-bottom:6px;color:#374151;font-weight:500}.auth-field input{padding:12px 14px;border-radius:10px;border:1px solid #d1d5db;font-size:15px;background:#fff;color:#111827;transition:border .2s ease,box-shadow .2s ease}.auth-field input::placeholder{color:#9ca3af}.auth-field input:focus{outline:none;border-color:#111827;box-shadow:0 0 0 2px #1118271a}.auth-button{width:100%;margin-top:10px;padding:12px;border-radius:12px;border:none;background:#111827;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s ease,transform .1s ease}.auth-button:hover:not(:disabled){background:#000}.auth-button:active:not(:disabled){transform:scale(.98)}.auth-button:disabled{opacity:.6;cursor:not-allowed}.auth-error{background:#fef2f2;color:#b91c1c;padding:10px 12px;border-radius:10px;font-size:14px;margin-bottom:16px;border:1px solid #fecaca}.auth-footer{text-align:center;margin-top:20px;font-size:14px;color:#6b7280}.auth-footer a{color:#111827;font-weight:600;text-decoration:none}.auth-footer a:hover{text-decoration:underline}.auth-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#fff}@media(max-width:480px){.auth-card{padding:24px}.auth-title{font-size:22px}}.auth-success{background:#ecfdf5;color:#065f46;padding:10px 12px;border-radius:10px;font-size:14px;margin-bottom:16px;border:1px solid #a7f3d0}.auth-divider{position:relative;text-align:center;margin:20px 0}.auth-divider span{background:#fff;padding:0 12px;font-size:12px;color:#6b7280;font-weight:500}.auth-divider:before{content:"";position:absolute;left:0;top:50%;width:100%;height:1px;background:#e5e7eb;z-index:-1}.auth-social{width:100%;padding:12px;border-radius:12px;font-size:14px;font-weight:600;cursor:pointer;border:1px solid #d1d5db;background:#fff;color:#111827;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:10px;transition:all .2s ease}.auth-social:hover{background:#f9fafb}.auth-social.google span{font-weight:700;font-size:16px}.auth-social.zalo{border-color:#c7d2fe}.auth-social.zalo:hover{background:#eef2ff}.auth-logo-container{display:flex;justify-content:center;margin-bottom:1.5rem}.auth-logo{max-width:180px;height:auto;object-fit:contain}.auth-logo-text{margin-top:.5rem;font-size:1.4rem;font-weight:700;color:#2d3748;text-align:center}.loading-overlay{position:fixed;inset:0;z-index:9999;background:#ffffffbf;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center}.loading-box{display:flex;flex-direction:column;align-items:center;gap:12px;background:#fff;padding:28px 36px;border-radius:16px;box-shadow:0 10px 30px #00000014}.loading-box p{font-size:14px;color:#6b7280}.spinner{width:36px;height:36px;border:3px solid #e5e7eb;border-top-color:#111827;border-radius:50%;animation:spin .8s linear infinite}html,body{margin:0;padding:0;width:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}.redirect_text{font-size:14px;color:#999}.page_404{width:100vw;max-width:100%;min-height:100svh;background:#fff;display:flex;justify-content:center;align-items:flex-start;padding-top:48px;padding-bottom:48px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;overflow-x:hidden;overflow-y:auto}.page_404__container{text-align:center;max-width:600px;width:100%}.error_code{font-size:96px;font-weight:700}.four_zero_four_bg{height:360px;background-image:url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);background-repeat:no-repeat;background-position:center;background-size:contain}.contant_box_404{margin-top:-20px}.contant_box_404 h3{font-size:26px;margin-bottom:8px}.contant_box_404 p{color:#666;font-size:15px}.contant_box_404 .title{margin-top:24px}.link_404{margin-top:20px;padding:12px 28px;border:none;background:#39ac31;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}.link_404:hover{transform:translateY(-2px);box-shadow:0 8px 20px #39ac3159}.navbar{height:64px;background:#fff;border-bottom:1px solid #e5e7eb;padding:0 24px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:100}.navbar-main,.navbar-left-wrapper{display:flex;align-items:center;gap:16px}.navbar-logo{font-size:18px;font-weight:700;color:#111827;cursor:pointer}.navbar-menu-btn{display:none;background:transparent;border:none;cursor:pointer;color:#111827}.navbar-left{display:flex;align-items:center;gap:16px}.nav-link{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#374151;text-decoration:none;padding:8px 12px;border-radius:8px;transition:background .2s ease}.nav-link:hover{background:#f3f4f6}.nav-link.active{background:#111827;color:#fff}.navbar-right{position:relative}.user-button{border:none;background:transparent;cursor:pointer}.user-dropdown{position:absolute;top:48px;right:0;width:220px;background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 10px 25px #00000014;padding:8px;z-index:200}.user-info{padding:10px 12px}.user-info .name{font-weight:600;font-size:14px}.user-info .email{font-size:13px;color:#6b7280}.divider{height:1px;background:#e5e7eb;margin:6px 0}.dropdown-item{width:100%;padding:10px 12px;border-radius:8px;border:none;background:transparent;text-align:left;font-size:14px;cursor:pointer}.dropdown-item:hover{background:#f3f4f6}.dropdown-item.logout{color:#b91c1c}.dropdown-item.logout:hover{background:#fef2f2}.navbar-overlay{position:fixed;inset:0;background:#0000004d;z-index:80}@media(max-width:1024px){.navbar{padding:0 16px}.navbar-menu-btn{display:block}.navbar-left{position:fixed;top:64px;left:0;width:260px;height:calc(100vh - 64px);background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;align-items:stretch;padding:16px;transform:translate(-100%);transition:transform .25s ease;z-index:90}.navbar-left.open{transform:translate(0)}.nav-link{width:100%}}@media(max-width:640px){.navbar{height:56px}.navbar-left{top:56px;height:calc(100vh - 56px)}.user-avatar{width:36px;height:36px;font-size:14px}}.user-avatar{width:40px;height:40px;border-radius:50%;background:#111827;color:#fff;font-weight:600;font-size:16px;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.user-avatar:hover{box-shadow:0 2px 8px #00000026;transform:scale(1.05)}.navbar-avatar-img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:50%}.logo-text{font-size:20px;font-weight:800;background:linear-gradient(90deg,#06f,#60a5fa);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.home-center{min-height:calc(100vh - 64px);display:flex;align-items:center;justify-content:center;background:#fff}.home-box{text-align:center;padding:32px}.home-icon{width:120px;height:120px;margin:0 auto 20px;display:flex;align-items:center;justify-content:center;animation:float 3s ease-in-out infinite}.home-title{font-size:32px;font-weight:700;color:#111827;margin-bottom:8px}.home-subtitle{font-size:14px;color:#6b7280}@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-6px)}to{transform:translateY(0)}}@media(max-width:480px){.home-icon{width:90px;height:90px}.home-title{font-size:26px}}.profile-container{max-width:960px;margin:40px auto;padding:0 20px}.profile-header{text-align:center;margin-bottom:32px}.profile-header h1{font-size:2.25rem;font-weight:700;color:#111827}.profile-card{background:#fff;border-radius:18px;padding:32px;border:1px solid #e5e7eb;box-shadow:0 10px 25px #00000014}.profile-avatar-section{display:flex;align-items:center;justify-content:center;gap:32px;margin-bottom:40px;flex-wrap:wrap}.avatar-circle,.avatar-img{width:140px;height:140px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 8px 20px #00000026}.avatar-circle{display:flex;align-items:center;justify-content:center;font-size:3.8rem;font-weight:700;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2)}.profile-name-role{text-align:center}.profile-name-role h2{font-size:2rem;margin-bottom:10px;color:#111827}.role-badge,.provider-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;font-size:.9rem;font-weight:500;margin:4px}.role-badge.admin{background:#fee2e2;color:#991b1b}.role-badge.student{background:#dbeafe;color:#1e40af}.role-badge.teacher{background:#d1fae5;color:#065f46}.profile-info-grid{display:grid;gap:20px;margin-bottom:32px}@media(min-width:640px){.profile-info-grid{grid-template-columns:repeat(2,1fr)}}@media(min-width:1024px){.profile-info-grid{grid-template-columns:repeat(3,1fr)}}.info-item{background:#f9fafb;border-radius:12px;padding:16px;border:1px solid #e5e7eb}.info-item.full-width{grid-column:1 / -1}.info-label{display:flex;align-items:center;gap:8px;font-weight:500;color:#4b5563;margin-bottom:6px}.info-value{font-size:1.05rem;font-weight:600;color:#111827}.profile-actions{text-align:center;margin-top:32px}.edit-btn{display:inline-flex;align-items:center;gap:10px;padding:14px 32px;background:#3b82f6;color:#fff;border-radius:10px;font-weight:600;text-decoration:none;transition:.2s}.edit-btn:hover{background:#2563eb;transform:translateY(-1px)}.profile-loading,.profile-error{text-align:center;padding:80px 20px}.profile-error button{margin-top:16px;padding:8px 18px;border-radius:8px;border:none;background:#3b82f6;color:#fff;cursor:pointer}@media(max-width:768px){.profile-card{padding:22px}.avatar-circle,.avatar-img{width:110px;height:110px}}.storage-progress{position:relative;width:100%;height:16px;border-radius:999px;overflow:hidden;margin-top:8px}.progress-bg{position:absolute;inset:0;background:#e5e7eb}.progress-used{position:absolute;left:0;top:0;bottom:0;border-radius:999px;transition:width .6s ease}.progress-used.safe{background:#10b981}.progress-used.warning{background:#f59e0b}.progress-used.danger{background:#ef4444}.storage-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px;font-size:1.05rem}.storage-main-text{font-weight:600;color:#111827}.storage-percentage{font-weight:500;color:#4b5563}.storage-progress-bar{position:relative;width:100%;height:24px;background:#e5e7eb;border-radius:999px;overflow:hidden;box-shadow:inset 0 1px 3px #0000001a;margin:8px 0}.progress-bg{position:absolute;inset:0;background:linear-gradient(to right,#e5e7eb,#f3f4f6)}.progress-fill{position:absolute;left:0;top:0;bottom:0;border-radius:999px;transition:width .8s ease-in-out;box-shadow:0 2px 8px #00000026;display:flex;align-items:center;justify-content:center;min-width:40px}.progress-fill.safe{background:linear-gradient(to right,#10b981,#34d399)}.progress-fill.warning{background:linear-gradient(to right,#f59e0b,#fbbf24)}.progress-fill.danger{background:linear-gradient(to right,#ef4444,#f87171)}.progress-text{font-size:.85rem;font-weight:600;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.5);white-space:nowrap}.storage-usage-hint{font-size:.875rem;color:#6b7280;font-style:italic;text-align:center}@media(max-width:768px){.storage-progress-bar{height:20px}.progress-text{font-size:.8rem}}.profile-classes-section{margin-top:35px}.classes-title{display:flex;align-items:center;gap:8px;margin-bottom:16px}.classes-table-wrapper{overflow-x:auto}.classes-table{width:100%;border-collapse:collapse;background:#fff;border-radius:10px;overflow:hidden}.classes-table th,.classes-table td{padding:12px 16px;text-align:left}.classes-table thead{background:#f3f4f6}.classes-table th{font-weight:600}.classes-table tbody tr{border-top:1px solid #e5e7eb}.classes-table tbody tr:hover{background:#f9fafb}*{box-sizing:border-box}.profile-container{min-height:100vh;background-color:#f9fafb;padding:40px 16px;font-family:system-ui,-apple-system,BlinkMacOSystemFont,Segoe UI,Roboto,sans-serif}.profile-header{text-align:center;margin-bottom:48px}.profile-header h1{font-size:36px;font-weight:700;margin:0 0 12px;color:#111827}.profile-header p{color:#6b7280;font-size:18px}.profile-card{background:#fff;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:900px;margin:0 auto;overflow:hidden;border:1px solid #e5e7eb}.profile-form{padding:40px}.avatar-section{display:flex;flex-direction:column;align-items:center;margin-bottom:48px}.avatar-wrapper{position:relative;margin-bottom:16px}.avatar-img,.avatar-placeholder{width:144px;height:144px;border-radius:50%;object-fit:cover;border:4px solid white;box-shadow:0 10px 15px -3px #0000001a}.avatar-placeholder{display:flex;align-items:center;justify-content:center;font-size:64px;font-weight:700;color:#fff;background:linear-gradient(135deg,#6366f1,#a78bfa)}.avatar-upload-label{position:absolute;bottom:8px;right:8px;background:#2563eb;color:#fff;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;border:3px solid white;box-shadow:0 4px 6px -1px #0000001a;transition:all .2s}.avatar-upload-label:hover{background:#1d4ed8;transform:scale(1.1)}.avatar-input{display:none}.avatar-hint{color:#6b7280;font-size:14px;max-width:320px;text-align:center;line-height:1.5}.user-info{text-align:center;margin-bottom:40px}.user-name{font-size:28px;font-weight:600;margin:0 0 12px}.user-badges{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.role-badge,.provider-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;font-size:14px;font-weight:500}.role-badge.admin{background:#f3e8ff;color:#7e22ce}.role-badge.teacher{background:#dbeafe;color:#1d4ed8}.role-badge.student{background:#ecfdf5;color:#065f46}.role-badge.user{background:#f3f4f6;color:#374151}.provider-badge{background:#f3f4f6;color:#4b5563}.form-row{display:grid;grid-template-columns:1fr;gap:28px}@media(min-width:768px){.form-row{grid-template-columns:1fr 1fr}}.form-group{display:flex;flex-direction:column;gap:8px}.form-label{display:flex;align-items:center;gap:8px;font-weight:500;color:#374151;font-size:15px}.form-input,.form-readonly{padding:14px 16px;border:1px solid #d1d5db;border-radius:8px;font-size:16px;transition:all .2s}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.form-input.error{border-color:#ef4444}.form-readonly{background:#f3f4f6;color:#4b5563;cursor:not-allowed}.field-hint{color:#6b7280;font-size:13px;margin-top:4px}.error-message{color:#ef4444;font-size:14px;display:flex;align-items:center;gap:6px;margin-top:6px}.form-error{background:#fee2e2;border:1px solid #fecaca;color:#991b1b;padding:16px 20px;border-radius:8px;display:flex;align-items:center;gap:12px;margin:24px 0}.form-buttons{display:flex;flex-direction:column;gap:16px;margin-top:40px;padding-top:28px;border-top:1px solid #e5e7eb}@media(min-width:640px){.form-buttons{flex-direction:row;justify-content:flex-end}}.btn{padding:14px 28px;border-radius:8px;font-weight:500;font-size:16px;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s;cursor:pointer;border:none}.btn-cancel{background:#e5e7eb;color:#374151}.btn-cancel:hover:not(:disabled){background:#d1d5db}.btn-save{background:#3b82f6;color:#fff}.btn-save:hover:not(:disabled){background:#2563eb}.btn:disabled{opacity:.6;cursor:not-allowed}@media(max-width:640px){.profile-form{padding:28px}.avatar-img,.avatar-placeholder{width:120px;height:120px}.avatar-placeholder{font-size:52px}}.form-grid{display:grid;grid-template-columns:1fr;gap:28px}@media(min-width:768px){.form-grid{grid-template-columns:repeat(2,1fr)}.form-group.full-width{grid-column:1 / -1}}@media(min-width:1024px){.form-grid{grid-template-columns:repeat(3,1fr)}.form-group.full-width{grid-column:1 / -1}}select.form-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;background-size:12px;padding-right:2.5rem}input[type=date].form-input{color:#374151}input[type=date].form-input::-webkit-calendar-picker-indicator{filter:invert(.4);opacity:.6;cursor:pointer}.field-hint.optional{color:#9ca3af;font-size:12.5px;margin-top:4px;font-style:italic}.face-id-section{margin:32px 0;padding:20px;background:#f8fafc;border-radius:12px;border:1px solid #e5e7eb;text-align:center}.face-id-title{font-size:1.25rem;font-weight:600;color:#1e293b;margin-bottom:16px;display:flex;align-items:center;justify-content:center;gap:8px}.face-id-preview{width:180px;height:180px;margin:0 auto 12px;border-radius:12px;overflow:hidden;background:#e5e7eb;box-shadow:0 4px 12px #0000001a}.face-id-img{width:100%;height:100%;object-fit:cover}.face-id-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#6b7280;font-size:.9rem;text-align:center;padding:20px}.face-loading{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.face-id-note{font-size:.875rem;color:#6b7280;margin-top:8px}@media(max-width:768px){.face-id-preview{width:140px;height:140px}.face-id-section{padding:16px;margin:24px 0}}.esl-container{padding:20px;background:#f8fafc;min-height:100vh}.esl-header{display:flex;justify-content:space-between;align-items:center}.esl-title{font-size:22px;font-weight:600}.esl-toolbar{display:flex;gap:10px;margin:16px 0}.esl-input{padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;outline:none}.esl-input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.esl-table-wrapper{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #0000000f}.esl-table{width:100%;border-collapse:collapse}.esl-th{background:#f1f5f9;padding:12px;text-align:left;font-weight:600}.esl-td{padding:12px;border-bottom:1px solid #eee}.esl-row{cursor:pointer;transition:.15s}.esl-row:hover{background:#f9fafb}.esl-empty{text-align:center;padding:16px}.esl-actions{display:flex;gap:6px;margin-top:5px}.esl-btn{padding:6px 10px;font-size:13px;border-radius:6px;border:none;cursor:pointer;transition:.2s}.esl-btn-primary{background:#2563eb;color:#fff}.esl-btn-primary:hover{background:#1d4ed8}.esl-btn-create{background:#16a34a;color:#fff}.esl-btn-create:hover{background:#15803d}.esl-btn-edit{background:#f59e0b;color:#fff}.esl-btn-edit:hover{background:#d97706}.esl-btn-delete{background:#ef4444;color:#fff}.esl-btn-delete:hover{background:#dc2626}.esl-btn-secondary{background:#e5e7eb}.esl-btn-cancel{background:#d1d5db}.esl-pagination{margin-top:16px;display:flex;justify-content:center;gap:12px;align-items:center}.esl-page-btn{padding:6px 10px;border-radius:6px;border:1px solid #ccc;background:#fff;cursor:pointer}.esl-page-btn:disabled{opacity:.5}.esl-page-info{font-size:14px}.esl-modal-overlay{position:fixed;inset:0;background:#0f172a80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center}.esl-modal{width:420px;max-width:90%;background:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:12px;animation:fadeIn .2s ease}.esl-modal-title{font-size:16px;font-weight:600}.esl-subject-list{display:flex;flex-direction:column;gap:8px}.esl-subject-item{display:flex;gap:6px}.esl-modal-actions{display:flex;justify-content:flex-end;gap:10px}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.exam-layout{display:flex;flex-direction:column;height:100vh;background:#f8fafc}.exam-navbar{height:60px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;padding:0 20px}.nav-links{display:flex;gap:20px}.nav-links a{text-decoration:none;color:#6b7280;font-size:14px;padding:6px 10px;border-radius:6px;transition:all .2s ease}.nav-links a:hover{background:#f1f5f9;color:#111827}.nav-links a.active{background:#2563eb;color:#fff;font-weight:500}.exam-content{flex:1;padding:20px;overflow-y:auto}.exam-detail{max-width:1000px;margin:0 auto}.exam-header{background:#fff;padding:20px;border-radius:10px;margin-bottom:20px;border:1px solid #e5e7eb}.exam-name{margin:0 0 10px;font-size:22px;font-weight:600}.exam-info{display:flex;gap:30px}.info-item{display:flex;flex-direction:column}.label{font-size:12px;color:#6b7280}.value{font-weight:500}.subject-section h3{margin-bottom:12px}.subject-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.subject-card{background:#fff;padding:16px;border-radius:10px;border:1px solid #e5e7eb;transition:all .2s ease;cursor:pointer}.subject-card:hover{transform:translateY(-2px);box-shadow:0 6px 14px #00000014}.subject-card h4{margin:0 0 6px}.subject-meta{font-size:12px;color:#6b7280}.exam-student{padding:20px}.exam-student__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.exam-student__actions{display:flex;gap:10px}.exam-student__actions button,.exam-student__import{padding:6px 12px;background:#2563eb;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:.2s}.exam-student__actions button:hover,.exam-student__import:hover{background:#1d4ed8}.exam-student__table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 10px #0000000a}.exam-student__table th,.exam-student__table td{padding:12px;text-align:center;border-bottom:1px solid #f1f5f9}.exam-student__table th{background:#f8fafc;font-weight:700}.exam-student__table tbody tr:hover{background:#f9fafb}.exam-student__table-actions{display:flex;justify-content:center;gap:6px}.btn{padding:5px 10px;font-size:13px;border-radius:6px;border:none;cursor:pointer;transition:.2s}.btn--edit{background:#f59e0b;color:#fff}.btn--edit:hover{background:#d97706}.btn--delete{background:#ef4444;color:#fff}.btn--delete:hover{background:#dc2626}.btn--primary{background:#2563eb;color:#fff}.btn--primary:hover{background:#1d4ed8}.modal,.student-modal{position:fixed;inset:0;z-index:999}.student-modal__overlay{position:absolute;inset:0;background:#0f172a80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.student-modal__content{position:relative;z-index:1;width:360px;max-width:90%;margin:120px auto auto;background:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:12px;animation:studentModalFade .2s ease}.student-modal__content h3{margin:0;font-size:18px;font-weight:600}.student-modal__content input{padding:10px;border:1px solid #d1d5db;border-radius:6px;outline:none}.student-modal__content input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.student-modal__actions{display:flex;justify-content:flex-end;gap:10px}@keyframes studentModalFade{0%{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes modalFade{0%{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.es-container{padding:20px}.es-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.es-title{font-size:20px;font-weight:600}.es-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 10px #0000000a}.es-th{background:#f8fafc;padding:12px;text-align:center;font-weight:600;border-bottom:1px solid #e5e7eb}.es-td{padding:12px;border-bottom:1px solid #f1f5f9}.es-row:hover{background:#f9fafb}.es-empty{text-align:center;padding:16px}.es-actions{display:flex;justify-content:center;align-items:center;margin-top:5px;gap:8px}.es-btn{padding:5px 10px;font-size:13px;border-radius:6px;border:none;cursor:pointer;transition:.2s}.es-btn-primary{background:#2563eb;color:#fff}.es-btn-primary:hover{background:#1d4ed8}.es-btn-edit{background:#f59e0b;color:#fff}.es-btn-edit:hover{background:#d97706}.es-btn-delete{background:#ef4444;color:#fff}.es-btn-delete:hover{background:#dc2626}.es-btn-assign{background:#0d8aad;color:#fff}.es-btn-assign:hover{background:#0b6d89}.es-btn-solution{background:#16a34a;color:#fff}.es-btn-solution:hover{background:#15803d}.es-btn-warning{background:#eab308;color:#fff}.es-btn-cancel{background:#c6c6c6;color:#fff}.es-modal-overlay{position:fixed;inset:0;background:#0006;display:flex;justify-content:center;align-items:center}.es-modal{background:#fff;padding:20px;border-radius:10px;width:340px;display:flex;flex-direction:column;gap:12px}.es-modal-title{font-size:16px;font-weight:600}.es-input{padding:8px;border:1px solid #ccc;border-radius:6px}.es-select{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px}.es-modal-actions{display:flex;justify-content:flex-end;gap:10px}.es-text{font-size:14px}.es-solution-item{padding:6px 0;border-bottom:1px dashed #eee}.es-ml-10{margin-left:10px}.exam-container{padding:20px;background:#f8fafc;min-height:100vh}.exam-title{font-size:24px;font-weight:600;margin-bottom:16px}.exam-toolbar{display:flex;gap:10px;margin-bottom:16px}.exam-toolbar input{padding:8px 12px;border:1px solid #ccc;border-radius:6px;width:250px}.exam-toolbar button{padding:8px 16px;border:none;background:#2563eb;color:#fff;border-radius:6px;cursor:pointer}.exam-toolbar button:hover{background:#1d4ed8}.exam-table-wrapper{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000000d}.exam-table{width:100%;border-collapse:collapse}.exam-table th,.exam-table td{padding:12px;border-bottom:1px solid #eee;text-align:left}.exam-table th{background:#f1f5f9;font-weight:600}.exam-table tr:hover{background:#f9fafb}.text-center{text-align:center}.exam-pagination{margin-top:16px;display:flex;justify-content:center;align-items:center;gap:12px}.exam-pagination button{padding:6px 12px;border:1px solid #ccc;background:#fff;border-radius:6px;cursor:pointer}.exam-pagination button:disabled{opacity:.5;cursor:not-allowed}.exam-header{display:flex;justify-content:space-between;align-items:center}.create-btn{padding:8px 16px;background:#16a34a;color:#fff;border:none;border-radius:6px;cursor:pointer}.create-btn:hover{background:#15803d}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0006;display:flex;justify-content:center;align-items:center}.modal{background:#fff;padding:20px;border-radius:10px;width:400px;display:flex;flex-direction:column;gap:10px}.modal input{padding:8px;border:1px solid #ccc;border-radius:6px}.subject-list{display:flex;flex-direction:column;gap:6px}.add-subject{background:#e5e7eb;border:none;padding:6px;border-radius:6px;cursor:pointer}.sample-actions{display:flex;gap:6px}.sample-actions button{padding:4px 8px;border-radius:4px;border:none;cursor:pointer;background:#e5e7eb}.sample-actions .view{color:#333}.sample-actions .view:hover{background:#f8923e;color:#fff}.sample-actions .edit{color:#333}.sample-actions .edit:hover{background:#3e44f8;color:#fff}.sample-actions .danger{background:#ef4444;color:#fff}.subject-item button{background:#ef4444;color:#fff;border:none;border-radius:4px;cursor:pointer}.modal-overlay{position:fixed;inset:0;background:#0f172a80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:999}.modal{width:420px;max-width:90%;background:#fff;border-radius:12px;padding:20px;box-shadow:0 10px 25px #00000026;display:flex;flex-direction:column;gap:12px;animation:modalFadeIn .2s ease}.modal h3{margin:0;font-size:18px;font-weight:600}.modal input{padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;outline:none;transition:all .2s ease}.modal input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.subject-list{display:flex;flex-direction:column;gap:8px}.subject-item{display:flex;gap:6px}.subject-item input{flex:1}.subject-item button{width:32px;background:#ef4444;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:.2s}.subject-item button:hover{background:#dc2626}.add-subject{background:#e5e7eb;border:none;padding:8px;border-radius:6px;cursor:pointer;transition:.2s}.add-subject:hover{background:#d1d5db}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.modal-actions button{padding:8px 14px;border-radius:6px;border:none;cursor:pointer;transition:.2s}.modal-actions button:first-child{background:#e5e7eb}.modal-actions button:first-child:hover{background:#d1d5db}.modal-actions .primary{background:#2563eb;color:#fff}.modal-actions .primary:hover{background:#1d4ed8}@keyframes modalFadeIn{0%{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.home{font-family:Inter,sans-serif;color:#111827}.navbar{display:flex;justify-content:space-between;padding:16px 60px;position:sticky;top:0;background:#fff;z-index:100;border-bottom:1px solid #eee}.logo{font-weight:700;font-size:20px}.nav-actions button{margin-left:10px}.hero{text-align:center;padding:100px 20px 80px;background:linear-gradient(180deg,#f8fafc,#fff)}.hero h1{font-size:48px;margin-bottom:16px;font-weight:700}.hero p{color:#6b7280;margin-bottom:30px;font-size:18px}.hero-actions{display:flex;justify-content:center;gap:16px}.btn{padding:12px 22px;border-radius:10px;border:none;cursor:pointer;font-weight:500;transition:all .25s ease}.btn.primary{background:#2563eb;color:#fff;box-shadow:0 6px 16px #2563eb4d}.btn.primary:hover{background:#1d4ed8;transform:translateY(-2px)}.btn.outline{border:1px solid #2563eb;color:#2563eb;background:transparent}.btn.outline:hover{background:#eff6ff}.btn.big{font-size:18px;padding:16px 32px}.trust{text-align:center;padding:20px;color:#9ca3af;font-size:14px}.features{padding:80px 20px;text-align:center}.features h2{font-size:28px;margin-bottom:40px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;max-width:1000px;margin:auto}.card{padding:24px;background:#fff;border-radius:16px;border:1px solid #f1f5f9;transition:all .25s ease}.card:hover{transform:translateY(-6px);box-shadow:0 10px 25px #0000000d}.card h3{margin-bottom:10px}.how{padding:80px 20px;text-align:center;background:#f8fafc}.steps{display:flex;justify-content:center;gap:30px;flex-wrap:wrap}.step{width:150px}.step span{display:inline-block;width:45px;height:45px;background:#2563eb;color:#fff;border-radius:50%;line-height:45px;font-weight:700;margin-bottom:10px}.cta{text-align:center;padding:100px 20px;background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff}.cta h2{margin-bottom:20px;font-size:28px}.footer{text-align:center;padding:30px;color:#9ca3af;font-size:14px}.cta{text-align:center;padding:100px 20px;background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;display:flex;flex-direction:column;align-items:center}.student{padding:20px}.student__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.student__actions{display:flex;gap:10px}.table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 10px #0000000a}.table th,.table td{padding:10px;border-bottom:1px solid #eee;text-align:center}.table th{background:#f1f5f9;font-weight:700}.table tr:hover{background:#f9fafb}.table__actions{display:flex;justify-content:center;gap:6px}.scan-btn{padding:6px 12px;font-size:13px;border-radius:6px;border:none;cursor:pointer;transition:.2s;background:#e5e7eb}.scan-btn--primary{background:#2563eb;color:#fff}.scan-btn--primary:hover{background:#1d4ed8}.input{padding:8px;border:1px solid #ccc;border-radius:6px}.student__filter{margin-bottom:12px}.student__actions .disabled,.scan-btn.disabled{background-color:#ccc!important}.student__actions{margin-bottom:10px}.scan-table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;margin-top:16px;font-size:14px}.scan-table thead{background:#f5f6fa}.scan-table th{text-align:left;padding:12px 14px;font-weight:600;color:#333;border-bottom:1px solid #e5e7eb}.scan-table td{padding:12px 14px;border-bottom:1px solid #f0f0f0;color:#444}.scan-table tbody tr:hover{background:#fafafa;transition:.2s}.scan-table tbody tr:nth-child(2n){background:#fcfcfc}.scan-table__actions{display:flex;gap:8px}.scan-btn{padding:6px 10px;border-radius:6px;border:none;cursor:pointer;font-size:13px;transition:.2s}.scan-btn--danger{background:#ef4444;color:#fff}.scan-btn--danger:hover{background:#dc2626}.scan-btn--warning{background:#f59e0b;color:#fff}.scan-btn--warning:hover{background:#d97706}.scan-badge{padding:4px 8px;border-radius:999px;font-size:12px;font-weight:500}.scan-badge--SUCCESS{background:#dcfce7;color:#16a34a}.scan-badge--ERROR{background:#fee2e2;color:#dc2626}.scan-badge--NO_STUDENT,.scan-badge--NO_STUDENT_CODE,.scan-badge--NO_EXAM_CODE,.scan-badge--NO_EXAM{background:#fef3c7;color:#d97706}.scan-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:16px}.scan-pagination button{padding:6px 12px;border-radius:6px;border:1px solid #e5e7eb;background:#fff;cursor:pointer;transition:.2s}.scan-pagination button:hover:not(:disabled){background:#f3f4f6}.scan-pagination button:disabled{opacity:.5;cursor:not-allowed}.scan-pagination span{font-weight:500;color:#333}.scan-ml-10{margin-left:10px}.scan-link{color:#2563eb;cursor:pointer;text-decoration:underline;transition:.2s}.scan-link:hover{color:#1d4ed8;text-decoration:none}.loading-overlay{position:fixed;inset:0;background:#00000073;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:9999;display:flex;align-items:center;justify-content:center}.loading-box{background:var(--bg-primary, #ffffff);padding:32px 40px;border-radius:16px;box-shadow:0 20px 60px #0000004d;text-align:center;min-width:320px;max-width:90vw;transition:transform .3s ease}.dark .loading-box{background:var(--bg-secondary, #1e293b);box-shadow:0 20px 60px #00000080}.loading-box p{margin-top:16px;font-size:1rem;font-weight:500;color:var(--text-secondary, #4b5563)}.dark .loading-box p{color:var(--text-muted, #94a3b8)}.spinner{width:56px;height:56px;border:5px solid #e5e7eb;border-top:5px solid #3b82f6;border-radius:50%;animation:spin 1s cubic-bezier(.4,0,.2,1) infinite;margin:0 auto 16px}.dark .spinner{border-color:#334155;border-top-color:#60a5fa}.progress-circle{position:relative;width:80px;height:80px;margin:0 auto 20px}.progress-circle:before{content:"";position:absolute;inset:0;border-radius:50%;border:6px solid #e5e7eb;border-top-color:#3b82f6;animation:spin 1.2s linear infinite}.dark .progress-circle:before{border-color:#334155;border-top-color:#60a5fa}.progress-circle span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;color:#2563eb;text-shadow:0 1px 3px rgba(0,0,0,.2)}.dark .progress-circle span{color:#60a5fa}.progress-bar{width:280px;height:12px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin:0 auto 12px;box-shadow:inset 0 1px 3px #0000001a}.dark .progress-bar{background:#334155}.progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);transition:width .4s ease-out;box-shadow:0 0 12px #3b82f680;position:relative}.progress-fill:after{content:attr(data-progress) "%";position:absolute;top:-28px;left:50%;transform:translate(-50%);font-size:.9rem;font-weight:600;color:#3b82f6;white-space:nowrap}.dark .progress-fill:after{color:#60a5fa}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:480px){.loading-box{padding:24px 28px;min-width:280px}.progress-circle{width:64px;height:64px}.progress-circle span{font-size:1.3rem}.progress-bar{width:240px}}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5;font-weight:400;color:#111827;background-color:#f3f4f6;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{min-width:320px;min-height:100vh;background:#f3f4f6}a{color:#111827;font-weight:500;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4{font-weight:600;letter-spacing:-.02em}button{font-family:inherit;font-size:.95rem;cursor:pointer}
