#accessibility-widget {
    position: fixed;
    top: 180px;
    right: 20px;
    z-index: 9999;
    font-family: Arial, sans-serif;
    font-size: inherit;
        display: flex;              /* Așezare pe orizontală */
    align-items: flex-start;    /* Aliniere sus */
    gap: 10px; 
}

/* Buton iconiță */
#accessibility-toggle {
    background: #003366; // contrast bun 
    color: white;
    border: none;
    /*padding: 12px;*/
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 22px;
    display: flex;
    background-image: url("images/accessibility.png");

    width: 44px;
    height: 44px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    background-color: transparent;
    cursor: pointer;
    
    
    align-items: center;
    justify-content: center;
}

/* Focus vizibil WCAG */
#accessibility-toggle:focus,
#accessibility-panel button:focus {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

#accessibility-panel {
    margin-top: 10px;
    background: white;
    border: 2px solid #003366;
    padding: 15px;
    border-radius: 10px;
    width: 180px;font-size: small;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#accessibility-panel button {
    display: block;
    width: 100%;
    margin-bottom: 4px;
    padding: 4px;
    cursor: pointer;
    background: #e6e6e6;
    border: 1px solid #666;
    border-radius: 6px;
}

.hidden {
    display: none;
}

/* Contrast ridicat */
.high-contrast {
    background: #000 !important;
    color: #fff !important;
}

.high-contrast a {
    color: #00ffff !important;
}

/* Alb-negru */
.grayscale {
    filter: grayscale(100%);
}

/* Font lizibil */
.readable-font {
    font-family: "OpenDyslexic", Arial, sans-serif !important;
}


/*
////
 Container general – poziționare fixă + flex pentru afișare pe orizontală 
#accessibility-widget {
    position: fixed;
    top: 180px;
    right: 20px;
    z-index: 9999;
    font-family: Arial, sans-serif;

    display: flex;               Buton + panou pe orizontală 
    align-items: flex-start;
    gap: 12px;                   Spațiu între buton și panou 
}

 Butonul principal – conform WCAG AA 
#accessibility-toggle {
    background-color: #003366;   Contrast foarte bun 
    color: white;
    border: none;
    cursor: pointer;

    width: 48px;                 Target size WCAG AA 
    height: 48px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("images/accessibility.png");
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;

    transition: background-color 0.2s ease;
}

 Hover – nu obligatoriu WCAG, dar util 
#accessibility-toggle:hover {
    background-color: #00264d;
}

 Focus vizibil – criteriul 2.4.7 
#accessibility-toggle:focus,
#accessibility-panel button:focus {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

 Panoul de accesibilitate 
#accessibility-panel {
    background: white;
    border: 2px solid #003366;
    padding: 15px;
    border-radius: 10px;
    width: 200px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);

    color: #000;                 Contrast bun 
}

 Ascuns 
.hidden {
    display: none;
}

 Butoanele din panou 
#accessibility-panel button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;

    background: #e6e6e6;
    border: 1px solid #666;
    border-radius: 6px;
    cursor: pointer;

    font-size: 14px;
    text-align: left;

    transition: background 0.2s ease;
}

 Hover 
#accessibility-panel button:hover {
    background: #d4d4d4;
}

 Contrast ridicat 
.high-contrast {
    background: #000 !important;
    color: #fff !important;
}

.high-contrast a {
    color: #00ffff !important;
}

 Alb-negru 
.grayscale {
    filter: grayscale(100%);
}

 Font lizibil 
.readable-font {
    font-family: "OpenDyslexic", Arial, sans-serif !important;
}*/
