html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  min-height: calc(100vh - 190px);
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(22, 52, 84, 0.16);
}

.login-hero {
  position: relative;
  min-height: 620px;
  background: #e9f5f1;
}

.login-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.login-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 69, 88, 0.72), rgba(0, 69, 88, 0.16) 58%, rgba(255, 255, 255, 0.1));
}

.login-hero-overlay {
  position: absolute;
  z-index: 1;
  left: 48px;
  right: 48px;
  bottom: 48px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.login-hero-kicker {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.login-hero-overlay h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.login-hero-overlay p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  background:
    radial-gradient(circle at top right, rgba(0, 171, 142, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff, #f7fbfd);
}

.login-card {
  width: min(100%, 430px);
}

.login-brand {
  margin-bottom: 2rem;
  text-align: center;
}

.login-brand img {
  max-width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.login-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #18364a;
  text-align: center;
}

.login-subtitle {
  color: #6c7a86;
  text-align: center;
}

.login-card .form-label {
  font-weight: 700;
  color: #2f4656;
}

.login-card .form-control {
  border-radius: 14px;
  border-color: #d9e4ea;
}

.login-card .btn-primary {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b8f86, #1877c9);
  box-shadow: 0 14px 28px rgba(24, 119, 201, 0.22);
  font-weight: 800;
}

.login-note {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  color: #597080;
  background: #edf8f7;
  font-size: 0.95rem;
  text-align: center;
}

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

  .login-hero {
    min-height: 260px;
  }

  .login-hero-overlay {
    left: 28px;
    right: 28px;
    bottom: 28px;
  }

  .login-panel {
    padding: 36px 24px;
  }
}