:root{
  --auth-navy:#071a35;
  --auth-blue:#1769e0;
  --auth-cyan:#19b8d9;
  --auth-orange:#f18a2b;
  --auth-text:#15233b;
  --auth-muted:#65748b;
  --auth-line:#dce5f0;
  --auth-surface:#f4f8fd;
}
body{
  min-height:100vh;
  margin:0;
  background:
    radial-gradient(circle at 12% 8%,rgba(25,184,217,.18),transparent 28%),
    radial-gradient(circle at 88% 84%,rgba(241,138,43,.14),transparent 24%),
    linear-gradient(145deg,#06162d 0%,#0a2d5c 52%,#0b4c88 100%)!important;
}
.auth-nav{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.auth-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.auth-brand img{width:50px;height:50px;object-fit:contain;background:#fff;border-radius:16px;padding:5px;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.auth-brand strong{font-size:18px;display:block;line-height:1.1}
.auth-brand span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#b8d8ff;margin-top:4px;font-weight:700}
.auth-nav-link{border:1px solid rgba(255,255,255,.25);border-radius:999px;color:#fff;text-decoration:none;padding:9px 17px;font-size:13px;font-weight:750;background:rgba(255,255,255,.08);backdrop-filter:blur(12px)}
.auth-nav-link:hover{background:#fff;color:var(--auth-navy)}
.auth-main{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:20px 0 58px}
.auth-shell{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);background:#fff;border-radius:32px;overflow:hidden;box-shadow:0 36px 90px rgba(0,0,0,.3);min-height:620px}
.auth-aside{position:relative;overflow:hidden;padding:54px 46px;color:#fff;background:linear-gradient(155deg,#0b4c88 0%,#1769e0 52%,#19b8d9 100%);display:flex;flex-direction:column;justify-content:space-between}
.auth-aside:before,.auth-aside:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.1)}
.auth-aside:before{width:320px;height:320px;right:-160px;top:-120px}
.auth-aside:after{width:240px;height:240px;left:-130px;bottom:-100px}
.auth-aside-content{position:relative;z-index:1}
.auth-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.1);border-radius:999px;text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:800;margin-bottom:22px}
.auth-aside h1{font-size:clamp(32px,4vw,50px);line-height:1.08;letter-spacing:-.04em;margin:0 0 18px;color:#fff;font-weight:900}
.auth-aside p{font-size:15px;line-height:1.8;color:#e3f1ff;margin:0;max-width:480px}
.auth-benefits{display:grid;gap:12px;margin-top:32px;padding:0;list-style:none}
.auth-benefits li{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:700}
.auth-benefits i{width:30px;height:30px;border-radius:10px;background:rgba(255,255,255,.14);display:grid;place-items:center}
.auth-trust{position:relative;z-index:1;display:flex;align-items:center;gap:11px;font-size:12px;color:#e7f3ff;margin-top:28px}
.auth-trust i{font-size:20px}
.auth-panel{padding:48px;display:flex;flex-direction:column;justify-content:center;color:var(--auth-text)}
.auth-panel.wide{justify-content:flex-start}
.auth-heading{margin-bottom:26px}
.auth-heading h2{font-size:30px;line-height:1.15;letter-spacing:-.03em;margin:0 0 9px;color:var(--auth-navy);font-weight:900}
.auth-heading p{margin:0;color:var(--auth-muted);font-size:14px;line-height:1.7}
.auth-alert{display:none;border-radius:15px;padding:13px 15px;margin-bottom:18px;font-size:13px;font-weight:700;line-height:1.5}
.auth-alert.show{display:block}
.auth-alert.success{color:#087d5d;background:#e9fbf5;border:1px solid #bcebdc}
.auth-alert.error{color:#b3262e;background:#fff0f1;border:1px solid #f4c3c7}
.auth-alert .alert{margin:0;border:0;padding:0;background:transparent;color:inherit;box-shadow:none}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#eef4fb;border-radius:15px;padding:5px;margin-bottom:22px}
.auth-tab{border:0;background:transparent;border-radius:11px;padding:11px 12px;color:#66758c;font-weight:800;font-size:13px;cursor:pointer}
.auth-tab.active{background:#fff;color:var(--auth-blue);box-shadow:0 6px 16px rgba(23,105,224,.11)}
.auth-tab-panel{display:none}.auth-tab-panel.active{display:block}
.auth-label{display:block;color:#2b3b54;font-size:12px;font-weight:800;margin-bottom:7px}
.auth-control,.auth-select{width:100%;height:50px;border:1px solid var(--auth-line);background:#f9fbfe;border-radius:14px;padding:0 15px;color:var(--auth-text);outline:0;font-size:14px;transition:.2s}
textarea.auth-control{height:auto;min-height:110px;padding-top:13px}
.auth-control:focus,.auth-select:focus{background:#fff;border-color:#7eb2f6;box-shadow:0 0 0 4px rgba(23,105,224,.09)}
.auth-field{margin-bottom:16px}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.auth-password{position:relative}.auth-password .auth-control{padding-right:46px}.auth-toggle{position:absolute;right:8px;top:7px;width:36px;height:36px;border:0;background:transparent;color:#7b8ba1;border-radius:10px;cursor:pointer}
.auth-toggle:hover{background:#eef4fb;color:var(--auth-blue)}
.auth-button{width:100%;min-height:50px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--auth-blue),#278bff);color:#fff;font-weight:850;font-size:14px;cursor:pointer;box-shadow:0 14px 28px rgba(23,105,224,.22);transition:.2s;display:flex;align-items:center;justify-content:center;gap:8px}
.auth-button:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(23,105,224,.29)}
.auth-button:disabled{opacity:.62;cursor:not-allowed;transform:none;box-shadow:none}
.auth-button.orange{background:linear-gradient(135deg,#e9791c,var(--auth-orange));box-shadow:0 14px 28px rgba(241,138,43,.22)}
.auth-links{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:20px;font-size:13px;color:var(--auth-muted)}
.auth-links a{color:var(--auth-blue);text-decoration:none;font-weight:800}.auth-links a:hover{text-decoration:underline}
.course-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.course-option{position:relative}.course-option input{position:absolute;opacity:0;pointer-events:none}.course-option span{display:flex;align-items:center;gap:9px;min-height:46px;padding:10px 12px;border:1px solid var(--auth-line);background:#f9fbfe;border-radius:13px;font-size:12px;font-weight:750;color:#45566f;cursor:pointer}.course-option span:before{content:"";width:17px;height:17px;border:2px solid #b7c4d5;border-radius:6px;flex:0 0 17px}.course-option input:checked+span{border-color:#7eb2f6;background:#eef6ff;color:var(--auth-blue)}.course-option input:checked+span:before{border-color:var(--auth-blue);background:var(--auth-blue);box-shadow:inset 0 0 0 4px #eef6ff}
.mode-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mode-option input{position:absolute;opacity:0}.mode-option span{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:1px solid var(--auth-line);background:#f9fbfe;border-radius:13px;font-size:13px;font-weight:800;color:#5b6b82;cursor:pointer}.mode-option input:checked+span{background:#eef6ff;border-color:#7eb2f6;color:var(--auth-blue)}
.otp-row{display:flex;justify-content:center;gap:8px;margin:24px 0}.otp-box{width:48px;height:56px;text-align:center;border:2px solid var(--auth-line);border-radius:14px;background:#f8fbff;color:var(--auth-navy);font-size:23px;font-weight:900;outline:0}.otp-box:focus{border-color:var(--auth-blue);background:#fff;box-shadow:0 0 0 4px rgba(23,105,224,.09)}
.otp-meta{text-align:center;color:var(--auth-muted);font-size:12px;line-height:1.7;margin:18px 0 0}.otp-meta button{border:0;background:transparent;color:var(--auth-blue);font:inherit;font-weight:850;cursor:pointer;padding:0}.otp-meta button:disabled{color:#8c9aab;cursor:not-allowed}
.stepper{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:24px}.step{height:6px;border-radius:999px;background:#e3eaf3}.step.active{background:linear-gradient(90deg,var(--auth-blue),var(--auth-cyan))}.reset-step{display:none}.reset-step.active{display:block}
.auth-note{font-size:11px;color:#7b8ba1;line-height:1.6;margin-top:10px}
@media(max-width:900px){.auth-shell{grid-template-columns:1fr}.auth-aside{padding:34px;min-height:auto}.auth-benefits,.auth-trust{display:none}.auth-panel{padding:34px}.auth-shell{min-height:0}}
@media(max-width:560px){.auth-nav{min-height:72px}.auth-brand img{width:44px;height:44px}.auth-main{width:min(100% - 20px,1180px);padding:8px 0 26px}.auth-shell{border-radius:23px}.auth-aside{padding:28px 22px}.auth-aside h1{font-size:31px}.auth-panel{padding:28px 20px}.auth-grid{grid-template-columns:1fr}.course-options{grid-template-columns:1fr}.otp-row{gap:5px}.otp-box{width:41px;height:50px;font-size:20px}.auth-links{justify-content:center}.auth-nav-link{padding:8px 12px}}
