/* תיקון עבור קובץ accessibility.css */

.accessibility-widget {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* וידוא שה-widget יופיע מעל כל התוכן */
.accessibility-widget {
    z-index: 9999 !important;
}

/* תיקון סגנונות כפתורים בתפריט */
.access-btn {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* תמיכה בכפתור סמן גדול */
.access-btn#bigCursorBtn[aria-pressed="true"] {
    background: #2196f3;
    color: white;
    border-color: #1976d2;
}

/* Site logo default sizing and spacing (used across pages) */
.site-logo {
    height: 44px;
    vertical-align: middle;
}

/* Small extra spacing when logo sits in a header next to user controls */
.header .site-logo {
    margin-right: 12px;
}

/* Reduce logo size significantly on small screens (mobile) */
@media (max-width: 480px) {
    .site-logo {
        height: 28px !important; /* much smaller on phones */
    }
    /* if header places logo absolutely, also constrain max-width */
    .header .site-logo, .logo-group .site-logo {
        max-height: 28px !important;
        width: auto !important;
    }
}

/* On the games page hide the logo image on small screens to avoid duplicate title+logo */
@media (max-width: 480px) {
    body.games-page .logo img,
    body.games-page .logo .site-logo {
        display: none !important;
    }
}

/* Reduce search input length on very small screens (topics / header search) */
@media (max-width: 480px) {
    .search-wrapper {
        max-width: 220px !important; /* reserve less horizontal space for the search area */
        flex: 0 0 auto !important;
    }
    /* make the input itself shorter and allow the magnifier button to remain visible */
    #searchBar .search-input, #searchInput {
        width: 140px !important;
        max-width: 140px !important;
    }
    /* slightly reduce the magnifier icon so it fits better */
    .magnifier-svg { width:28px; height:28px; }
}
