main {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
}
@media (max-width: 900px) { main { grid-template-columns: 1fr; } main .side { display: none; } }

.side {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(123,182,217,0.35), transparent 60%),
    linear-gradient(180deg, #0E3A66 0%, #0B2440 100%);
  color: #E8F1FA; padding: 64px 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.side .eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #7BB6D9; }
.side h2 { color: #fff; font-size: clamp(1.8rem, 2.4vw, 2.2rem); margin: 12px 0 16px; line-height: 1.15; letter-spacing: -0.03em; }
.side .lead { color: #B9CCE2; font-size: 17px; max-width: 380px; line-height: 1.55; }

.quote-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--rx-radius-lg); padding: 24px; margin-top: 32px; backdrop-filter: blur(8px); max-width: 420px; }
.quote-card p { color: #DDE9F5; font-size: 15px; line-height: 1.55; margin: 0 0 14px; font-style: italic; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #7BB6D9, #1E7BC8); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.quote-card .name { color: #fff; font-weight: 600; font-size: 14px; line-height: 1.2; }
.quote-card .role { color: #93AECC; font-size: 12px; }

.form-pane {
  display: flex; align-items: center; justify-content: center;
  padding: 48px 32px;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(123,182,217,0.18), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FC 100%);
}
@media (max-width: 600px) { .form-pane { padding: 32px 20px; } }
.form-card { width: 100%; max-width: 420px; }
.form-card h1 { margin-bottom: 6px; }
.form-card .sub { color: var(--rx-ink-soft); margin-bottom: 28px; font-size: 16px; }

/* Field */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--rx-ink); margin-bottom: 6px; letter-spacing: .01em; }
.field .input { width: 100%; background: #fff; border: 1px solid var(--rx-line); border-radius: 12px; padding: 13px 16px; font-size: 16px; color: var(--rx-ink); transition: border-color .15s, box-shadow .15s; font-family: inherit; box-sizing: border-box; }
.field .input:focus { outline: none; border-color: var(--rx-primary); box-shadow: 0 0 0 4px rgba(30,123,200,0.12); }
.field .input::placeholder { color: var(--rx-muted); }

.pwd-wrap { position: relative; }
.pwd-wrap .toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: var(--rx-muted); cursor: pointer; padding: 6px; border-radius: 6px; }
.pwd-wrap .toggle:hover { color: var(--rx-primary); }

.row-line { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 22px; font-size: 14px; }
.row-line label { display: inline-flex; align-items: center; gap: 8px; color: var(--rx-ink-soft); cursor: pointer; }
.row-line input[type=checkbox] { accent-color: var(--rx-primary); width: 16px; height: 16px; }
.row-line a { color: var(--rx-primary); font-weight: 600; text-decoration: none; }
.row-line a:hover { text-decoration: underline; }

.submit { width: 100%; padding: 14px; font-size: 16px; }

.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--rx-muted); font-size: 13px; font-family: 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--rx-line); }

/* SSO buttons hidden until Features:SsoEnabled=true */
.sso-btn { display: none; }
[data-sso="true"] .sso-btn { display: flex; width: 100%; background: #fff; color: var(--rx-ink); border: 1px solid var(--rx-line); border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: 15px; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: all .15s; margin-bottom: 10px; text-decoration: none; }
[data-sso="true"] .sso-btn:hover { border-color: #BBD2E7; background: var(--rx-bg-tint); color: var(--rx-ink); }

.cf-turnstile { margin-bottom: 16px; }
.auth-error { background: #FFF5F5; border: 1px solid #FECACA; border-radius: var(--rx-radius); padding: 12px 16px; color: #991B1B; font-size: 14px; margin-bottom: 16px; }

.signup-line { text-align: center; margin-top: 24px; color: var(--rx-ink-soft); font-size: 14px; }
.signup-line a { color: var(--rx-primary); font-weight: 600; text-decoration: none; }
.signup-line a:hover { text-decoration: underline; }

.download-hint { font-size: 13px; color: var(--rx-muted); margin-top: 20px; text-align: center; }
.download-hint .store-badge-inline { display: inline-flex; align-items: center; gap: 6px; background: var(--rx-ink); color: #fff; text-decoration: none; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; margin: 0 2px; }
.download-hint .store-badge-inline:hover { background: var(--rx-ink-soft); }
