/* Accessibility Toolbar Styles */
.acc-floating-btn {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: none;
}

.acc-floating-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: var(--primary-hover);
}

.acc-panel {
    position: fixed;
    right: -350px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 10000;
    box-shadow: -10px 0 30px rgba(15,23,42,0.08);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    overflow-y: auto;
    border-radius: 24px 0 0 24px;
}

.acc-panel.active {
    right: 0;
}

.acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.acc-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #212529;
    text-align: center;
    flex-grow: 1;
}

.acc-close, .acc-reset {
    cursor: pointer;
    font-size: 1.2rem;
    color: #6c757d;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 5px;
}

.acc-close:hover { color: #dc3545; }
.acc-reset:hover { color: var(--primary-color); }

.acc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acc-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.acc-item:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.acc-item.active {
    background: color-mix(in srgb, var(--primary-color) 8%, white);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.acc-item i {
    width: 25px;
    margin-right: 15px;
    font-size: 1.1rem;
    text-align: center;
}

.acc-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Accessibility Feature Classes */
body.acc-font-plus-1 { font-size: 110%; }
body.acc-font-plus-2 { font-size: 120%; }
body.acc-font-plus-3 { font-size: 130%; }

body.acc-spacing-plus { letter-spacing: 2px; }
body.acc-line-height-minus { line-height: 1.2; }

body.acc-invert { filter: invert(1) hue-rotate(180deg); }
body.acc-invert img, body.acc-invert video, body.acc-invert .hero-section { filter: invert(1) hue-rotate(180deg); }

body.acc-grayscale { filter: grayscale(1); }

body.acc-underline-links a { text-decoration: underline !important; }

body.acc-big-cursor { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" style="fill:black"><path d="M0 0 L24 16 L12 18 L18 28 L14 30 L8 20 L0 26 Z"/></svg>'), auto !important; }
body.acc-big-cursor a, body.acc-big-cursor button { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" style="fill:black"><path d="M0 0 L24 16 L12 18 L18 28 L14 30 L8 20 L0 26 Z"/></svg>'), pointer !important; }

#acc-reading-guide {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: #ffc107;
    z-index: 10001;
    pointer-events: none;
    display: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

body.acc-reading-guide-active #acc-reading-guide {
    display: block;
}
