/* FundSync auth UI */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html { font-size: 16px; }
}

.auth-body {
  margin: 0;
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #0b2e1d;
}

.auth-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 15% 15%, rgba(34, 197, 94, 0.35), rgba(34, 197, 94, 0) 60%),
    radial-gradient(900px 600px at 85% 25%, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0) 60%),
    linear-gradient(180deg, rgba(30, 93, 58, 1) 0%, rgba(21, 69, 44, 1) 100%);
  filter: saturate(1.05);
}

.auth-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 28px 16px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
}

.auth-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.auth-brand-title {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.1;
}

.auth-brand-subtitle {
  font-size: 12px;
  opacity: 0.78;
}

.auth-card {
  width: min(560px, 100%);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: none;
}

.auth-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.auth-subtitle {
  color: #64748b;
}

.btn-auth-primary {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.btn-auth-primary:hover,
.btn-auth-primary:focus {
  background: #15803d;
  border-color: #15803d;
  color: #fff;
}

.auth-link {
  color: #0f766e;
  text-decoration: none;
}

.auth-link:hover,
.auth-link:focus {
  text-decoration: underline;
}

.privacy-notice-inline {
  max-height: min(40vh, 22rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.form-control:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(22, 163, 74, 0.35);
  border-color: #16a34a;
}
