/* ==================== ACCESSIBILITY WIDGET ==================== */
.acc-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 3000;
}

.acc-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #457b9d 0%, #1d3557 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(29, 53, 87, 0.4);
    transition: 0.3s ease;
    position: relative;
    z-index: 2;
}

.acc-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(29, 53, 87, 0.5);
}

.acc-panel {
    position: absolute;
    bottom: 70px;
    left: 0;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    min-width: 220px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.acc-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.acc-panel h3 {
    font-family: 'Rubik', 'Heebo', Arial, sans-serif;
    font-size: 1.1rem;
    color: #1d3557;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e63946;
    text-align: center;
}

.acc-panel button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 0.9rem;
    color: #2b2d42;
    transition: 0.3s ease;
    margin-bottom: 6px;
    text-align: right;
}

.acc-panel button:last-child {
    margin-bottom: 0;
}

.acc-panel button:hover {
    background: #e63946;
    color: #fff;
}

.acc-panel button.active-acc {
    background: #457b9d;
    color: #fff;
}

.acc-panel button i {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.acc-panel .acc-statement-btn {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px dashed #ddd;
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px 14px;
    justify-content: center;
}

.acc-panel .acc-statement-btn:hover {
    background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==================== ACCESSIBILITY STATES ==================== */
body.acc-high-contrast {
    filter: contrast(1.5);
}

body.acc-grayscale {
    filter: grayscale(1);
}

body.acc-high-contrast.acc-grayscale {
    filter: contrast(1.5) grayscale(1);
}

body.acc-underline-links a {
    text-decoration: underline !important;
}

body.acc-readable-font,
body.acc-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: 0.5px;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid #e63946;
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100%;
    right: 16px;
    background: #e63946;
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 9999;
    transition: 0.3s ease;
}

.skip-link:focus {
    top: 0;
}
