#accessibility-toggle .icon-wrapper {
    background-color: #2c3e50;
}


/* Mobile Styles */
@media (max-width: 768px) {
    .floating-icons-container {
        top: 44%;
        bottom: auto;
        right: 0;
        transform: translateY(-50%);
        flex-direction: column;
        border-radius: 30px 0 0 30px;
        padding: 10px 5px;
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    .floating-icon {
        width: 45px;
        height: 45px;
    }
    
    .icon-wrapper {
        font-size: 1.3rem;
    }
    
    .icon-tooltip {
        right: 60px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        width: 300px;
        max-width: 300px;
        white-space: normal;
        word-break: break-word;
    }
    
    .floating-icon:hover .icon-tooltip {
        right: 70px;
    }
    
    #back-to-top {
        display: none;
    }
    
    @media (max-width: 400px) {
        .floating-icons-container {
            padding: 8px 3px;
        }
        
        .floating-icon {
            width: 40px;
            height: 40px;
        }
        
        .icon-wrapper {
            font-size: 1.2rem;
        }
        
        .icon-tooltip {
            max-width: 250px;
            font-size: 0.8rem;
            padding: 8px;
        }
    }
}



/* Erişilebilirlik İkonu için Özel Stil */
#accessibility-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 75px;
    height: 75px;
    z-index: 9999;
    cursor: pointer;
}


#accessibility-toggle .icon-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #2c3e50;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#accessibility-toggle:hover .icon-wrapper {
    background-color: #e74c3c;
    transform: scale(1.1);
}

#accessibility-toggle .icon-tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2c3e50;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#accessibility-toggle:hover .icon-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}



/* Mobile Styles */
@media (max-width: 768px) {
#accessibility-toggle {
    width: 60px;
    height: 60px;
}

#accessibility-toggle .icon-wrapper {
    font-size: 2rem;

}

}





/* Erişilebilirlik Paneli Stili */
.accessibility-panel {
    position: fixed;
    right: 90px;
    bottom: 20px;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 9998;
    display: none;
}

.accessibility-panel h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.accessibility-option {
    margin-bottom: 10px;
}

.accessibility-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.accessibility-option input[type="checkbox"] {
    margin-right: 10px;
}

/* Mobil için stil ayarları */
@media (max-width: 768px) {
    #accessibility-toggle {
        width: 60px;
        height: 60px;
        right: 15px;
        bottom: 15px;
    }
    
    #accessibility-toggle .icon-wrapper {
        font-size: 2rem;
    }
    
    .accessibility-panel {
        right: 15px;
        bottom: 80px;
        width: calc(100% - 30px);
        max-width: 300px;
    }
}



/* Erişilebilirlik Paneli Stilleri */
.accessibility-panel {
    position: fixed;
    right: -350px; /* Panel başlangıçta gizli */
    bottom: 35px;
    width: 340px;
    max-height: 80vh;
    background-color: #fff;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: none; /* Başlangıçta gizli */
}

.accessibility-panel.active {
    right: 0;
    display: block;
}

.accessibility-header {
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 0 0 0;
}

.accessibility-header h5 {
    margin: 0;
    font-size: 1.1rem;
}

.accessibility-options {
    padding: 15px;
}

.accessibility-option {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.accessibility-option:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.accessibility-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.accessibility-option input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.font-size-controls {
    margin-top: 10px;
    display: flex;
    gap: 5px;
}

.font-size-controls button {
    padding: 5px 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

/* Erişilebilirlik seçeneklerinin aktif halleri */
.font-size-large {
    font-size: 1.2em !important;
}

.font-size-xlarge {
    font-size: 1.4em !important;
}

.cursor-large {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="16" fill="black"/></svg>'), auto !important;
}

.images-hidden img {
    visibility: hidden !important;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .accessibility-panel {
        width: 280px;
        bottom: 10px;
    }
}


/* Fare Büyüklüğü Stilleri */
.cursor-large * {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="14" fill="none" stroke="black" stroke-width="2"/><circle cx="16" cy="16" r="8" fill="black"/></svg>') 16 16, pointer !important;
}

.cursor-preview {
    margin-top: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
}

.cursor-demo {
    width: 100px;
    height: 50px;
    border: 1px dashed #999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="14" fill="none" stroke="black" stroke-width="2"/><circle cx="16" cy="16" r="8" fill="black"/></svg>') 16 16, pointer;
}

/* Okuma Maskesi */
.reading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9997;
    pointer-events: none;
}

.reading-mask::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Bağlantı Vurgulama */
.highlight-links a {
    background-color: yellow !important;
    color: black !important;
    padding: 2px 4px !important;
    text-decoration: underline !important;
}

/* Satır Aralığı */
.line-spacing-large {
    line-height: 2 !important;
}

.line-spacing-xlarge {
    line-height: 2.5 !important;
}

/* Yüksek Kontrast */
.high-contrast {
    background: black !important;
    color: white !important;
}

.high-contrast a {
    color: yellow !important;
}

/* Disleksi Modu */
.dyslexia-mode {
    font-family: 'Comic Sans MS', 'OpenDyslexic', sans-serif !important;
    letter-spacing: 1px !important;
    line-height: 1.8 !important;
}

/* Mavi Işık Filtresi */
.blue-light-filter {
    filter: sepia(0.3) !important;
}

/* Siyah/Beyaz Filtre */
.grayscale {
    filter: grayscale(100%) !important;
}

/* Renk Doygunluğu */
.high-saturation {
    filter: saturate(2) !important;
}

.low-saturation {
    filter: saturate(0.5) !important;
}
