html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Enterprise Sans VF', sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem #258cfb;
}

.consent-step {
  position: relative;
  padding-bottom: 1.75rem;
}

/* Vertical connector line */
.consent-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.9375rem;
  top: 2.1rem;
  bottom: 0;
  width: 2px;
  background-color: #d0d7de;
}

.consent-step.is-active:not(:last-child)::after,
.consent-step.is-complete:not(:last-child)::after {
  background-color: #1b3a6b;
}

.consent-step-header {
  display: flex;
  gap: 0.75rem;
}

/* Badge (circle with number) */
.consent-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background-color: #fff;
  color: #adb5bd;
  border: 2px solid #d0d7de;
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.consent-step-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #adb5bd;
}

.consent-step-description {
  margin: 0.375rem 0 0 2.625rem;
  color: #6c757d;
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* Active step */
.consent-step.is-active .consent-step-badge {
  background-color: #e8edf5;
  color: #1b3a6b;
  border-color: #1b3a6b;
}

.consent-step.is-active .consent-step-title {
  color: #1a1a1a;
  font-size: 0.9375rem;
  font-weight: 700;
}

/* Complete step */
.consent-step.is-complete .consent-step-badge {
  background-color: #1b3a6b;
  color: #fff;
  border-color: #1b3a6b;
}

.consent-step.is-complete .consent-step-title {
  color: #1b3a6b;
}

@media (max-width: 767.98px) {
  .consent-stepper {
    margin-bottom: 1.5rem;
  }
}

.form-control.input-validation-error {
    border-color: #dc3545;
}

#btn-continue:disabled {
  background-color: #9e9e9e;
  border-color: #9e9e9e;
  cursor: not-allowed;
  opacity: 1;
}

.form-control {
  border: 1px solid #4b4d4f;
  box-shadow: 0px 1px 2px 0px #1212170d;
}

.consent-success-alert {
  background-color: #EFF6EF;
  backdrop-filter: blur(1.5px);
}

.consent-success-alert .bi-check-circle-fill {
  color: #007000;
}

.consent-option-heading {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: #095F87;
}

.consent-summary-card {
  box-shadow:
    0px 2px 6px 0px #0000001F,
    0px 0px 2px 0px #0000000F,
    0px 4px 10px 0px #00000008;
}

.consent-summary-body {
  padding: 28px;
  gap: 14px;
  color: #323334;
  line-height: 1.4;
}

.consent-terms-link {
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  color: #0C55B8;
  text-decoration: underline;
  text-decoration-style: solid;
}

.consent-integration-link {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: #0C55B8;
}

@font-face {
  font-family: 'Enterprise Sans VF';
  src: url('../fonts/EnterpriseSansVF-Regular.woff2') format('woff2-variations');
  /* Prefer woff2 for variable fonts */
  font-weight: 100 900;
  /* Define the weight range for the variable font */
  font-style: normal;
  font-display: swap;
}

.optum-header {
  background-color: #ffffff;
  padding: 18px 48px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.optum-logo {
  font-size: 22px;
  font-weight: 600;
}

.optum-logo .brand,
.navbar-brand .brand {
  color: #f26722;
}

:root {
  --site-footer-height: 96px;
}

.page-wrapper {
  flex: 1 0 auto;
  min-height: 0;
}

.brand-only-layout .page-wrapper {
  flex: 1 0 auto;
  min-height: 0;
}

.brand-only-layout .sign-in-page {
  min-height: inherit;
  padding-left: 0;
  padding-right: 0;
}

.brand-only-layout .sign-in-page .signin-shell {
  min-height: inherit;
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 768px) {
  .brand-only-layout .sign-in-right-panel {
    height: 100%;
  }

  .brand-only-layout .sign-in-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.sign-in-page .title {
  font-size: 40px;
  font-weight: 600;
  color: #333;
  margin-bottom: 18px;
  line-height: 1.2;
}

.sign-in-page .desc {
  color: #6c757d;
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.sign-in-page .bi-chevron-right {
  font-weight: bold;
  -webkit-text-stroke: 1px currentColor;
  color: #095F87;
}


@media (max-width: 768px) {
  .sign-in-page .title {
    font-size: 28px;
  }

  .sign-in-page .signin-shell {
    min-height: auto;
  }
}

/* Footer */
.site-footer {
  /* background-color: #f5f5f5; */
  border-top: 1px solid #e0e0e0;
  font-size: 14px;
  padding: 20px 0;
  min-height: var(--site-footer-height);
  flex-shrink: 0;
  background-color: #ffffff;
}

.site-footer a {
  color: #316BBE;
  text-decoration: none;
}

.site-footer a:hover ,
.site-footer a:focus-visible {
  text-decoration: underline;
}