/* ── Auth Pages ──────────────────────────────────────────────── */
.auth-body {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
}

.auth-container {
  width: 100%;
  max-width: 420px;
}

.auth-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  text-decoration: none;
  color: var(--text);
  transition: color var(--transition);
}

.auth-logo:hover {
  color: var(--accent);
}

.logo-icon { font-size: 28px; }
.logo-text  { font-size: 20px; font-weight: 700; }

.auth-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.auth-form .form-group { margin-bottom: 14px; }

.input-password-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-password-wrap input {
  flex: 1;
  width: auto;
  min-width: 0;
}
.btn-show-password {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-show-password:hover {
  background: var(--surface-2);
  color: var(--text);
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--accent);
  font-weight: 500;
  transition: color var(--transition);
}

.auth-switch a:hover {
  color: var(--accent-hover);
}

.auth-lang {
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.auth-lang button {
  background: none;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}
.auth-lang button.active {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.auth-lang button:hover { background: var(--surface-2); }

@media (max-width: 480px) {
  .auth-box { padding: 24px 20px; }
}
