/* ==========================================================================
   EUDR GLOBAL — Brand-New Light Architectural Auth Screens
   ========================================================================== */

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  background: var(--bg-canvas);
}

.auth-visual {
  position: relative;
  overflow: hidden;
  padding: 42px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border-light);
  background:
    radial-gradient(ellipse 80% 60% at 15% 15%, rgba(16, 185, 129, 0.14) 0%, transparent 60%),
    #0B1F17;
  color: #FFFFFF;
}

.auth-top-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: #9DB3A8; }
.auth-back-link:hover { color: #6EE7B7; }

.auth-blueprint {
  margin: 26px 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-bp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 13px;
  margin-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: #6EE7B7;
}

.auth-bp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(5, 15, 11, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
  font-size: 0.8rem;
}
.auth-bp-row:last-child { margin-bottom: 0; }
.auth-bp-row span:first-child { color: #9DB3A8; }
.auth-bp-row strong { font-family: var(--font-mono); font-size: 0.73rem; color: #FFFFFF; }

.auth-editorial-quote h2 { font-size: clamp(1.85rem, 2.7vw, 2.5rem); line-height: 1.09; letter-spacing: -0.03em; margin-bottom: 12px; color: #FFFFFF; }
.auth-editorial-quote h2 .serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: #6EE7B7; font-size: 1.1em; }
.auth-editorial-quote p { font-size: 0.91rem; color: #9DB3A8; line-height: 1.66; }

.auth-stats-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-stat-val { font-family: var(--font-mono); font-size: 1.06rem; font-weight: 700; color: #6EE7B7; }
.auth-stat-lbl { font-size: 0.71rem; color: #9DB3A8; margin-top: 2px; }

/* Right Ceramic Light Form Pane */
.auth-form-pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 44px 36px;
  background: var(--bg-canvas);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 34px;
  box-shadow: var(--shadow-md);
}

.auth-header { margin-bottom: 24px; }
.auth-kicker { font-family: var(--font-mono); font-size: 0.69rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--emerald-700); margin-bottom: 8px; }
.auth-header h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink-950); margin-bottom: 6px; }
.auth-header p { font-size: 0.88rem; color: var(--ink-600); }

.demo-quick-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  margin-bottom: 20px;
}
.demo-quick-box p { font-size: 0.79rem; color: var(--ink-950); line-height: 1.4; }
.demo-quick-box span { display: block; font-family: var(--font-mono); font-size: 0.68rem; color: var(--emerald-700); margin-top: 2px; }

.auth-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.auth-field-row { display: flex; justify-content: space-between; align-items: center; }
.auth-field label { font-size: 0.79rem; font-weight: 600; color: var(--ink-800); }
.auth-link { font-size: 0.8rem; color: var(--emerald-700); font-weight: 600; }
.auth-link:hover { text-decoration: underline; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .input-icon { position: absolute; left: 13px; color: var(--ink-400); pointer-events: none; display: flex; }
.input-wrap input, .input-wrap select {
  width: 100%;
  padding: 12px 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  border: 1px solid var(--border-mid);
  color: var(--ink-950);
  font-size: 0.89rem;
  outline: none;
}
.input-wrap input:focus, .input-wrap select:focus { border-color: var(--emerald-700); background: #FFFFFF; }
.toggle-pass-btn { position: absolute; right: 11px; color: var(--ink-400); display: flex; padding: 4px; }

.auth-checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ink-600); cursor: pointer; margin-bottom: 18px; }
.auth-checkbox input { width: 16px; height: 16px; accent-color: var(--emerald-700); }

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--ink-400); font-size: 0.72rem; font-family: var(--font-mono); text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-light); }

.sso-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sso-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bg-white); border: 1px solid var(--border-mid); font-size: 0.82rem; font-weight: 600; color: var(--ink-800); }
.sso-btn:hover { background: var(--bg-subtle); }

.auth-foot { margin-top: 22px; text-align: center; font-size: 0.84rem; color: var(--ink-600); }
.auth-success-panel { display: none; padding: 24px; border-radius: var(--radius-md); background: var(--emerald-50); border: 1px solid var(--emerald-100); text-align: center; }
.auth-success-panel.visible { display: block; }
.auth-two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mobile-brand-bar { display: none; margin-bottom: 20px; }

@media (max-width: 960px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .mobile-brand-bar { display: flex; justify-content: space-between; align-items: center; }
  .auth-form-pane { padding: 28px 18px; }
}
@media (max-width: 520px) { .sso-row, .auth-two-col { grid-template-columns: 1fr; } .auth-card { padding: 26px 20px; } }
