/* ═══════════════════════════════════════
   VOLDB — Auth Screen
   ═══════════════════════════════════════ */
.auth-screen {
  min-height: 100vh; display: flex; align-items: stretch;
  background: var(--bg);
}
.auth-left {
  width: 460px; max-width: 100%; flex-shrink: 0;
  background: var(--bg2); border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 40px 44px; overflow-y: auto;
}
.auth-logo-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 38px;
}
.auth-logo-box {
  width: 36px; height: 36px; background: var(--blue);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.auth-logo-box svg { stroke: #fff; }
.auth-app-name { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.auth-app-sub  { font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: .08em; }

.auth-heading { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.auth-sub     { font-size: 13px; color: var(--text3); margin-bottom: 26px; line-height: 1.6; }

.auth-tabs {
  display: flex; background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 3px; margin-bottom: 24px; gap: 2px;
}
.auth-tab {
  flex: 1; text-align: center; padding: 8px;
  font-size: 13px; font-weight: 600; color: var(--text3);
  border-radius: 6px; cursor: pointer; transition: all var(--transition);
}
.auth-tab.on {
  background: var(--bg2); color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}

.auth-field { margin-bottom: 14px; }
.auth-field label {
  display: block; font-size: 12.5px; font-weight: 600;
  color: var(--text2); margin-bottom: 5px;
}
.auth-input {
  width: 100%; padding: 10px 12px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-md); font-size: 14px; color: var(--text);
  outline: none; transition: all var(--transition);
}
.auth-input:focus { border-color: var(--blue-mid); background: var(--bg2); }
.auth-input::placeholder { color: var(--text4); }

.pw-wrap { position: relative; }
.pw-wrap .auth-input { padding-right: 42px; }
.pw-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text3); cursor: pointer;
  padding: 4px; display: flex; align-items: center;
  transition: color var(--transition);
}
.pw-toggle:hover { color: var(--text); }
.pw-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.auth-btn {
  width: 100%; padding: 11px; border-radius: var(--r-md); border: none;
  font-size: 14px; font-weight: 600; transition: all var(--transition);
  margin-top: 6px; cursor: pointer; font-family: var(--font);
}
.auth-btn-primary   { background: var(--blue); color: #fff; }
.auth-btn-primary:hover { background: var(--blue-mid); }
.auth-btn-secondary {
  background: transparent; color: var(--text2);
  border: 1px solid var(--border); margin-top: 8px;
}
.auth-btn-secondary:hover { background: var(--bg3); }
.auth-btn:disabled { opacity: .5; cursor: not-allowed; }

.auth-forgot {
  font-size: 12.5px; color: var(--blue); cursor: pointer;
  text-align: right; margin-top: -8px; margin-bottom: 14px;
  display: block;
}

.auth-error {
  background: var(--red-lt); border: 1px solid rgba(192,57,43,.2);
  border-radius: var(--r-md); padding: 10px 12px;
  font-size: 13px; color: var(--red); margin-bottom: 12px;
  display: none;
}
.auth-error.show { display: block; }
.auth-success {
  background: var(--green-lt); border: 1px solid rgba(26,122,64,.2);
  border-radius: var(--r-md); padding: 12px 14px;
  font-size: 13px; color: var(--green); margin-bottom: 12px;
  display: none; line-height: 1.6;
}
.auth-success.show { display: block; }

/* Right decorative panel */
.auth-right {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 48px;
  background: var(--blue);
  position: relative; overflow: hidden;
}
.auth-right-bg {
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
}
.auth-right > * { position: relative; z-index: 1; }
.auth-right-title {
  font-size: 28px; font-weight: 700; color: #fff;
  text-align: center; line-height: 1.3; max-width: 380px; margin-bottom: 12px;
}
.auth-right-sub {
  font-size: 14px; color: rgba(255,255,255,.7);
  text-align: center; line-height: 1.7; max-width: 340px; margin-bottom: 40px;
}
.auth-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  width: 100%; max-width: 380px; margin-bottom: 32px;
}
.auth-stat-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-lg); padding: 16px 18px;
}
.auth-stat-num   { font-size: 28px; font-weight: 700; color: #fff; line-height: 1; }
.auth-stat-label { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 4px; }
.auth-badge-row  { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.auth-badge {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px; padding: 5px 12px;
  font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.9);
}
.auth-footer { position: absolute; bottom: 20px; font-size: 11px; color: rgba(255,255,255,.4); }

@media (max-width: 640px) {
  .auth-left  { padding: 24px 20px; width: 100%; border-right: none; }
  .auth-right { display: none; }
}
