.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
}

:root {
  --mac-teal: #008c8d;
  --mac-teal-dark: #045b60;
  --mac-gold: #ffbf47;
  --mac-ink: #10242b;
}

body.auth-modern {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 191, 71, 0.22), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(0, 140, 141, 0.2), transparent 30%),
    linear-gradient(135deg, #edf6f6, #f8fbfa) !important;
}

.auth-modern .card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1fr);
  overflow: hidden;
  border: 0 !important;
  border-radius: 32px !important;
  box-shadow: 0 34px 100px rgba(9, 34, 39, 0.18) !important;
}

.auth-modern .card::before {
  content: "";
  min-height: 620px;
  background:
    linear-gradient(180deg, rgba(5, 32, 38, 0.08), rgba(5, 32, 38, 0.76)),
    url("/images/melkbos-running-club-banner.jpg") center / cover;
}

.auth-modern .card::after {
  content: "Run your coast.";
  position: absolute;
  left: clamp(1.5rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  width: 12rem;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.auth-modern .card-body {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 3.4rem) !important;
  background: rgba(255, 255, 255, 0.96);
}

.auth-modern h3 {
  font-family: "Bebas Neue", sans-serif;
  color: var(--mac-ink);
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
}

.auth-modern .auth-register-title + h3.mb-4.text-center {
  display: none;
}

.auth-modern .text-primary {
  color: var(--mac-teal) !important;
}

.auth-modern .form-label {
  color: #38545b;
  font-size: 0.78rem;
  font-weight: 900 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-modern .form-control,
.auth-modern .input-group .btn {
  min-height: 3.1rem;
  border-color: rgba(16, 36, 43, 0.12);
  border-radius: 16px;
  font-weight: 700;
}

.auth-modern .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.auth-modern .input-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.auth-modern .form-control:focus {
  border-color: rgba(0, 140, 141, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(0, 140, 141, 0.12);
}

.auth-modern .btn-primary,
.auth-modern .btn-success {
  min-height: 3.15rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mac-teal), var(--mac-teal-dark));
  box-shadow: 0 18px 34px rgba(0, 140, 141, 0.22);
  font-weight: 900;
}

.auth-modern a {
  color: var(--mac-teal-dark);
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .auth-modern .card {
    grid-template-columns: 1fr;
  }

  .auth-modern .card::before {
    min-height: 240px;
  }

  .auth-modern .card::after {
    top: 7rem;
    bottom: auto;
  }
}

