/* =============================================================
   AUTH PAGES — shared v4.0 brand styling
   Used by index.php, new_user.php, forget.php, reset_session.php,
   supportBlocked.php, supportForm.php (and the popup modal).
   ============================================================= */

:root {
  --brand-1: #8916B8;
  --brand-2: #561b5c;
  --brand-accent: #8d448b;
}

* { box-sizing: border-box; }

body.auth-body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Lato', sans-serif;
  background: url('../img/forensic1233.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
}

.auth-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  max-width: 440px;
  width: 100%;
  padding: 38px 36px 32px;
  animation: fadeInUp 0.6s ease-out;
}

.auth-card.auth-card-wide { max-width: 520px; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-logo {
  display: block;
  width: 55%;
  max-width: 190px;
  margin: 0 auto 16px;
}

.auth-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  border: none;
  border-radius: 2px;
  margin: 0 auto 20px;
}

.auth-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-accent);
  text-align: center;
  margin: 0 0 6px;
  line-height: 1.35;
}

.auth-subtitle {
  font-size: 12.5px;
  color: #6b7280;
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: 0.4px;
}

/* icon field (login / single inputs) */
.field { position: relative; margin-bottom: 16px; }
.field i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--brand-1); font-size: 15px;
}
.field input { padding-left: 42px !important; }

/* plain inputs / selects */
.auth-input,
.field input,
.auth-select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  color: #1b3a5c;
  background: #f9fafb;
  margin-bottom: 14px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input { margin-bottom: 0; }

.auth-input:focus,
.field input:focus,
.auth-select:focus {
  outline: none;
  border-color: var(--brand-1);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(137, 22, 184, 0.12);
}

.auth-section-label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 4px 0 10px;
}

.auth-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-bottom: 16px;
}
.auth-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #1b3a5c; cursor: pointer;
}
.auth-check input { accent-color: var(--brand-1); width: 16px; height: 16px; }

.auth-links {
  display: flex;
  justify-content: space-between;
  margin: 4px 2px 20px;
  font-size: 13px;
}
.auth-links a { color: var(--brand-accent); text-decoration: none; font-weight: 700; }
.auth-links a:hover { text-decoration: underline; }

.btn-signin {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(137, 22, 184, 0.3);
}
.btn-signin:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(137, 22, 184, 0.4); }
.btn-signin:active { transform: translateY(0); }

.auth-notice {
  background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca;
  border-radius: 8px; padding: 10px 12px; font-size: 13px;
  text-align: center; margin-bottom: 18px;
}
.auth-notice.ok { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
