*, *::before, *::after { box-sizing: border-box; }

body.auth-body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

.auth-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  margin: 0 auto 20px;
}

.auth-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111827;
}

.auth-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-control, .form-select {
  border-radius: 8px;
  border: 1.5px solid #e5e7eb;
  padding: 10px 14px;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-primary {
  background: #2563eb;
  border-color: #2563eb;
  border-radius: 8px;
  font-weight: 600;
  padding: 11px;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-primary:active { transform: scale(0.98); }

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.875rem;
  color: #6b7280;
}

.auth-footer a { color: #2563eb; text-decoration: none; font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }

.input-group-text {
  border-radius: 8px 0 0 8px;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
}
