.woocommerce-checkout.woocommerce-order-received .woocommerce-order-received-title-common, .woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details .woocommerce-order-details__title, .woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-customer-details .woocommerce-column__title {
  background: transparent;
  border: 0;
  font-size: 1.5em;
  padding-right: 0;
  padding-left: 0;
  padding-top: 0;
  font-weight: 600;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order {
  max-width: 800px;
  margin: 0 auto;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-thankyou-order-received {
  text-align: center;
  margin: 1.5em auto 2em;
  padding: 1em 0;
  font-weight: 600;
  font-size: large;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview {
  color: inherit;
  padding: 1.5em 1.5em 1em 1.5em;
  background: var(--ast-global-color-secondary, --ast-global-color-4);
  margin: 2.5em auto 3em;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview li {
  display: inline-block;
  line-height: inherit;
  margin: 0 1.5em;
  padding: 0;
  border-bottom: 0 none;
  border-left: 0;
  overflow: visible;
  font-size: 1em;
  text-transform: none;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview li strong {
  font-size: inherit;
  font-weight: 400;
  color: var(--ast-global-color-1);
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table {
  border-style: hidden;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--ast-border-color);
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tr th, .woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tr td {
  padding: 1.5em 1.2em 1.5em 1.2em;
  line-height: 1.4em;
  border-color: var(--ast-border-color);
  font-weight: 400;
  border-left: 0;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tr td a {
  color: var(--ast-global-color-3);
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tr td:nth-last-child(1), .woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tr th:nth-last-child(1) {
  text-align: left;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tr td:nth-last-child(1) .amount, .woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tr th:nth-last-child(1) .amount {
  font-weight: 400;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table thead tr th {
  padding: 1em 1.2em 1em 1.2em;
  font-weight: 500;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tfoot tr:nth-last-child(1) th, .woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tfoot tr:nth-last-child(1) td {
  font-size: large;
  padding: 1em 1.2em 1em 1em;
  border-bottom: 0;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tfoot tr:nth-last-child(1) th {
  font-weight: 600;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tfoot tr:nth-last-child(1) .amount {
  font-weight: 700;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-customer-details address {
  border: 0;
  padding: 0;
}


/* 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;
}
