/* Accessibility Widget CSS */
.access-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.access-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #009688;
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.access-btn:hover {
    transform: scale(1.1);
    background-color: #00796b;
}

.access-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 250px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: none;
    padding: 15px;
    border: 1px solid #ddd;
}

.access-menu.active {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.access-menu h5 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.access-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f9f9f9;
}

.access-option:last-child {
    border-bottom: none;
}

.access-option button {
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 14px;
}

.access-option button:hover {
    background: #e9ecef;
}

/* Accessibility classes */
body.font-lg { font-size: 1.25rem !important; }
body.font-xl { font-size: 1.5rem !important; }
body.high-contrast { background-color: #000 !important; color: #fff !important; }
body.high-contrast .content-wrapper, 
body.high-contrast .card, 
body.high-contrast .main-sidebar { background-color: #000 !important; border: 1px solid #fff !important; color: #fff !important; }
body.high-contrast .text-muted, body.high-contrast p, body.high-contrast span { color: #fff !important; }
body.high-contrast a { color: #ffff00 !important; text-decoration: underline !important; }

body.grayscale { filter: grayscale(100%) !important; }
