.is-hidden {
  display: none !important;
}

.login-body-split {
  background:
    radial-gradient(circle at top left, rgba(232, 112, 10, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255, 196, 138, 0.32), transparent 28%),
    linear-gradient(135deg, #f8f4ee 0%, #fff9f3 52%, #fff3e5 100%);
}

.login-wrapper-split {
  max-width: 1180px;
  gap: 22px;
}

.login-shell {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 440px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(196, 93, 0, 0.12);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(122, 57, 0, 0.12);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.login-showcase {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 48px;
  background:
    linear-gradient(145deg, rgba(122, 57, 0, 0.95) 0%, rgba(196, 93, 0, 0.92) 48%, rgba(232, 112, 10, 0.86) 100%);
  color: #fffdf9;
}

.login-showcase::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  pointer-events: none;
}

.login-showcase::after {
  content: "";
  position: absolute;
  top: 0;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(10px);
}

.login-showcase-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.75;
}

.login-showcase-glow-top {
  top: -60px;
  left: -20px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.12);
}

.login-showcase-glow-bottom {
  right: 48px;
  bottom: 58px;
  width: 180px;
  height: 180px;
  background: rgba(255, 248, 240, 0.18);
}

.login-showcase-inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}

.login-showcase-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-showcase-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.login-showcase-wordmark {
  display: flex;
  align-items: center;
  gap: 18px;
}

.login-showcase-wordmark img {
  flex-shrink: 0;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.14));
}

.login-showcase-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 244, 232, 0.86);
  margin-bottom: 8px;
}

.login-showcase-wordmark h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.login-showcase-copy {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.login-showcase-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 248, 240, 0.94);
}

.login-showcase-feature {
  width: fit-content;
  max-width: 100%;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 32px rgba(92, 38, 0, 0.16);
}

.login-showcase-feature-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 243, 229, 0.78);
}

.login-showcase-feature p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  color: #fffdf8;
}

.login-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 40px;
  border: none;
  border-left: 1px solid rgba(233, 236, 239, 0.88);
  border-radius: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.92);
}

.login-panel-header {
  margin-bottom: 26px;
}

.login-panel-kicker {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-panel-header h2 {
  font-size: 1.9rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.login-panel-subtitle {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.login-form-panel .form-group {
  margin-bottom: 20px;
}

.login-form-panel .form-input {
  padding: 13px 15px;
  background: #fffdfb;
}

.login-form-panel .btn-login {
  margin-top: 6px;
}

.login-wrapper-split .login-footer {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(73, 80, 87, 0.84);
}

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

  .login-showcase {
    min-height: auto;
    padding: 36px 28px;
  }

  .login-form-panel {
    border-left: none;
    border-top: 1px solid rgba(233, 236, 239, 0.88);
    padding: 38px 28px;
  }
}

@media (max-width: 640px) {
  .login-body-split {
    padding: 16px;
  }

  .login-wrapper-split {
    gap: 14px;
  }

  .login-shell {
    border-radius: 24px;
  }

  .login-showcase {
    padding: 28px 20px;
  }

  .login-showcase::before {
    inset: 16px;
    border-radius: 18px;
  }

  .login-showcase-wordmark {
    align-items: flex-start;
  }

  .login-showcase-wordmark h1 {
    font-size: 2.6rem;
  }

  .login-showcase-lead {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .login-showcase-feature {
    width: 100%;
  }

  .login-form-panel {
    padding: 28px 20px;
  }

  .login-panel-header h2 {
    font-size: 1.55rem;
  }
}

.login-help-link-wrap {
  text-align: center;
  margin-top: 12px;
}

.login-help-link {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.change-pw-note {
  background: #fff8f0;
  border: 1.5px solid #f4c08a;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.change-pw-note svg {
  color: #e8700a;
  flex-shrink: 0;
  margin-top: 2px;
}

.change-pw-note p {
  margin: 0;
  font-size: 0.82rem;
  color: #7a4a10;
  line-height: 1.5;
}

.change-pw-note p strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #c45d00;
  margin-bottom: 2px;
}

.pw-strength {
  margin-top: 6px;
}

.pw-strength-bar {
  height: 4px;
  border-radius: 2px;
  background: #e9ecef;
  overflow: hidden;
  margin-bottom: 4px;
}

.pw-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.pw-strength-text {
  font-size: 0.75rem;
  color: var(--gray-500, #6c757d);
}

.form-hint {
  font-size: 0.77rem;
  color: var(--gray-400, #adb5bd);
  margin-top: 4px;
}

.form-error.is-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 10px 14px;
  border-radius: 8px;
}

.reset-info {
  background: #f0f7ff;
  border: 1.5px solid #90caf9;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.reset-info svg {
  color: #1565c0;
  flex-shrink: 0;
  margin-top: 2px;
}

.reset-info p {
  margin: 0;
  font-size: 0.82rem;
  color: #1565c0;
  line-height: 1.5;
}

.reset-info p strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.code-input-wrapper {
  position: relative;
}

#codeInput {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.code-input-hint {
  font-size: 0.77rem;
  color: #adb5bd;
  margin-top: 4px;
}

.login-back-link {
  text-align: center;
  margin-top: 16px;
}

.login-back-link a {
  font-size: 0.82rem;
  color: var(--accent, #e8700a);
  text-decoration: none;
  font-weight: 500;
}

.login-back-link a:hover {
  text-decoration: underline;
}

.success-state {
  text-align: center;
  padding: 24px 0 8px;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #d4edda;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-icon svg {
  color: #155724;
}

.success-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #155724;
  margin: 0 0 6px;
}

.success-sub {
  font-size: 0.85rem;
  color: #6c757d;
  margin: 0 0 24px;
}

.btn-login-inline {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  padding: 12px 32px;
}
