﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* ── Skip Navigation (WCAG 2.4.1) ── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: #197cba;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-nav:focus {
  top: 0;
  outline: 3px solid #ffbf47;
  outline-offset: 0;
}

/* ── Return nav link ── */
.nav-return {
  background-color: #197cba;
  padding-top: 0.10rem;
  padding-bottom: 0.10rem;
}
.nav-return-link {
  font-family: 'Calibri', sans-serif;
  text-decoration: none;
  color: #fff;
}
.nav-return-link:hover,
.nav-return-link:focus {
  text-decoration: underline;
  color: #fff;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background (WCAG 1.4.3) */
a {
  color: #0050aa;
}
a:hover,
a:focus {
  color: #003580;
}

/* ── Focus visibility for all interactive elements (WCAG 2.4.7) ── */
:focus-visible {
  outline: 3px solid #197cba;
  outline-offset: 2px;
}

/* Buttons */
.btn:focus,
.btn:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
  box-shadow: none;
}

/* Form controls (WCAG 2.4.7 + 1.4.11) */
.form-check-input:focus {
  outline: 3px solid #197cba;
  outline-offset: 2px;
  box-shadow: none;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}
.btn-primary:hover {
  background-color: #145aa0;
  border-color: #104d8a;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* ── Typography ── */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

/* ── Sticky footer ── */
html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

/* ── Reduce space after yes/no radio groups ── */
.card-body fieldset .form-check-inline {
  margin-bottom: 0;
}
.card-body {
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
}

/* ── Thin black outline on personal info fields ── */
#firstName,
#lastName,
#phone,
#dob {
  border: 1px solid #000;
}
