:root {
  --bg-page: #dfe8f4;
  --bg-card: #ffffff;
  --text-main: #101c3d;
  --text-muted: #64748b;
  --border-soft: #e2e8f0;
  --border-light: rgba(255, 255, 255, 0.7);
  --orange: #ff7a18;
  --orange-soft: #ffc62b;
  --shadow-main: 0 30px 80px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 20px 16px;
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
}

body.modal-open {
  overflow: hidden;
}

.login-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  max-width: 1280px;
  min-height: calc(100vh - 40px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 36px;
  background: var(--bg-card);
  box-shadow: var(--shadow-main);
}

.login-panel {
  padding: 36px;
}

.login-panel-left {
  border-right: 1px solid #f1f5f9;
}

.login-panel-right {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(135deg, #f8df85 0%, #fbb06a 55%, #ff8b33 100%);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  background: #fff;
}

.brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-title {
  margin: 0;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.brand-subtitle {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-copy {
  max-width: 560px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 60px;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 16px 0 0;
  max-width: 520px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-muted);
}

.login-form {
  margin-top: 32px;
}

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

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}

.form-group input {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border: 2px solid var(--border-soft);
  border-radius: 18px;
  font-size: 16px;
  outline: none;
}

.form-group input:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.14);
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 18px;
  font-size: 16px;
  font-weight: 700;
}

.form-meta a,
.verification-link a {
  color: var(--text-main);
  text-decoration: none;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
}

.button-stack {
  display: grid;
  gap: 16px;
}

.btn {
  width: 100%;
  height: 56px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.btn-primary {
  border: none;
  color: #fff;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-soft) 100%);
  box-shadow: 0 18px 30px rgba(249, 115, 22, 0.28);
}

.btn-secondary {
  border: 3px solid var(--orange);
  color: var(--orange);
  background: #fff;
}

.verification-link {
  margin-top: 18px;
  text-align: right;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
}

.form-status-success {
  color: #15803d;
}

.form-status-error {
  color: #b91c1c;
}

.verification-link a {
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hidden {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(6px);
}

.modal-card {
  width: min(100%, 760px);
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.24);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.modal-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.modal-header h3 {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  color: var(--text-main);
}

.modal-close {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #f8fafc;
  color: var(--text-main);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.register-form {
  display: grid;
  gap: 18px;
}

.two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.two-column-grid label {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}

.two-column-grid input {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border: 2px solid var(--border-soft);
  border-radius: 18px;
  font-size: 16px;
  outline: none;
}

.two-column-grid input:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.14);
}

.promo-badge {
  align-self: flex-start;
  padding: 14px 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.promo-copy {
  margin-top: 56px;
  max-width: 384px;
}

.promo-copy h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.promo-line {
  width: 128px;
  height: 8px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--orange);
}

.promo-card {
  max-width: 640px;
  margin-top: 40px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 50px rgba(255, 255, 255, 0.2);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.promo-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 24px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  font-size: 18px;
  font-weight: 900;
}

.promo-visual {
  position: relative;
  flex: 1;
  min-height: 360px;
  margin-top: 24px;
  padding-top: 24px;
}

.promo-glow {
  position: absolute;
  right: -12%;
  bottom: -26%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.promo-bars {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  opacity: 0.55;
}

.bar {
  display: block;
  width: 40px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: rgba(101, 163, 13, 0.45);
}

.bar-small {
  height: 56px;
}

.bar-tall {
  width: 48px;
  height: 112px;
}

.bar-mid {
  height: 72px;
  background: rgba(101, 163, 13, 0.35);
}

.promo-image-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  margin-top: 32px;
  margin-left: auto;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.promo-image-wrap img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

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

  .login-panel-left {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }

  .hero-copy h1,
  .promo-copy h2 {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 12px;
  }

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

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

  .brand-title {
    font-size: 28px;
  }

  .brand-subtitle {
    letter-spacing: 0.2em;
  }

  .hero-copy h1,
  .promo-copy h2 {
    font-size: 40px;
  }

  .form-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .two-column-grid {
    grid-template-columns: 1fr;
  }

  .promo-badge {
    padding: 12px 22px;
    font-size: 12px;
  }

  .promo-card,
  .promo-tag {
    max-width: 100%;
  }

  .promo-image-wrap {
    max-width: 100%;
  }
}
