/* Erişilebilirlik CSS Dosyası */

/* Erişilebilirlik Butonu Stili */
.customize-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.customize-btn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.customize-btn i {
    color: white;
    font-size: 24px;
}

/* Erişilebilirlik Paneli */
#customize-area {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    overflow-y: auto;
    transition: right 0.3s ease;
    flex-direction: column;
}

#customize-area.active {
    right: 0;
}

/* Header Area */
.header-area {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.header-title-p {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #333;
}

#dilSecimiContainer select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Actions Area */
.actions-area {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.dropdown-active-btn {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    background: white;
}

.dropdown-active-btn:hover {
    background: #f8f9fa;
}

.img-area {
    margin-right: 10px;
}

.img-area img {
    width: 24px;
    height: 24px;
}

/* Scrollable Area */
.scrollable-area {
    flex: 1;
    padding: 20px;
}

/* Profile Container */
.custom-container {
    margin-bottom: 20px;
}

.custom-inner-container {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    background: white;
}

.custom-inner-container img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.custom-inner-container p {
    flex: 1;
    margin: 0;
    font-weight: 500;
}

/* Switch Container */
.custom-switch-container {
    margin-left: auto;
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.custom-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .custom-slider {
    background-color: #007bff;
}

input:checked + .custom-slider:before {
    transform: translateX(26px);
}

/* Settings Area */
.settings-area {
    padding-top: 20px;
}

.settings {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    background: white;
}

.settings .icon-area {
    width: 50px;
    margin-right: 15px;
}

.settings .icon-area svg,
.settings .icon-area i {
    width: 24px;
    height: 24px;
    color: #666;
}

.settings .info-area {
    flex: 1;
    margin-right: 15px;
}

.settings .titles .title {
    font-weight: 500;
    margin-bottom: 5px;
    display: none;
}

.settings .titles .title.active {
    display: block;
}

.settings .titles p {
    margin: 0;
}

/* Info Icon Tool */
.info-icon-tool {
    position: relative;
    display: inline-block;
    margin-left: 5px;
}

.info-icon-tool img {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.info-icon-tool:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Steps Controls */
.steps {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stepsRange {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stepsBtn {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.stepsBtn:hover {
    transform: scale(1.1);
}

.stepsText {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
}

.step {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.step.active {
    background-color: #007bff;
    border-color: #007bff;
}

/* Settings Buttons */
.settings-buttons {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.settings-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.settings-btn:hover {
    background: #f8f9fa;
}

.settings-btn svg {
    margin-right: 8px;
}

/* Info Card */
.info {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}

/* Accessibility Classes for Dynamic Styling */
.accessibility-text-size-1 * {
    font-size: calc(1em * 1.5) !important;
}

.accessibility-text-size-2 * {
    font-size: calc(1em * 2) !important;
}

.accessibility-text-size-3 * {
    font-size: calc(1em * 2.5) !important;
}

.accessibility-text-size-4 * {
    font-size: calc(1em * 3) !important;
}

.accessibility-font-dyslexic * {
    font-family: "OpenDyslexic", Arial, sans-serif !important;
}

.accessibility-font-legible * {
    font-family: "Atkinson Hyperlegible", Arial, sans-serif !important;
}

.accessibility-text-spacing-1 * {
    letter-spacing: 0.1em !important;
    word-spacing: 0.2em !important;
}

.accessibility-text-spacing-2 * {
    letter-spacing: 0.2em !important;
    word-spacing: 0.4em !important;
}

.accessibility-text-spacing-3 * {
    letter-spacing: 0.3em !important;
    word-spacing: 0.6em !important;
}

.accessibility-line-height-1 * {
    line-height: 1.5 !important;
}

.accessibility-line-height-2 * {
    line-height: 2 !important;
}

.accessibility-line-height-3 * {
    line-height: 2.5 !important;
}

.accessibility-cursor-big {
    cursor: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M2 2l12 12-4 4-8-8z" fill="black"/></svg>'), auto !important;
}

.accessibility-cursor-focus::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #007bff;
    pointer-events: none;
}

.accessibility-cursor-reading::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #007bff;
    z-index: 9999;
    pointer-events: none;
}

.accessibility-contrast-invert {
    filter: invert(1) !important;
}

.accessibility-contrast-dark {
    background: #333 !important;
    color: #fff !important;
}

.accessibility-contrast-light {
    background: #fff !important;
    color: #333 !important;
}

.accessibility-animation-stop * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

.accessibility-links-highlight a {
    background: yellow !important;
    color: black !important;
    border: 2px solid black !important;
}

.accessibility-links-dark a {
    background: #333 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    #customize-area {
        width: 100%;
        right: -100%;
    }
    
    .customize-btn {
        bottom: 15px;
        right: 15px;
    }
}

/* SR-Only for Screen Readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hide/Show Toggle */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: #333;
}