/* כפתור נגישות פשוט וקטן */
.accessibility-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: normal;
}

.accessibility-btn:hover {
    background: #5a6fd8;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.7);
}

.accessibility-menu {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 9998;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 20px;
    width: 280px;
    display: none;
    border: 2px solid #667eea;
    max-height: 60vh;
    overflow-y: auto;
}

.accessibility-menu.show {
    display: block;
}

.accessibility-menu h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
    text-align: center;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.control-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.control-group:last-child {
    border-bottom: none;
}

.control-group label {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.control-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 50px;
}

.control-btn:hover {
    background: #5a6fd8;
}

.control-btn.active {
    background: #ff6b6b;
}

.size-controls {
    display: flex;
    gap: 4px;
}

.size-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #667eea;
    color: white;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.size-btn:hover {
    background: #5a6fd8;
}

/* מצבי נגישות */
body.large-text {
    font-size: 120%;
}

body.larger-text {
    font-size: 140%;
}

body.high-contrast {
    filter: contrast(200%);
}

body.dark-mode {
    filter: invert(1);
}

body.reading-mode {
    background: #f5f5dc !important;
}

body.reading-mode * {
    background: #f5f5dc !important;
    color: #2c3e50 !important;
}

body.reduce-motion * {
    animation: none !important;
    transition: none !important;
}

/* מובייל */
@media (max-width: 768px) {
    .accessibility-btn {
        width: 55px;
        height: 55px;
        font-size: 20px;
        bottom: 20px;
        left: 20px;
    }
    
    .accessibility-menu {
        bottom: 85px;
        left: 20px;
        width: calc(100vw - 40px);
        max-width: 300px;
        padding: 15px;
    }
    
    .accessibility-menu h3 {
        font-size: 15px;
    }
    
    .control-group label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .accessibility-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
        bottom: 15px;
        left: 15px;
    }
    
    .accessibility-menu {
        bottom: 75px;
        left: 15px;
        width: calc(100vw - 30px);
        padding: 12px;
    }
    
    .control-group {
        padding: 6px 0;
    }
}