@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

.bmda-login-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(820px 420px at 9% 14%, rgba(255, 255, 255, 0.88), transparent 58%),
    radial-gradient(580px 320px at 90% 16%, rgba(255, 255, 255, 0.65), transparent 58%),
    linear-gradient(135deg, #edf2f7 0%, #e6ebf2 48%, #dde3ec 100%);
  position: relative;
  overflow: hidden;
}

.bmda-login-body::before,
.bmda-login-body::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(24px);
}

.bmda-login-body::before {
  width: 260px;
  height: 260px;
  left: -70px;
  bottom: -90px;
  background: rgba(255, 255, 255, 0.8);
}

.bmda-login-body::after {
  width: 240px;
  height: 240px;
  right: -70px;
  top: -85px;
  background: rgba(255, 255, 255, 0.72);
}

.bmda-login-shell {
  width: min(1240px, 100%);
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 56px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  position: relative;
  z-index: 1;
}

.bmda-login-hero {
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.82), transparent 42%),
    linear-gradient(140deg, #d7dde6 0%, #c7d0db 46%, #b6c0cd 100%);
  color: #0f172a;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.bmda-login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.38) 100%);
  pointer-events: none;
}

.bmda-hero-inner {
  position: relative;
  max-width: 540px;
}

.bmda-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: #000000;
}

.bmda-hero-title {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
}

.bmda-hero-subtitle {
  margin: 0;
  color: #000000;
  font-weight: 600;
}

.bmda-hero-copy {
  margin-top: 1rem;
  max-width: 460px;
  color: #000000;
  line-height: 1.7;
}

.bmda-login-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.56), transparent 40%),
    linear-gradient(180deg, rgba(234, 239, 245, 0.88) 0%, rgba(227, 233, 241, 0.9) 100%);
}

.bmda-login-auth #loginCard,
.bmda-login-auth #resetCard {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(148, 163, 184, 0.34) !important;
  backdrop-filter: blur(18px);
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.bmda-login-auth .text-gray-900 {
  color: #000000 !important;
}

.bmda-login-auth .text-gray-800,
.bmda-login-auth .text-gray-700 {
  color: #000000 !important;
}

.bmda-login-auth .text-gray-600,
.bmda-login-auth .text-gray-500,
.bmda-login-auth .text-gray-400 {
  color: #000000 !important;
}

.bmda-login-auth input[type="email"],
.bmda-login-auth input[type="password"] {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(148, 163, 184, 0.48) !important;
  color: #000000 !important;
}

.bmda-login-auth input::placeholder {
  color: #94a3b8 !important;
}

.bmda-login-auth input[type="email"]:focus,
.bmda-login-auth input[type="password"]:focus {
  border-color: rgba(71, 85, 105, 0.5) !important;
  box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.2) !important;
}

.bmda-login-auth #togglePassword {
  color: #000000 !important;
}

.bmda-login-auth #togglePassword:hover {
  color: #000000 !important;
}

.bmda-login-auth #forgotPasswordBtn {
  color: #000000 !important;
}

.bmda-login-auth #forgotPasswordBtn:hover {
  color: #000000 !important;
}

.bmda-login-auth #loginCard button[type="submit"],
.bmda-login-auth #resetCard button[type="submit"] {
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.24) !important;
}

.bmda-login-auth #loginCard button[type="submit"]:hover,
.bmda-login-auth #resetCard button[type="submit"]:hover {
  background: #000000 !important;
}

.bmda-login-auth #backToLoginBtn {
  background: rgba(255, 255, 255, 0.62) !important;
  color: #000000 !important;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.bmda-login-auth #backToLoginBtn:hover {
  background: rgba(255, 255, 255, 0.84) !important;
}

.bmda-login-auth input[type="checkbox"] {
  accent-color: #000000;
}

@media (max-width: 1024px) {
  .bmda-login-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bmda-login-hero {
    min-height: 210px;
    padding: 1.5rem;
    justify-content: flex-start;
  }

  .bmda-hero-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .bmda-hero-copy {
    display: none;
  }

  .bmda-login-auth {
    padding: 1rem 0.9rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .bmda-login-hero {
    min-height: 165px;
  }

  .bmda-hero-subtitle {
    font-size: 0.92rem;
  }
}
