@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;
  background: #fef2f2;
}

.bmda-login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 1fr);
}

.bmda-login-hero {
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 45%, #ef4444 100%);
  color: #fff;
  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: radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.24), transparent 45%);
  pointer-events: none;
}

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

.bmda-hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.bmda-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: rgba(254, 226, 226, 0.95);
}

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

.bmda-hero-subtitle {
  margin: 0;
  color: rgba(254, 226, 226, 0.96);
  font-weight: 600;
}

.bmda-hero-copy {
  margin-top: 1rem;
  max-width: 460px;
  color: rgba(254, 242, 242, 0.94);
  line-height: 1.7;
}

.bmda-login-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
}

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

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

  .bmda-hero-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 0.65rem;
  }

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

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

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

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

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