/* Dedicated login styles. Keep isolated from app-wide UI changes. */

body.login-page-shell {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(243, 245, 247, 0.68) 0%, rgba(233, 236, 239, 0.74) 100%),
    url('/images/branding/3k-login-bg.jpg') center center / cover no-repeat fixed;
  position: relative;
  overflow-x: hidden;
}

body.login-page-shell .login-page-backdrop-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.login-page-shell .login-page-backdrop-shapes .shape {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), rgba(82, 195, 238, 0.26));
  filter: blur(2px);
}

body.login-page-shell .login-page-backdrop-shapes .shape-one {
  width: 360px;
  height: 360px;
  top: 3%;
  left: -110px;
  opacity: 0.35;
}

body.login-page-shell .login-page-backdrop-shapes .shape-two {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 6%;
  opacity: 0.32;
}

body.login-page-shell .login-page-backdrop-shapes .shape-three {
  width: 300px;
  height: 300px;
  bottom: -70px;
  left: 30%;
  opacity: 0.18;
}

body.login-page-shell .login-page-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

body.login-page-shell .login-page-frame {
  position: relative;
  width: min(1180px, 100%);
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(360px, 44%) minmax(0, 56%);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(171, 171, 171, 0.32);
}

body.login-page-shell .login-page-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.55), transparent 22%),
    radial-gradient(circle at 84% 82%, rgba(0, 146, 207, 0.12), transparent 24%);
  pointer-events: none;
}

body.login-page-shell .login-page-left,
body.login-page-shell .login-page-right {
  position: relative;
  z-index: 1;
}

body.login-page-shell .login-page-left {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

body.login-page-shell .login-page-left::after {
  content: '';
  position: absolute;
  top: 8%;
  right: -36px;
  width: 72px;
  height: 84%;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 42px;
  filter: blur(1px);
}

body.login-page-shell .login-page-left-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

body.login-page-shell .login-page-logo {
  width: min(240px, 62vw);
  max-width: 100%;
  height: auto;
  margin-bottom: 0;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

body.login-page-shell .login-page-card {
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body.login-page-shell .login-page-card-header {
  margin-bottom: 1.2rem;
}

body.login-page-shell .login-page-app-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  background: linear-gradient(135deg, rgba(0, 146, 207, 0.14), rgba(0, 119, 181, 0.08));
  border: 1px solid rgba(0, 146, 207, 0.25);
  border-radius: 0.95rem;
  padding: 0.45rem 0.75rem;
  margin: 0 auto 0.65rem;
}

body.login-page-shell .login-page-app-brand-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0092cf, #0077b5);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 119, 181, 0.25);
  font-size: 0.95rem;
}

body.login-page-shell .login-page-app-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

body.login-page-shell .login-page-app-brand-kicker {
  color: #006e97;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
  font-weight: 700;
}

body.login-page-shell .login-page-app-brand-text strong {
  color: #00354a;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

body.login-page-shell .login-page-card h2 {
  margin: 0;
  color: #1f2430;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

body.login-page-shell .login-page-form .form-label,
body.login-page-shell .login-page-form .form-check-label {
  color: #1f2430;
}

body.login-page-shell .login-page-form .form-control {
  border-radius: 0.9rem;
  border-color: rgba(127, 184, 232, 0.45);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

body.login-page-shell .login-page-form .form-control:focus {
  border-color: #0092cf;
  box-shadow: 0 0 0 0.2rem rgba(0, 146, 207, 0.16);
}

body.login-page-shell .login-page-options {
  padding: 0.25rem 0;
}

body.login-page-shell .login-page-help {
  color: #0092cf;
  font-weight: 600;
}

body.login-page-shell .login-page-footer-note {
  color: #6c757d;
  font-size: 0.9rem;
  border-top: 1px solid rgba(127, 184, 232, 0.25);
  margin-top: 1.25rem;
  padding-top: 1rem;
  text-align: center;
}

body.login-page-shell .btn-login-primary {
  background: linear-gradient(90deg, #0092cf 0%, #0077b5 100%);
  border: none;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 146, 207, 0.25);
}

body.login-page-shell .btn-login-primary:hover {
  background: linear-gradient(90deg, #00a0e0 0%, #0092cf 100%);
  color: #ffffff;
}

body.login-page-shell .login-page-right {
  background: linear-gradient(135deg, #0092cf 0%, #3cb3da 52%, #89e1df 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #ffffff;
}

body.login-page-shell .login-page-right::before {
  content: '';
  position: absolute;
  left: -55px;
  top: 0;
  width: 120px;
  height: 100%;
  background: rgba(255, 255, 255, 0.82);
  clip-path: path('M 120 0 C 40 16, 40 114, 0 160 C 42 214, 40 308, 120 360 L 120 0 Z');
  opacity: 0.95;
  transform: scaleY(1.7);
}

body.login-page-shell .login-page-right-inner {
  position: relative;
  z-index: 1;
  max-width: 380px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

body.login-page-shell .login-page-right-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

body.login-page-shell .login-page-right h1 {
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1;
  margin: 0 0 0.85rem;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: #ffffff;
}

body.login-page-shell .login-page-right p {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
}

body.login-page-shell .login-page-right-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

@media (max-width: 992px) {
  body.login-page-shell {
    background-attachment: scroll;
  }

  body.login-page-shell .login-page-stage {
    padding: 1rem;
  }

  body.login-page-shell .login-page-frame {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  body.login-page-shell .login-page-left::after,
  body.login-page-shell .login-page-right::before {
    display: none;
  }

  body.login-page-shell .login-page-right {
    padding: 2.25rem 1.5rem;
  }
}

@media (max-width: 576px) {
  body.login-page-shell .login-page-left {
    padding: 1.25rem;
  }

  body.login-page-shell .login-page-right {
    padding: 1.5rem 1.25rem;
  }

  body.login-page-shell .login-page-right h1 {
    font-size: 2rem;
  }
}

