html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* ------------------------------------------------------------------
   AEL visual language (UI_Images/AEL01-AEL14): AEL red accents, white cards,
   light page background, Active/Inactive status pills.
   ------------------------------------------------------------------ */
:root {
  --ael-red: #c8102e;
  --ael-red-dark: #a00d24;
  --ael-red-tint: #fdecee;
  --ael-navy: #0f1c2e;
  --ael-muted: #5b6573;
  --ael-page-bg: #f5f7fa;
  --ael-border: #e3e7ed;
  --ael-green: #1e7b34;
  --ael-green-tint: #e6f4ea;
}

body {
  background-color: var(--ael-page-bg);
  color: var(--ael-navy);
}

.ael-logo {
  height: 40px;
  width: auto;
}

.ael-page-banner {
  padding: 1.25rem 0 0.5rem;
}

.ael-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--ael-muted);
}

.ael-eyebrow::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--ael-red);
  margin-bottom: 0.5rem;
}

.ael-page-title {
  font-weight: 700;
  margin: 0.25rem 0;
}

.ael-page-subtitle {
  color: var(--ael-muted);
}

.ael-card {
  background: #fff;
  border: 1px solid var(--ael-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 28, 46, 0.06);
}

.ael-guidelines ul {
  padding-left: 1.1rem;
}

.btn-ael {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ael-red);
  --bs-btn-border-color: var(--ael-red);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ael-red-dark);
  --bs-btn-hover-border-color: var(--ael-red-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ael-red-dark);
  --bs-btn-active-border-color: var(--ael-red-dark);
}

.ael-required {
  color: var(--ael-red);
}

.ael-back-link {
  color: var(--ael-navy);
  text-decoration: none;
}

.ael-back-link:hover {
  color: var(--ael-red);
}

.ael-table thead th {
  background: var(--ael-page-bg);
  font-weight: 600;
}

.ael-pill {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.ael-pill-active {
  background: var(--ael-green-tint);
  color: var(--ael-green);
}

.ael-pill-inactive {
  background: var(--ael-red-tint);
  color: var(--ael-red-dark);
}

.ael-alert-error {
  background: var(--ael-red-tint);
  border: 1px solid #f5c2c9;
  color: var(--ael-red-dark);
}

.ael-alert-info {
  background: var(--ael-page-bg);
  border: 1px solid var(--ael-border);
  color: var(--ael-navy);
}

.ael-alert-error-soft {
  background: var(--ael-red-tint);
  border: 1px solid #f5c2c9;
  color: var(--ael-navy);
}

.ael-text-red {
  color: var(--ael-red);
}

/* Landing (AEL01) */
.ael-landing {
  padding: 2rem 0;
}

.ael-landing-title {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0.75rem 0 1rem;
}

.ael-entry-card {
  display: block;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--ael-border);
  border-radius: 0.5rem;
  color: var(--ael-navy);
  text-decoration: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.ael-entry-card:hover,
.ael-entry-card:focus {
  border-color: var(--ael-red);
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.12);
  color: var(--ael-navy);
}

.ael-entry-title {
  display: block;
  font-weight: 700;
  font-size: 1.15rem;
}

.ael-entry-text {
  display: block;
  color: var(--ael-muted);
}

/* Split sign-in layout (AEL02, AEL03, AEL06, AEL07); stacks on small screens. */
.ael-auth {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1rem 0 2rem;
}

@media (min-width: 992px) {
  .ael-auth {
    grid-template-columns: 5fr 6fr;
    align-items: stretch;
  }
}

.ael-auth-hero {
  background: linear-gradient(160deg, #1d3552 0%, var(--ael-navy) 100%);
  color: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
}

.ael-auth-hero-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0.5rem 0;
}

.ael-eyebrow-light {
  color: rgba(255, 255, 255, 0.85);
}

.ael-otp-input {
  letter-spacing: 0.5em;
  font-size: 1.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ael-alert-error:empty,
.validation-summary-valid.ael-alert-error {
  display: none;
}
/* ---- Merged from Views/Shared/_Layout.cshtml.css (ASP.NET CSS isolation bundle; PHP has no scoped CSS) ---- */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

