body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f4f6f8}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:#f4f6f8}.auth-card{width:100%;max-width:420px;padding:32px;background:#fff;border-radius:14px;box-shadow:0 12px 35px #0f172a14}.auth-brand{display:inline-flex;margin-bottom:18px;padding:8px 12px;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:14px;font-weight:800;letter-spacing:.3px}.auth-card h1{margin:0 0 8px;color:#111827;font-size:30px}.auth-card p{margin:0 0 24px;color:#6b7280}.auth-form{display:flex;flex-direction:column;gap:14px}.auth-form input,.password-field input{width:100%;padding:13px 14px;border:1px solid #d1d5db;border-radius:10px;font-size:15px;outline:none}.auth-form input:focus,.password-field input:focus{border-color:#2563eb}.password-group{display:flex;flex-direction:column;gap:8px}.password-field{position:relative}.password-field input{padding-right:48px}.password-toggle{position:absolute;top:50%;right:14px;display:flex;align-items:center;justify-content:center;transform:translateY(-50%);border:none;background:transparent;color:#64748b;font-size:17px;cursor:pointer}.password-toggle:hover{color:#2563eb}.password-hint{padding:10px 12px;border:1px solid #fde68a;border-radius:10px;background:#fffbeb;color:#92400e;font-size:13px;line-height:1.4;font-weight:600}.auth-form>button{margin-top:8px;padding:13px 14px;border:none;border-radius:10px;background:#2563eb;color:#fff;font-size:15px;font-weight:700;cursor:pointer}.auth-form>button:hover{background:#1d4ed8}.auth-link{margin-top:20px!important;font-size:14px;text-align:center}.auth-link a{color:#2563eb;font-weight:700;text-decoration:none}@media(max-width:480px){.auth-card{padding:24px}.auth-card h1{font-size:26px}}.success-hint{padding:10px 12px;border:1px solid #bbf7d0;border-radius:10px;background:#f0fdf4;color:#166534;font-size:13px;line-height:1.4;font-weight:600}*{box-sizing:border-box}:root{--sidebar-open: 268px;--sidebar-closed: 82px;--sidebar-bg: #07111f;--sidebar-bg-2: #0d1a2c;--sidebar-border: rgba(148,163,184,.18);--sidebar-active: #2563eb;--page-bg: #f3f6fb}.app-layout{min-height:100vh;background:var(--page-bg)}.app-sidebar{width:var(--sidebar-open);height:100vh;position:fixed;inset:0 auto 0 0;z-index:999;padding:12px;background:radial-gradient(circle at 20% 0%,rgba(37,99,235,.22),transparent 32%),linear-gradient(180deg,var(--sidebar-bg),var(--sidebar-bg-2));border-right:1px solid var(--sidebar-border);box-shadow:18px 0 45px #0f172a29;transition:width .25s ease}.app-layout.sidebar-collapsed .app-sidebar{width:var(--sidebar-closed)}.app-sidebar-inner{height:100%;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.app-sidebar-top{min-height:0;display:flex;flex-direction:column}.app-sidebar-brand{padding:6px 4px 11px;margin-bottom:6px;border-bottom:1px solid rgba(148,163,184,.14);display:flex;align-items:center;justify-content:space-between;gap:10px}.app-sidebar-title{min-width:0}.app-sidebar-brand h2{margin:0;color:#fff;font-size:22px;line-height:1;font-weight:950;letter-spacing:-.7px;white-space:nowrap}.app-sidebar-brand span{display:block;margin-top:7px;color:#96a8c5;font-size:10px;font-weight:900;letter-spacing:1.1px;text-transform:uppercase;white-space:nowrap}.app-sidebar-toggle{width:42px;min-width:42px;height:42px;border:1px solid rgba(148,163,184,.18);border-radius:15px;display:grid;place-items:center;background:#94a3b824;color:#fff;cursor:pointer;font-size:16px;transition:.2s ease}.app-sidebar-toggle:hover{background:var(--sidebar-active);transform:translateY(-1px)}.app-layout.sidebar-collapsed .app-sidebar-brand{justify-content:center;padding:6px 0 11px}.app-sidebar-nav{flex:1;overflow:auto;padding:3px 0 10px;display:flex;flex-direction:column;gap:4px;scrollbar-width:none}.app-sidebar-nav::-webkit-scrollbar{width:0;height:0}.app-sidebar-nav a{min-height:39px;padding:0 11px;border-radius:13px;display:flex;align-items:center;gap:12px;color:#d7e6ff;font-size:14px;font-weight:850;text-decoration:none;border:1px solid transparent;transition:.18s ease;position:relative}.app-sidebar-nav a:hover{background:#ffffff14;border-color:#94a3b821;transform:translate(2px)}.app-sidebar-nav a.active{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 12px 25px #2563eb40}.app-sidebar-nav svg,.app-sidebar-logout svg{min-width:18px;font-size:17px}.nav-icon{display:grid;place-items:center;min-width:22px}.nav-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-layout.sidebar-collapsed .app-sidebar-nav a{justify-content:center;padding:0;min-height:42px;gap:0}.app-layout.sidebar-collapsed .nav-icon{min-width:42px;height:42px;border-radius:13px}.app-layout.sidebar-collapsed .app-sidebar-nav a:hover{transform:translate(0)}.app-sidebar-logout{width:100%;min-height:42px;border:1px solid rgba(248,113,113,.22);border-radius:15px;display:flex;align-items:center;justify-content:center;gap:12px;background:#ef44441a;color:#fecaca;font-size:14px;font-weight:900;cursor:pointer}.app-sidebar-logout:hover{background:#ef44442e;color:#fff}.app-layout-content{min-height:100vh;margin-left:var(--sidebar-open);transition:margin-left .25s ease}.app-layout.sidebar-collapsed .app-layout-content{margin-left:var(--sidebar-closed)}.mobile-sidebar-open-btn,.sidebar-mobile-backdrop{display:none}@media(max-height:760px)and (min-width:761px){.app-sidebar{padding:10px}.app-sidebar-brand{padding-bottom:8px;margin-bottom:4px}.app-sidebar-brand h2{font-size:20px}.app-sidebar-nav{gap:2px}.app-sidebar-nav a{min-height:36px;font-size:13px;border-radius:12px}.app-sidebar-toggle,.app-sidebar-logout{min-height:38px;height:38px}}@media(max-width:760px){:root{--sidebar-open: 280px}.app-sidebar{width:var(--sidebar-open);transform:translate(-105%);transition:transform .25s ease}.app-layout.mobile-sidebar-open .app-sidebar{transform:translate(0)}.app-layout-content,.app-layout.sidebar-collapsed .app-layout-content{margin-left:0}.mobile-sidebar-open-btn{margin:14px 14px 0;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:14px;padding:10px 14px;background:#0f172a;color:#fff;font-weight:900;cursor:pointer}.sidebar-mobile-backdrop{display:block;position:fixed;inset:0;z-index:998;background:#0f172a7a;border:0}.app-layout.sidebar-collapsed .app-sidebar{width:var(--sidebar-open)}.app-layout.sidebar-collapsed .app-sidebar-nav a{justify-content:flex-start;padding:0 12px;gap:12px}}.app-sidebar-foot{display:flex;align-items:center;gap:10px;padding:10px;border-radius:15px;background:#94a3b81a;border:1px solid rgba(148,163,184,.16)}.app-sidebar-profile{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.app-sidebar-avatar{display:grid;place-items:center;min-width:34px;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font-size:20px}.app-sidebar-username{color:#e2e8f0;font-weight:850;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-sidebar-logout-btn{display:grid;place-items:center;min-width:38px;width:38px;height:38px;border-radius:12px;border:1px solid rgba(248,113,113,.25);background:#ef44441f;color:#fecaca;cursor:pointer;font-size:16px;transition:.18s ease}.app-sidebar-logout-btn:hover{background:#ef444438;color:#fff}.app-layout.sidebar-collapsed .app-sidebar-foot{flex-direction:column;gap:8px;padding:8px}.app-sidebar-profile-btn{background:transparent;border:none;cursor:pointer;text-align:left;width:100%;display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px;color:inherit;font:inherit;transition:background .18s ease}.app-sidebar-profile-btn:hover{background:#ffffff14}.profile-modal-overlay{position:fixed;inset:0;background:#0f172a8c;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.profile-modal{width:100%;max-width:420px;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0f172a59;overflow:hidden;animation:profileModalIn .18s ease}@keyframes profileModalIn{0%{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}.profile-modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:linear-gradient(135deg,#1d4ed8,#2563eb);color:#fff}.profile-modal-title{display:flex;align-items:center;gap:12px}.profile-modal-title h3{margin:0;font-size:18px}.profile-modal-avatar{font-size:34px;display:flex}.profile-modal-role{font-size:12px;opacity:.85;text-transform:uppercase;letter-spacing:.04em}.profile-modal-close{background:#ffffff26;border:none;color:#fff;width:32px;height:32px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center}.profile-modal-close:hover{background:#ffffff47}.profile-modal-close:disabled{opacity:.6;cursor:not-allowed}.profile-modal-form{padding:20px;display:flex;flex-direction:column;gap:14px}.profile-modal-loading{padding:32px 20px;text-align:center;color:#64748b}.profile-field{display:flex;flex-direction:column;gap:6px}.profile-field>span{font-size:13px;font-weight:600;color:#334155}.profile-field input{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;font-size:14px;outline:none;transition:border-color .15s ease,box-shadow .15s ease;box-sizing:border-box}.profile-field input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.profile-password-field{position:relative;display:flex;align-items:center}.profile-password-field input{padding-right:42px}.profile-password-toggle{position:absolute;right:8px;background:transparent;border:none;cursor:pointer;color:#64748b;display:flex;padding:6px}.profile-modal-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;border-radius:10px;padding:9px 12px;font-size:13px}.profile-modal-success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;border-radius:10px;padding:9px 12px;font-size:13px}.profile-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.profile-btn-secondary{background:#f1f5f9;color:#334155;border:none;padding:10px 16px;border-radius:10px;cursor:pointer;font-weight:600;font-size:14px}.profile-btn-secondary:hover{background:#e2e8f0}.profile-btn-primary{background:linear-gradient(135deg,#1d4ed8,#2563eb);color:#fff;border:none;padding:10px 18px;border-radius:10px;cursor:pointer;font-weight:600;font-size:14px;display:flex;align-items:center;gap:8px}.profile-btn-primary:hover:not(:disabled){filter:brightness(1.05)}.profile-btn-primary:disabled,.profile-btn-secondary:disabled{opacity:.6;cursor:not-allowed}
