.ast-customizer-font-varient-wrap {
	margin-top: 12px;
}

.ast-customizer-font-varient-wrap .ast-multi-select__value-container {
    overflow-x: hidden;
    flex-wrap: nowrap;
    padding: 2px 5px;
}

.ast-customizer-font-varient-wrap .ast-multi-select__multi-value {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 12px;
    padding: 2px 2px 2px 2px;
    min-width: auto;
    color: #4B5563;
    background-color: #F5F5F5;
    border: 1px solid #D1D5DB;
    border-radius: 2px;
    padding-left: 5px;
}

.ast-customizer-font-varient-wrap .ast-multi-select__multi-value .ast-multi-select__multi-value__label {
    line-height: normal;
}

.ast-customizer-font-varient-wrap .ast-multi-select__multi-value .ast-multi-select__multi-value__remove {
    color: #4B5563;
    padding-right: 0;
}

.ast-customizer-font-varient-wrap .ast-multi-select__multi-value .ast-multi-select__multi-value__remove:hover {
    background-color: transparent;
    color: #4B5563;
}

.ast-customizer-font-varient-wrap .ast-multi-select__input-container input:focus {
    box-shadow: none;
}

.ast-customizer-font-varient-wrap .ast-multi-select__control {
	position: relative;
    max-height: 32px;
    display: inline-flex;
    width: 100%;
    align-content: center;
}

.ast-customizer-font-varient-wrap .ast-multi-select__control:after {
    content: "\f11c";
    font-family: dashicons;
    font-size: 16px;
    margin-right: 7px;
    pointer-events: none;
    z-index: 1;
}

.ast-customizer-font-varient-wrap .ast-multi-select__control:before {
    content:'';
    position: absolute;
    top: 3px;
    right: 3px;
    width: 50px;
    height: 25px;
    background: rgb(247,247,247);
    background: linear-gradient(90deg, rgba(247,247,247,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    z-index: 1;
}

#customize-control-astra-settings-ast-headings-font-settings .ast-fields-wrap,
#customize-control-astra-settings-ast-body-font-settings .ast-fields-wrap {
    overflow: visible;
}

/**
 * Hide normal font weight from font weight dropdown and display only if its set as font weight.
 */
.customize-control-ast-font select option[value="normal"], .customize-control-ast-font select[data-value="normal"] option[value="400"] {
    display: none;
}
.customize-control-ast-font select[data-value="normal"] option[value="normal"] {
    display: block;
}


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