:root{
  --ink:#16213E;
  --ink-soft:#28376A;
  --paper:#F7F5EF;
  --line:#DED7C4;
  --gold:#C99A2E;
  --gold-soft:#E9CE8C;
  --red:#AC3B2C;
  --green:#2E7D52;
  --muted:#6B7280;
  --card:#FFFFFF;
  --radius:10px;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{background:var(--paper); color:var(--ink); font-family:'IBM Plex Sans', sans-serif; min-height:100vh;}
.serif{font-family:'DM Serif Display', serif;}
.mono{font-family:'IBM Plex Mono', monospace;}
a{color:inherit;}
button, .btn{font-family:inherit; cursor:pointer;}

/* ---------- Auth screens ---------- */
.auth-wrap{min-height:100vh; display:flex; flex-wrap:wrap;}
.auth-left{
  flex:1 1 380px; background:var(--ink); color:var(--paper); padding:56px 48px;
  display:flex; flex-direction:column; justify-content:space-between; position:relative; overflow:hidden;
}
.auth-left::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:radial-gradient(circle at 15% 20%, rgba(201,154,46,0.10), transparent 40%),
                    radial-gradient(circle at 85% 75%, rgba(201,154,46,0.08), transparent 45%);
}
.float-dot{position:absolute; border-radius:50%; background:radial-gradient(circle, rgba(233,206,140,0.35), transparent 70%); pointer-events:none; animation:floatY 7s ease-in-out infinite;}
@keyframes floatY{0%,100%{transform:translateY(0) translateX(0);} 50%{transform:translateY(-18px) translateX(6px);}}
@keyframes floatY2{0%,100%{transform:translateY(0);} 50%{transform:translateY(14px);}}
.brand-row{display:flex; align-items:center; gap:16px; position:relative; z-index:1;}
.clock-badge{width:64px; height:64px; border-radius:50%; border:2px solid var(--gold-soft); position:relative; flex-shrink:0;}
.clock-badge::before{content:""; position:absolute; inset:6px; border-radius:50%; border:1px dashed rgba(233,206,140,0.5);}
.clock-hand{position:absolute; left:50%; top:50%; width:2px; height:22px; background:var(--gold); transform-origin:bottom center; transform:translate(-50%,-100%); border-radius:2px; animation:tickSpin 9s linear infinite;}
@keyframes tickSpin{from{transform:translate(-50%,-100%) rotate(0deg);} to{transform:translate(-50%,-100%) rotate(360deg);}}
.brand-name{font-size:32px; letter-spacing:0.5px;}
.brand-tag{color:var(--gold-soft); font-size:14px; margin-top:6px; max-width:340px; line-height:1.5;}
.live-clock{font-family:'IBM Plex Mono'; font-size:22px; letter-spacing:1px; color:var(--gold); margin-top:18px; position:relative; z-index:1;}
.stat-strip{display:flex; gap:18px; margin-top:16px; position:relative; z-index:1; font-size:12px; color:rgba(247,245,239,0.7);}
.stat-strip .mono{color:var(--gold-soft); font-size:15px; font-weight:600; margin-right:4px;}
.live-date{font-size:12px; color:rgba(247,245,239,0.55); margin-top:2px; letter-spacing:0.5px;}
.rotating-tip{font-size:12.5px; color:rgba(247,245,239,0.75); margin-top:14px; min-height:18px; transition:opacity 0.5s ease; position:relative; z-index:1;}
.pwd-wrap{position:relative;}
.pwd-wrap input{padding-right:60px !important;}
.pwd-toggle{position:absolute; right:10px; top:50%; transform:translateY(-50%); background:none; border:none; color:var(--muted); font-size:11.5px; font-weight:600; cursor:pointer; padding:4px 6px;}
.pwd-toggle:hover{color:var(--ink);}
.login-illustration-wrap{display:flex; align-items:flex-end; justify-content:center;}
.char-stage{position:relative; display:flex; align-items:flex-end; margin-right:-28px; margin-bottom:18px;}
.char-shadow{
  position:absolute; bottom:2px; left:50%; width:80px; height:14px; border-radius:50%;
  background:rgba(22,33,62,0.18); transform:translateX(-50%); filter:blur(2px);
}
.login-character{
  width:150px; height:auto; flex-shrink:0; position:relative; z-index:1;
  filter:drop-shadow(0 8px 14px rgba(22,33,62,0.12));
  transform-origin:bottom center;
  animation: charPopIn 0.7s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes charPopIn{
  0%{opacity:0; transform:translateY(40px) scale(0.85);}
  100%{opacity:1; transform:translateY(0) scale(1);}
}
@media(max-width:1000px){
  .char-stage{display:none;}
}
.admit-meta{font-size:12px; color:rgba(247,245,239,0.55); letter-spacing:1px; position:relative; z-index:1;}
.auth-right{flex:1 1 420px; display:flex; align-items:center; justify-content:center; padding:48px 24px;}
.admit-card{background:var(--card); width:100%; max-width:400px; border-radius:var(--radius); box-shadow:0 20px 50px rgba(22,33,62,0.12); position:relative; padding:36px 32px 30px; border:1px solid var(--line); animation:cardIn 0.55s cubic-bezier(.2,.8,.2,1);}
@keyframes cardIn{from{opacity:0; transform:translateY(16px);} to{opacity:1; transform:translateY(0);}}
.admit-card.shake-error{animation:macShakeTwice 0.7s cubic-bezier(.36,.07,.19,.97) both; border-color:var(--red);}
@keyframes macShakeTwice{
  0%{transform:translateX(0);}
  8%{transform:translateX(-11px);}
  16%{transform:translateX(9px);}
  24%{transform:translateX(-8px);}
  32%{transform:translateX(7px);}
  40%{transform:translateX(-4px);}
  48%,52%{transform:translateX(0);}
  60%{transform:translateX(-11px);}
  68%{transform:translateX(9px);}
  76%{transform:translateX(-8px);}
  84%{transform:translateX(7px);}
  92%{transform:translateX(-4px);}
  100%{transform:translateX(0);}
}
.card-eyebrow{font-family:'IBM Plex Mono'; font-size:11px; letter-spacing:2px; color:var(--gold); text-transform:uppercase; margin-bottom:4px;}
.card-title{font-size:24px; margin:0 0 22px;}
.tab-row{display:flex; border:1px solid var(--line); border-radius:8px; overflow:hidden; margin-bottom:22px;}
.tab-btn{flex:1; padding:10px 6px; background:var(--paper); border:none; font-size:13px; font-weight:600; color:var(--muted); text-align:center; text-decoration:none; display:block;}
.tab-btn.active{background:var(--ink); color:var(--paper);}

/* ---------- Forms ---------- */
.field{margin-bottom:16px;}
.field label{display:block; font-size:12px; font-weight:600; color:var(--muted); margin-bottom:6px; letter-spacing:0.3px;}
.field input, .field select, .field textarea{width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:7px; font-size:14px; font-family:inherit; background:#FCFBF8; transition:border-color 0.15s, box-shadow 0.15s;}
.field input:focus, .field select:focus, .field textarea:focus{outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,154,46,0.18);}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 18px; border-radius:7px; border:none; font-weight:600; font-size:14px; text-decoration:none; transition:transform 0.15s ease, box-shadow 0.15s ease;}
.btn:hover{transform:translateY(-1px);}
.btn:active{transform:translateY(0);}
.btn-primary{background:var(--ink); color:var(--paper); width:100%;}
.btn-primary:hover{box-shadow:0 6px 16px rgba(22,33,62,0.25);}
.btn-gold{background:var(--gold); color:var(--ink);}
.btn-outline{background:transparent; border:1px solid var(--line); color:var(--ink);}
.btn-danger{background:transparent; color:var(--red); border:1px solid var(--red);}
.btn-sm{padding:6px 12px; font-size:12px;}
.err-text{color:var(--red); font-size:13px; margin-top:2px;}
.link-btn{background:none; border:none; color:var(--ink-soft); text-decoration:underline; font-size:13px; padding:0; cursor:pointer;}
.hint-box{margin-top:18px; padding:10px 12px; background:var(--paper); border:1px dashed var(--line); border-radius:7px; font-size:12px; color:var(--muted); font-family:'IBM Plex Mono';}

/* ---------- Shell (dashboard) ---------- */
.shell{min-height:100vh; display:flex; flex-direction:column;}
.topbar{background:var(--ink); color:var(--paper); display:flex; align-items:center; justify-content:space-between; padding:14px 24px;}
.topbar .clock-badge{width:34px; height:34px;}
.topbar .clock-hand{height:11px;}
.topbar-title{font-size:19px;}
.user-chip{display:flex; align-items:center; gap:12px; font-size:13px;}
.role-pill{background:var(--gold); color:var(--ink); padding:3px 10px; border-radius:20px; font-weight:700; font-size:11px; letter-spacing:0.5px; text-transform:uppercase;}
.body-wrap{display:flex; flex:1; min-height:0;}
.sidebar{width:210px; background:var(--card); border-right:1px solid var(--line); padding:20px 0; flex-shrink:0;}
.side-link{display:block; width:100%; text-align:left; background:none; border:none; padding:12px 22px; font-size:14px; color:var(--muted); font-weight:500; border-left:3px solid transparent; text-decoration:none;}
.side-link.active{color:var(--ink); font-weight:700; border-left:3px solid var(--gold); background:var(--paper);}
.main{flex:1; padding:30px 36px; overflow-y:auto;}
.page-title{font-size:26px; margin:0 0 4px;}
.page-sub{color:var(--muted); font-size:14px; margin:0 0 26px;}

.avatar-circle{border-radius:50%; background:var(--gold-soft); color:var(--ink); display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono'; font-weight:700; overflow:hidden; flex-shrink:0;}
.avatar-circle img{width:100%; height:100%; object-fit:cover; display:block;}

.stat-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:16px; margin-bottom:30px;}
.stat-card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:18px 20px;}
.stat-num{font-size:30px; font-family:'IBM Plex Mono'; font-weight:600;}
.stat-label{font-size:12px; color:var(--muted); letter-spacing:0.5px; text-transform:uppercase; margin-top:4px;}

.card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:22px 24px; margin-bottom:18px;}
.card-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; flex-wrap:wrap; gap:10px;}
.card-head h3{margin:0; font-size:17px;}

table{width:100%; border-collapse:collapse; font-size:13.5px;}
th{text-align:left; padding:10px 8px; border-bottom:2px solid var(--line); color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:0.5px;}
td{padding:11px 8px; border-bottom:1px solid var(--line); vertical-align:middle;}
tr:last-child td{border-bottom:none;}

.badge{display:inline-block; padding:3px 10px; border-radius:20px; font-size:11px; font-weight:700;}
.badge-green{background:rgba(46,125,82,0.12); color:var(--green);}
.badge-red{background:rgba(172,59,44,0.12); color:var(--red);}
.badge-gold{background:rgba(201,154,46,0.15); color:#8a6c1f;}

.exam-pill-row{display:flex; flex-wrap:wrap; gap:10px;}
.exam-pill{display:inline-flex; align-items:center; gap:8px; padding:9px 16px; border-radius:20px; border:1px solid var(--line); background:var(--paper); color:var(--ink); font-size:13.5px; font-weight:500; text-decoration:none;}
.exam-pill.active{background:var(--ink); border-color:var(--ink); color:var(--paper); font-weight:600;}
.exam-pill-count{font-family:'IBM Plex Mono'; font-size:11px; padding:1px 7px; border-radius:10px; background:rgba(0,0,0,0.08); color:inherit;}
.exam-pill.active .exam-pill-count{background:rgba(247,245,239,0.2);}

.q-row{border:1px solid var(--line); border-radius:8px; padding:16px; margin-bottom:14px; background:#FDFCFA;}
.q-num{font-family:'IBM Plex Mono'; font-weight:700; color:var(--gold);}
.opt-grid{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px;}
.opt-row{display:flex; align-items:center; gap:8px;}
.opt-row input[type=text]{flex:1;}

.empty-box{text-align:center; padding:50px 20px; color:var(--muted);}
.empty-box .serif{font-size:20px; color:var(--ink); display:block; margin-bottom:6px;}

.exam-id-strip{display:flex; align-items:center; gap:16px; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:14px 20px; margin-bottom:18px; position:relative; overflow:hidden;}
.exam-id-strip::before{content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:var(--gold);}
.exam-id-name{font-size:16px; font-weight:700;}
.exam-id-meta{font-size:12px; color:var(--muted); margin-top:2px;}

.exam-frame{display:flex; gap:24px; align-items:flex-start;}
.exam-main{flex:1; min-width:0;}
.exam-side{width:230px; flex-shrink:0;}

/* ---- Modern exam-taking layout (sticky status bar + single column) ---- */
.exam-sticky-bar{
  position:sticky; top:0; z-index:60; background:var(--card); border-bottom:1px solid var(--line);
  display:flex; align-items:center; gap:16px; padding:10px 18px; flex-wrap:wrap;
  box-shadow:0 2px 10px rgba(22,33,62,0.05);
}
.exam-sticky-timer{display:flex; align-items:center; gap:8px; flex-shrink:0;}
.exam-sticky-timer .t-label{font-size:10px; letter-spacing:0.5px; text-transform:uppercase; color:var(--muted);}
.exam-sticky-timer .timer-num{font-family:'IBM Plex Mono'; font-size:20px; font-weight:700; color:var(--ink); padding:3px 10px; border-radius:6px; background:var(--paper); border:1px solid var(--line);}
.exam-sticky-timer .timer-num.low{color:var(--red); background:rgba(172,59,44,0.1); border-color:var(--red); animation:pulseLow 1s infinite;}
@keyframes pulseLow{0%,100%{opacity:1;} 50%{opacity:0.55;}}
.exam-sticky-progress{flex:1; min-width:140px;}
.exam-sticky-progress .progress-track{margin-top:0; height:9px;}
.exam-sticky-progress-label{display:flex; justify-content:space-between; font-size:10.5px; color:var(--muted); margin-bottom:4px; letter-spacing:0.3px; text-transform:uppercase;}
.exam-sticky-actions{display:flex; gap:8px; flex-shrink:0; margin-left:auto;}

.exam-nav-panel{
  position:sticky; top:57px; z-index:55; background:var(--paper); border-bottom:1px solid var(--line);
  padding:14px 18px; display:none;
}
.exam-nav-panel.open{display:block;}
.exam-nav-panel .nav-grid{grid-template-columns:repeat(auto-fill, minmax(38px, 1fr)); max-height:180px; overflow-y:auto;}

.q-card{scroll-margin-top:115px; position:relative; display:none;}
.q-card.active{display:block;}
.q-pager{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;}
.q-pager .mono{font-size:13px; color:var(--muted);}
.q-card-head{display:flex; align-items:flex-start; gap:12px; margin-bottom:14px;}
.q-num-badge{
  width:32px; height:32px; border-radius:50%; background:var(--ink); color:var(--gold-soft);
  display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono'; font-weight:700; font-size:13px; flex-shrink:0;
}
.q-card.answered .q-num-badge{background:var(--gold); color:var(--ink);}
.q-type-pill{display:inline-block; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.4px; color:var(--gold); background:rgba(201,154,46,0.12); padding:2px 9px; border-radius:12px; margin-bottom:4px;}
.q-marks-pill{margin-left:auto; font-size:11.5px; color:var(--muted); font-family:'IBM Plex Mono'; white-space:nowrap; padding-top:6px;}

.option-card{
  display:flex; align-items:center; gap:12px; padding:12px 14px; border:1.5px solid var(--line); border-radius:9px;
  margin-bottom:9px; cursor:pointer; background:#FDFCFA; transition:border-color 0.15s, background 0.15s, transform 0.1s;
}
.option-card:hover{border-color:var(--gold-soft); transform:translateX(2px);}
.option-card input{accent-color:var(--gold); width:17px; height:17px; flex-shrink:0;}
.option-card.selected{border-color:var(--gold); background:rgba(201,154,46,0.08); font-weight:600;}
.option-letter{
  width:24px; height:24px; border-radius:6px; background:var(--paper); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono'; font-size:11px; font-weight:700; color:var(--muted); flex-shrink:0;
}
.option-card.selected .option-letter{background:var(--gold); border-color:var(--gold); color:var(--ink);}

.exam-submit-card{text-align:center; background:linear-gradient(135deg, var(--ink), var(--ink-soft)); color:var(--paper); border:none;}
.exam-submit-card p{color:var(--gold-soft); font-size:13px; margin:0 0 14px;}

@media(max-width:640px){
  .exam-sticky-bar{padding:8px 12px; gap:10px;}
  .exam-sticky-timer .timer-num{font-size:16px; padding:2px 8px;}
  .exam-sticky-actions .btn{padding:8px 12px; font-size:12.5px;}
  .q-card{scroll-margin-top:150px;}
  .exam-nav-panel{top:49px;}
}
.timer-box{background:var(--ink); color:var(--paper); border-radius:var(--radius); padding:16px 18px; text-align:center; margin-bottom:16px;}
.timer-box .t-label{font-size:11px; letter-spacing:1px; text-transform:uppercase; color:var(--gold-soft);}
.timer-num{font-family:'IBM Plex Mono'; font-size:28px; font-weight:600; margin-top:4px;}
.timer-num.low{color:#ff9d8c;}
.nav-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:8px;}
.nav-dot{aspect-ratio:1; border-radius:6px; border:1px solid var(--line); background:var(--card); font-family:'IBM Plex Mono'; font-size:12px; font-weight:600; color:var(--muted); text-decoration:none; display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0;}
.nav-dot.answered{background:var(--gold-soft); border-color:var(--gold); color:var(--ink);}
.nav-dot.current{outline:2px solid var(--ink); outline-offset:1px;}
.nav-dot{position:relative;}
.nav-dot.marked{background:#fde8ec; border:2px solid #e0314f; color:#b3123a;}
.nav-dot.marked::after{content:'\1F6A9'; position:absolute; top:-9px; right:-7px; font-size:12px; line-height:1;}
.progress-track{width:100%; height:8px; border-radius:6px; background:var(--paper); border:1px solid var(--line); overflow:hidden; margin-top:10px;}
.progress-fill{height:100%; background:var(--gold); border-radius:6px;}

.stamp{display:inline-block; border:3px solid; border-radius:8px; padding:6px 18px; font-family:'IBM Plex Mono'; font-weight:700; font-size:16px; letter-spacing:2px; transform:rotate(-6deg); text-transform:uppercase;}
.stamp.pass{color:var(--green); border-color:var(--green);}
.stamp.review{color:var(--gold); border-color:var(--gold);}

.divider-dashed{border:none; border-top:1px dashed var(--line); margin:18px 0;}

@media(max-width:800px){
  .body-wrap{flex-direction:column;}
  .sidebar{width:100%; display:flex; overflow-x:auto; padding:8px;}
  .side-link{white-space:nowrap; border-left:none; border-bottom:3px solid transparent; padding:10px 16px;}
  .side-link.active{border-left:none; border-bottom:3px solid var(--gold);}
  .exam-frame{flex-direction:column;}
  .exam-side{width:100%;}
  .opt-grid{grid-template-columns:1fr;}
  .auth-left{padding:36px 26px;}
  .main{padding:20px 18px;}
}
@media(max-width:480px){
  .main{padding:16px 12px;}
  .exam-id-strip{padding:12px 14px !important; gap:10px !important;}
  .exam-id-strip .exam-id-name{font-size:14px;}
}

/* ==================== App-wide light blue theme (student + admin dashboards, matches new login page) ==================== */
body.student-theme,
body.admin-theme{
  --ink:#16213E;
  --ink-soft:#28376A;
  --paper:#EEF3FD;
  --line:#E3E9F7;
  --gold:#3B5BDB;
  --gold-soft:#C7D6FC;
  --red:#D64545;
  --green:#2F9E5B;
  --muted:#5B6A94;
  --card:#FFFFFF;
  background: linear-gradient(160deg, #EEF3FD, #E4ECFB);
  min-height:100vh;
}
body.student-theme .badge-gold,
body.admin-theme .badge-gold{ background:rgba(59,91,219,0.14); color:#2544A8; }
body.student-theme .q-type-pill,
body.admin-theme .q-type-pill{ background:rgba(59,91,219,0.12); }
body.student-theme .option-card.selected,
body.admin-theme .option-card.selected{ background:rgba(59,91,219,0.08); }
body.student-theme .field input:focus,
body.student-theme .field select:focus,
body.student-theme .field textarea:focus,
body.admin-theme .field input:focus,
body.admin-theme .field select:focus,
body.admin-theme .field textarea:focus{ box-shadow:0 0 0 3px rgba(59,91,219,0.16); }
body.student-theme .clock-badge::before,
body.admin-theme .clock-badge::before{ border-color:rgba(59,91,219,0.5); }
body.student-theme .sidebar,
body.student-theme .exam-sticky-bar,
body.student-theme .exam-nav-panel,
body.admin-theme .sidebar{ background:#FFFFFF; }
body.student-theme .side-link.active,
body.admin-theme .side-link.active{ background:var(--paper); }
  body.login-page-body{ background: linear-gradient(160deg, #EEF3FD, #E4ECFB); }
  .lp-wrap{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding:28px; }
  .lp-shell{
    width:100%; max-width:1320px; min-height:640px; display:flex; flex-wrap:wrap;
    background:#F2F6FE; border-radius:26px; overflow:hidden;
    box-shadow:0 30px 70px rgba(35,60,140,0.14);
  }
  /* ---------------- Left panel ---------------- */
  .lp-left{
    flex:1 1 520px; position:relative; padding:44px 40px; overflow:hidden;
    background: radial-gradient(circle at 15% 15%, #E9F0FE 0%, #DCE6FB 55%, #D3E0F9 100%);
  }
  .lp-deco{ position:absolute; opacity:0.55; pointer-events:none; color:#B9CBF2; }
  .lp-logo-row{ display:flex; align-items:center; gap:14px; position:relative; z-index:2; }
  .lp-logo-badge{
    width:52px; height:52px; border-radius:14px; background:#16213E; display:flex; align-items:center; justify-content:center;
    box-shadow:0 8px 18px rgba(22,33,62,0.28); flex-shrink:0;
  }
  .lp-brand-name{ font-family:'IBM Plex Sans'; font-weight:800; font-size:22px; color:#16213E; letter-spacing:0.5px; line-height:1.15; }
  .lp-brand-sub{ font-family:'IBM Plex Sans'; font-weight:600; font-size:11px; color:#7C8BB3; letter-spacing:1.5px; margin-top:2px; }

  .lp-headline{ font-family:'IBM Plex Sans'; font-weight:800; font-size:46px; line-height:1.12; color:#16213E; margin:34px 0 10px; position:relative; z-index:2; }
  .lp-headline span{ display:block; }
  .lp-tagline{ font-family:'IBM Plex Sans'; font-weight:600; font-size:15px; color:#5B6A94; letter-spacing:0.3px; position:relative; z-index:2; }

  .lp-char-zone{ position:relative; margin-top:18px; min-height:250px; display:flex; align-items:flex-end; }
  .lp-char-shadow{
    position:absolute; bottom:6px; left:70px; width:170px; height:22px; border-radius:50%;
    background:rgba(22,33,62,0.10); filter:blur(4px);
  }
  .lp-character{
    width:230px; height:auto; position:relative; z-index:2;
    filter:drop-shadow(0 18px 24px rgba(22,33,62,0.16));
    animation: lpPopIn 0.7s cubic-bezier(.34,1.56,.64,1) both;
  }
  @keyframes lpPopIn{ 0%{opacity:0; transform:translateY(36px) scale(0.9);} 100%{opacity:1; transform:translateY(0) scale(1);} }

  .lp-feature-card{
    position:absolute; right:26px; bottom:120px; width:206px; background:#FFFFFF; border-radius:16px;
    padding:14px 16px; box-shadow:0 16px 40px rgba(35,60,140,0.16); z-index:3;
    animation: lpPopIn 0.8s cubic-bezier(.34,1.56,.64,1) 0.15s both;
  }
  .lp-feature-row{ display:flex; align-items:center; gap:10px; padding:6px 0; font-family:'IBM Plex Sans'; font-weight:600; font-size:13px; color:#28376A; }
  .lp-feature-icon{ width:28px; height:28px; border-radius:9px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .lp-feature-icon.fi-blue{ background:#3B5BDB; }
  .lp-feature-icon.fi-green{ background:#2F9E5B; }
  .lp-feature-icon.fi-purple{ background:#8B5CF6; }

  .lp-stat-strip{ display:flex; gap:20px; margin-top:24px; position:relative; z-index:2; font-family:'IBM Plex Mono'; font-size:12px; color:#5B6A94; }
  .lp-stat-strip b{ color:#16213E; font-size:15px; margin-right:4px; }
  .lp-clock-row{ display:flex; align-items:center; gap:10px; margin-top:10px; position:relative; z-index:2; }
  .lp-clock-time{ font-family:'IBM Plex Mono'; font-weight:600; font-size:17px; color:#16213E; }
  .lp-clock-date{ font-family:'IBM Plex Sans'; font-size:11.5px; color:#8290B5; }

  /* ---------------- Right panel (card) ---------------- */
  .lp-right{ flex:1 1 420px; display:flex; align-items:center; justify-content:center; padding:44px 30px; background:#FFFFFF; }
  .lp-card{ width:100%; max-width:400px; }
  .lp-icon-circle{
    width:66px; height:66px; border-radius:50%; background:#E4EBFC; display:flex; align-items:center; justify-content:center;
    margin:0 auto 16px; animation: lpPopIn 0.6s cubic-bezier(.34,1.56,.64,1) both;
  }
  .lp-card h1{ font-family:'IBM Plex Sans'; font-weight:800; font-size:26px; color:#16213E; text-align:center; margin:0 0 6px; }
  .lp-card-sub{ font-family:'IBM Plex Sans'; font-size:13.5px; color:#8290B5; text-align:center; margin:0 0 26px; line-height:1.5; }

  .lp-tabs{ display:flex; background:#EEF2FC; border-radius:12px; padding:4px; margin-bottom:22px; }
  .lp-tab{ flex:1; text-align:center; padding:10px 6px; border-radius:9px; font-family:'IBM Plex Sans'; font-weight:700; font-size:13px; color:#7C8BB3; text-decoration:none; }
  .lp-tab.active{ background:#16213E; color:#fff; box-shadow:0 6px 14px rgba(22,33,62,0.25); }

  .lp-field{ margin-bottom:18px; }
  .lp-field label{ display:block; font-family:'IBM Plex Sans'; font-weight:700; font-size:12.5px; color:#28376A; margin-bottom:7px; }
  .lp-input-wrap{ position:relative; display:flex; align-items:center; }
  .lp-input-wrap svg.lp-prefix-icon{ position:absolute; left:14px; color:#9AA8CC; pointer-events:none; }
  .lp-input-wrap input{
    width:100%; padding:13px 14px 13px 42px; border:1.5px solid #E3E9F7; border-radius:11px;
    font-family:'IBM Plex Sans'; font-size:14px; background:#FBFCFE; color:#16213E;
  }
  .lp-input-wrap input:focus{ outline:none; border-color:#3B5BDB; box-shadow:0 0 0 3px rgba(59,91,219,0.12); }
  .lp-input-wrap .lp-eye-btn{
    position:absolute; right:12px; background:none; border:none; cursor:pointer; color:#9AA8CC; display:flex; padding:4px;
  }
  .lp-input-wrap .lp-eye-btn:hover{ color:#3B5BDB; }
  .lp-input-wrap.has-eye input{ padding-right:42px; }

  .lp-hint-row{ text-align:right; margin:-8px 0 20px; }
  .lp-hint-row span{ font-family:'IBM Plex Sans'; font-size:12px; color:#8290B5; }

  .lp-err{ font-family:'IBM Plex Sans'; font-size:13px; color:#D64545; background:#FDEEEE; border:1px solid #F6D3D3; border-radius:9px; padding:10px 12px; margin:-4px 0 18px; }

  .lp-btn-login{
    width:100%; display:flex; align-items:center; justify-content:center; gap:10px;
    background:linear-gradient(135deg, #3B5BDB, #2F4BC7); color:#fff; border:none; border-radius:12px;
    padding:15px; font-family:'IBM Plex Sans'; font-weight:700; font-size:14.5px; letter-spacing:1px; cursor:pointer;
    box-shadow:0 14px 26px rgba(59,91,219,0.32); transition:transform 0.15s ease;
  }
  .lp-btn-login:hover{ transform:translateY(-1px); }

  .lp-divider{ display:flex; align-items:center; gap:14px; margin:22px 0; }
  .lp-divider::before, .lp-divider::after{ content:""; flex:1; height:1px; background:#E3E9F7; }
  .lp-divider span{ font-family:'IBM Plex Sans'; font-size:11.5px; font-weight:700; color:#B0BAD8; letter-spacing:1px; }

  .lp-register-cta{ text-align:center; font-family:'IBM Plex Sans'; font-size:13.5px; color:#5B6A94; }
  .lp-register-cta a{ color:#3B5BDB; font-weight:700; text-decoration:none; }
  .lp-register-cta a:hover{ text-decoration:underline; }

  .lp-card.shake-error{ animation:macShakeTwice 0.7s cubic-bezier(.36,.07,.19,.97) both; }

  @media(max-width:980px){
    .lp-feature-card, .lp-deco{ display:none; }
    .lp-left{ padding:34px 28px; }
  }
  @media(max-width:760px){
    .lp-shell{ flex-direction:column; }
    .lp-char-zone{ display:none; }
    .lp-headline{ font-size:34px; }
  }
.lp-hint-row a{ font-family:'IBM Plex Sans'; font-size:12.5px; color:#3B5BDB; text-decoration:none; }
