/* =============================================================================
   includes/css/sso.css — "Sign in with CSUB" styles
   RunnersList · CSUB Lost & Found
   ============================================================================= */

/* ── Divider ("or") ─────────────────────────────────────────────────────────── */
.sso-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.25rem 0;
  color: #9ca3af;
  font-size: .85rem;
}
.sso-divider::before,
.sso-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

/* ── CSUB SSO Button ─────────────────────────────────────────────────────────── */
.btn-sso {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  width: 100%;
  padding: .7rem 1rem;
  background: #ffffff;
  color: #1f2937;
  border: 1.5px solid #d1d5db;
  border-radius: .5rem;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.btn-sso:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  text-decoration: none;
  color: #111827;
}
.btn-sso:active {
  background: #f3f4f6;
  box-shadow: none;
}
.btn-sso:focus-visible {
  outline: 3px solid #003087; /* CSUB Navy */
  outline-offset: 2px;
}

/* ── Microsoft logo icon ─────────────────────────────────────────────────────── */
.sso-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Helper note below the button ───────────────────────────────────────────── */
.sso-note {
  text-align: center;
  font-size: .78rem;
  color: #6b7280;
  margin-top: .5rem;
}

/* ── Alert banners (error / info / success) ─────────────────────────────────── */
.alert {
  padding: .75rem 1rem;
  border-radius: .5rem;
  margin-bottom: 1rem;
  font-size: .875rem;
  border-left: 4px solid transparent;
}
.alert-error {
  background: #fef2f2;
  border-color: #ef4444;
  color: #991b1b;
}
.alert-info {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e40af;
}
.alert-success {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #166534;
}
