/* Styles dédiés pour le modal d'accessibilité et d'inclusion */
.a11y-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
}

.a11y-modal-overlay.show {
    display: flex !important;
}

.a11y-modal-dialog {
    background: #121217;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md, 14px);
    width: min(94vw, 540px);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    padding: clamp(16px, 4vw, 24px);
}

.a11y-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.a11y-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary, #6366f1);
}

.a11y-modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
}

.a11y-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.a11y-section {
    margin-bottom: 20px;
}

.a11y-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #f1f5f9;
}

.a11y-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.a11y-switch-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 16px;
    border-radius: 10px;
}

.a11y-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.a11y-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.a11y-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #334155;
    transition: 0.3s;
    border-radius: 34px;
}

.a11y-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.a11y-toggle input:checked + .a11y-slider {
    background-color: var(--color-primary, #6366f1);
}

.a11y-toggle input:checked + .a11y-slider:before {
    transform: translateX(22px);
}

.a11y-select {
    width: 100%;
    padding: 10px 14px;
    background: #18181f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    border-radius: 8px;
    font-size: 0.95rem;
}

.a11y-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    text-align: right;
}

.a11y-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: #818cf8;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    margin-top: 10px;
}

.a11y-grid-toggles {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

