#accessibility-button,#accessibility-panel {
    position: fixed;
    z-index: 10000000!important;
    color: #fff;
    background-color: #fff
}

#accessibility-button {
    width: 40px;
    height: 40px;
    bottom: 10px;
    right: 12px;
    padding: 0;
    font-size: 20px;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 50%
}

#accessibility-button img {
    width: 24px
}

#accessibility-button:hover {
    background-color: #f9f9f9
}

#accessibility-panel {
    top: 500px!important;
    right: 10px;
    transform: translateY(-50%);
    width: 350px;
    box-shadow: 0 0 7px rgb(144 144 144 / 60%);
    padding: 10px;
    border-radius: 10px;
    display: none;
    direction: rtl
}

#accessibility-panel.visible {
    display: block
}

#accessibility-panel h3 {
    text-align: center;
    padding: 5px;
    margin: 0;
    font-size: 18px;
    border-bottom: 1px solid #000;
    color: #000
}

.accessibility-options {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    padding: 10px
}

.accessibility-btn {
    width: 100%;
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
    text-align: center;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-direction: row;
    font-size: 16px
}

.accessibility-btn:hover {
    background-color: #f4f4f4;
    border: 1px solid #000;
    color: #000
}

.accessibility-btn img {
    width: 20px;
    height: 20px
}

.font-size-options {
    width: calc(100% - 10px);
    margin-top: 10px;
    margin-bottom: 15px;
    margin-right: 10px;
    float: left
}

.font-size-btn {
    font-size: 16px;
    background-color: #000;
    color: #fff;
    margin-right: 6px;
    border: 1px solid #000;
    padding: 4px 10px
}

.extra-options .accessibility-btn {
    margin-bottom: 10px
}

.extra-options {
    margin-top: 10px;
    box-sizing: border-box;
    padding: 10px
}

.accessibility-statement {
    width: calc(100% - 20px);
    float: right;
    background-color: #000;
    color: #fff;
    margin-top: 10px;
    margin-right: 10px;
    margin-left: 10px;
    padding: 9px;
    text-align: center;
    border-radius: 3px;
    font-weight: 700;
    box-sizing: border-box;
    border: 1px solid #f9f9f9;
    text-decoration: underline
}

.accessibility-statement:hover {
    background-color: #333;
    color: #fff;
    border: 1px solid #f9f9f9
}

.panel-header {
    width: 100%;
    float: right;
    position: relative
}

.close-panel {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    font-size: 20px;
    left: 5px;
    position: absolute;
    z-index: 5
}

.color-slider {
    width: 100%;
    float: right;
    text-align: center;
    color: #000;
    font-weight: 700
}

.fontSize {
    color: #000
}

.disable-accessibility {
    width: calc(100% - 20px)!important;
    float: right;
    margin-top: 10px;
    margin-right: 10px
}

@media screen and (max-width: 600px) {
    #accessibility-button {
        width:30px;
        height: 30px;
        bottom: 10px;
        right: 5px;
        font-size: 17px
    }

    #accessibility-button img {
        width: 20px
    }

    #accessibility-panel {
        position: fixed;
        top: 300px!important;
        right: 0;
        width: 350px
    }
}
