 :root{
  --deep:#020b13;
  --navy:#061827;
  --panel:rgba(255,255,255,.94);
  --panel-dark:rgba(2,11,19,.76);
  --text:#071827;
  --muted:#5b7087;
  --line:rgba(255,255,255,.18);
  --border:#c8d7e6;
  --blue:#0ea5e9;
  --blue2:#1d4ed8;
  --green:#25d366;
}
*{box-sizing:border-box}
body{
  margin:0;
  min-height:100vh;
  font-family:Arial,Helvetica,sans-serif;
  color:white;
  background:
    linear-gradient(90deg,rgba(2,11,19,.94),rgba(6,24,39,.67),rgba(2,11,19,.94)),
    url('../assets/img/hero.webp') center/cover no-repeat fixed;
}
a{color:inherit}
.auth-topbar{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 6vw;
  background:rgba(2,11,19,.76);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
}
.auth-brand{
  display:flex;
  align-items:center;
  gap:14px;
  color:white;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.auth-brand img{
  width:260px;
  height:72px;
  object-fit:contain;
  border-radius:0;
  box-shadow:none;
  filter:drop-shadow(0 0 13px rgba(86,199,255,.34));
}
.auth-brand span{display:none}
.auth-actions{
  display:flex;
  align-items:center;
  gap:12px;
  color:#d5e4f2;
}
.auth-link{
  color:white;
  text-decoration:none;
  border:1px solid rgba(56,189,248,.55);
  padding:10px 18px;
  border-radius:12px;
  transition:.2s;
  background:rgba(255,255,255,.05);
  font-weight:700;
}
.auth-link:hover{background:rgba(14,165,233,.18);transform:translateY(-1px)}
.auth-wrap{
  min-height:calc(100vh - 86px);
  display:grid;
  place-items:center;
  padding:42px 18px;
}
.auth-shell{width:min(760px,100%)}
.auth-card{
  width:100%;
  background:var(--panel);
  color:var(--text);
  border-radius:24px;
  padding:36px;
  box-shadow:0 28px 90px rgba(0,0,0,.42);
  border:1px solid rgba(255,255,255,.55);
}
.auth-icon{
  width:72px;
  height:72px;
  margin:0 auto 16px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(14,165,233,.12);
  color:#075985;
  font-size:34px;
}
h1{
  margin:0;
  text-align:center;
  font-size:clamp(30px,4vw,44px);
  line-height:1.1;
  letter-spacing:-.03em;
}
.auth-subtitle{
  text-align:center;
  color:#48627d;
  margin:12px 0 22px;
  font-size:18px;
}
.auth-divider{
  height:2px;
  width:150px;
  background:linear-gradient(90deg,transparent,var(--blue),transparent);
  margin:0 auto 26px;
}
.auth-notice,.auth-error{
  padding:13px 15px;
  border-radius:14px;
  margin-bottom:18px;
  font-weight:700;
}
.auth-notice{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}
.auth-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.form-grid{display:grid;gap:14px}
.form-section-label{
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.09em;
  color:#315071;
  font-weight:800;
  margin:8px 0 -4px;
}
input,textarea,select{
  width:100%;
  min-height:52px;
  border:1px solid var(--border);
  border-radius:13px;
  padding:0 16px;
  font-size:16px;
  background:rgba(255,255,255,.88);
  color:#0f172a;
  outline:none;
  transition:.2s;
}
textarea{padding:14px 16px;min-height:120px;resize:vertical}
input:focus,textarea:focus,select:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 4px rgba(14,165,233,.14);
  background:white;
}
.auth-check{
  display:flex;
  align-items:center;
  gap:10px;
  color:#315071;
  font-weight:700;
  line-height:1.45;
}
.auth-check input[type="checkbox"]{
  appearance:auto;
  width:16px;
  min-width:16px;
  min-height:16px;
  height:16px;
  margin:0;
  padding:0;
  border-radius:3px;
  flex:0 0 18px;
}
.auth-check a{color:#075985;font-weight:800}
.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.auth-btn{
  margin-top:10px;
  width:100%;
  min-height:56px;
  border:none;
  border-radius:13px;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:white;
  font-size:17px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 14px 32px rgba(14,165,233,.24);
}
.auth-btn:hover{filter:brightness(1.04)}
.secure{
  margin-top:18px;
  text-align:center;
  color:#55708b;
  font-size:14px;
}
.auth-footer{
  text-align:center;
  color:rgba(255,255,255,.74);
  margin-top:22px;
  font-size:13px;
}
.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin-top:24px;
}
.dash-card{
  background:rgba(255,255,255,.82);
  border:1px solid #d8e5f2;
  border-radius:18px;
  padding:18px;
}
.dash-card strong{display:block;font-size:18px;margin-bottom:6px;color:#08233a}
.dash-card p{margin:0;color:#526b84}
.dashboard-hero{
  background:linear-gradient(135deg,rgba(14,165,233,.13),rgba(29,78,216,.08));
  border:1px solid #cfe5fa;
  border-radius:20px;
  padding:22px;
  margin-top:22px;
  color:#213b55;
}
.logout-link{
  color:#0f172a;
  text-decoration:none;
  background:#eef6ff;
  border:1px solid #c8d7e6;
  border-radius:12px;
  padding:10px 16px;
  font-weight:800;
}
@media(max-width:700px){
  body{background-attachment:scroll}
  .auth-topbar{padding:14px 18px;align-items:flex-start}
  .auth-brand img{width:190px;height:58px}
  .auth-actions{font-size:14px}
  .auth-card{padding:24px 18px;border-radius:20px}
  .two-col,.dashboard-grid{grid-template-columns:1fr}
}
