:root {
  --bg: #08111f;
  --card-bg: rgba(255, 255, 255, .93);
  --text: #172033;
  --text-soft: #5a6b82;
  --border: rgba(196, 207, 224, .7);
  --info: #2563eb;
  --warn-bg: #fff5e6;
  --warn-border: #ffd591;
  --warn-text: #8c4a00;
}

body {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(2, 6, 23, .38), rgba(2, 6, 23, .72)),
    url("/assets/auth-finance-bg.png") center / cover no-repeat,
    radial-gradient(circle at 16% 18%, rgba(0, 208, 255, .34), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(95, 255, 195, .22), transparent 29%),
    radial-gradient(circle at 52% 106%, rgba(66, 99, 255, .3), transparent 34%),
    linear-gradient(135deg, #020617 0%, #07111f 46%, #0b1f33 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(125, 211, 252, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
  opacity: .46;
}

body::after {
  background: radial-gradient(ellipse at center, transparent 0%, transparent 52%, rgba(2, 6, 23, .72) 100%);
}

#auth-network {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.login-panel,
.panel {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  background: linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(238, 247, 255, .9));
  border: 1px solid rgba(155, 213, 255, .58);
  box-shadow:
    0 28px 100px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(255, 255, 255, .18),
    0 0 42px rgba(56, 189, 248, .22),
    inset 0 1px 0 rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(1.15);
}

.login-panel::before,
.panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(56, 189, 248, .72), rgba(45, 212, 191, .08), rgba(99, 102, 241, .5));
  filter: blur(10px);
  opacity: .34;
}

h1 {
  color: var(--text);
}

input {
  background: rgba(255, 255, 255, .86);
}
