#ast-checkout-wrap {
  -js-display: flex;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em 0;
  margin-bottom: 1em;
}

#ast-checkout-wrap a {
  -js-display: flex;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ast-global-color-3);
  opacity: .5;
  transition: .3s;
}

#ast-checkout-wrap a p {
  margin-bottom: 0;
}

#ast-checkout-wrap a.ast-disable-click {
  pointer-events: none;
}

#ast-checkout-wrap a .ast-step-number {
  background-color: var(--ast-global-color-3);
  color: var(--ast-global-color-primary, --ast-global-color-5);
  margin: 0 0.5em;
  margin-right: 0;
  font-weight: bolder;
  text-align: center;
  height: 1.5em;
  width: 1.5em;
  font-size: .7em;
  line-height: 1.5em;
  border-radius: 99px;
}

#ast-checkout-wrap a.ast-current, #ast-checkout-wrap a:hover {
  color: var(--ast-global-color-0);
  opacity: 1;
}

#ast-checkout-wrap a.ast-current .ast-step-number, #ast-checkout-wrap a:hover .ast-step-number {
  background-color: var(--ast-global-color-0);
}

#ast-checkout-wrap.ast-checkout-uppercase a {
  text-transform: uppercase;
}

#ast-checkout-wrap .ahfb-svg-iconset {
  margin: 0 0.5em;
  fill: var(--ast-global-color-3);
  opacity: .5;
}

#ast-checkout-wrap.ast-checkout-default a {
  font-size: 2rem;
}

#ast-checkout-wrap.ast-checkout-default a .ahfb-svg-iconset svg {
  width: 1em;
  height: 1em;
}

#ast-checkout-wrap.ast-checkout-small a {
  font-size: 1.5em;
}

#ast-checkout-wrap.ast-checkout-small a .ahfb-svg-iconset svg {
  width: .9em;
  height: .9em;
}

#ast-checkout-wrap.ast-checkout-smaller a {
  font-size: 1.3em;
}

#ast-checkout-wrap.ast-checkout-smaller a .ahfb-svg-iconset svg {
  width: .8em;
  height: .8em;
}


/* Focus Management Styles - WCAG 2.1 Compliance */
/* Added for keyboard accessibility and screen reader support */

/* Button Focus Styles */
.hvac-button:focus,
.hvac-content .button:focus,
.hvac-content button:focus,
.hvac-content input[type="submit"]:focus,
.hvac-email-submit:focus,
.hvac-filter-submit:focus,
.hvac-certificate-actions button:focus,
.hvac-certificate-actions a:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
    border-radius: 4px;
}

/* Input Focus Styles */
.hvac-form-input:focus,
.hvac-content input[type="text"]:focus,
.hvac-content input[type="email"]:focus,
.hvac-content input[type="password"]:focus,
.hvac-content input[type="url"]:focus,
.hvac-content textarea:focus,
.hvac-content select:focus,
.hvac-email-form-row input:focus,
.hvac-email-form-row textarea:focus,
.hvac-filter-group input:focus,
.hvac-filter-group select:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    border-color: #005fcc;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
}

/* Link Focus Styles */
.hvac-content a:focus,
.hvac-event-link:focus,
.hvac-certificate-link:focus,
.hvac-attendee-profile-icon:focus,
.hvac-dashboard-nav a:focus,
.hvac-email-navigation a:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    text-decoration: underline;
    background-color: rgba(0, 95, 204, 0.1);
    border-radius: 2px;
}

/* Interactive Element Focus Styles */
.hvac-attendee-checkbox:focus,
.hvac-select-all-container input[type="checkbox"]:focus,
.hvac-modal-close:focus,
.hvac-certificate-table tr:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hvac-content *:focus {
        outline: 3px solid #000000;
        outline-offset: 2px;
        background-color: #ffff00;
        color: #000000;
    }
}

/* Focus-visible polyfill support */

/* Reset focus for mouse users while preserving keyboard accessibility */
.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Ensure focus is visible for keyboard users */
.js-focus-visible .focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}
