﻿.accessibility-widget {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 10000;
        }

        .accessibility-toggle {
            background: #007bff;
            color: white;
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            cursor: pointer;
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
        }

        .accessibility-toggle:hover,
        .accessibility-toggle:focus {
            background: #0056b3;
            transform: scale(1.05);
            outline: 3px solid #fff;
            outline-offset: 2px;
        }

        .accessibility-panel {
            position: absolute;
            bottom: 70px;
            right: 0;
            width: 320px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.15);
            padding: 20px;
            display: none;
            border: 1px solid #ddd;
        }

        .accessibility-panel.active {
            display: block;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
        }

        .panel-title {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin: 0;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            padding: 5px;
            border-radius: 4px;
            color: #666;
        }

        .close-btn:hover,
        .close-btn:focus {
            background: #f0f0f0;
            outline: 2px solid #007bff;
        }

        .accessibility-option {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding: 10px;
            border-radius: 8px;
            transition: background-color 0.3s ease;
        }

        .accessibility-option:hover {
            background-color: #f8f9fa;
        }

        .option-label {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }

        .toggle-switch {
            position: relative;
            width: 50px;
            height: 24px;
            background: #ccc;
            border-radius: 12px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            border: none;
        }

        .toggle-switch:focus {
            outline: 2px solid #007bff;
            outline-offset: 2px;
        }

        .toggle-switch.active {
            background: #007bff;
        }

        .toggle-slider {
            position: absolute;
            top: 2px;
            left: 2px;
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            transition: transform 0.3s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        .toggle-switch.active .toggle-slider {
            transform: translateX(26px);
        }

        .font-size-controls {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .font-size-btn {
            background: #f8f9fa;
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 8px 12px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .font-size-btn:hover,
        .font-size-btn:focus {
            background: #007bff;
            color: white;
            outline: 2px solid #0056b3;
        }

        .color-scheme-selector {
            display: flex;
            gap: 8px;
            margin-top: 10px;
        }

        .color-scheme-btn {
            width: 40px;
            height: 30px;
            border: 2px solid transparent;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .color-scheme-btn:focus,
        .color-scheme-btn.active {
            border-color: #007bff;
            outline: 2px solid #007bff;
            outline-offset: 2px;
        }

        .color-normal { background: linear-gradient(45deg, #fff 50%, #333 50%); }
        .color-dark { background: #333; }
        .color-high-contrast { background: linear-gradient(45deg, #000 50%, #ffff00 50%); }
        .color-blue-yellow { background: linear-gradient(45deg, #0066cc 50%, #ffff99 50%); }

        .reset-btn {
            width: 100%;
            background: #6c757d;
            color: white;
            border: none;
            padding: 12px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            margin-top: 20px;
            transition: all 0.3s ease;
        }

        .reset-btn:hover,
        .reset-btn:focus {
            background: #5a6268;
            outline: 2px solid #495057;
        }

        /* Demo İçerik */
        .demo-content {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            margin-right: 400px;
        }

        .demo-title {
            color: #333;
            margin-bottom: 20px;
            font-size: 28px;
        }

        .demo-text {
            line-height: 1.6;
            color: #666;
            margin-bottom: 20px;
        }

        .demo-link {
            color: #007bff;
            text-decoration: underline;
        }

        .demo-link:hover,
        .demo-link:focus {
            color: #0056b3;
            outline: 2px solid #007bff;
            outline-offset: 2px;
        }

        /* Erişilebilirlik Stilleri */
        .high-contrast:not(.accessibility-widget):not(.accessibility-widget *) {
            filter: brightness(1.1) contrast(1.2);
        }

        body.dark-mode {
            background-color: #1a1a1a !important;
        }
        
        .dark-mode * {
            background-color: #1a1a1a !important;
            color: #ffffff !important;
        }
        
        /* Görselleri ve background'ları koru */
        .dark-mode img,
        .dark-mode .logo,
        .dark-mode .logo * {
            background-color: transparent !important;
            background: none !important;
        }
        
        /* Renk şeması butonlarını koru */
        .dark-mode .color-scheme-btn {
            background-color: transparent !important;
        }
        
        .dark-mode .color-normal { background: linear-gradient(45deg, #fff 50%, #333 50%) !important; }
        .dark-mode .color-dark { background: #333 !important; }
        .dark-mode .color-high-contrast { background: linear-gradient(45deg, #000 50%, #ffff00 50%) !important; }
        .dark-mode .color-blue-yellow { background: linear-gradient(45deg, #0066cc 50%, #ffff99 50%) !important; }
        
        /* Toggle switch'leri koru */
        .dark-mode .toggle-switch {
            background: #ccc !important;
        }
        
        .dark-mode .toggle-switch.active {
            background: #007bff !important;
        }
        
        .dark-mode .toggle-slider {
            background: white !important;
        }
        
        /* Erişilebilirlik butonunu koru */
        .dark-mode .accessibility-toggle {
            background: #007bff !important;
            color: white !important;
        }
        
        /* Widget pozisyonunu koru */
        .dark-mode .accessibility-widget {
            position: fixed !important;
            bottom: 20px !important;
            right: 20px !important;
        }
        
        .dark-mode .accessibility-panel {
            position: absolute !important;
            bottom: 70px !important;
            right: 0 !important;
        }

        .dark-mode .demo-content {
            background-color: #2d2d2d !important;
            color: #ffffff !important;
        }

        .dark-mode .demo-title {
            color: #ffffff !important;
        }

        .dark-mode .demo-text {
            color: #cccccc !important;
        }
        
        /* Widget dark mode'da normal kalmalı */
        .dark-mode .accessibility-widget {
            background-color: transparent !important;
        }
        
        .dark-mode .accessibility-toggle {
            background-color: #007bff !important;
            color: white !important;
        }

        .dark-mode .accessibility-panel {
            background-color: #2d2d2d !important;
            color: #ffffff !important;
            border-color: #444 !important;
        }
        
        .dark-mode .option-label {
            color: #ffffff !important;
        }
        
        .dark-mode .panel-title {
            color: #ffffff !important;
        }
        
        .dark-mode .close-btn {
            color: #ffffff !important;
        }
        
        .dark-mode .accessibility-option:hover {
            background-color: #3d3d3d !important;
        }
        
        .dark-mode .font-size-btn {
            background: #3d3d3d !important;
            color: #ffffff !important;
            border-color: #555 !important;
        }
        
        /* Renk şeması butonlarının renklerini koru */
        .dark-mode .color-normal,
        .high-contrast-mode .color-normal,
        .blue-yellow-mode .color-normal { 
            background: linear-gradient(45deg, #fff 50%, #333 50%) !important; 
        }
        
        .dark-mode .color-dark,
        .high-contrast-mode .color-dark,
        .blue-yellow-mode .color-dark { 
            background: #333 !important; 
        }
        
        .dark-mode .color-high-contrast,
        .high-contrast-mode .color-high-contrast,
        .blue-yellow-mode .color-high-contrast { 
            background: linear-gradient(45deg, #000 50%, #ffff00 50%) !important; 
        }
        
        .dark-mode .color-blue-yellow,
        .high-contrast-mode .color-blue-yellow,
        .blue-yellow-mode .color-blue-yellow { 
            background: linear-gradient(45deg, #0066cc 50%, #ffff99 50%) !important; 
        }

        body.high-contrast-mode * {
            background-color: #000000 !important;
            color: #ffff00 !important;
        }
        
        /* Görselleri ve background'ları koru */
        .high-contrast-mode img,
        .high-contrast-mode .logo,
        .high-contrast-mode .logo * {
            background-color: transparent !important;
            background: none !important;
        }
        
        /* Renk şeması butonlarını koru */
        .high-contrast-mode .color-scheme-btn {
            background-color: transparent !important;
        }
        
        .high-contrast-mode .color-normal { background: linear-gradient(45deg, #fff 50%, #333 50%) !important; }
        .high-contrast-mode .color-dark { background: #333 !important; }
        .high-contrast-mode .color-high-contrast { background: linear-gradient(45deg, #000 50%, #ffff00 50%) !important; }
        .high-contrast-mode .color-blue-yellow { background: linear-gradient(45deg, #0066cc 50%, #ffff99 50%) !important; }
        
        /* Toggle switch'leri koru */
        .high-contrast-mode .toggle-switch {
            background: #ccc !important;
        }
        
        .high-contrast-mode .toggle-switch.active {
            background: #007bff !important;
        }
        
        .high-contrast-mode .toggle-slider {
            background: white !important;
        }
        
        /* Erişilebilirlik butonunu koru */
        .high-contrast-mode .accessibility-toggle {
            background: #007bff !important;
            color: white !important;
        }
        
        /* Widget pozisyonunu koru */
        .high-contrast-mode .accessibility-widget {
            position: fixed !important;
            bottom: 20px !important;
            right: 20px !important;
        }
        
        .high-contrast-mode .accessibility-panel {
            position: absolute !important;
            bottom: 70px !important;
            right: 0 !important;
        }

        .high-contrast-mode .demo-content {
            background-color: #000000 !important;
            color: #ffff00 !important;
        }

        .high-contrast-mode .demo-link {
            color: #ffff00 !important;
        }
        
        .high-contrast-mode .demo-title {
            color: #ffff00 !important;
        }
        
        .high-contrast-mode .demo-text {
            color: #ffff00 !important;
        }
        
        /* Widget high contrast'ta normal kalmalı */
        .high-contrast-mode .accessibility-widget {
            background-color: transparent !important;
        }
        
        .high-contrast-mode .accessibility-toggle {
            background-color: #007bff !important;
            color: white !important;
        }
        
        .high-contrast-mode .accessibility-panel {
            background-color: #000000 !important;
            color: #ffff00 !important;
            border-color: #ffff00 !important;
        }
        
        .high-contrast-mode .option-label,
        .high-contrast-mode .panel-title,
        .high-contrast-mode .close-btn {
            color: #ffff00 !important;
        }
        
        .high-contrast-mode .font-size-btn {
            background: #000000 !important;
            color: #ffff00 !important;
            border-color: #ffff00 !important;
        }

        body.blue-yellow-mode * {
            background-color: #000033 !important;
            color: #ffff99 !important;
        }
        
        /* Görselleri ve background'ları koru */
        .blue-yellow-mode img,
        .blue-yellow-mode .logo,
        .blue-yellow-mode .logo * {
            background-color: transparent !important;
            background: none !important;
        }
        
        /* Renk şeması butonlarını koru */
        .blue-yellow-mode .color-scheme-btn {
            background-color: transparent !important;
        }
        
        .blue-yellow-mode .color-normal { background: linear-gradient(45deg, #fff 50%, #333 50%) !important; }
        .blue-yellow-mode .color-dark { background: #333 !important; }
        .blue-yellow-mode .color-high-contrast { background: linear-gradient(45deg, #000 50%, #ffff00 50%) !important; }
        .blue-yellow-mode .color-blue-yellow { background: linear-gradient(45deg, #0066cc 50%, #ffff99 50%) !important; }
        
        /* Toggle switch'leri koru */
        .blue-yellow-mode .toggle-switch {
            background: #ccc !important;
        }
        
        .blue-yellow-mode .toggle-switch.active {
            background: #007bff !important;
        }
        
        .blue-yellow-mode .toggle-slider {
            background: white !important;
        }
        
        /* Erişilebilirlik butonunu koru */
        .blue-yellow-mode .accessibility-toggle {
            background: #007bff !important;
            color: white !important;
        }
        
        /* Widget pozisyonunu koru */
        .blue-yellow-mode .accessibility-widget {
            position: fixed !important;
            bottom: 20px !important;
            right: 20px !important;
        }
        
        .blue-yellow-mode .accessibility-panel {
            position: absolute !important;
            bottom: 70px !important;
            right: 0 !important;
        }

        .blue-yellow-mode .demo-content {
            background-color: #0066cc !important;
            color: #ffff99 !important;
        }
        
        .blue-yellow-mode .demo-title,
        .blue-yellow-mode .demo-text,
        .blue-yellow-mode .demo-link {
            color: #ffff99 !important;
        }
        
        /* Widget blue-yellow'da normal kalmalı */
        .blue-yellow-mode .accessibility-widget {
            background-color: transparent !important;
        }
        
        .blue-yellow-mode .accessibility-toggle {
            background-color: #007bff !important;
            color: white !important;
        }
        
        .blue-yellow-mode .accessibility-panel {
            background-color: #0066cc !important;
            color: #ffff99 !important;
            border-color: #ffff99 !important;
        }
        
        .blue-yellow-mode .option-label,
        .blue-yellow-mode .panel-title,
        .blue-yellow-mode .close-btn {
            color: #ffff99 !important;
        }
        
        .blue-yellow-mode .font-size-btn {
            background: #004c99 !important;
            color: #ffff99 !important;
            border-color: #ffff99 !important;
        }

        .large-text,
        .large-text * {
            font-size: 1.03em !important;
        }

        .extra-large-text,
        .extra-large-text * {
            font-size: 1.04em !important;
        }
        
        /* Widget'ın kendi elementlerini korumak için */
        .large-text .accessibility-widget *,
        .extra-large-text .accessibility-widget * {
            font-size: 14px !important;
        }
        
        .large-text .accessibility-toggle,
        .extra-large-text .accessibility-toggle {
            font-size: 24px !important;
        }
        
        .large-text .panel-title,
        .extra-large-text .panel-title {
            font-size: 18px !important;
        }
        
        .large-text .close-btn,
        .extra-large-text .close-btn {
            font-size: 20px !important;
        }

        .underline-links a {
            text-decoration: underline !important;
        }

        .reduced-motion * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }

        @media (max-width: 768px) {
            .accessibility-panel {
                width: 280px;
                right: -10px;
            }
            
            .demo-content {
                margin-right: 0;
                padding: 20px;
            }
        }