/* ═══════════════════════════════════════════════════
   auth.css — Login / Register screen styles
═══════════════════════════════════════════════════ */

#authScreen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.auth-box {
  width: 380px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
}

.auth-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.8rem;
  letter-spacing: 3px;
  color: var(--text);
}
.auth-logo span { color: var(--orange); }

.auth-sub {
  color: var(--text3);
  font-size: 0.82rem;
  margin: 0.35rem 0 1.75rem;
}

.auth-tabs {
  display: flex;
  background: var(--bg3);
  border-radius: var(--r2);
  padding: 3px;
  margin-bottom: 1.25rem;
}
.auth-tab {
  flex: 1;
  padding: 7px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: var(--text2);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.auth-tab.active {
  background: var(--orange);
  color: #fff;
}

.auth-input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--r2);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  margin-bottom: 0.65rem;
}
.auth-input:focus { border-color: var(--orange); }

.auth-select {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--r2);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  margin-bottom: 0.65rem;
  cursor: pointer;
}

.auth-btn {
  width: 100%;
  padding: 11px;
  background: var(--orange);
  border: none;
  border-radius: var(--r2);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.35rem;
  transition: background 0.15s;
}
.auth-btn:hover { background: var(--orange2); }

.auth-switch {
  font-size: 0.78rem;
  color: var(--text3);
  margin-top: 1rem;
}
.auth-switch a {
  color: var(--orange);
  cursor: pointer;
  text-decoration: none;
}

.auth-err {
  background: rgba(224, 48, 48, 0.12);
  border: 1px solid rgba(224, 48, 48, 0.3);
  color: #ff6b6b;
  font-size: 0.78rem;
  padding: 8px 12px;
  border-radius: var(--r2);
  margin-bottom: 0.65rem;
  display: none;
}

.auth-demo {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text3);
}
.auth-demo strong { color: var(--text2); }
