@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--font-weight-medium:500;--radius-lg:.5rem;--radius-xl:.75rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.relative{position:relative}.static{position:static}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.end{inset-inline-end:var(--spacing)}.right-0{right:calc(var(--spacing) * 0)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.flex{display:flex}.grid{display:grid}.min-h-screen{min-height:100vh}.w-full{width:100%}.max-w-sm{max-width:var(--container-sm)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-4{gap:calc(var(--spacing) * 4)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white) 20%,transparent)}}.bg-black\/20{background-color:#0003}@supports (color:color-mix(in lab,red,red)){.bg-black\/20{background-color:color-mix(in oklab,var(--color-black) 20%,transparent)}}.bg-white\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.bg-white\/5{background-color:color-mix(in oklab,var(--color-white) 5%,transparent)}}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.pr-11{padding-right:calc(var(--spacing) * 11)}.text-right{text-align:right}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-\[\#888\]{color:#888}.text-white\/80{color:#fffc}@supports (color:color-mix(in lab,red,red)){.text-white\/80{color:color-mix(in oklab,var(--color-white) 80%,transparent)}}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.placeholder\:text-white\/35::placeholder{color:#ffffff59}@supports (color:color-mix(in lab,red,red)){.placeholder\:text-white\/35::placeholder{color:color-mix(in oklab,var(--color-white) 35%,transparent)}}.focus\:border-\[\#646cff\]:focus{border-color:#646cff}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:opacity-60:disabled{opacity:.6}@media(min-width:40rem){.sm\:p-8{padding:calc(var(--spacing) * 8)}}}*,:before,:after{box-sizing:border-box}:root{color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#242424;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}html.dark-mode body,html.dark-mode #root{color:#f1f5f9;background-color:#0f172a}html.dark-mode .exam-selection-container,html.dark-mode .exam-categories-container{background-color:#0f172a}html.dark-mode .selection-header,html.dark-mode .categories-header{background:#1e293b;border-bottom-color:#334155}html.dark-mode .exam-card-selection,html.dark-mode .exam-search-bar{color:#f1f5f9;background:#1e293b;border-color:#334155}html.dark-mode .exam-card-header h3,html.dark-mode .exam-card-description{color:#cbd5e1}html.dark-mode .exam-card-meta{background:#273449}html.dark-mode .meta-item{color:#94a3b8}html.dark-mode .exam-search-input{color:#f1f5f9;background:#273449;border-color:#334155}html.dark-mode .difficulty-chip{color:#94a3b8;background:#273449;border-color:#334155}html.dark-mode .empty-state h2{color:#f1f5f9}a{color:#646cff;-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}a:hover{color:#535bf2}body{min-width:320px;min-height:100vh;margin:0}h1{font-size:3.2em;line-height:1.1}button{cursor:pointer;background-color:#1a1a1a;border:1px solid #0000;border-radius:8px;padding:.6em 1.2em;font-family:inherit;font-size:1em;font-weight:500;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.dashboard-container{flex:1;display:flex;flex-direction:column;background:linear-gradient(135deg,#667eea,#764ba2)}.dashboard-header{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.2)}.header-content{max-width:1400px;margin:0 auto;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box}.app-title{color:#fff;margin:0;font-size:1.5rem;font-weight:600}.btn-admin{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.5rem 1rem;border-radius:8px;font-size:.9rem;cursor:pointer;transition:all .2s}.btn-admin:hover{background:#ffffff4d}.btn-logout{background:#ffffffe6;color:#667eea;border:none;padding:.5rem 1rem;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-logout:hover{background:#fff;transform:translateY(-1px)}.dashboard-main{flex:1;max-width:1200px;margin:0 auto;padding:4rem 2rem;width:100%;box-sizing:border-box}.welcome-section{text-align:center}.welcome-content{margin-bottom:4rem}.welcome-title{color:#fff;font-size:3rem;font-weight:700;margin:0 0 1rem;text-shadow:0 2px 10px rgba(0,0,0,.2)}.welcome-subtitle{color:#ffffffe6;font-size:1.25rem;max-width:700px;margin:0 auto 2rem;line-height:1.6}.btn-get-started{background:#fff;color:#667eea;border:none;padding:1rem 3rem;border-radius:50px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 20px #0003}.btn-get-started:hover{transform:translateY(-2px);box-shadow:0 6px 30px #0000004d}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-top:3rem}.feature-card{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:2rem;color:#fff;transition:all .3s}.feature-card:hover{background:#ffffff26;transform:translateY(-5px)}.feature-icon{font-size:3rem;margin-bottom:1rem}.feature-card h3{margin:0 0 .5rem;font-size:1.25rem}.feature-card p{margin:0;opacity:.9;font-size:.95rem}@media(max-width:1024px){.welcome-title{font-size:2.25rem}.welcome-subtitle{font-size:1.1rem}.dashboard-main{padding:2.5rem 1.5rem}.features-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.welcome-title{font-size:2rem}.welcome-subtitle{font-size:1rem}.dashboard-main{padding:2rem 1rem}.features-grid{grid-template-columns:1fr;gap:1.5rem}.header-content{flex-direction:column;gap:1rem;padding:1rem}.header-actions{width:100%;justify-content:flex-start;gap:.5rem}}@media(max-width:480px){.welcome-title{font-size:1.6rem}.welcome-subtitle{font-size:.95rem}.dashboard-main{padding:1.5rem .75rem}.btn-get-started{width:100%;padding:.9rem 1.5rem}}.avatar-menu-wrap{position:relative}.avatar-btn{display:flex;align-items:center;gap:.4rem;background:#ffffff26;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:.3rem .75rem .3rem .3rem;cursor:pointer;color:#fff;transition:background .2s}.avatar-btn:hover{background:#ffffff40}.avatar-img{width:32px;height:32px;border-radius:50%;object-fit:cover}.avatar-initials{width:32px;height:32px;border-radius:50%;background:#ffffff4d;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:#fff}.avatar-caret{font-size:.6rem;opacity:.7}.avatar-dropdown{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border-radius:12px;box-shadow:0 10px 30px #0000002e;min-width:200px;overflow:hidden;z-index:100;border:1px solid #e2e8f0;animation:dropIn .15s ease}@keyframes dropIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.avatar-dropdown-header{padding:.85rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0}.avatar-dropdown-name{margin:0 0 .15rem;font-weight:600;font-size:.9rem;color:#1e293b}.avatar-dropdown-email{margin:0;font-size:.78rem;color:#64748b;word-break:break-all}.avatar-menu-item{display:block;width:100%;text-align:left;background:none;border:none;border-radius:0;padding:.7rem 1rem;font-size:.9rem;color:#334155;cursor:pointer;transition:background .1s}.avatar-menu-item:hover{background:#f1f5f9;border-color:transparent}.avatar-menu-item.danger{color:#dc2626}.avatar-menu-item.danger:hover{background:#fee2e2}.avatar-dropdown-divider{height:1px;background:#e2e8f0;margin:.25rem 0}.profile-page{flex:1;display:flex;flex-direction:column;background-color:var(--bg-page, #f5f7fa);color:var(--text-main, #1e293b)}.profile-header{background:var(--bg-header, white);border-bottom:1px solid var(--border, #e2e8f0);box-shadow:0 1px 3px #0000000d;position:sticky;top:0;z-index:10}.profile-header-content{max-width:1200px;margin:0 auto;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%;box-sizing:border-box}.profile-header-title{margin:0;font-size:1.25rem;font-weight:600;color:var(--text-main, #1e293b)}.btn-logout-sm{background:#fee2e2;color:#dc2626;border:none;padding:.45rem 1rem;border-radius:8px;font-size:.88rem;font-weight:500;cursor:pointer;transition:background .2s}.btn-logout-sm:hover{background:#fca5a5}.profile-body{flex:1;max-width:1200px;margin:0 auto;padding:2rem;display:grid;grid-template-columns:240px 1fr;gap:2rem;align-items:start;width:100%;box-sizing:border-box}.profile-sidebar{position:sticky;top:72px;background:var(--bg-card, white);border-radius:16px;padding:2rem 1.25rem;box-shadow:0 2px 8px #00000012;display:flex;flex-direction:column;align-items:center;gap:.5rem}.profile-avatar-wrap{margin-bottom:.5rem}.profile-avatar-img{width:80px;height:80px;border-radius:50%;object-fit:cover;border:3px solid #667eea}.profile-avatar-initials{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:700}.profile-display-name{margin:0;font-weight:600;font-size:1rem;text-align:center;color:var(--text-main, #1e293b)}.profile-email{margin:0;font-size:.8rem;color:var(--text-muted, #64748b);text-align:center;word-break:break-all}.profile-tabs{width:100%;margin-top:1.25rem;display:flex;flex-direction:column;gap:.375rem}.profile-tab-btn{width:100%;background:none;border:none;text-align:left;padding:.6rem 1rem;border-radius:8px;font-size:.9rem;color:var(--text-muted, #64748b);cursor:pointer;transition:all .15s}.profile-tab-btn:hover{background:var(--bg-hover, #f1f5f9);color:var(--text-main, #1e293b);border-color:transparent}.profile-tab-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600;border-color:transparent}.profile-content{min-width:0}.profile-section{background:var(--bg-card, white);border-radius:16px;padding:2rem;box-shadow:0 2px 8px #00000012}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.75rem;flex-wrap:wrap;gap:.75rem}.section-header h2{margin:0;font-size:1.35rem;font-weight:700;color:var(--text-main, #1e293b)}.section-count{background:#f1f5f9;color:#64748b;border-radius:20px;padding:.25rem .8rem;font-size:.82rem;font-weight:600}.alert-success{background:#dcfce7;color:#166534;border-radius:8px;padding:.75rem 1rem;margin-bottom:1.25rem;font-size:.9rem}.alert-error{background:#fee2e2;color:#dc2626;border-radius:8px;padding:.75rem 1rem;margin-bottom:1.25rem;font-size:.9rem}.profile-info-list{display:flex;flex-direction:column;gap:1.25rem}.info-row{display:flex;justify-content:space-between;align-items:center;padding:.85rem 1rem;background:var(--bg-row, #f8fafc);border-radius:8px;gap:1rem}.info-label{font-size:.88rem;color:var(--text-muted, #64748b);font-weight:500;flex-shrink:0}.info-value{font-weight:500;color:var(--text-main, #1e293b);text-align:right}.role-badge{background:#ede9fe;color:#7c3aed;border-radius:20px;padding:.2rem .75rem;font-size:.82rem;font-weight:600;text-transform:capitalize}.profile-quick-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:.5rem}.quick-stat{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:1rem;text-align:center;color:#fff;display:flex;flex-direction:column;gap:.25rem}.quick-stat-value{font-size:1.5rem;font-weight:700}.quick-stat-label{font-size:.78rem;opacity:.85}.profile-password-shortcut{background:#f8fafc;border-radius:8px;padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.profile-password-shortcut p{margin:0;color:var(--text-muted, #64748b);font-size:.9rem}.profile-edit-form{display:flex;flex-direction:column;gap:1.25rem}.edit-avatar-row{display:flex;align-items:center;gap:1.5rem}.edit-avatar-preview{flex-shrink:0}.edit-avatar-actions{display:flex;flex-direction:column;gap:.5rem}.form-field{display:flex;flex-direction:column;gap:.4rem}.form-field label{font-size:.88rem;font-weight:500;color:var(--text-muted, #64748b)}.form-field input{padding:.65rem .9rem;border:1.5px solid var(--border, #e2e8f0);border-radius:8px;font-size:.95rem;color:var(--text-main, #1e293b);background:var(--bg-input, white);transition:border-color .2s}.form-field input:focus{outline:none;border-color:#667eea}.form-field input:disabled{background:var(--bg-row, #f8fafc);color:var(--text-muted, #94a3b8);cursor:not-allowed}.hint{font-size:.78rem;color:var(--text-muted, #94a3b8);margin:0}.edit-actions{display:flex;gap:.75rem;flex-wrap:wrap}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.65rem 1.5rem;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:opacity .2s,transform .2s}.btn-primary:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:var(--bg-row, #f1f5f9);color:var(--text-main, #334155);border:1.5px solid var(--border, #e2e8f0);padding:.6rem 1.25rem;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:background .15s}.btn-secondary:hover{background:#e2e8f0}.btn-ghost{background:none;border:none;color:#dc2626;font-size:.88rem;cursor:pointer;padding:.25rem 0}.btn-ghost:hover{text-decoration:underline}.btn-edit{background:none;border:1.5px solid #667eea;color:#667eea;padding:.45rem 1rem;border-radius:8px;font-size:.88rem;font-weight:500;cursor:pointer;transition:all .15s}.btn-edit:hover{background:#667eea;color:#fff}.history-list{display:flex;flex-direction:column;gap:1rem}.history-card{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.25rem 1.5rem;background:var(--bg-row, #f8fafc);border-radius:12px;border:1px solid var(--border, #e2e8f0);flex-wrap:wrap}.history-card-main{flex:1;min-width:0}.history-card-title{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem;flex-wrap:wrap}.history-card-title h3{margin:0;font-size:1rem;color:var(--text-main, #1e293b);font-weight:600}.pass-badge{border-radius:20px;padding:.2rem .75rem;font-size:.78rem;font-weight:700;white-space:nowrap}.pass-badge.pass{background:#dcfce7;color:#166534}.pass-badge.fail{background:#fee2e2;color:#dc2626}.history-card-meta{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.82rem;color:var(--text-muted, #64748b)}.history-card-score{display:flex;flex-direction:column;align-items:center;gap:.5rem;flex-shrink:0}.score-circle-sm{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;border:3px solid}.score-circle-sm.pass{border-color:#16a34a;color:#16a34a;background:#dcfce7}.score-circle-sm.fail{border-color:#dc2626;color:#dc2626;background:#fee2e2}.btn-view-results{background:none;border:1.5px solid #667eea;color:#667eea;padding:.35rem .75rem;border-radius:6px;font-size:.8rem;font-weight:500;cursor:pointer;white-space:nowrap;transition:all .15s}.btn-view-results:hover{background:#667eea;color:#fff}.progress-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1rem;margin-bottom:2rem}.progress-stat-card{background:var(--bg-row, #f8fafc);border-radius:12px;padding:1.25rem 1rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.25rem;border:1px solid var(--border, #e2e8f0)}.progress-stat-icon{font-size:1.5rem;margin-bottom:.25rem}.progress-stat-value{font-size:1.75rem;font-weight:700;color:#667eea}.progress-stat-label{font-size:.8rem;color:var(--text-muted, #64748b);font-weight:500}.progress-chart-section{margin-bottom:2rem}.progress-chart-section h3,.progress-categories h3{margin:0 0 1rem;font-size:1.05rem;font-weight:600;color:var(--text-main, #1e293b)}.score-chart-wrap{background:var(--bg-row, #f8fafc);border-radius:12px;padding:1rem;border:1px solid var(--border, #e2e8f0)}.score-chart-svg{width:100%;height:auto;display:block}.chart-placeholder{text-align:center;color:var(--text-muted, #94a3b8);padding:2rem;font-size:.9rem}.strength-summary{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.25rem}.strength-card{border-radius:10px;padding:.85rem 1.1rem;display:flex;flex-direction:column;gap:.2rem}.strength-card.best{background:#dcfce7;color:#166534}.strength-card.weak{background:#fef3c7;color:#92400e}.strength-card span:first-child{font-size:.78rem;font-weight:600;opacity:.8}.strength-card strong{font-size:1rem}.strength-card span:last-child{font-size:.82rem;opacity:.8}.category-bars{display:flex;flex-direction:column;gap:.85rem}.category-bar-row{display:grid;grid-template-columns:130px 1fr 46px;align-items:center;gap:.75rem}.category-bar-label{font-size:.85rem;color:var(--text-main, #334155);font-weight:500;text-transform:capitalize;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-bar-track{background:var(--bg-row, #f1f5f9);border-radius:20px;height:10px;overflow:hidden}.category-bar-fill{height:100%;border-radius:20px;transition:width .6s ease}.category-bar-fill.good{background:linear-gradient(90deg,#16a34a,#22c55e)}.category-bar-fill.ok{background:linear-gradient(90deg,#d97706,#f59e0b)}.category-bar-fill.poor{background:linear-gradient(90deg,#dc2626,#f87171)}.category-bar-pct{font-size:.82rem;font-weight:600;color:var(--text-muted, #64748b);text-align:right}.settings-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.75rem}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;background:var(--bg-row, #f8fafc);border-radius:10px;border:1px solid var(--border, #e2e8f0);flex-wrap:wrap}.settings-row-info{display:flex;align-items:center;gap:.9rem;flex:1;min-width:0}.settings-icon{font-size:1.35rem;flex-shrink:0}.settings-label{margin:0 0 .15rem;font-weight:600;font-size:.95rem;color:var(--text-main, #1e293b)}.settings-desc{margin:0;font-size:.82rem;color:var(--text-muted, #64748b)}.settings-save-row{display:flex;justify-content:flex-end}.toggle-btn{position:relative;width:48px;height:26px;border-radius:13px;background:#cbd5e1;border:none;cursor:pointer;transition:background .2s;flex-shrink:0;padding:0}.toggle-btn.on{background:#667eea}.toggle-knob{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .2s;display:block}.toggle-btn.on .toggle-knob{transform:translate(22px)}.empty-section{text-align:center;padding:3rem 1rem}.empty-section .empty-icon{font-size:3rem;margin-bottom:1rem}.empty-section p{color:var(--text-muted, #64748b);margin-bottom:1.5rem}@media(max-width:900px){.profile-body{grid-template-columns:1fr;padding:1rem}.profile-sidebar{position:static;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:1rem}.profile-tabs{flex-direction:row;margin-top:0}.profile-tab-btn{width:auto;padding:.45rem .85rem;font-size:.82rem}.profile-quick-stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.profile-header-content{padding:.75rem 1rem;gap:.5rem}.profile-header-title{font-size:1rem}.btn-back{font-size:.85rem;padding:.4rem 0}.profile-section{padding:1.25rem}.history-card{flex-direction:column;align-items:flex-start}.history-card-score{flex-direction:row;align-items:center;gap:1rem}.category-bar-row{grid-template-columns:90px 1fr 40px}.strength-summary{grid-template-columns:1fr}.profile-quick-stats{grid-template-columns:repeat(3,1fr);gap:.5rem}.quick-stat-value{font-size:1.2rem}}@media(max-width:400px){.profile-body{padding:.75rem}.profile-header-content{padding:.6rem .75rem}.profile-header-title{font-size:.9rem}.profile-quick-stats{grid-template-columns:repeat(3,1fr);gap:.35rem}.quick-stat{padding:.65rem}.quick-stat-value{font-size:1rem}.quick-stat-label{font-size:.7rem}.info-row{flex-direction:column;align-items:flex-start;gap:.25rem}.info-value{text-align:left}}html.dark-mode{--bg-page: #0f172a;--bg-card: #1e293b;--bg-header: #1e293b;--bg-row: #273449;--bg-hover: #334155;--bg-input: #273449;--border: #334155;--text-main: #f1f5f9;--text-muted: #94a3b8}.question-form{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a}.question-form h2{margin:0 0 1.5rem;color:#1e293b;font-size:1.75rem}.options-section{margin-bottom:1.5rem}.options-section>label{display:block;margin-bottom:1rem;color:#334155;font-weight:500;font-size:.95rem}.hint{color:#64748b;font-weight:400;font-size:.85rem;margin-left:.5rem}.option-input-group{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;padding:.75rem;background-color:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.option-label{font-weight:600;color:#64748b;min-width:25px;font-size:.95rem}.option-input-group input[type=text]{flex:1;padding:.5rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.9rem;transition:all .2s}.option-input-group input[type=text]:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.checkbox-label{display:flex;align-items:center;gap:.5rem;color:#475569;font-size:.9rem;cursor:pointer;white-space:nowrap;font-weight:500}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#22c55e}.btn-remove{background-color:#fee;color:#991b1b;border:none;width:32px;height:32px;border-radius:6px;font-size:1.5rem;line-height:1;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.btn-remove:hover{background-color:#ef4444;color:#fff}.btn-add-option{background:none;border:2px dashed #cbd5e1;color:#667eea;padding:.75rem 1rem;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s;width:100%}.btn-add-option:hover{border-color:#667eea;background-color:#f8fafc}@media(max-width:768px){.question-form{padding:1.5rem}.option-input-group{flex-wrap:wrap}.option-input-group input[type=text]{flex-basis:100%}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}}.question-manager{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a}.question-manager-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:2rem;gap:1rem}.question-manager-header h2{margin:.5rem 0;color:#1e293b;font-size:1.75rem}.exam-info{color:#64748b;font-size:.9rem;margin-top:.25rem}.questions-count{background-color:#f1f5f9;padding:1rem;border-radius:8px;margin-bottom:1.5rem;color:#475569;font-weight:500}.questions-list{display:flex;flex-direction:column;gap:1.5rem}.question-card{border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;background:#fff;transition:all .2s}.question-card:hover{box-shadow:0 4px 12px #0000001a}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.question-number{font-weight:600;color:#667eea;font-size:.9rem}.question-points{background-color:#f1f5f9;padding:.25rem .75rem;border-radius:20px;font-size:.85rem;color:#475569;font-weight:500}.question-text{color:#1e293b;font-size:1.05rem;line-height:1.6;margin-bottom:1rem;font-weight:500}.question-options{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.option{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background-color:#f8fafc;border-radius:8px;border:2px solid transparent;transition:all .2s}.option.correct{background-color:#dcfce7;border-color:#22c55e}.option-label{font-weight:600;color:#64748b;min-width:25px}.option-text{flex:1;color:#334155}.correct-badge{background-color:#22c55e;color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600}.question-explanation{background-color:#eff6ff;padding:1rem;border-radius:8px;border-left:4px solid #3b82f6;margin-bottom:1rem;color:#1e40af;font-size:.9rem;line-height:1.6}.question-explanation strong{color:#1e3a8a}.question-actions{display:flex;gap:.75rem;padding-top:1rem;border-top:1px solid #e2e8f0}.question-actions button{padding:.5rem 1rem;font-size:.875rem}@media(max-width:768px){.question-manager{padding:1rem}.question-manager-header{flex-direction:column;align-items:stretch}.question-actions{flex-wrap:wrap}.question-actions button{flex:1;min-width:120px}}.exam-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.exam-list-header h2{margin:0;color:#1e293b;font-size:1.75rem}.exam-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.exam-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;transition:all .2s;border:1px solid #e2e8f0}.exam-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.exam-card-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:1rem;gap:1rem}.exam-card-header h3{margin:0;color:#1e293b;font-size:1.25rem;line-height:1.4;flex:1}.status-badge{padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;white-space:nowrap}.status-badge.active{background-color:#dcfce7;color:#166534}.status-badge.inactive{background-color:#fee;color:#991b1b}.exam-description{color:#64748b;line-height:1.6;margin-bottom:1rem}.exam-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;padding:1rem;background-color:#f8fafc;border-radius:8px;margin-bottom:1rem}.meta-item{font-size:.875rem;color:#475569}.meta-item strong{color:#1e293b;font-weight:600}.exam-actions{display:flex;gap:.5rem;flex-wrap:wrap}.exam-actions button{flex:1;min-width:100px;padding:.5rem 1rem;font-size:.875rem}.btn-toggle{background-color:#f59e0b;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-toggle:hover{background-color:#d97706}@media(max-width:1024px){.exam-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}@media(max-width:768px){.exam-grid{grid-template-columns:1fr}.exam-list-header{flex-direction:column;gap:1rem;align-items:stretch}}.exam-form{background:#fff;border-radius:12px;padding:2rem;max-width:800px;margin:0 auto;box-shadow:0 1px 3px #0000001a}.exam-form h2{margin:0 0 1.5rem;color:#1e293b;font-size:1.75rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#334155;font-weight:500;font-size:.95rem}.form-group .required{color:#ef4444}.form-group input,.form-group textarea,.form-group select{width:100%;padding:.75rem;border:1px solid #cbd5e1;border-radius:8px;font-size:.95rem;font-family:inherit;transition:all .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{resize:vertical;min-height:100px}.form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}@media(max-width:768px){.exam-form{padding:1.5rem}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}}.external-api-fetch{background:#fff;border-radius:12px;padding:2rem;max-width:800px;margin:0 auto;box-shadow:0 1px 3px #0000001a}.external-api-fetch h2{margin:0 0 .5rem;color:#1e293b;font-size:1.75rem}.fetch-description{color:#64748b;margin:0 0 2rem;line-height:1.6}.form-hint{display:block;color:#64748b;font-size:.85rem;margin-top:.25rem}.api-info-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:1.5rem;margin-bottom:2rem}.api-info-box h4{margin:0 0 1rem;color:#1e40af;font-size:1rem}.api-info-box ul{margin:0;padding-left:1.5rem;color:#1e40af}.api-info-box li{margin-bottom:.5rem;line-height:1.5}.success-message{background-color:#dcfce7;color:#166534;padding:1rem;border-radius:8px;margin-bottom:1rem;border-left:4px solid #22c55e;font-weight:500}@media(max-width:768px){.external-api-fetch{padding:1.5rem}}.admin-dashboard{flex:1;display:flex;flex-direction:column;background-color:#f5f7fa}.admin-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;text-align:center;box-shadow:0 2px 10px #0000001a;position:relative}.admin-header-top{display:flex;justify-content:flex-start;margin-bottom:.75rem}.btn-back-admin{background:#ffffff26;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.45rem 1rem;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:background .2s,border-color .2s}.btn-back-admin:hover{background:#ffffff47;border-color:#fff9}.admin-header h1{margin:0;font-size:2rem;font-weight:600}.admin-header p{margin:.5rem 0 0;opacity:.9}.admin-nav{background:#fff;padding:1rem 2rem;display:flex;gap:1rem;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000d}.admin-nav button{padding:.75rem 1.5rem;border:none;background:none;color:#64748b;font-size:.95rem;font-weight:500;border-radius:8px;cursor:pointer;transition:all .2s;position:relative}.admin-nav button:hover{background-color:#f1f5f9;color:#475569}.admin-nav button.active{background-color:#667eea;color:#fff}.nav-breadcrumb{display:flex;align-items:center;color:#94a3b8;font-size:.9rem;font-weight:500;padding:0 .5rem;pointer-events:none;-webkit-user-select:none;user-select:none}.admin-content{flex:1;padding:2rem;max-width:1400px;margin:0 auto;width:100%;box-sizing:border-box}.loading{text-align:center;padding:3rem;color:#64748b;font-size:1.1rem}.error-message{background-color:#fee;color:#c33;padding:1rem;border-radius:8px;margin-bottom:1rem;border-left:4px solid #c33}.empty-state{text-align:center;padding:4rem 2rem;color:#64748b}.empty-state p{font-size:1.1rem;margin-bottom:1.5rem}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn-secondary{background:#fff;color:#475569;border:1px solid #cbd5e1;padding:.75rem 1.5rem;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-secondary:hover{background-color:#f8fafc;border-color:#94a3b8}.btn-danger{background-color:#ef4444;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-danger:hover{background-color:#dc2626}@media(max-width:1024px){.admin-content{padding:1.5rem}}@media(max-width:768px){.admin-header{padding:1.5rem 1rem}.admin-header h1{font-size:1.5rem}.admin-nav{padding:.75rem 1rem;gap:.5rem;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}.admin-nav button{padding:.6rem .85rem;font-size:.85rem;white-space:nowrap;flex-shrink:0}.admin-content{padding:1rem}}@media(max-width:480px){.admin-header{padding:1rem .75rem}.admin-header h1{font-size:1.25rem}.admin-nav{padding:.5rem .75rem}.admin-content{padding:.75rem}}.exam-categories-container{flex:1;display:flex;flex-direction:column;background-color:#f5f7fa}.categories-header{background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000d}.header-actions{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;justify-content:flex-end}.btn-admin{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.5rem 1rem;border-radius:8px;font-size:.9rem;cursor:pointer;transition:all .2s}.btn-admin:hover{opacity:.9}.categories-main{flex:1;max-width:1400px;margin:0 auto;padding:3rem 2rem;width:100%;box-sizing:border-box}.categories-subtitle{text-align:center;color:#64748b;font-size:1.1rem;margin-bottom:3rem}.categories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem}.category-card{background:#fff;border-radius:16px;padding:2rem;cursor:pointer;transition:all .3s;border:2px solid transparent;box-shadow:0 2px 8px #00000014}.category-card:hover{transform:translateY(-5px);box-shadow:0 8px 24px #00000026}.category-icon{width:80px;height:80px;border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:2.5rem;margin-bottom:1.5rem;box-shadow:0 4px 12px #0000001a}.category-name{color:#1e293b;font-size:1.5rem;margin:0 0 .75rem;font-weight:600}.category-description{color:#64748b;margin:0 0 1.5rem;line-height:1.5}.category-tags{display:flex;flex-wrap:wrap;gap:.5rem}.category-tag{background-color:#f1f5f9;color:#475569;padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:500}.btn-back{background:none;border:none;color:#667eea;font-size:.95rem;font-weight:500;cursor:pointer;padding:.5rem 0;transition:all .2s}.btn-back:hover{color:#764ba2;text-decoration:underline}@media(max-width:1024px){.categories-main{padding:2rem 1.5rem}}@media(max-width:768px){.categories-main{padding:1.5rem 1rem}.categories-grid{grid-template-columns:1fr}.header-content{flex-direction:column;align-items:flex-start;padding:.75rem 1rem}.header-actions{width:100%;justify-content:flex-start;gap:.5rem}.header-left{flex-direction:column;align-items:flex-start;gap:.5rem}.header-left h1{font-size:1.35rem}}@media(max-width:480px){.categories-main{padding:1rem .75rem}.category-card{padding:1.25rem}.category-icon{width:60px;height:60px;font-size:1.75rem}.categories-subtitle{font-size:.95rem;margin-bottom:1.5rem}}.exam-selection-container{flex:1;display:flex;flex-direction:column;background-color:#f5f7fa}.selection-header{background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000d}.header-content{max-width:1400px;margin:0 auto;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%;box-sizing:border-box}.header-left{display:flex;align-items:center;gap:1.5rem}.header-left h1{margin:0;color:#1e293b;font-size:1.75rem}.selection-main{flex:1;max-width:1400px;margin:0 auto;padding:3rem 2rem;width:100%;box-sizing:border-box}.selection-subtitle{text-align:center;color:#64748b;font-size:1.1rem;margin-bottom:2rem}.exams-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem}.exam-card-selection{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 8px #00000014;transition:all .3s;display:flex;flex-direction:column}.exam-card-selection:hover{box-shadow:0 8px 24px #00000026;transform:translateY(-3px)}.exam-card-header{display:flex;justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1rem}.exam-card-header h3{margin:0;color:#1e293b;font-size:1.35rem;flex:1}.difficulty-badge{padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;white-space:nowrap}.difficulty-badge.easy{background-color:#dcfce7;color:#166534}.difficulty-badge.medium{background-color:#fef3c7;color:#92400e}.difficulty-badge.hard{background-color:#fee2e2;color:#991b1b}.exam-card-description{color:#64748b;line-height:1.6;margin-bottom:1.5rem;flex:1}.exam-card-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;padding:1rem;background-color:#f8fafc;border-radius:8px;margin-bottom:1.5rem}.meta-item{display:flex;align-items:center;gap:.5rem;color:#475569;font-size:.9rem}.meta-icon{font-size:1.2rem}.btn-start-exam{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;width:100%}.btn-start-exam:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.empty-state,.error-state{text-align:center;padding:4rem 2rem}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h2{color:#1e293b;margin-bottom:.5rem}.empty-state p,.error-state p{color:#64748b;margin-bottom:2rem}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.75rem 2rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}@media(max-width:1024px){.selection-main{padding:2rem 1.5rem}}@media(max-width:768px){.selection-main{padding:1.5rem 1rem}.exams-grid,.exam-card-meta{grid-template-columns:1fr}.header-left h1{font-size:1.35rem}.header-left{flex-direction:column;align-items:flex-start;gap:.4rem}}@media(max-width:480px){.selection-main{padding:1rem .75rem}.exam-card-selection{padding:1.25rem}.selection-subtitle{font-size:.95rem}}.exam-search-bar{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;margin-bottom:1.75rem;padding:1.25rem 1.5rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000012}.exam-search-input-wrap{position:relative;flex:1;min-width:220px}.exam-search-icon{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);font-size:1rem;pointer-events:none}.exam-search-input{width:100%;padding:.65rem 2.5rem;border:1.5px solid #e2e8f0;border-radius:8px;font-size:.95rem;color:#1e293b;background:#f8fafc;transition:border-color .2s;box-sizing:border-box}.exam-search-input:focus{outline:none;border-color:#667eea;background:#fff}.exam-search-clear{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:none;border:none;color:#94a3b8;font-size:.85rem;cursor:pointer;padding:.1rem .25rem;line-height:1;border-radius:4px}.exam-search-clear:hover{color:#475569;border-color:transparent}.exam-difficulty-filters{display:flex;gap:.5rem;flex-wrap:wrap}.difficulty-chip{padding:.45rem 1rem;border-radius:20px;font-size:.82rem;font-weight:600;cursor:pointer;border:1.5px solid #e2e8f0;background:#f8fafc;color:#475569;transition:all .15s}.difficulty-chip:hover{border-color:#667eea;color:#667eea}.difficulty-chip.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:transparent;color:#fff}.difficulty-chip.easy.active{background:#16a34a;border-color:transparent;color:#fff}.difficulty-chip.medium.active{background:#d97706;border-color:transparent;color:#fff}.difficulty-chip.hard.active{background:#dc2626;border-color:transparent;color:#fff}@media(max-width:600px){.exam-search-bar{flex-direction:column;align-items:stretch}.exam-difficulty-filters{justify-content:center}}.exam-taking-container{flex:1;background-color:#f5f7fa;display:flex;flex-direction:column}.exam-header{background:#fff;border-bottom:2px solid #e2e8f0;padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px #0000000d}.exam-info h1{margin:0 0 .25rem;color:#1e293b;font-size:1.5rem}.question-progress{color:#64748b;font-size:.9rem;font-weight:500}.exam-timer{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background-color:#f1f5f9;border-radius:50px}.timer-icon{font-size:1.5rem}.timer-value{font-size:1.25rem;font-weight:600;color:#1e293b;font-variant-numeric:tabular-nums}.timer-value.warning{color:#ef4444;animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.exam-content{display:grid;grid-template-columns:250px 1fr;gap:2rem;max-width:1400px;margin:0 auto;padding:2rem;flex:1;width:100%;box-sizing:border-box}.question-palette{background:#fff;border-radius:12px;padding:1.5rem;height:fit-content;position:sticky;top:100px;box-shadow:0 2px 8px #00000014}.question-palette h3{margin:0 0 1rem;color:#1e293b;font-size:1.1rem}.palette-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem;margin-bottom:1.5rem}.palette-btn{aspect-ratio:1;border:2px solid #e2e8f0;background:#fff;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s;color:#64748b}.palette-btn:hover{border-color:#667eea;background-color:#f8fafc}.palette-btn.active{background:#667eea;color:#fff;border-color:#667eea}.palette-btn.answered{background-color:#dcfce7;border-color:#22c55e;color:#166534}.palette-btn.answered.active{background-color:#22c55e;color:#fff}.palette-legend{display:flex;flex-direction:column;gap:.5rem;padding-top:1rem;border-top:1px solid #e2e8f0}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#64748b}.legend-dot{width:20px;height:20px;border:2px solid #e2e8f0;border-radius:4px;background:#fff}.legend-dot.answered{background-color:#dcfce7;border-color:#22c55e}.question-area{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 8px #00000014;display:flex;flex-direction:column}.question-content{flex:1;margin-bottom:2rem}.question-text{color:#1e293b;font-size:1.25rem;line-height:1.6;margin:0 0 2rem;font-weight:500}.options-list{display:flex;flex-direction:column;gap:1rem}.option-label{display:flex;align-items:center;gap:1rem;padding:1.25rem;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .2s}.option-label:hover{border-color:#cbd5e1;background-color:#f8fafc}.option-label.selected{border-color:#667eea;background-color:#eff6ff}.option-label input[type=radio]{width:20px;height:20px;cursor:pointer;accent-color:#667eea}.option-letter{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background-color:#f1f5f9;border-radius:6px;font-weight:600;color:#475569;flex-shrink:0}.option-label.selected .option-letter{background-color:#667eea;color:#fff}.option-text{flex:1;color:#334155;font-size:1rem;line-height:1.5}.question-navigation{display:flex;justify-content:space-between;align-items:center;padding-top:2rem;border-top:1px solid #e2e8f0}.nav-info{color:#64748b;font-weight:500}.btn-nav{padding:.75rem 1.5rem;border:1px solid #cbd5e1;background:#fff;color:#475569;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-nav:hover:not(:disabled){background-color:#f8fafc;border-color:#94a3b8}.btn-nav:disabled{opacity:.5;cursor:not-allowed}.btn-submit{padding:.75rem 2rem;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-submit:hover{transform:translateY(-1px);box-shadow:0 4px 12px #22c55e66}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;padding:2rem;max-width:500px;width:90%}.modal-content h3{margin:0 0 1rem;color:#1e293b}.modal-content p{color:#64748b;line-height:1.6;margin-bottom:2rem}.modal-actions{display:flex;gap:1rem;justify-content:flex-end}.btn-secondary{padding:.75rem 1.5rem;background:#fff;color:#475569;border:1px solid #cbd5e1;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.btn-secondary:hover{background-color:#f8fafc}.btn-danger{padding:.75rem 1.5rem;background:#ef4444;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.btn-danger:hover{background:#dc2626}@media(max-width:1024px){.exam-content{grid-template-columns:1fr;padding:1.5rem}.question-palette{position:static}.palette-grid{grid-template-columns:repeat(10,1fr)}}@media(max-width:768px){.exam-header{flex-direction:column;gap:1rem;align-items:flex-start;padding:1rem}.exam-info h1{font-size:1.15rem}.exam-content{padding:1rem;gap:1rem}.question-area{padding:1.25rem}.question-text{font-size:1.05rem}.palette-grid{grid-template-columns:repeat(5,1fr)}.question-navigation{flex-direction:column;gap:1rem}.btn-nav,.btn-submit{width:100%}}@media(max-width:480px){.exam-header{padding:.75rem}.exam-timer{padding:.5rem 1rem}.timer-value{font-size:1rem}.exam-content{padding:.75rem}.question-area{padding:1rem}.option-label{padding:.9rem;gap:.75rem}.option-letter{width:26px;height:26px}.palette-grid{grid-template-columns:repeat(6,1fr)}}.exam-results-container{flex:1;background-color:#f5f7fa;padding:3rem 2rem;box-sizing:border-box}.results-card{max-width:900px;margin:0 auto;background:#fff;border-radius:16px;box-shadow:0 4px 16px #0000001a;overflow:hidden;width:100%;box-sizing:border-box}.results-header{padding:3rem 2rem;text-align:center;color:#fff}.results-header.passed{background:linear-gradient(135deg,#22c55e,#16a34a)}.results-header.failed{background:linear-gradient(135deg,#f59e0b,#d97706)}.result-icon{font-size:4rem;margin-bottom:1rem}.results-header h1{margin:0 0 .5rem;font-size:2.5rem;font-weight:700}.results-header p{margin:0;font-size:1.1rem;opacity:.95}.score-display{padding:3rem 2rem;display:flex;justify-content:center}.score-circle{position:relative;width:200px;height:200px}.score-circle svg{transform:rotate(-90deg)}.score-text{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.score-number{font-size:3rem;font-weight:700;color:#1e293b}.results-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1.5rem;padding:2rem;background-color:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.summary-item{display:flex;flex-direction:column;align-items:center;text-align:center}.summary-label{color:#64748b;font-size:.9rem;margin-bottom:.5rem}.summary-value{font-size:2rem;font-weight:700;color:#1e293b}.summary-value.correct{color:#22c55e}.summary-value.wrong{color:#ef4444}.btn-toggle-answers{margin:2rem;padding:1rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;width:calc(100% - 4rem)}.btn-toggle-answers:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.detailed-answers{padding:2rem;border-top:1px solid #e2e8f0}.detailed-answers h3{margin:0 0 2rem;color:#1e293b;font-size:1.5rem}.answer-review-card{background:#f8fafc;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;border:1px solid #e2e8f0}.review-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.review-number{font-weight:600;color:#475569}.review-badge{padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600}.review-badge.correct{background-color:#dcfce7;color:#166534}.review-badge.incorrect{background-color:#fee2e2;color:#991b1b}.review-question{color:#1e293b;font-size:1.1rem;font-weight:500;line-height:1.6;margin-bottom:1rem}.review-options{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.review-option{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#fff;border:2px solid #e2e8f0;border-radius:8px}.review-option.correct-answer{border-color:#22c55e;background-color:#f0fdf4}.review-option.wrong-answer{border-color:#ef4444;background-color:#fef2f2}.review-option .option-letter{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background-color:#f1f5f9;border-radius:6px;font-weight:600;color:#475569;flex-shrink:0}.review-option.correct-answer .option-letter{background-color:#22c55e;color:#fff}.review-option.wrong-answer .option-letter{background-color:#ef4444;color:#fff}.review-option .option-text{flex:1;color:#334155}.user-badge{padding:.25rem .5rem;background-color:#dbeafe;color:#1e40af;border-radius:4px;font-size:.75rem;font-weight:600}.correct-badge{color:#22c55e;font-size:1.25rem;font-weight:700}.explanation-box{background:#eff6ff;padding:1rem;border-radius:8px;border-left:4px solid #3b82f6;color:#1e40af;font-size:.95rem;line-height:1.6}.explanation-box strong{color:#1e3a8a}.results-actions{display:flex;gap:1rem;padding:2rem;justify-content:center;flex-wrap:wrap}.results-actions button{flex:1;min-width:150px}@media(max-width:1024px){.exam-results-container{padding:2rem 1.5rem}.results-header h1{font-size:2rem}}@media(max-width:768px){.exam-results-container{padding:1.5rem 1rem}.results-header{padding:2rem 1.25rem}.results-header h1{font-size:2rem}.result-icon{font-size:3rem}.score-circle{width:150px;height:150px}.score-number{font-size:2rem}.results-summary{grid-template-columns:repeat(2,1fr)}.summary-value{font-size:1.5rem}.results-actions{flex-direction:column}.results-actions button{width:100%}}@media(max-width:480px){.exam-results-container{padding:1rem .5rem}.results-header{padding:1.5rem 1rem}.results-header h1{font-size:1.5rem}.score-circle{width:120px;height:120px}.score-number{font-size:1.5rem}.results-summary{grid-template-columns:repeat(2,1fr);gap:.75rem;padding:1rem}.btn-toggle-answers{margin:1rem;width:calc(100% - 2rem)}.detailed-answers{padding:1rem}}.app-footer{background:#1e293b;color:#94a3b8;padding:2rem 1.5rem 1rem;border-top:3px solid #667eea;flex-shrink:0}.footer-inner{max-width:1280px;margin:0 auto;display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;flex-wrap:wrap;padding-bottom:1.5rem;border-bottom:1px solid #334155;margin-bottom:1rem}.footer-brand{display:flex;flex-direction:column;gap:.4rem}.footer-logo{font-size:1.25rem;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.footer-tagline{margin:0;font-size:.85rem;color:#64748b}.footer-nav{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;align-items:center}.footer-link{color:#94a3b8;text-decoration:none;font-size:.9rem;font-weight:500;transition:color .2s}.footer-link:hover{color:#667eea}.footer-bottom{max-width:1280px;margin:0 auto}.footer-copyright{margin:0;font-size:.8rem;color:#64748b;text-align:center}html.dark-mode .app-footer{background:#0f172a;border-top-color:#667eea}html.dark-mode .footer-inner{border-bottom-color:#1e293b}@media(max-width:768px){.app-footer{padding:1.5rem 1rem .75rem}.footer-inner{flex-direction:column;align-items:stretch;gap:1rem}.footer-nav{gap:.5rem 1rem}}@media(max-width:480px){.footer-nav{gap:.4rem .75rem}.footer-link{font-size:.82rem}.footer-logo{font-size:1.1rem}}#root{width:100%;min-height:100vh;display:flex;flex-direction:column}.app-content{flex:1;display:flex;flex-direction:column}.auth-page{flex:1;display:flex;align-items:center;justify-content:center;padding:1rem}.auth-card{width:100%;max-width:380px;padding:2rem;border-radius:12px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px #0003}.auth-card h1{margin:0 0 .25rem;font-size:1.75rem}.auth-subtitle{margin:0 0 1.5rem;color:#888;font-size:.95rem}.auth-error{padding:.75rem;margin-bottom:1rem;border-radius:8px;background:#dc354533;color:#f87171;font-size:.9rem}.auth-card form{display:flex;flex-direction:column;gap:1rem}.auth-card label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem;color:#fffc}.auth-card input{padding:.65rem .85rem;border-radius:8px;border:1px solid rgba(255,255,255,.2);background:#0003;color:inherit;font-size:1rem}.auth-card input::placeholder{color:#ffffff59}.auth-card input:focus{outline:none;border-color:#646cff}.auth-card button{margin-top:.5rem;padding:.75rem;border-radius:8px;border:none;background:#646cff;color:#fff;font-size:1rem;cursor:pointer}.auth-card button:hover:not(:disabled){background:#535bf2}.auth-card button:disabled{opacity:.7;cursor:not-allowed}.auth-switch{margin:1.25rem 0 0;font-size:.9rem;color:#888}.auth-switch a{color:#646cff}.home-page{flex:1;max-width:1280px;width:100%;margin:0 auto;padding:1.5rem;box-sizing:border-box}.home-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.1)}.home-header h1{margin:0;font-size:1.5rem}.home-header nav{display:flex;align-items:center;gap:1rem}.home-header nav a{color:#646cff}.user-name{color:#fffc;font-size:.95rem}.btn-logout{padding:.5rem 1rem;border-radius:8px;border:1px solid rgba(255,255,255,.2);background:transparent;color:inherit;cursor:pointer}.btn-logout:hover{border-color:#646cff;color:#646cff}.home-main{padding:1rem 0}.dashboard-placeholder{padding:2rem;text-align:center}.dashboard-placeholder h2{margin-bottom:.5rem}.auth-title{font-size:1.75rem;font-weight:700;line-height:1.2;margin:0 0 .25rem}.auth-submit{background-color:#646cff;border:none;padding:.75rem;color:#fff;width:100%;cursor:pointer}.auth-submit:hover:not(:disabled){background-color:#535bf2}.auth-submit:disabled{opacity:.7;cursor:not-allowed}.auth-toggle{background:transparent;border:none;outline:none;box-shadow:none;padding:0 .75rem;cursor:pointer;color:#ffffff80}.auth-toggle:hover,.auth-toggle:focus,.auth-toggle:focus-visible{color:#ffffffe6;border:none;outline:none;box-shadow:none}.auth-success{padding:.75rem;margin-bottom:1rem;border-radius:8px;background:#22c55e33;color:#4ade80;font-size:.9rem}@media(prefers-color-scheme:light){.auth-card{background:#00000008;border-color:#00000014}.auth-card input{background:#fff;border-color:#00000026;color:#213547}.auth-error{background:#dc35451f;color:#b91c1c}.home-header{border-bottom-color:#0000001a}.user-name{color:#213547}.btn-logout{border-color:#0003;color:#213547}.btn-logout:hover{border-color:#535bf2;color:#535bf2}}@media(max-width:768px){.home-page{padding:1rem}.home-header{flex-direction:column;align-items:flex-start}.home-header h1{font-size:1.25rem}.home-header nav{width:100%;flex-wrap:wrap;gap:.75rem}.auth-card{padding:1.5rem}}@media(max-width:480px){.home-header nav{flex-direction:column;align-items:flex-start;gap:.5rem}.auth-card{padding:1.25rem}.auth-card h1{font-size:1.4rem}}
