/* Floating Button */
#accessibility-toggle{
    position:fixed;
    left:0;
    top:40%;
    z-index:9999;
    width:50px;
    height:50px;
    background:#0057b8;
    color:#fff;
    border:none;
    border-radius:0 10px 10px 0;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    box-shadow:0 4px 12px rgba(0,0,0,.25);
}

/* Panel */
#accessibility-panel{
    position:fixed;
    left:-320px;
    top:60px;
    width:300px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.18);
    border:1px solid #ddd;
    z-index:9999;
    transition:.35s ease;
    overflow:hidden;
    font-family:Arial,Helvetica,sans-serif;
}

#accessibility-panel.open{
    left:10px;
}

/* Header */
.accessibility-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px;
    border-bottom:1px solid #eee;
}

.accessibility-header h3{
    margin:0;
    font-size:20px;
    color:#0057b8;
    font-weight:700;
}

.close-accessibility{
    width:34px;
    height:34px;
    border:none;
    border-radius:50%;
    background:#f3f3f3;
    cursor:pointer;
    font-size:20px;
}

/* Zoom */
.zoom-controls{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px;
    gap:10px;
}

.zoom-controls button{
    width:42px;
    height:42px;
    border-radius:8px;
    border:1px solid #ddd;
    background:#fff;
    cursor:pointer;
    font-size:20px;
    font-weight:bold;
}

.zoom-level{
    flex:1;
    text-align:center;
    font-weight:bold;
    font-size:18px;
}

/* Grid */
.accessibility-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    padding:0 15px 15px;
}

/* Buttons */
.accessibility-grid button{
    height:82px;
    border:1px solid #ddd;
    border-radius:10px;
    background:#f8f8f8;
    cursor:pointer;
    transition:.25s;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:#444;
}

.accessibility-grid button i{
    font-size:24px;
    color:#444;
}

.accessibility-grid button:hover{
    background:#0057b8;
    color:#fff;
}

.accessibility-grid button:hover i{
    color:#fff;
}

/* Reset */
.reset-btn{
    margin:15px;
    width:calc(100% - 30px);
    height:46px;
    border:1px solid #ffb3b3;
    background:#fff5f5;
    color:#d60000;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
}

.reset-btn:hover{
    background:#d60000;
    color:#fff;
}

/* Accessibility Effects */
.grayscale{
    filter:grayscale(100%);
}

.contrast{
    filter:contrast(160%);
}

.negative{
    filter:invert(100%) hue-rotate(180deg);
}

.underline a{
    text-decoration:underline!important;
}


.hide-images img{
    opacity:0 !important;
}

/* ===== Big Cursor ===== */
.big-cursor,
.big-cursor *{
    cursor: url("../../cursor/bigcursor.png") 4 2, auto !important;
}


.readable-font,
.readable-font *{
    font-family:Verdana, Arial, sans-serif !important;
}

.highlight-headings h1,
.highlight-headings h2,
.highlight-headings h3,
.highlight-headings h4,
.highlight-headings h5,
.highlight-headings h6{
    background:yellow;
    color:#000;
    padding:2px 5px;
}

/* Keep Accessibility Panel Fixed Size */
#accessibility-toggle,
#accessibility-panel{
    zoom:1 !important;
    transform:translateZ(0);
}