*{box-sizing:border-box}
:root{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#e8edf5;
  background:#0b0f17
}
body{
  margin:0;
  min-height:100vh;
  background:linear-gradient(145deg,#0b0f17,#111827);
  color:#e8edf5
}
button,input{font:inherit}
.shell{
  width:min(1120px,calc(100% - 32px));
  margin:auto;
  min-height:100vh;
  display:flex;
  flex-direction:column
}
.topbar{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #263142
}
.brand{
  font-size:18px;
  font-weight:800;
  letter-spacing:.12em
}
.subtitle,.muted{
  color:#94a3b8
}
.subtitle{
  font-size:13px;
  margin-top:4px
}
main{
  flex:1;
  padding:52px 0
}
.login-card,.proxy-card,.info-card{
  background:#121a27;
  border:1px solid #273449;
  border-radius:18px;
  box-shadow:0 18px 55px rgba(0,0,0,.22)
}
.login-card{
  width:min(440px,100%);
  margin:8vh auto 0;
  padding:36px
}
.login-card h1{
  margin:12px 0 8px
}
.status-dot{
  width:11px;
  height:11px;
  border-radius:50%;
  background:#38bdf8;
  box-shadow:0 0 20px #38bdf8
}
label{
  display:block;
  margin:20px 0 8px;
  font-size:13px;
  font-weight:700
}
input{
  width:100%;
  padding:13px 14px;
  color:#f8fafc;
  background:#0b1220;
  border:1px solid #334155;
  border-radius:10px;
  outline:none
}
input:focus{
  border-color:#60a5fa
}
.btn{
  border:0;
  border-radius:10px;
  padding:12px 18px;
  font-weight:800;
  cursor:pointer
}
.login-card .btn{
  width:100%;
  margin-top:24px
}
.primary{
  background:#2563eb;
  color:white
}
.ghost{
  background:#182235;
  color:#dbeafe
}
.disabled{
  width:100%;
  margin-top:24px;
  background:#263244;
  color:#718096;
  cursor:not-allowed
}
.message{
  min-height:22px;
  margin-top:14px;
  font-size:13px
}
.message.error{
  color:#fca5a5
}
.hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:30px;
  margin-bottom:30px
}
.hero h1{
  font-size:36px;
  margin:7px 0
}
.eyebrow{
  color:#60a5fa;
  font-size:12px;
  font-weight:900;
  letter-spacing:.13em
}
.safe-badge,.badge{
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em
}
.safe-badge{
  padding:10px 14px;
  color:#fbbf24;
  background:#30270d;
  border:1px solid #5b4711
}
.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}
.proxy-card{
  padding:28px
}
.proxy-head{
  display:flex;
  justify-content:space-between;
  gap:15px
}
.proxy-head h2{
  margin:5px 0
}
.badge{
  align-self:flex-start;
  padding:7px 10px
}
.neutral{
  color:#cbd5e1;
  background:#253044
}
.ip{
  margin-top:32px;
  padding:17px;
  border-radius:10px;
  background:#0b1220;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:18px
}
.info-card{
  margin-top:22px;
  padding:28px
}
.info-card h2{
  margin-top:0
}
.info-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
  border-top:1px solid #263142
}
footer{
  padding:24px 0;
  color:#64748b;
  font-size:12px;
  text-align:center
}
@media(max-width:700px){
  .shell{width:min(100% - 22px,1120px)}
  main{padding:30px 0}
  .login-card{padding:25px;margin-top:5vh}
  .hero{display:block}
  .safe-badge{display:inline-block;margin-top:12px}
  .hero h1{font-size:29px}
  .grid{grid-template-columns:1fr}
  .info-row{display:block}
  .info-row strong{display:block;margin-top:5px}
}


/* FAILOVER WEB — HEALTH VISUAL */

.health-row{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:12px 2px;
  font-size:13px;
  color:#94a3b8
}

.health{
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em
}

.health.checking{
  color:#cbd5e1;
  background:#253044
}

.health.healthy{
  color:#86efac;
  background:#12351f
}

.health.unhealthy{
  color:#fca5a5;
  background:#431a1a
}

.health.unavailable{
  color:#fde68a;
  background:#3a300e
}
