/* ══════════════════════════════════════════════════════════════
   ACCESSIBILITY SUITE (Module 3 Styles)
   ══════════════════════════════════════════════════════════════ */

#a11y-panel {
    position: fixed;
    bottom: 80px; /* Above the trigger */
    left: 20px;
    width: 320px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(184, 149, 74, 0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#a11y-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.a11y-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border);
    padding-bottom: var(--space-md);
}

.a11y-header h3 {
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

#a11y-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.a11y-section {
    margin-bottom: var(--space-xl);
}

.a11y-section h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-text);
    margin-bottom: var(--space-md);
}

.a11y-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.a11y-controls button {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    text-align: left;
}

.a11y-controls button:hover {
    background: #fff;
    border-color: var(--gold);
}

.a11y-controls button.btn-active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.a11y-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.a11y-footer a {
    font-size: 0.75rem;
    color: var(--gold-text);
    text-decoration: underline;
}

#a11y-reset {
    font-size: 0.75rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

#a11y-reading-line {
    position: fixed;
    left: 0;
    width: 100%;
    height: 2px;
    background: red;
    pointer-events: none;
    z-index: 1002;
    display: none;
}

/* ─── MODES ──────────────────────────────── */

body.a11y-light { background: #fff !important; color: #000 !important; }
body.a11y-light * { border-color: #eee !important; color: #000 !important; background: #fff !important;}

body.a11y-dark { background: #000 !important; color: #ffff00 !important; }
body.a11y-dark * { background: #000 !important; color: #ffff00 !important; border-color: #666 !important; }

body.a11y-big-cursor { cursor: crosshair !important; }
body.a11y-big-cursor * { cursor: crosshair !important; }

body.a11y-highlight-links a { 
    text-decoration: underline !important; 
    background: yellow !important; 
    color: black !important;
    padding: 2px 4px !important;
}

body.a11y-no-anim * { 
    animation: none !important; 
    transition: none !important; 
}
