/*أيقونة أدوات سهولة الوصول*/
.Accessibility-widget {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #00b189;
    box-sizing: border-box;
    box-shadow:
        0 4px 16px rgba(0, 177, 137, 0.35),
        0 3px 6px rgba(0, 177, 137, 0.25);
    transition: all 0.3s ease-in-out;

    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 70%;
    left: 1.75%;
    color: #FFFFFF;
    padding: 14px;
    cursor: pointer;
    z-index: 1000;
    font-size: 20px;
}

.Accessibility-widget:hover {
    transform: scale(0.9);
    transform: translateY(-10%);
}

@media only screen and (min-width: 0px) and (max-width: 760px) {
    .Accessibility-widget {
        left: 4.5%;
    }
}

@media only screen and (min-width: 761px) and (max-width: 930px) {
    .Accessibility-widget {
        left: 2.5%;
    }
}

.Accessibility-toggle {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    align-self: center;
}

/*لوجة أدوات سهولة الوصول الجانبية*/
.AccessibilityDivForAllTools {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    box-sizing: border-box;
    max-width: 100%;
    height: 100vh;
    z-index: 1001;
    background: #f8f9fb;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

/*هذا السطر مهم جدا لفتح وإغلاق اللوحة*/
.AccessibilityDivForAllTools.open {
    transform: translateX(0);
}

.accessibility-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/*العناصر في رأس اللوحة*/
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.125rem;
}

.panel-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
    text-wrap: nowrap;
}

/*زر إغلاق اللوحة*/
.closingPanel {
    display: flex;
    align-items: center;
}

.panel-close {
    background: transparent;
    width: 28px;
    height: 28px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.panel-close .icon {
    display: flex;
    align-items: center;
}

.panel-close .icon .accessibility-panel-close {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.panel-close:hover {
    background-color: #00b18931;
}

.panel-close:hover svg path {
    fill: #00b189 !important;
}

/*القسم الأول في لوحة الوصول: قسم اختيار اللغة وسمة الشاشة في الوضع الليل أو الوضع المضيء*/
.panel-section1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.125rem;
    gap: 12px;
}

/*تنسيق ببوردر أسفل الأقسام*/
.border-style {
    width: 100%;
    height: 1px;
    border: 1px solid #00b18933;
}

/*قسم اختيار اللغة*/
/*تنسيق عنوان اللغة وعنوان تجربة قراءة مريحة زعنوان */
.lang-title,
.Reading-title,
.View-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    text-wrap: nowrap;
}

.language-section {
    position: relative;
    cursor: pointer;
}

/*قائمة اللغة*/
.lang-dropdown {
    position: absolute;
    top: 30px;
    right: 0;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 0 2.2px rgba(0, 0, 0, .034), 0 0 5.3px rgba(0, 0, 0, .048), 0 0 10px rgba(0, 0, 0, .06), 0 0 17.9px rgba(0, 0, 0, .072), 0 0 33.4px rgba(0, 0, 0, .086);
    border: none;
    padding: 0.25rem;

    min-width: 160px;
    z-index: 1002;
    display: none;
}

/*فتح القائمة*/
.lang-dropdown.show {
    display: block;
}

/*خيارات اللغة*/
.lang-option {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 12px;
    font-size: 0.85rem;
    text-align: start;
}

.lang-option:hover {
    background: #f3f3f38c;
}

.lang-option img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    align-self: flex-start;
}

/*الوضع المعتم والوضع المضيء*/
#raed-theme-switcher-fieldset {
    padding: 0;
    margin: 0;
    border-radius: 40px;
}

.raed-theme-light #raed-theme-switcher-fieldset {
    border: 2px solid transparent;
}

#raed-theme-switcher-fieldset legend {
    font-size: 0;
    line-height: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
}

#raed-theme-switcher-fieldset input[type=radio] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

input,
button,
select,
textarea {
    font-size: inherit;
    line-height: inherit;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

legend+* {
    clear: left;
}

.raed-theme-light #raed-theme-switcher-fieldset label {
    background: #FFFFFF;
    color: #000000;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.raed-theme-light #raed-theme-switcher-fieldset label:hover {
    background: #00b18883;
}

.raed-theme-light #raed-theme-switcher-fieldset label:hover svg path {
    fill: #00b189 !important;
}

#raed-theme-switcher-fieldset label {
    width: 32px;
    height: 32px;
    padding: 6px;
    display: inline-flex;
    border-radius: 16px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

#raed-theme-switcher-fieldset label:hover {
    background: #00b18931;
}

#raed-theme-switcher-fieldset label:hover svg path {
    fill: #00b189;
}

.raed-invisible-label {
    font-size: 0;
    line-height: 0;
    opacity: 0;
    display: block;
}

#raed-theme-switcher-fieldset svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: fill 0.3s ease-in-out;
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
}

img,
svg {
    vertical-align: middle;
}

/*برمجة مود اللوحة بين الوضع الداكن والوضع المضيئ*/
.AccessibilityDivForAllTools.raed-dark-mode {
    background-color: #202e42;
    color: #ffffff;
}

/*برمجة النصوص في اللوحة في الوضع الداكن*/
.AccessibilityDivForAllTools.raed-dark-mode * {
    color: #ffffff;
}

.AccessibilityDivForAllTools.raed-dark-mode svg {
    fill: #ffffff;
}

.AccessibilityDivForAllTools.raed-dark-mode img:not(.no-dark-filter) {
    filter: invert(1);
}

.AccessibilityDivForAllTools.raed-dark-mode #langMeun {
    background-color: #45484d;
}

.AccessibilityDivForAllTools.raed-dark-mode .Accesibility-form-control {
    background: #7c7a7a5e;
}

.AccessibilityDivForAllTools.raed-dark-mode .Accesibility-form-control:hover {
    background: #7c7a7ae7;
}

.AccessibilityDivForAllTools.raed-dark-mode .Accesibility-form-control:hover svg path {
    fill: #ffffff;
}

/*تجربة قراء مريحة*/
/*العنوان*/
/* عنوان تجربة قراءة مريحة وعنوان تجربة بصرية ممتعة */
.Reading-title,
.View-title {
    margin-bottom: 0.95rem;
}

/*قسم تجربة قراءة مريحة وتجربة مصرية ممتعة*/
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    row-gap: 20px;
    margin-bottom: 2rem;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.accessibility-panel-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 110px;
}

.Accesibility-form-control {
    width: 100%;
    height: 130px;
    max-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    row-gap: 10px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
    background: #00b18833;
}

.Accesibility-form-control svg path {
    fill: #00b189;
}

.Accesibility-form-control:hover {
    background: #00b18952;
}

.Accesibility-form-control:hover svg path {
    fill: #000000;
}

.Accesibility-form-control .raed-title {
    padding: 0 10px;
    text-align: center;
    font-size: 12px;
    align-self: baseline;
    width: calc(100% - 20px);
    box-sizing: unset !important;
}

.Accesibility-form-control img {
    width: 24px;
    height: 24px;
}