.ofek-accessibility-widget {
    --ofek-a11y-primary: #1f6feb;
    --ofek-a11y-button-size: 48px;
    --ofek-a11y-panel-width: min(310px, calc(100vw - 24px));
    position: fixed;
    z-index: 2147483000;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    direction: rtl;
    text-align: right;
}

.ofek-accessibility-widget--bottom-right {
    right: 16px;
    bottom: 16px;
}

.ofek-accessibility-widget--bottom-left {
    left: 16px;
    bottom: 16px;
}

.ofek-accessibility-widget--top-right {
    right: 16px;
    top: 16px;
}

.ofek-accessibility-widget--top-left {
    left: 16px;
    top: 16px;
}

.ofek-accessibility-widget__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: var(--ofek-a11y-button-size);
    min-height: var(--ofek-a11y-button-size);
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: var(--ofek-a11y-primary);
    color: #fff;
    font: 700 15px/1.2 Arial, Helvetica, sans-serif;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .26);
    cursor: pointer;
}

.ofek-accessibility-widget__toggle:hover,
.ofek-accessibility-widget__toggle:focus-visible {
    filter: brightness(.94);
}

.ofek-accessibility-widget__toggle:focus-visible,
.ofek-accessibility-widget__action:focus-visible,
.ofek-accessibility-widget__skip-link:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

.ofek-accessibility-widget__toggle-text {
    white-space: nowrap;
}

.ofek-accessibility-widget__panel {
    position: absolute;
    width: var(--ofek-a11y-panel-width);
    max-height: min(72vh, 560px);
    overflow: auto;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .16);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .24);
}

.ofek-accessibility-widget--bottom-right .ofek-accessibility-widget__panel,
.ofek-accessibility-widget--bottom-left .ofek-accessibility-widget__panel {
    bottom: calc(var(--ofek-a11y-button-size) + 12px);
}

.ofek-accessibility-widget--top-right .ofek-accessibility-widget__panel,
.ofek-accessibility-widget--top-left .ofek-accessibility-widget__panel {
    top: calc(var(--ofek-a11y-button-size) + 12px);
}

.ofek-accessibility-widget--bottom-right .ofek-accessibility-widget__panel,
.ofek-accessibility-widget--top-right .ofek-accessibility-widget__panel {
    right: 0;
}

.ofek-accessibility-widget--bottom-left .ofek-accessibility-widget__panel,
.ofek-accessibility-widget--top-left .ofek-accessibility-widget__panel {
    left: 0;
}

.ofek-accessibility-widget__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.ofek-accessibility-widget__action {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    font: 600 14px/1.35 Arial, Helvetica, sans-serif;
    text-align: right;
    cursor: pointer;
}

.ofek-accessibility-widget__action:hover,
.ofek-accessibility-widget__action[aria-pressed="true"] {
    border-color: var(--ofek-a11y-primary);
    background: color-mix(in srgb, var(--ofek-a11y-primary) 12%, #fff);
}

.ofek-accessibility-widget__action--reset {
    margin-top: 4px;
    border-color: #991b1b;
    color: #991b1b;
}

.ofek-accessibility-widget__skip-link {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 2147483001;
    transform: translateY(-180%);
    padding: 10px 14px;
    border-radius: 6px;
    background: #111827;
    color: #fff;
    font: 700 15px/1.2 Arial, Helvetica, sans-serif;
    text-decoration: none;
}

.ofek-accessibility-widget__skip-link:focus {
    transform: translateY(0);
}

body.ofek-a11y-large-text {
    font-size: 112.5%;
}

body.ofek-a11y-xlarge-text {
    font-size: 125%;
}

body.ofek-a11y-high-contrast {
    background: #000 !important;
    color: #fff !important;
}

body.ofek-a11y-high-contrast a {
    color: #ffff66 !important;
}

body.ofek-a11y-high-contrast button,
body.ofek-a11y-high-contrast input,
body.ofek-a11y-high-contrast select,
body.ofek-a11y-high-contrast textarea {
    border-color: #fff !important;
}

body.ofek-a11y-grayscale {
    filter: grayscale(1);
}

body.ofek-a11y-highlight-links a {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    text-decoration: underline !important;
}

body.ofek-a11y-readable-font,
body.ofek-a11y-readable-font *:not(.fa):not([class*="icon"]) {
    font-family: Arial, Helvetica, sans-serif !important;
}

body.ofek-a11y-line-height {
    line-height: 1.75;
}

body.ofek-a11y-line-height p,
body.ofek-a11y-line-height li,
body.ofek-a11y-line-height span,
body.ofek-a11y-line-height label {
    line-height: 1.75 !important;
}

body.ofek-a11y-letter-spacing {
    letter-spacing: .08em;
}

body.ofek-a11y-pause-animations *,
body.ofek-a11y-pause-animations *::before,
body.ofek-a11y-pause-animations *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
}

body.ofek-a11y-big-cursor,
body.ofek-a11y-big-cursor * {
    cursor: default !important;
}

body.ofek-a11y-hide-images img,
body.ofek-a11y-hide-images picture,
body.ofek-a11y-hide-images svg,
body.ofek-a11y-hide-images video {
    visibility: hidden !important;
}

@media (max-width: 640px) {
    .ofek-accessibility-widget {
        right: 12px;
        left: auto;
        bottom: 12px;
        top: auto;
    }

    .ofek-accessibility-widget__panel {
        right: 0;
        left: auto;
        width: calc(100vw - 24px);
        max-height: 70vh;
    }
}
