.customize-control-ast-slider .wrapper {
  display: flex;
}

.customize-control-ast-slider .components-range-control {
  width: 100%;
}

.customize-control-ast-slider .ast-range-unit, .customize-control-ast-responsive-slider .wrapper .ast-range-unit {
  padding: 0 5px 0 0;
  font-size: 11px;
  line-height: 1em;
  font-weight: 500;
  align-self: auto;
  text-transform: uppercase;
}
.components-range-control__slider[type=range] {
  align-items: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.components-range-control__slider[type=range]::-webkit-slider-runnable-track,
.components-range-control__slider[type=range]::-moz-range-track {
  content: '';
  height: 2px;
  pointer-events: none;
}
.components-range-control__slider[type=range]::-webkit-slider-thumb,
.components-range-control__slider[type=range]::-moz-range-thumb {
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: 5px;
}
.customize-control-ast-slider .components-range-control__wrapper,
.customize-control-ast-responsive-slider .components-range-control__wrapper {
	margin-right: 0px;
}
.customize-control-ast-slider span[CLASS*="-ThumbWrapper"],
.customize-control-ast-responsive-slider span[CLASS*="-ThumbWrapper"] {
  height: 17px;
  width: 17px;
  top: 2px;
  margin-right: 0px;
}

.ast-top-divider.customize-control-ast-slider .ast-divider-title + .ast-slider-wrap .ast-resp-slider-reset-wrap {
    top: 68px;
}

.customize-control-ast-responsive-slider .ast-responsive-slider-btns {
  position: relative;
  top: -3px;
  left: -10px;
  display: inline-block;
}

.customize-control-ast-responsive-slider .ast-responsive-units {
  position: absolute;
  top: 4px;
  left: 15px;
  font-size: 11px;
  line-height: normal;
  padding-left: 5px;
  text-transform: uppercase;
  width: auto;
  display: none;
}

.customize-control-ast-responsive-slider .ast-responsive-units li.single-unit {
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 0;
  width: 16px;
  text-align: center;
  user-select: none;
  opacity: 0.6;
  cursor: pointer;
}

.customize-control-ast-responsive-slider .ast-responsive-units li.single-unit.active {
  opacity: 1;
  font-weight: 600;
  color: #0073aa;
  cursor: default;
}
.ast-field-settings-modal .ast-fields-wrap > .customize-control-ast-responsive-slider + .customize-control-ast-font {
    margin-top: 8px;
}


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