*{box-sizing:border-box}

:root{
  --shell:#0b1426;
  --shell-deep:#07101e;
  --panel:#0f1c31;
  --panel-2:#0b1729;
  --line:#29415d;
  --line-soft:rgba(255,255,255,.08);
  --blue:#2878ff;
  --blue2:#415fff;
  --cyan:#37bde9;
  --text:#f7f9fc;
  --muted:#9eb0c6;
}

html,body{min-height:100%}

body{
  margin:0;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  background:
    radial-gradient(circle at 50% 8%,rgba(34,102,180,.20),transparent 35%),
    linear-gradient(180deg,var(--shell) 0%,var(--shell-deep) 100%);
  color:var(--text);
}

.auth{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:44px 24px;
  position:relative;
  overflow:hidden;
}

.auth:before,
.auth:after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  filter:blur(2px);
}
.auth:before{
  width:420px;height:420px;
  left:-180px;top:-170px;
  background:radial-gradient(circle,rgba(40,120,255,.10),transparent 68%);
}
.auth:after{
  width:500px;height:500px;
  right:-220px;bottom:-240px;
  background:radial-gradient(circle,rgba(55,189,233,.08),transparent 68%);
}

.panel{
  position:relative;
  z-index:1;
  width:min(460px,94vw);
  padding:34px 38px 36px;
  border:1px solid rgba(74,107,143,.60);
  border-radius:20px;
  background:
    linear-gradient(180deg,rgba(16,31,53,.98),rgba(9,22,39,.99));
  box-shadow:
    0 28px 80px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.logo{
  width:188px;
  height:60px;
  margin:0 auto 25px;
  border:0;
  border-radius:0;
  background:
    url("/auth-assets/visionary_logo_auth.jpg")
    center/contain no-repeat;
  color:transparent;
  overflow:hidden;
  box-shadow:none;
}

.eyebrow{
  margin-bottom:6px;
  text-align:center;
  color:#60b9ff;
  font-size:10px;
  line-height:1;
  letter-spacing:.15em;
  font-weight:800;
}

.panel h1{
  margin:8px 0 7px;
  text-align:center;
  color:#fff;
  font-size:30px;
  line-height:1.08;
  letter-spacing:-.035em;
  font-weight:750;
}

.panel>p{
  max-width:340px;
  margin:0 auto 28px;
  text-align:center;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

form{display:grid;gap:16px}

label{
  color:#d5dfeb;
  font-size:12px;
  font-weight:650;
}

input{
  display:block;
  width:100%;
  height:46px;
  margin-top:7px;
  padding:0 13px;
  border:1px solid #344d68;
  border-radius:10px;
  outline:none;
  background:#071524;
  color:#fff;
  font:500 14px/1 Inter,"Segoe UI",Arial,sans-serif;
  transition:border-color .15s,box-shadow .15s,background .15s;
}

input:hover{border-color:#45617f}

input:focus{
  border-color:#408cff;
  background:#09192c;
  box-shadow:
    0 0 0 3px rgba(40,120,255,.12),
    0 0 16px rgba(40,120,255,.10);
}

button,
.secondary{
  min-height:46px;
  border-radius:10px;
  font:700 13px/1 Inter,"Segoe UI",Arial,sans-serif;
  cursor:pointer;
  text-align:center;
  text-decoration:none;
  transition:transform .14s,box-shadow .14s,border-color .14s;
}

button{
  border:0;
  background:linear-gradient(135deg,#247cff 0%,#3a68ff 58%,#6255ee 100%);
  color:#fff;
  box-shadow:0 7px 18px rgba(39,104,255,.22);
}

button:hover,
.secondary:hover{transform:translateY(-1px)}

.secondary{
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #35516f;
  background:#10233b;
  color:#edf4ff;
}

.secondary:hover{
  border-color:#4a6786;
  background:#132944;
}

.right{text-align:right;margin-top:-5px}

.right a,
.back,
.devbox a{
  color:#70c9f5;
  text-decoration:none;
  font-size:11px;
  font-weight:650;
}

.right a:hover,
.back:hover,
.devbox a:hover{text-decoration:underline}

.back{
  display:inline-flex;
  align-items:center;
  margin-bottom:18px;
}

.divider{
  display:flex;
  align-items:center;
  gap:11px;
  margin:24px 0 15px;
  color:#8094aa;
  font-size:10.5px;
}

.divider:before,
.divider:after{
  content:"";
  height:1px;
  background:#29415b;
  flex:1;
}

.message{
  display:none;
  margin-top:17px;
  padding:11px 12px;
  border-radius:9px;
  font-size:11px;
  line-height:1.45;
}

.error{
  border:1px solid rgba(212,72,101,.25);
  background:#3a1c28;
  color:#ffc4d0;
}

.success{
  border:1px solid rgba(65,184,123,.22);
  background:#12382c;
  color:#bcefd4;
}

.info{
  border:1px solid rgba(63,151,220,.24);
  background:#102d47;
  color:#c2e5fb;
}

.devbox{
  display:none;
  margin-top:16px;
  padding:12px;
  border:1px dashed #3a6387;
  border-radius:9px;
  background:#071422;
  color:#a9bbcd;
  font-size:11px;
  line-height:1.55;
  overflow-wrap:anywhere;
}

@media(max-width:560px){
  .auth{padding:24px 14px}
  .panel{padding:28px 22px 30px;border-radius:17px}
  .logo{width:166px;height:54px;margin-bottom:22px}
  .panel h1{font-size:27px}
}
