/* Accessibility Sidebar */
.accessibility-sidebar {
    position: fixed;
    top: 0;
    right: -400px; /* Dastlab yashirin */
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
}

.accessibility-sidebar.open {
    right: 0; /* Ochilganda ko‘rinadi */
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.sidebar-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.theme-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.theme-buttons button {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.theme-buttons button.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.theme-buttons button svg {
    fill: currentColor;
}

.divider {
    border-top: 1px solid #e0e0e0;
    margin: 10px 0;
}

.slider-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.slider-container label {
    font-weight: bold;
    font-size: 1rem;
}

.slider-container input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}

.checkbox-container, .radio-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.button {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    font-size: 1rem;
    transition: background 0.3s;
}

.button:hover {
    background: #e0e0e0;
}

