.accessibility-wrapper {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 10000;
    transform: translateY(-50%);
}

.accessibility-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #0072b1;
    border: none;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.accessibility-btn:hover {
    width: 50px;
    background: #005f94;
}

.accessibility-btn svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 1.5;
}

.accessibility-menu {
    position: fixed;
    top: 50%;
    right: -300px;
    z-index: 10001;
    width: 280px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    color: #333;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px 0 0 5px;
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accessibility-menu.active {
    right: 0;
}

.accessibility-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.accessibility-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

#accessibility-close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    color: #666;
    background: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#accessibility-close:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

.accessibility-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
    overflow-y: auto;
}

.acc-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 5px;
    color: #444;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.acc-option-btn:hover {
    color: #0072b1;
    background: #f0f7ff;
    border-color: #0072b1;
}

.acc-option-btn.active {
    color: #fff;
    background: #0072b1;
    border-color: #0072b1;
}

.acc-option-btn.active .acc-icon {
    color: #fff;
    filter: brightness(0) invert(1);
}

.acc-option-btn.active .acc-icon svg {
    stroke: #fff;
    fill: #fff;
}

.acc-option-btn.full-width {
    grid-column: span 2;
    flex-direction: row;
    padding: 10px;
}

.acc-icon {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.text-large {
    font-size: 1.4rem;
}

.text-small {
    font-size: 0.9rem;
}

.contrast-icon {
    width: 20px;
    height: 20px;
    background: #000;
    border: 2px solid #333;
    border-radius: 50%;
}

.negative-icon {
    position: relative;
    width: 20px;
    height: 20px;
    overflow: hidden;
    background: #000;
    border: 2px solid #333;
    border-radius: 50%;
}

.negative-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 20px;
    background: #fff;
}

.light-icon {
    width: 20px;
    height: 20px;
    background: #f5f5f5;
    border: 2px solid #ccc;
    border-radius: 50%;
}

.accessibility-statement-link {
    padding: 10px 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.accessibility-statement-link a {
    color: #005f94;
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.acc-grayscale > :not(.accessibility-wrapper):not(#accessibility-status):not(.floating-contact) {
    filter: grayscale(100%);
}

body.acc-high-contrast > :not(.accessibility-wrapper):not(#accessibility-status):not(.floating-contact) {
    filter: contrast(140%);
}

body.acc-high-contrast {
    color: #fff !important;
    background: #000 !important;
    background-image: none !important;
}

body.acc-high-contrast .page,
body.acc-high-contrast section,
body.acc-high-contrast .contact-box {
    color: #fff !important;
    background: #000 !important;
    border-color: #fff !important;
}

body.acc-high-contrast .page p,
body.acc-high-contrast .page li,
body.acc-high-contrast .page span,
body.acc-high-contrast .page strong,
body.acc-high-contrast .updated,
body.acc-high-contrast .contact-box p {
    color: #fff !important;
}

body.acc-high-contrast h1,
body.acc-high-contrast h2,
body.acc-high-contrast .page a {
    color: #ffff00 !important;
}

body.acc-high-contrast .accessibility-menu,
body.acc-high-contrast .accessibility-header,
body.acc-high-contrast .acc-option-btn {
    color: #fff !important;
    background: #000 !important;
    border-color: #fff !important;
}

body.acc-high-contrast .accessibility-header h3,
body.acc-high-contrast .accessibility-statement-link a {
    color: #ffff00 !important;
}

body.acc-high-contrast .skip-link {
    color: #ffff00 !important;
    background: #000 !important;
    border: 2px solid #ffff00 !important;
}

body.acc-high-contrast .acc-option-btn:hover,
body.acc-high-contrast .acc-option-btn.active {
    color: #000 !important;
    background: #ffff00 !important;
    border-color: #ffff00 !important;
}

body.acc-high-contrast .acc-option-btn:hover .acc-icon,
body.acc-high-contrast .acc-option-btn:hover span,
body.acc-high-contrast .acc-option-btn.active .acc-icon,
body.acc-high-contrast .acc-option-btn.active span {
    color: #000 !important;
    filter: none !important;
}

body.acc-high-contrast .acc-option-btn:hover .acc-icon svg,
body.acc-high-contrast .acc-option-btn.active .acc-icon svg {
    stroke: #000 !important;
    fill: #000 !important;
}

body.acc-negative-contrast {
    color: #fff !important;
    background: #000 !important;
    background-image: none !important;
}

body.acc-negative-contrast .page,
body.acc-negative-contrast section,
body.acc-negative-contrast .contact-box {
    color: #fff !important;
    background: #000 !important;
    border-color: #ffff00 !important;
}

body.acc-negative-contrast .page p,
body.acc-negative-contrast .page li,
body.acc-negative-contrast .page span,
body.acc-negative-contrast .page strong,
body.acc-negative-contrast .updated,
body.acc-negative-contrast .contact-box p {
    color: #fff !important;
}

body.acc-negative-contrast h1,
body.acc-negative-contrast h2,
body.acc-negative-contrast a {
    color: #ffff00 !important;
}

body.acc-negative-contrast .accessibility-menu,
body.acc-negative-contrast .accessibility-header,
body.acc-negative-contrast .acc-option-btn {
    color: #fff !important;
    background: #000 !important;
    border-color: #ffff00 !important;
}

body.acc-negative-contrast .accessibility-header h3,
body.acc-negative-contrast .accessibility-statement-link a {
    color: #ffff00 !important;
}

body.acc-negative-contrast .skip-link {
    color: #ffff00 !important;
    background: #000 !important;
    border: 2px solid #ffff00 !important;
}

body.acc-negative-contrast .acc-option-btn:hover,
body.acc-negative-contrast .acc-option-btn.active {
    color: #000 !important;
    background: #ffff00 !important;
    border-color: #ffff00 !important;
}

body.acc-negative-contrast .acc-option-btn:hover .acc-icon,
body.acc-negative-contrast .acc-option-btn:hover span,
body.acc-negative-contrast .acc-option-btn.active .acc-icon,
body.acc-negative-contrast .acc-option-btn.active span {
    color: #000 !important;
    filter: none !important;
}

body.acc-negative-contrast .acc-option-btn:hover .acc-icon svg,
body.acc-negative-contrast .acc-option-btn.active .acc-icon svg {
    stroke: #000 !important;
    fill: #000 !important;
}

body.acc-light-bg {
    color: #111 !important;
    background: #fff !important;
    background-image: none !important;
}

body.acc-light-bg .page,
body.acc-light-bg section,
body.acc-light-bg .contact-box {
    color: #111 !important;
    background: #fff !important;
    border-color: #333 !important;
}

body.acc-light-bg .page p,
body.acc-light-bg .page li,
body.acc-light-bg .page span,
body.acc-light-bg .page strong,
body.acc-light-bg .updated,
body.acc-light-bg .contact-box p {
    color: #111 !important;
}

body.acc-light-bg h1,
body.acc-light-bg h2,
body.acc-light-bg a {
    color: #005f94 !important;
}

body.acc-light-bg .accessibility-menu,
body.acc-light-bg .accessibility-header,
body.acc-light-bg .acc-option-btn {
    color: #111 !important;
    background: #fff !important;
    border-color: #333 !important;
}

body.acc-light-bg .accessibility-header h3,
body.acc-light-bg .accessibility-statement-link a {
    color: #005f94 !important;
}

body.acc-light-bg .skip-link {
    color: #005f94 !important;
    background: #fff !important;
    border: 2px solid #005f94 !important;
}

body.acc-light-bg .acc-option-btn:hover,
body.acc-light-bg .acc-option-btn.active {
    color: #fff !important;
    background: #005f94 !important;
    border-color: #005f94 !important;
}

body.acc-light-bg .acc-option-btn:hover .acc-icon,
body.acc-light-bg .acc-option-btn:hover span,
body.acc-light-bg .acc-option-btn.active .acc-icon,
body.acc-light-bg .acc-option-btn.active span {
    color: #fff !important;
    filter: none !important;
}

body.acc-light-bg .acc-option-btn:hover .acc-icon svg,
body.acc-light-bg .acc-option-btn.active .acc-icon svg {
    stroke: #fff !important;
    fill: #fff !important;
}

body.acc-readable-font,
body.acc-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
}

body.acc-highlight-links a {
    color: #ff0 !important;
    background: #000 !important;
    outline: 3px solid #ff0 !important;
}

body.stop-animations *,
body.stop-animations *::before,
body.stop-animations *::after {
    animation: none !important;
    transition: none !important;
}

@media print {
    .accessibility-wrapper,
    #accessibility-status {
        display: none !important;
    }
}
