body {
  min-height: 100vh;
  overflow-x: hidden;
}

.login-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  margin: 0;
}

.login-visual {
  position: relative;
  min-height: 100vh;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(135deg, #2d0e05 0%, #6b1a08 48%, #c2410c 100%);
}

.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 78% 20%, black, transparent 62%);
  pointer-events: none;
}

.login-brand,
.login-promise,
.login-stats {
  position: relative;
  z-index: 1;
}

.brand-line {
  width: 220px;
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, #fb923c, rgba(251, 146, 60, 0.3), transparent);
}

.login-promise {
  max-width: 620px;
}

.login-promise h1 {
  margin: 0 0 24px;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 400;
}

.login-promise em {
  color: #fb923c;
}

.login-promise p:not(.eyebrow) {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.75;
}

.login-stats {
  display: flex;
  gap: 46px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.login-stats strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.login-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.login-form-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px;
  background: #0f0604;
}

.login-form {
  width: min(440px, 100%);
}

.login-form h2 {
  margin: 0 0 8px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 30px;
  line-height: 1.2;
}

.login-form p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
}

.login-form label {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.login-form label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 0 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: #fff7ed;
  font: inherit;
}

.login-form input:focus {
  border-color: rgba(251, 146, 60, 0.75);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.12);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.check-label {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.check-label span {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}

.form-row a {
  color: #fb923c;
  font-size: 13px;
}

.form-message {
  min-height: 20px;
  margin-top: 16px !important;
  font-size: 13px;
}

.form-message.is-error {
  color: #fdba74;
}

.form-message.is-success {
  color: #86efac;
}

.login-form button {
  width: 100%;
  min-height: 50px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #ea580c, #c2410c);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.login-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.powered {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.powered strong {
  color: #fb923c;
}

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

  .login-visual {
    min-height: 58vh;
    padding: 36px 22px;
  }

  .login-form-panel {
    min-height: auto;
    padding: 42px 22px 56px;
  }
}
