:root {
  --brand: #1FB6D5;
  --brand-dark: #0C8FB0;
  --brand-glow: rgba(31, 182, 213, 0.35);
  --bg: #F0F4F8;
  --surface: rgba(255, 255, 255, 0.85);
  --text: #0F172A;
  --muted: #64748B;
  --border: rgba(15, 23, 42, 0.1);
  --nav-h: 80px;
  --radius: 34px;
}

/* BACKGROUND BLOBS */
.bg-blobs {
  position: fixed; inset: 0; z-index: -1;
  filter: blur(80px);
}
.blob {
  position: absolute; width: 600px; height: 600px;
  background: var(--brand-glow); border-radius: 50%;
  animation: move 20s infinite alternate;
}
.blob-1 { top: -150px; left: -150px; }
.blob-2 { bottom: -200px; right: -150px; background: rgba(31, 182, 213, 0.15); animation-delay: -5s; }

@keyframes move {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(120px, 80px) scale(1.1); }
}

/* AUTH CARD */
.auth-container {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
}

.glass-card {
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%; max-width: 500px;
  padding: 50px 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* HIGH CONTRAST ICON BOX */
.icon-box {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: 4px solid #fff; /* White border to pop on light backgrounds */
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 2rem;
  box-shadow: 0 12px 24px var(--brand-glow);
}
html[data-theme="dark"] .icon-box { border-color: var(--surface); }

/* TEXT STYLES */
.kicker {
  display: inline-flex; align-items:center; gap:8px;
  padding: 8px 14px; border-radius: 99px;
  background: rgba(31,182,213,0.1);
  color: var(--brand-dark);
  font-weight: 900; font-size: 0.75rem; letter-spacing: 0.1em;
  margin-bottom: 15px; text-transform: uppercase;
}

.title { font-weight: 950; letter-spacing: -0.05em; font-size: 2.2rem; margin-bottom: 12px; }
.title span { color: var(--brand); }

.subtitle { color: var(--muted); font-weight: 700; font-size: 1.05rem; line-height: 1.5; margin-bottom: 30px; }

/* INPUTS */
.form-floating > .form-control {
  border-radius: 16px;
  background: rgba(var(--bg), 0.4);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  padding-left: 20px;
}

.form-floating > label { padding-left: 20px; color: var(--muted); font-weight: 600; }

.helper-text {
  text-align: left; font-size: 0.9rem; color: var(--muted);
  margin-top: 10px; font-weight: 600; line-height: 1.4;
}

/* BUTTON */
.btn-main {
  background: var(--brand);
  color: white; border: none; width: 100%;
  padding: 18px; border-radius: 18px;
  font-weight: 800; font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-top: 15px;
  box-shadow: 0 10px 20px -5px var(--brand-glow);
}
.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px var(--brand-glow);
  filter: brightness(1.05);
}

/* LINKS & SUCCESS */
.link-group { margin-top: 25px; display: flex; justify-content: center; gap: 20px; }
.link-group a { color: var(--brand-dark); text-decoration: none; font-weight: 800; font-size: 0.95rem; }
.link-group a:hover { text-decoration: underline; }

#successBox {
  display: none; background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10B981; padding: 18px; border-radius: 16px;
  margin-top: 20px; font-weight: 800; font-size: 0.95rem;
}
