:root {
  --auth-navy: #0f172a;
  --auth-blue: #2563eb;
  --auth-cyan: #49b9d7;
  --auth-text: #172033;
  --auth-muted: #64748b;
  --auth-border: #dfe6ef;
}

html, body { min-height: 100%; }
body { background: #eef3f9; color: var(--auth-text); font-family: Inter, "Segoe UI", system-ui, sans-serif; }

.auth-shell.ftco-section {
  display: grid;
  min-height: 100vh;
  height: auto !important;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 12% 10%, rgba(73,185,215,.18), transparent 28%),
    radial-gradient(circle at 88% 85%, rgba(37,99,235,.11), transparent 30%),
    #eef3f9 !important;
}

.auth-container { width: 100%; max-width: 1060px; padding: 0; }
.auth-layout {
  display: grid;
  grid-template-columns: minmax(330px, .9fr) minmax(400px, 1.1fr);
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15,23,42,.16);
}

.auth-intro {
  display: flex;
  flex-direction: column;
  padding: 46px;
  background:
    radial-gradient(circle at 15% 0%, rgba(73,185,215,.2), transparent 34%),
    linear-gradient(150deg, #13213b, var(--auth-navy));
  color: #fff;
}
.auth-brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; color: #fff; font-size: 1.18rem; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.auth-brand:hover { color: #fff; text-decoration: none; }
.auth-brand img { width: 46px; height: 46px; filter: drop-shadow(0 7px 15px rgba(0,0,0,.28)); }
.auth-intro-copy { margin: auto 0; }
.auth-eyebrow { color: #7dd3e8; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.auth-intro h1 { max-width: 420px; margin: 12px 0 16px; color: #fff; font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 760; line-height: 1.06; letter-spacing: -.045em; }
.auth-intro p { max-width: 400px; margin: 0; color: #b7c4d8; font-size: .98rem; line-height: 1.7; }
.auth-intro > small { color: #71809a; font-size: .72rem; letter-spacing: .04em; }

.auth-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 70px); background: #fff; }
.auth-card > h3,
.auth-card .login-wrap ~ h3 { color: var(--auth-text) !important; }
.auth-card h3 { margin-bottom: 28px !important; text-align: left !important; font-size: 1.65rem; font-weight: 750; letter-spacing: -.035em; }
.auth-card.auth-login h3::after { content: "Use your Tromino account to continue."; display: block; margin-top: 8px; color: var(--auth-muted); font-size: .86rem; font-weight: 400; letter-spacing: 0; }
.auth-card.auth-signup h3::after { content: "Create an account to access licensing and downloads."; display: block; margin-top: 8px; color: var(--auth-muted); font-size: .86rem; font-weight: 400; letter-spacing: 0; }
.auth-card .row.justify-content-center { display: block; margin: 0; }
.auth-card .col-md-6,
.auth-card .col-lg-4 { width: 100%; max-width: none; padding: 0; flex: none; }
.auth-card .form-group { position: relative; margin-bottom: 16px; }
.auth-card .form-control {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  background: #f8fafc;
  color: var(--auth-text);
  font-size: .92rem;
  box-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.auth-card .form-control:focus { border-color: #7aa6f8; background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.11); }
.auth-card .btn-primary { border: 0; background: linear-gradient(135deg, var(--auth-blue), #1d4ed8); color: #fff; font-weight: 700; box-shadow: 0 8px 18px rgba(37,99,235,.22); }
.auth-card .btn-primary:hover { background: linear-gradient(135deg, #1d4ed8, #1e40af); }
.auth-card .field-icon { top: 15px; right: 14px; color: var(--auth-muted); }
.auth-card .span12.text-center { color: var(--auth-muted) !important; font-size: .84rem; }
.auth-card .span12.text-center a { color: var(--auth-blue) !important; font-weight: 650; }
.auth-card .text-danger { display: block; margin-bottom: 18px; padding: 11px 13px; border: 1px solid #fecaca; border-radius: 9px; background: #fef2f2; color: #b91c1c !important; text-align: left; }
.auth-card .text-dark { color: var(--auth-text) !important; }
.auth-card .signup-info .row { display: flex; margin-inline: -6px; }
.signup-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.auth-card .signup-info .col { padding-inline: 6px; }
.auth-card .quiz-control { max-width: 120px; }

@media (max-width: 800px) {
  .auth-shell.ftco-section { padding: 18px; }
  .auth-layout { grid-template-columns: 1fr; min-height: 0; }
  .auth-intro { padding: 24px 28px; }
  .auth-intro-copy { margin: 34px 0 8px; }
  .auth-intro h1 { margin-bottom: 0; font-size: 1.8rem; }
  .auth-intro p, .auth-intro > small, .auth-eyebrow { display: none; }
  .auth-card { padding: 34px 28px 40px; }
}

@media (max-width: 480px) {
  .auth-shell.ftco-section { padding: 0; place-items: stretch; }
  .auth-layout { min-height: 100vh; border: 0; border-radius: 0; }
  .auth-card .signup-info .row { display: block; }
}
