@font-face {
  font-family: "RubikLocal";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  size-adjust: 100%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
  src: url("/assets/compiled/fonts/rubik/rubik-v31-hebrew-regular.woff2") format("woff2");
}

@font-face {
  font-family: "RubikLocal";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  size-adjust: 100%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
  src: url("/assets/compiled/fonts/rubik/rubik-v31-hebrew-600.woff2") format("woff2");
}

@font-face {
  font-family: "RubikLocal";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  size-adjust: 100%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
  src: url("/assets/compiled/fonts/rubik/rubik-v31-hebrew-700.woff2") format("woff2");
}

@font-face {
  font-family: "RubikLocal";
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  size-adjust: 100%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
  src: url("/assets/compiled/fonts/rubik/rubik-v31-hebrew-800.woff2") format("woff2");
}

@font-face {
  font-family: "RubikLocal";
  font-style: normal;
  font-weight: 900;
  font-display: optional;
  size-adjust: 100%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
  src: url("/assets/compiled/fonts/rubik/rubik-v31-hebrew-900.woff2") format("woff2");
}

/* Arabic letters. The Rubik files carry Hebrew and Latin only, so Arabic used to fall
   back to Arial. Declared after the Rubik faces so it wins for Arabic code points;
   unicode-range means a page with no Arabic on it never downloads the file.
   One face per Rubik weight (400/600/700/800/900), never a single "100 900" range: the browser
   picks ONE set of faces whose weight descriptors match, and a range is a different set
   from "700", so the Rubik set won, this face was never used and Arabic bold rendered
   as regular Arial. The file is a variable font, so each face gets its own weight. */
@font-face {
  font-family: "RubikLocal";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/assets/compiled/fonts/noto-sans-arabic/noto-sans-arabic-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "RubikLocal";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/assets/compiled/fonts/noto-sans-arabic/noto-sans-arabic-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "RubikLocal";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/assets/compiled/fonts/noto-sans-arabic/noto-sans-arabic-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "RubikLocal";
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url("/assets/compiled/fonts/noto-sans-arabic/noto-sans-arabic-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "RubikLocal";
  font-style: normal;
  font-weight: 900;
  font-display: optional;
  src: url("/assets/compiled/fonts/noto-sans-arabic/noto-sans-arabic-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "RubikFallback";
  font-style: normal;
  font-weight: 400 900;
  font-display: optional;
  size-adjust: 102%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
  src: local("Arial"), local("Helvetica"), local("Segoe UI");
}

:root {
  --bs-error-message-bg: #f8d7da;
  --bs-body-font-family: "RubikLocal", "RubikFallback", sans-serif;
}

*/ a,
b,
div,
h1,
h2,
h3,
h4,
h5,
h6,
input,
p,
select,
span,
table,
td,
textarea,
th,
tr {
  font-family: var(--app-font-family);
}

.ps {
  overflow: hidden !important;
  overflow-anchor: none;
  -ms-overflow-style: none;
  touch-action: auto;
  -ms-touch-action: auto
}

.ps__rail-x {
  display: none;
  opacity: 0;
  transition: background-color .2s linear, opacity .2s linear;
  -webkit-transition: background-color .2s linear, opacity .2s linear;
  height: 15px;
  bottom: 0;
  position: absolute
}

.ps__rail-y {
  display: none;
  opacity: 0;
  transition: background-color .2s linear, opacity .2s linear;
  -webkit-transition: background-color .2s linear, opacity .2s linear;
  width: 15px;
  inset-inline-end: 0;
  position: absolute
}

.ps--active-x>.ps__rail-x,
.ps--active-y>.ps__rail-y {
  display: block;
  background-color: transparent
}

.ps:hover>.ps__rail-x,
.ps:hover>.ps__rail-y,
.ps--focus>.ps__rail-x,
.ps--focus>.ps__rail-y,
.ps--scrolling-x>.ps__rail-x,
.ps--scrolling-y>.ps__rail-y {
  opacity: .6
}

.ps .ps__rail-x:hover,
.ps .ps__rail-y:hover,
.ps .ps__rail-x:focus,
.ps .ps__rail-y:focus,
.ps .ps__rail-x.ps--clicking,
.ps .ps__rail-y.ps--clicking {
  background-color: #eee;
  opacity: .9
}

.ps__thumb-x {
  background-color: #aaa;
  border-radius: 6px;
  transition: background-color .2s linear, height .2s ease-in-out;
  -webkit-transition: background-color .2s linear, height .2s ease-in-out;
  height: 6px;
  bottom: 2px;
  position: absolute
}

.ps__thumb-y {
  background-color: #aaa;
  border-radius: 6px;
  transition: background-color .2s linear, width .2s ease-in-out;
  -webkit-transition: background-color .2s linear, width .2s ease-in-out;
  width: 6px;
  inset-inline-end: 2px;
  position: absolute
}

.ps__rail-x:hover>.ps__thumb-x,
.ps__rail-x:focus>.ps__thumb-x,
.ps__rail-x.ps--clicking .ps__thumb-x {
  background-color: #999;
  height: 11px
}

.ps__rail-y:hover>.ps__thumb-y,
.ps__rail-y:focus>.ps__thumb-y,
.ps__rail-y.ps--clicking .ps__thumb-y {
  background-color: #999;
  width: 11px
}

@supports (-ms-overflow-style: none) {
  .ps {
    overflow: auto !important
  }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
  .ps {
    overflow: auto !important
  }
}

:root,
[data-bs-theme=light] {
  --bs-blue: #183188;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #183188;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #ced4da;
  --bs-dark: #131313;
  --bs-primary-rgb: 67, 94, 190;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 4, 163, 195;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 206, 212, 218;
  --bs-dark-rgb: 19, 19, 19;
  --bs-primary-text-emphasis: #1b264c;
  --bs-secondary-text-emphasis: #2b2f32;
  --bs-success-text-emphasis: #0a3622;
  --bs-info-text-emphasis: #055160;
  --bs-warning-text-emphasis: #664d03;
  --bs-danger-text-emphasis: #58151c;
  --bs-light-text-emphasis: #495057;
  --bs-dark-text-emphasis: #495057;
  --bs-primary-bg-subtle: #d9dff2;
  --bs-secondary-bg-subtle: #f8f9fa;
  --bs-success-bg-subtle: #d1e7dd;
  --bs-info-bg-subtle: #cff4fc;
  --bs-warning-bg-subtle: #fff3cd;
  --bs-danger-bg-subtle: #f8d7da;
  --bs-light-bg-subtle: #fcfcfd;
  --bs-dark-bg-subtle: #ced4da;
  --bs-primary-border-subtle: #b4bfe5;
  --bs-secondary-border-subtle: #e9ecef;
  --bs-success-border-subtle: #a3cfbb;
  --bs-info-border-subtle: #9eeaf9;
  --bs-warning-border-subtle: #ffe69c;
  --bs-danger-border-subtle: #f1aeb5;
  --bs-light-border-subtle: #e9ecef;
  --bs-dark-border-subtle: #adb5bd;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #607080;
  --bs-body-color-rgb: 96, 112, 128;
  --bs-body-bg: #f2f7ff;
  --bs-body-bg-rgb: 242, 247, 255;
  --bs-emphasis-color: #000;
  --bs-emphasis-color-rgb: 0, 0, 0;
  --bs-secondary-color: rgba(96, 112, 128, .75);
  --bs-secondary-color-rgb: 96, 112, 128;
  --bs-secondary-bg: #e9ecef;
  --bs-secondary-bg-rgb: 233, 236, 239;
  --bs-tertiary-color: rgba(96, 112, 128, .5);
  --bs-tertiary-color-rgb: 96, 112, 128;
  --bs-tertiary-bg: #f8f9fa;
  --bs-tertiary-bg-rgb: 248, 249, 250;
  --bs-heading-color: #25396f;
  --bs-link-color: #183188;
  --bs-link-color-rgb: 67, 94, 190;
  --bs-link-decoration: underline;
  --bs-link-hover-color: #364b98;
  --bs-link-hover-color-rgb: 54, 75, 152;
  --bs-code-color: #d63384;
  --bs-highlight-color: #607080;
  --bs-highlight-bg: #fcf8e3;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, .175);
  --bs-border-radius: .25rem;
  --bs-border-radius-sm: .2rem;
  --bs-border-radius-lg: .3rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  --bs-border-radius-pill: 50rem;
  --bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
  --bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);
  --bs-box-shadow-lg: 0 .75rem 3rem rgba(0, 0, 0, .225);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);
  --bs-focus-ring-width: .25rem;
  --bs-focus-ring-opacity: .25;
  --bs-focus-ring-color: rgba(67, 94, 190, .25);
  --bs-form-valid-color: #198754;
  --bs-form-valid-border-color: #198754;
  --bs-form-invalid-color: #dc3545;
  --bs-form-invalid-border-color: #dc3545;
  --app-font-family: "RubikLocal", "RubikFallback", sans-serif;

}

[data-bs-theme=dark] {
  color-scheme: dark;
  --bs-body-color: #dee2e6;
  --bs-body-color-rgb: 222, 226, 230;
  --bs-body-bg: #212529;
  --bs-body-bg-rgb: 33, 37, 41;
  --bs-emphasis-color: #fff;
  --bs-emphasis-color-rgb: 255, 255, 255;
  --bs-secondary-color: rgba(222, 226, 230, .75);
  --bs-secondary-color-rgb: 222, 226, 230;
  --bs-secondary-bg: #343a40;
  --bs-secondary-bg-rgb: 52, 58, 64;
  --bs-tertiary-color: rgba(222, 226, 230, .5);
  --bs-tertiary-color-rgb: 222, 226, 230;
  --bs-tertiary-bg: #2b3035;
  --bs-tertiary-bg-rgb: 43, 48, 53;
  --bs-primary-text-emphasis: #8e9ed8;
  --bs-secondary-text-emphasis: #a7acb1;
  --bs-success-text-emphasis: #75b798;
  --bs-info-text-emphasis: #6edff6;
  --bs-warning-text-emphasis: #ffda6a;
  --bs-danger-text-emphasis: #ea868f;
  --bs-light-text-emphasis: #f8f9fa;
  --bs-dark-text-emphasis: #dee2e6;
  --bs-primary-bg-subtle: #0d1326;
  --bs-secondary-bg-subtle: #161719;
  --bs-success-bg-subtle: #051b11;
  --bs-info-bg-subtle: #032830;
  --bs-warning-bg-subtle: #332701;
  --bs-danger-bg-subtle: #2c0b0e;
  --bs-light-bg-subtle: #343a40;
  --bs-dark-bg-subtle: #1a1d20;
  --bs-primary-border-subtle: #283872;
  --bs-secondary-border-subtle: #41464b;
  --bs-success-border-subtle: #0f5132;
  --bs-info-border-subtle: #087990;
  --bs-warning-border-subtle: #997404;
  --bs-danger-border-subtle: #842029;
  --bs-light-border-subtle: #495057;
  --bs-dark-border-subtle: #343a40;
  --bs-heading-color: inherit;
  --bs-link-color: #8e9ed8;
  --bs-link-hover-color: #a5b1e0;
  --bs-link-color-rgb: 142, 158, 216;
  --bs-link-hover-color-rgb: 165, 177, 224;
  --bs-code-color: #e685b5;
  --bs-highlight-color: #dee2e6;
  --bs-highlight-bg: #664d03;
  --bs-border-color: #495057;
  --bs-border-color-translucent: rgba(255, 255, 255, .15);
  --bs-form-valid-color: #75b798;
  --bs-form-valid-border-color: #75b798;
  --bs-form-invalid-color: #ea868f;
  --bs-form-invalid-border-color: #ea868f
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth
  }
}

.btn {
  --bs-btn-padding-x: .75rem;
  --bs-btn-padding-y: .375rem;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 700;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: transparent;
  --bs-btn-border-width: 1px;
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: .25rem;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
  --bs-btn-disabled-opacity: .65;
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--app-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #435ebe;
  --bs-btn-border-color: #435ebe;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3950a2;
  --bs-btn-hover-border-color: #364b98;
  --bs-btn-focus-shadow-rgb: 95, 118, 200;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #364b98;
  --bs-btn-active-border-color: #32478f;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #183188;
  --bs-btn-disabled-border-color: #183188;
}

.form-control {
  display: block;
  direction: rtl;
  width: calc(100% - 32px);
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #607080;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dce7f1;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.display-pc-only {
  display: block !important;
}

.display-mobile-only {
  display: none;
}

@media print {

  .col-md-2,
  .col-md-4,
  .col-md-6,
  .col-md-8,
  .col-md-10,
  .col-md-12 {
    width: 100% !important;
  }

  .topbar-menu,
  .sidebar-desktop,
  .page-heading,
  .dont_print,
  .btn_accessibility {
    display: none !important;
  }

  #main_div {
    padding: 0;
    margin: 0;
  }
}

@media only screen and (max-width: 800px) {
  .display-pc-only {
    display: none !important;
  }

  .display-mobile-only {
    display: block !important;
  }

  textarea {
    padding: 10px 5px !important;
  }
}

.otp_div {
  align-items: center;
  text-align: center;
  direction: ltr;
}

/* Only the digit-box flavour becomes a flex row — .otp_div is reused elsewhere
   to wrap a single phone/ID text field, which must keep its own layout.
   flex + nowrap keeps the code boxes on one line on a phone. */
.otp_div:has(input[type="number"]) {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

.otp_div input[type="number"] {
  width: 1.5em;
  min-width: 0;
  line-height: 1;
  margin: .1em;
  padding: 8px 0 4px;
  font-size: 1.65em;
  text-align: center;
  appearance: textfield;
  -webkit-appearance: textfield;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  border-radius: 4px;
}

.otp_div input::-webkit-outer-spin-button,
.otp_div input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Narrow phones — with nowrap the boxes shrink to whatever is left, and the
   .1em margin above eats more room than the gap does. Swap it for a small gap
   so the width goes back into the boxes, and pin the width in px so it stops
   following the (now smaller) font-size. Values are mirrored in app-custom.css,
   which loads after this file on the header_general pages — both must agree or
   the result depends on the load order. */
@media screen and (max-width: 430px) {
  .otp_div {
    gap: 3px;
  }

  .otp_div input[type="number"] {
    width: 40px;
    margin: 0;
    font-size: 1.35rem;
  }
}

@media screen and (max-width: 360px) {
  .otp_div {
    gap: 2px;
  }

  .otp_div input[type="number"] {
    font-size: 1.2rem;
  }
}

.lin {
  display: block;
  margin-bottom: 5px;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999999999 !important;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #fff
}

.spinner {
  border: 1px solid transparent;
  border-radius: 3px;
  position: relative
}

.spinner:before {
  content: '';
  background-image: url();
  background-size: 50px 50px;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  border-top-color: #f7f7f9;
  animation: spinner .9s linear infinite
}

.close {
  width: 17px;
  height: 17px;
  position: absolute;
  top: 5px;
  inset-inline-start: 5px;
  cursor: pointer
}

/* The message boxes (success / error / warning / info) and the toast (showToast, assets/compiled/html/toast.html), PG-1108
   (11/11/2026). A box: the surface washed with its type's colour from the start side, where a round chip with the type's
   mark sits in a glow and pops in when the box shows. The toast: filled with the type's colour, a white chip whose mark
   draws itself. The colour and the mark tell the types apart;
   no stripe down a side (Roi on PG-925: "בלי הפס על השורה"). The marks are drawn here, not taken from the icon font, so a
   page that never loads it still shows them. A copy of app-custom.css's boxes: login_link.php and login_sms.php load
   this file alone, and it loads after app-custom.css elsewhere. --pg-dark-ink keeps each one's ink against
   app-dark-custom.css's grey for every text in dark mode. */
:root {
  --pgm-mark-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.7 3.7L17.5 8.5'/%3E%3C/svg%3E");
  --pgm-mark-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E");
  --pgm-mark-bang: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6.5v7'/%3E%3Ccircle cx='12' cy='17.6' r='1.4' fill='white' stroke='none'/%3E%3C/svg%3E");
  --pgm-mark-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 11v6.5'/%3E%3Ccircle cx='12' cy='6.8' r='1.4' fill='white' stroke='none'/%3E%3C/svg%3E");
}

/* The paint. --pgm-c1 / --pgm-c2: the chip's two shades; --pgm-tint: the
   wash and the halo behind the chip; --pgm-glow: the chip's glow and the box's shadow. */
.info_message,
.warning_message,
.error_message,
.success_message {
  --pgm-c1: #4a6cf0;
  --pgm-c2: #1f3a9e;
  --pgm-ink: #1b2f78;
  --pgm-tint: rgba(59, 91, 219, .15);
  --pgm-soft: rgba(59, 91, 219, .08);
  --pgm-line: rgba(59, 91, 219, .3);
  --pgm-glow: rgba(31, 58, 158, .5);
  --pgm-surface: var(--bs-white-bg, #fff);
  --pg-dark-ink: var(--pgm-ink);
  --pgm-mark: var(--pgm-mark-info);
  border: 1px solid var(--pgm-line) !important;
  text-wrap: balance;
  color: var(--pgm-ink) !important;
  background:
    radial-gradient(circle at calc(100% - 38px) 50%, var(--pgm-tint) 0, transparent 110px),
    linear-gradient(to left, var(--pgm-tint), var(--pgm-soft) 85%),
    var(--pgm-surface) !important;
  box-shadow: 0 22px 40px -28px var(--pgm-glow), 0 2px 8px rgba(15, 23, 42, .05);
}

/* English: the chip sits on the left, so the wash and the halo start there */
html[dir="ltr"] :is(.info_message, .warning_message, .error_message, .success_message) {
  background:
    radial-gradient(circle at 38px 50%, var(--pgm-tint) 0, transparent 110px),
    linear-gradient(to right, var(--pgm-tint), var(--pgm-soft) 85%),
    var(--pgm-surface) !important;
}

/* The boxes' size and place */
.info_message,
.warning_message,
.error_message,
.success_message {
  position: relative;
  width: 100%;
  max-width: 560px !important;
  margin: 10px auto 1rem;
  padding: 18px 74px;
  border-radius: 20px;
  font-family: var(--app-font-family);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  overflow: hidden;
}

.info_message::before,
.warning_message::before,
.error_message::before,
.success_message::before {
  content: "";
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  transform: translateY(-50%);
  height: min(44px, calc(100% - 12px));
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pgm-mark) center / 50% 50% no-repeat, linear-gradient(145deg, var(--pgm-c1), var(--pgm-c2));
  box-shadow: 0 10px 20px -8px var(--pgm-glow), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: pgmChipIn .55s cubic-bezier(.34, 1.56, .64, 1) .05s both;
}

@keyframes pgmChipIn {
  from { transform: translateY(-50%) scale(.3); opacity: 0; }
  to { transform: translateY(-50%) scale(1); opacity: 1; }
}

.success_message {
  --pgm-c1: #2fd39c;
  --pgm-c2: #079265;
  --pgm-ink: #065b3f;
  --pgm-tint: rgba(16, 185, 129, .17);
  --pgm-soft: rgba(16, 185, 129, .09);
  --pgm-line: rgba(16, 185, 129, .34);
  --pgm-glow: rgba(7, 146, 101, .55);
  --pgm-mark: var(--pgm-mark-check);
}

.error_message {
  --pgm-c1: #ff6680;
  --pgm-c2: #e11d48;
  --pgm-ink: #9f1239;
  --pgm-tint: rgba(244, 63, 94, .15);
  --pgm-soft: rgba(244, 63, 94, .08);
  --pgm-line: rgba(244, 63, 94, .32);
  --pgm-glow: rgba(225, 29, 72, .5);
  --pgm-mark: var(--pgm-mark-x);
}

.warning_message {
  --pgm-c1: #ffc043;
  --pgm-c2: #f07800;
  --pgm-ink: #8a4300;
  --pgm-tint: rgba(245, 158, 11, .2);
  --pgm-soft: rgba(245, 158, 11, .11);
  --pgm-line: rgba(240, 140, 0, .4);
  --pgm-glow: rgba(240, 120, 0, .55);
  --pgm-mark: var(--pgm-mark-bang);
}

/* Dark: the surface follows the theme (--bs-white-bg); the ink lightens and the wash grows */
html[data-bs-theme=dark] .info_message {
  --pgm-ink: #cdd8ff;
  --pgm-tint: rgba(74, 108, 240, .26);
  --pgm-soft: rgba(74, 108, 240, .12);
  --pgm-line: rgba(74, 108, 240, .45);
}

html[data-bs-theme=dark] .success_message {
  --pgm-ink: #a7f3d0;
  --pgm-tint: rgba(47, 211, 156, .22);
  --pgm-soft: rgba(47, 211, 156, .1);
  --pgm-line: rgba(47, 211, 156, .4);
}

html[data-bs-theme=dark] .error_message {
  --pgm-ink: #fecdd3;
  --pgm-tint: rgba(255, 102, 128, .22);
  --pgm-soft: rgba(255, 102, 128, .1);
  --pgm-line: rgba(255, 102, 128, .42);
}

html[data-bs-theme=dark] .warning_message {
  --pgm-ink: #fde68a;
  --pgm-tint: rgba(255, 192, 67, .2);
  --pgm-soft: rgba(255, 192, 67, .1);
  --pgm-line: rgba(255, 192, 67, .4);
}

html[data-bs-theme=dark] :is(.info_message, .warning_message, .error_message, .success_message) {
  box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .9);
}

/* A phone: the text takes the room beside the chip instead of keeping a chip's width free on the other side too */
@media (max-width: 575.98px) {
  .info_message,
  .warning_message,
  .error_message,
  .success_message {
    padding: 16px 18px;
    padding-inline-start: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .info_message::before,
  .warning_message::before,
  .error_message::before,
  .success_message::before {
    animation: none;
  }
}

.success_message .close,
.error_message .close,
.info_message .close,
.success_message .close_btn,
.error_message .close_btn,
.info_message .close_btn,
.success_message .btn-close,
.error_message .btn-close,
.info_message .btn-close {
  display: none !important;
  pointer-events: none !important;
}

.form-control:focus {
  color: #607080;
  background-color: #fff;
  border-color: #a1afdf;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(67, 94, 190, .25)
}

.btn:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color)
}


* {
  font-family: var(--app-font-family) !important;
  font-weight: 700;
}

a {
  color: #3498db !important;

}

.grecaptcha-badge {
  display: none !important;
}

body {
  text-align: center;
  direction: rtl;
  background: url("/assets/compiled/images/banner-bg.svg") repeat-x;
  background-position: 0 -50px;
  border-radius: 0px !important;
}

h1 {
  font-size: 24px !important;
  margin-bottom: 60px;
}

.button {
  margin: 25px 0;
  position: relative;
  height: 50px;
  width: 100%;
  border-radius: 10px;

}

.button .inner {
  position: absolute;
  height: 100%;
  width: 300%;
  inset-inline-end: -100%;
  z-index: -1;
  transition: all .4s;
  background: -webkit-linear-gradient(right, #00dbde, #223e9c, #00dbde, #223e9c);
}

.button:hover .inner,
.button:active .inner {
  left: 0;
}

.button button {
  width: 100%;
  height: 100%;
  border: none;
  background: none;
  outline: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  font-family: var(--app-font-family) !important;
}

.button {
  margin-top: 30px;
  overflow: hidden;
  z-index: 111;
}

.close_btn {
  position: absolute;
  inset-inline-start: 5px;
  top: 5px;
  width: 15px;
  height: 15px
}

@media only screen and (min-width: 990px) {
  .bubbles {
    position: absolute;
    width: 100%;
    height: 90%;
    z-index: 0;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: -1 !important;
  }

  .bubble {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    background: #f1f1f1;
    border-radius: 50%;
    opacity: 0.3;
    animation: rise 10s infinite ease-in;
  }

  .bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
  }

  .bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 5s;
    animation-delay: 1s;
  }

  .bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 7s;
    animation-delay: 2s;
  }

  .bubble:nth-child(4) {
    width: 80px;
    height: 80px;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 0s;
  }

  .bubble:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 55%;
    animation-duration: 6s;
    animation-delay: 1s;
  }

  .bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 65%;
    animation-duration: 8s;
    animation-delay: 3s;
  }

  .bubble:nth-child(7) {
    width: 90px;
    height: 90px;
    left: 70%;
    animation-duration: 12s;
    animation-delay: 2s;
  }

  .bubble:nth-child(8) {
    width: 25px;
    height: 25px;
    left: 80%;
    animation-duration: 6s;
    animation-delay: 2s;
  }

  .bubble:nth-child(9) {
    width: 15px;
    height: 15px;
    left: 70%;
    animation-duration: 5s;
    animation-delay: 1s;
  }

  .bubble:nth-child(10) {
    width: 90px;
    height: 90px;
    left: 25%;
    animation-duration: 10s;
    animation-delay: 4s;
  }

  @keyframes rise {
    0% {
      bottom: -100px;
      transform: translateX(0);
    }

    50% {
      transform: translate(100px);
    }

    100% {
      bottom: 1080px;
      transform: translateX(-200px);
    }
  }
}

.lan_ul {
  border-radius: 0 0 4px 4px;
  text-align: right;
  display: block;
  list-style: none;
  padding: 0;
  line-height: normal;
  width: 170px;
  box-shadow: 0 5px 12px rgb(0 0 0 / 30%);
}

.lan_ul li {
  padding: 15px 20px;
  color: black;
  list-style: none;
  border: 1px solid #a9a9a9;
  padding-top: -35px;
  background-color: #f7f7f9;
  cursor: pointer;
}

.lan_ul li:hover {
  background-color: var(--main-color);
  color: white;
}

.em {
  background-size: 44px 30px;
  background-position: 5px;
  background-repeat: no-repeat;
}

.em-ar {
  background-image: url("/assets/compiled/images/flags/ar.png");
}

.em-he {
  background-image: url("/assets/compiled/images/flags/he.png");
}

.em-en {
  background-image: url("/assets/compiled/images/flags/en.png");
}

.em-ru {
  background-image: url("/assets/compiled/images/flags/ru.png");
}

.em-fr {
  background-image: url("/assets/compiled/images/flags/fr.png");
}

.idf {
  border-style: solid;
  border-radius: 4px;
  border-color: var(--main-color);
  background-image: url("/assets/compiled/images/idf.png");
  width: 272px;
  height: 37px;
  background-repeat: no-repeat;
  cursor: pointer
}

.idf:active {
  border-style: solid;
  border-radius: 4px;
  box-shadow: 0 5px #666;
  transform: translateY(4px)
}

@media only screen and (max-width:1650px) and (min-width:1450px) {
  .shadow_box_logo {
    right: 10% !important
  }

  .shadow_box_app_logo {
    left: 10% !important
  }
}

@media only screen and (max-width:1450px) and (min-width:1300px) {
  .shadow_box_logo {
    right: 5% !important
  }

  .shadow_box_app_logo {
    left: 5% !important
  }
}

@media only screen and (max-width:1300px) and (min-width:800px) {
  .shadow_box_logo {
    right: 30px !important
  }

  .shadow_box_app_logo {
    left: 30px !important
  }
}

@media only screen and (max-width:800px) {
  .appointment_box_mobile {
    min-height: 30px !important;
    margin-top: 15px !important
  }

  .appointment_box {
    width: 85% !important;
    margin-right: 0
  }

  .appointment_box_circle {
    width: auto !important;
    margin-right: 10px;
    margin-top: 15px !important;
    padding: 15px 15px !important
  }

  .shadow_box_app_logo,
  .shadow_box_logo {
    display: none
  }

  .shadow_box {
    width: 100% !important;
    -webkit-box-shadow: 0 0 0 !important;
    box-shadow: 0 0 0 !important;
    margin-top: 0 !important;
    background-color: rgba(255, 255, 255, .9) !important;
    padding: 0 0 !important
  }

  .mobile_div {
    padding: 20px !important
  }

  .big_br {
    display: none
  }

  .br_90 {
    line-height: 90px !important
  }

  .shadow_box>h1 {
    padding-top: 10px
  }
}

.color_box {
  width: 10px;
  height: 3px;
  margin-left: 10px;
  display: inline-table
}

.shadow_box {
  background-color: #fff;
  -webkit-box-shadow: 0 0 10px #223e9c;
  box-shadow: 0 0 10px #223e9c;
  border-radius: 30px;
  padding: 50px 20px;
  margin-top: 30px;
  width: 500px;
  min-height: 650px !important
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: large;
  color: var(--bs-primary);
}

.separator::after,
.separator::before {
  content: '';
  flex: 3;
  border-bottom: 1px solid #cacdd1;
}

.separator:not(:empty)::before {
  margin-left: 10px;
}

.separator:not(:empty)::after {
  margin-right: 10px;
}

@media only screen and (max-width: 800px) {
  .shadow_box {
    height: 90%;
  }

  h1 {
    font-size: 20px !important;
    margin-bottom: 30px;

  }

  .container {
    padding: 30px 20px;
    width: 100%;
  }

  .separator {
    padding: 10px 0px 0px 0px;
  }
}

.gradiant_button {
  position: relative;
  height: 50px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  z-index: 111
}

.blue_torquoise_gradiant .inner {
  background: -webkit-linear-gradient(right, #00dbde, #223e9c, #00dbde, #223e9c)
}

.gradiant_button .inner {
  position: absolute;
  height: 100%;
  width: 300%;
  inset-inline-end: -100%;
  z-index: -1;
  transition: .4s
}

.gradiant_button:active .inner,
.gradiant_button:hover .inner {
  left: 0
}

.gradiant_button button {
  width: 100%;
  height: 100%;
  border: none;
  background: 0 0;
  outline: 0;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  font-weight: 700
}

.badge {
  --bs-badge-padding-x: .65em;
  --bs-badge-padding-y: .35em;
  --bs-badge-font-size: .85em;
  --bs-badge-font-weight: 700;
  --bs-badge-color: #fff;
  --bs-badge-border-radius: .25rem;
  display: inline-block;
  padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
  font-size: var(--bs-badge-font-size);
  font-weight: var(--bs-badge-font-weight);
  line-height: 1;
  color: var(--bs-badge-color);
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--bs-badge-border-radius)
}

.badge:empty {
  display: none
}

.btn .badge {
  position: relative;
  top: -1px
}

.badge {
  margin-right: 5px
}

.btn .badge.bg-transparent {
  background-color: rgba(255, 255, 255, .25) !important;
  color: #fff
}

.bg-light-success {
  background-color: #d2ffe8;
  color: #00391c
}

.bg-light-danger {
  background-color: #ffdede;
  color: #450000
}

.bg-light-warning {
  background-color: #fffdd8;
  color: #3f3c00
}

.bg-light-info {
  background-color: #e6fdff;
  color: #00474d
}

.bg-success {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important
}

.bg-info {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important
}

.bg-warning {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important
}

.bg-danger {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important
}

.dselect-wrapper {
  width: fit-content !important;
  display: inline-block !important
}

@media screen and (max-width:1199px) {
  .dselect-wrapper {
    width: 100% !important
  }
}

.dselect-clear {
  padding: 0 !important;
  top: 1px;
  position: absolute;
  inset-inline-start: 5px
}

.dselect-wrapper {
  display: block !important
}

.dselect {
  width: 100% !important
}

.dselect-clear svg {
  width: .7rem;
  height: .7rem
}

.dselect-clear {
  padding: 0 !important;
  top: 5px;
  position: absolute;
  inset-inline-start: 5px
}

.form-select {
  padding: .375rem 1.25rem .375rem 3rem !important
}

.form-select {
  display: inline-block;
  max-width: 350px !important;
  text-align: right !important
}

.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  display: block;
  width: 100%;
  padding: .375rem .75rem .375rem 1.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #607080;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: left .75rem center;
  background-size: 16px 12px;
  border: 1px solid #dce7f1;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion: reduce) {
  .form-select {
    transition: none
  }
}

.form-select:focus {
  border-color: #a1afdf;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(67, 94, 190, .25)
}

.form-select[multiple],
.form-select[size]:not([size="1"]) {
  padding-left: .75rem;
  background-image: none
}

.form-select:disabled {
  color: #6c757d;
  background-color: #e9ecef
}

.form-select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #607080
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  clear: both;
  font-weight: 400;
  color: var(--bs-dropdown-link-color);
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-radius: var(--bs-dropdown-item-border-radius, 0)
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--bs-dropdown-link-hover-color);
  background-color: var(--bs-dropdown-link-hover-bg)
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--bs-dropdown-link-active-color);
  text-decoration: none;
  background-color: var(--bs-dropdown-link-active-bg)
}

.dropdown-item.disabled,
.dropdown-item:disabled {
  color: var(--bs-dropdown-link-disabled-color);
  pointer-events: none;
  background-color: transparent
}

.dropdown-menu.show {
  display: block
}

.dropdown-header {
  display: block;
  padding: var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);
  margin-bottom: 0;
  font-size: .875rem;
  color: var(--bs-dropdown-header-color);
  white-space: nowrap
}

.dropdown-item-text {
  display: block;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  color: var(--bs-dropdown-link-color)
}

.dropdown-menu {
  --bs-dropdown-zindex: 1000;
  --bs-dropdown-min-width: 15rem;
  --bs-dropdown-padding-x: 0;
  --bs-dropdown-padding-y: .5rem;
  --bs-dropdown-spacer: .125rem;
  --bs-dropdown-font-size: 1rem;
  --bs-dropdown-color: #607080;
  --bs-dropdown-bg: #fff;
  --bs-dropdown-border-color: rgba(0, 0, 0, .15);
  --bs-dropdown-border-radius: .25rem;
  --bs-dropdown-border-width: 0;
  --bs-dropdown-inner-border-radius: .25rem;
  --bs-dropdown-divider-bg: rgb(189, 199, 209);
  --bs-dropdown-divider-margin-y: .5rem;
  --bs-dropdown-box-shadow: 1px 4px 15px #f4f5f9;
  --bs-dropdown-link-color: #212529;
  --bs-dropdown-link-hover-color: #1e2125;
  --bs-dropdown-link-hover-bg: #f8f9fa;
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: #183188;
  --bs-dropdown-link-disabled-color: #6c757d;
  --bs-dropdown-item-padding-x: 1.5rem;
  --bs-dropdown-item-padding-y: .65rem;
  --bs-dropdown-header-color: #6c757d;
  --bs-dropdown-header-padding-x: 1.5rem;
  --bs-dropdown-header-padding-y: .5rem;
  position: absolute;
  z-index: var(--bs-dropdown-zindex);
  display: none;
  min-width: var(--bs-dropdown-min-width);
  padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
  margin: 0;
  font-size: var(--bs-dropdown-font-size);
  color: var(--bs-dropdown-color);
  text-align: right;
  list-style: none;
  background-color: var(--bs-dropdown-bg);
  background-clip: padding-box;
  border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
  border-radius: var(--bs-dropdown-border-radius)
}

.dropdown-menu[data-bs-popper] {
  top: 100%;
  right: 0;
  margin-top: var(--bs-dropdown-spacer)
}

.dropdown-menu {
  border: none;
  border-radius: .5rem;
  box-shadow: 0 0 1px rgba(60, 66, 87, .05), 0 3px 6px rgba(60, 66, 87, .1), 0 9px 24px rgba(60, 66, 87, .2);
  color: var(--dashui-body-color);
  font-size: .875rem;
  line-height: 1.375rem;
  z-index: 1040
}

.d-none {
  display: none;
}

.dropdown-item {
  transition: all .5s;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  clear: both;
  font-weight: 400;
  color: var(--bs-dropdown-link-color);
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-radius: var(--bs-dropdown-item-border-radius, 0);
}

.dropdown-menu input {
  width: 100%;
}

.form-select {
  max-width: calc(100% - 32px) !important;
}

.max-width-none {
  max-width: none !important;
}

a,
b,
div,
h1,
h2,
h3,
h4,
h5,
h6,
input,
button,
p,
select,
span,
table,
td,
textarea,
th,
tr {
  font-family: var(--app-font-family) !important;
}

* {
  font-family: var(--app-font-family) !important;
}

/* ============================================================
   Legal / policy pages — scoped modern redesign.
   Applies ONLY to <body class="legal-page"> (accessibility,
   privacy, cookies, terms). Does NOT touch login / portals
   that share .shadow_box / .bubbles.
   ============================================================ */
body.legal-page {
  text-align: start;
  color: #465162;
}

body.legal-page .bubbles,
body.legal-page .shadow_box_logo,
body.legal-page .shadow_box_app_logo {
  display: none !important;
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 18px 90px;
}

.legal-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6eaf1;
  border-radius: 18px;
  box-shadow: 0 14px 44px rgba(20, 33, 61, .08);
  padding: 46px 52px;
  text-align: right;
  direction: rtl;
}

.legal-back {
  position: absolute;
  inset-inline-start: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f1f4fa;
  transition: background .15s ease;
}

.legal-back:hover {
  background: #e2e8f4;
}

.legal-back img {
  width: 17px;
  height: 17px;
}

.legal-head {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid #eef1f6;
}

.legal-head .legal-logo {
  width: 58px;
  height: auto;
  margin-bottom: 14px;
}

body.legal-page h1 {
  font-size: 27px !important;
  font-weight: 800;
  color: #1b2a4e;
  margin: 0 !important;
}

.legal-body {
  font-size: 16px;
  line-height: 1.85;
  color: #465162;
}

.legal-body p {
  margin: 0 0 16px;
  font-weight: 400;
}

.legal-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #183188;
  margin: 32px 0 12px;
  padding-inline-start: 12px;
  border-inline-start: 3px solid #86cfb4;
  line-height: 1.45;
}

.legal-body ul {
  margin: 0 0 18px;
  padding-inline-start: 22px;
}

.legal-body li {
  margin-bottom: 8px;
  font-weight: 400;
  line-height: 1.7;
}

.legal-body a {
  color: #183188 !important;
  text-decoration: underline;
  font-weight: 700;
}

.legal-body .legal-meta {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #eef1f6;
  font-size: 14px;
  color: #5f6b7e;
  font-weight: 400;
}

/* "The Hebrew version prevails" - printed only for a reader of a translation, after the last
   clause. The same small muted voice as .legal-meta, without its rule line: it belongs to the
   document, not to its metadata. */
.legal-body .legal-prevails {
  margin: 26px 0 0;
  font-size: 14px;
  color: #5f6b7e;
  font-weight: 400;
}

.legal-links {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #eef1f6;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
}

.legal-links a {
  color: #183188 !important;
  font-weight: 700;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

/* Pin the Nagishli accessibility widget to the bottom corner on legal pages
   (the shared footer otherwise floats it mid-page, overlapping the text). */
body.legal-page #NagishLiTrigger {
  right: 10px !important;
  left: auto !important;
  bottom: 20px !important;
  top: auto !important;
  max-width: 50px;
  max-height: 50px;
}

@media only screen and (max-width: 800px) {
  .legal-wrap {
    padding: 24px 12px 70px;
  }

  .legal-card {
    padding: 30px 20px;
    border-radius: 14px;
  }

  body.legal-page h1 {
    font-size: 22px !important;
  }
}

/* ============================================================
   Download page (download.php) — scoped redesign.
   Applies ONLY to <body class="download-page">. Same pattern as
   the legal pages above: this sheet is already render-blocking in
   <head>, so the whole layout paints without a flash.
   All classes are dl- prefixed, and so are the keyframes —
   general-pages.css already owns a @keyframes rise used by .bubble.
   ============================================================ */

body.download-page {
  --dl-stage: #eef3fd;
  --dl-glow-a: rgba(95, 195, 155, .28);
  --dl-glow-b: rgba(34, 62, 156, .14);
  --dl-bubble: rgba(34, 62, 156, .055);

  --dl-card: #fff;
  --dl-tint: #f4f7fe;
  --dl-line: #dee7f8;
  --dl-line-soft: #eaf0fb;

  --dl-ink: #16224e;
  --dl-ink-soft: #3d4c7c;
  --dl-muted: #6a769c;

  --dl-blue: #224597;
  --dl-green: #86cdab;
  --dl-green-ink: #3fae83;
  --dl-green-soft: #e4f5ed;

  --dl-badge: #16224e;
  --dl-badge-hover: #0d1739;

  text-align: start;
  color: var(--dl-ink);
  background: var(--dl-stage);
}

/* the site-wide banner strip and the floating logos are not used here */
body.download-page .bubbles,
body.download-page .shadow_box_logo,
body.download-page .shadow_box_app_logo {
  display: none !important;
}

/* general-pages.css paints every <a> #3498db !important */
body.download-page a {
  color: inherit !important;
  text-decoration: none;
}

body.download-page img {
  max-width: 100%;
  display: block;
}

body.download-page :focus-visible {
  outline: 3px solid var(--dl-green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- stage ---------------------------------------- */

.dl-stage {
  position: relative;
  min-height: 100vh;
  padding: clamp(20px, 4vw, 44px) clamp(16px, 4vw, 48px) clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 4.5vw, 46px);
  overflow: hidden;
  background:
    radial-gradient(78% 62% at 92% -6%, var(--dl-glow-a) 0%, transparent 62%),
    radial-gradient(72% 60% at 4% 104%, var(--dl-glow-b) 0%, transparent 64%),
    var(--dl-stage);
}

.dl-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dl-bubbles span {
  position: absolute;
  bottom: -160px;
  border-radius: 50%;
  background: var(--dl-bubble);
  opacity: 0;
  animation: dlRise linear infinite;
}

.dl-bubbles span:nth-child(1) { width: 54px;  height: 54px;  right: 8%;  animation-duration: 21s; animation-delay: 0s; }
.dl-bubbles span:nth-child(2) { width: 22px;  height: 22px;  right: 21%; animation-duration: 15s; animation-delay: 3s; }
.dl-bubbles span:nth-child(3) { width: 96px;  height: 96px;  right: 33%; animation-duration: 28s; animation-delay: 6s; }
.dl-bubbles span:nth-child(4) { width: 34px;  height: 34px;  right: 47%; animation-duration: 18s; animation-delay: 1s; }
.dl-bubbles span:nth-child(5) { width: 64px;  height: 64px;  right: 59%; animation-duration: 24s; animation-delay: 9s; }
.dl-bubbles span:nth-child(6) { width: 18px;  height: 18px;  right: 70%; animation-duration: 13s; animation-delay: 5s; }
.dl-bubbles span:nth-child(7) { width: 112px; height: 112px; right: 81%; animation-duration: 31s; animation-delay: 2s; }
.dl-bubbles span:nth-child(8) { width: 40px;  height: 40px;  right: 92%; animation-duration: 17s; animation-delay: 11s; }

@keyframes dlRise {
  0%   { transform: translate3d(0, 0, 0) scale(.9); opacity: 0; }
  14%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { transform: translate3d(34px, -122vh, 0) scale(1.12); opacity: 0; }
}

/* ---------- top bar --------------------------------------- */

.dl-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  width: 100%;
  margin-inline: auto;
}

.dl-top__mark { width: clamp(122px, 15vw, 158px); height: auto; }

.dl-top__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--dl-line);
  background: var(--dl-card);
  font-size: .86rem;
  font-weight: 600;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.dl-top__link:hover {
  border-color: var(--dl-blue);
  color: var(--dl-blue) !important;
  transform: translateY(-1px);
}

.dl-top__link svg { width: 15px; height: 15px; flex: none; }

/* ---------- the card -------------------------------------- */

.dl-card {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  width: 100%;
  margin-inline: auto;
  background: var(--dl-card);
  border: 1px solid var(--dl-line-soft);
  border-radius: 30px;
  box-shadow: 0 44px 80px -56px rgba(21, 43, 120, .55), 0 10px 30px -22px rgba(21, 43, 120, .28);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  overflow: hidden;
  animation: dlCardIn .8s cubic-bezier(.2, .7, .3, 1) both;
}

@keyframes dlCardIn {
  from { opacity: 0; transform: translateY(24px) scale(.987); }
  to   { opacity: 1; transform: none; }
}

.dl-pane { padding: clamp(28px, 3.4vw, 50px); }

/* ---------- copy pane ------------------------------------- */

.dl-pane--copy {
  display: flex;
  flex-direction: column;
  gap: 25px;
  justify-content: center;
}

.dl-app { display: flex; align-items: center; gap: 14px; }

.dl-app__tile {
  width: 68px;
  height: 68px;
  border-radius: 19px;
  background: #fff;
  border: 1px solid var(--dl-line);
  box-shadow: 0 14px 28px -16px rgba(21, 43, 120, .5);
  padding: 7px;
  display: grid;
  place-items: center;
  flex: none;
}

.dl-app__tile img { width: 100%; height: 100%; object-fit: contain; }

.dl-app__name {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--dl-ink);
}

.dl-app__meta {
  margin: 3px 0 0;
  font-size: .83rem;
  font-weight: 500;
  color: var(--dl-muted);
}

.dl-app__meta b { color: var(--dl-green-ink); font-weight: 700; }

.dl-h1 {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--dl-ink);
  text-wrap: balance;
}

/* the highlight is a background on the em itself. A ::after at
   z-index:-1 would slide behind the white card once the entry
   animation ends and the card stops forming a stacking context. */
.dl-h1 em {
  font-style: normal;
  color: var(--dl-blue);
  white-space: nowrap;
  background-image: linear-gradient(to top,
      transparent .06em,
      rgba(134, 205, 171, .42) .06em,
      rgba(134, 205, 171, .42) .36em,
      transparent .36em);
}

.dl-lede {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(.98rem, 1.3vw, 1.07rem);
  line-height: 1.65;
  font-weight: 500;
  color: var(--dl-ink-soft);
}

/* benefits */
.dl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.dl-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 13px;
}

.dl-list__ic {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--dl-green-soft);
  color: var(--dl-green-ink);
  flex: none;
}

.dl-list__ic svg { width: 17px; height: 17px; }

.dl-list b {
  display: block;
  font-size: .97rem;
  font-weight: 700;
  color: var(--dl-ink);
  line-height: 1.4;
}

.dl-list__t {
  display: block;
  font-size: .86rem;
  font-weight: 500;
  color: var(--dl-muted);
  line-height: 1.5;
  margin-top: 1px;
}

/* store buttons */
.dl-stores { display: flex; flex-wrap: wrap; gap: 12px; }

body.download-page a.dl-store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px 11px 16px;
  border-radius: 14px;
  background: var(--dl-badge);
  color: #fff !important;
  min-width: 196px;
  box-shadow: 0 14px 26px -14px rgba(22, 34, 78, .45);
  transition: transform .2s ease, background .2s ease;
}

.dl-store:hover { transform: translateY(-3px); background: var(--dl-badge-hover); }
.dl-store img { width: 30px; height: 30px; flex: none; }

.dl-store small {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  opacity: .72;
  line-height: 1.2;
}

.dl-store b {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
  direction: ltr;
  text-align: start;
}

/* ---------- scan pane ------------------------------------- */

.dl-pane--scan {
  background: var(--dl-tint);
  border-inline-start: 1px solid var(--dl-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.dl-scan__head { display: grid; gap: 6px; }

.dl-scan__eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--dl-green-ink);
}

.dl-scan__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--dl-ink);
}

.dl-scan__sub {
  margin: 0;
  font-size: .85rem;
  font-weight: 500;
  color: var(--dl-muted);
  line-height: 1.5;
}

.dl-qrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 400px;
}

.dl-qr {
  margin: 0;
  background: var(--dl-card);
  border: 1px solid var(--dl-line);
  border-radius: 20px;
  box-shadow: 0 16px 34px -26px rgba(21, 43, 120, .5);
  padding: 14px 12px 12px;
  display: grid;
  gap: 11px;
  justify-items: center;
  transition: transform .2s ease, border-color .2s ease;
}

.dl-qr:hover { transform: translateY(-3px); border-color: var(--dl-blue); }

.dl-qr__head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--dl-ink);
}

.dl-qr__head img { width: 21px; height: 21px; flex: none; }

.dl-qr__code {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 12px;
  padding: 9px;
  display: grid;
  place-items: center;
}

.dl-qr__code img { width: 100%; height: 100%; object-fit: contain; }

.dl-qr__code::before,
.dl-qr__code::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border: 2.5px solid var(--dl-green);
  border-radius: 5px;
}

.dl-qr__code::before { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.dl-qr__code::after  { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }

.dl-qr__foot {
  margin: 0;
  font-size: .74rem;
  font-weight: 600;
  color: var(--dl-muted);
  direction: ltr;
}

/* ---------- foot ------------------------------------------ */

.dl-foot {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  color: #65729a;
  font-size: .84rem;
  font-weight: 500;
}

.dl-foot a {
  color: #25396f !important;
  border-bottom: 1px solid var(--dl-line);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}

.dl-foot a:hover { color: var(--dl-blue) !important; border-color: var(--dl-blue); }
.dl-foot .dl-dot { opacity: .45; }

/* ---------- display_download.php extras -------------------- */
/* Same page shell as download.php; the two store badges and the QR
   captions carry inline SVG marks instead of the store PNGs, and the
   Android build hands off to a countdown before the APK starts. */

.dl-store__ic { width: 30px; height: 30px; flex: none; }
.dl-qr__head svg { width: 21px; height: 21px; flex: none; }

body.download-page .dl-count .modal-content {
  border: 1px solid var(--dl-line-soft);
  border-radius: 22px;
  box-shadow: 0 40px 74px -52px rgba(21, 43, 120, .6);
  overflow: hidden;
}

body.download-page .dl-count .modal-header {
  border-bottom: 0;
  justify-content: center;
  padding: 26px 24px 0;
}

body.download-page .dl-count .modal-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--dl-ink);
}

body.download-page .dl-count .modal-body {
  padding: 14px 28px 30px;
  text-align: center;
}

.dl-count__num {
  width: 76px;
  height: 76px;
  margin: 4px auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--dl-green-soft);
  color: var(--dl-green-ink);
  font-size: 1.9rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.dl-count__t {
  margin: 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dl-muted);
}

/* ---------- responsive ------------------------------------ */

@media only screen and (max-width: 900px) {
  .dl-card { grid-template-columns: 1fr; }
  .dl-pane--scan { border-inline-start: 0; border-top: 1px solid var(--dl-line); }
  .dl-pane--copy { gap: 22px; }
  .dl-h1 { font-size: clamp(1.85rem, 7.5vw, 2.4rem); }
  .dl-store { flex: 1 1 200px; justify-content: center; }
}

@media only screen and (max-width: 560px) {
  .dl-card { border-radius: 24px; }
  .dl-top__link span { display: none; }
  /* icon-only here, so hold the 44px tap target explicitly */
  .dl-top__link { padding: 9px 14px; min-height: 44px; justify-content: center; }
  .dl-stores { flex-direction: column; }
  /* the <=900px rule set flex:1 1 200px; in a column that basis is the HEIGHT */
  .dl-store { min-width: 0; width: 100%; flex: 0 0 auto; }
  /* a phone does not scan its own screen */
  .dl-pane--scan { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-stage *,
  .dl-stage *::before,
  .dl-stage *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .dl-bubbles { display: none; }
}

/* English: this sheet has no .rtl twin — it is loaded as-is in every direction — and it pins
   `body { direction: rtl }`, which overrode <html dir="ltr"> and held the whole login screen,
   the legal pages and the external pages right-to-left in English. The form controls and the
   legal card pin it again on their own.
   Released for ltr only: an html[dir="ltr"] selector cannot match for a Hebrew or Arabic viewer,
   so every rule above keeps deciding there and nothing that renders today moves. */
html[dir="ltr"] body,
html[dir="ltr"] .legal-card {
    direction: ltr;
}

/* The legal card pins its alignment beside its direction (`text-align: right`), and the release
   above flipped only the direction - every English clause still ran ragged-left inside a
   left-to-right card. The two have to flip together. Kept off the `body` selector on purpose:
   `body` is centred further up and must stay so. */
html[dir="ltr"] .legal-card {
    text-align: start;
}

html[dir="ltr"] .form-control {
    direction: ltr;
}

/* ---- accessibility round (2026-09-30): the bubbles stand still for a visitor whose system asks for less motion.
   The login page's motion switch was removed on 2026-11-11 (Roi). ---- */
@media (prefers-reduced-motion: reduce) {
    .bubble { animation: none; }
}
/* the login and legal pages had no visible keyboard focus on their buttons (Bootstrap sets outline:0 and a faint
   ring): one ring that reads on every background - a white inner ring and a navy outer ring. Also the accessibility
   widget's own trigger, which has no focus style of its own. */
.exit-pass-page :focus-visible, .legal-card :focus-visible, #language_navbar_mobile :focus-visible, .nagishli-trigger-icon:focus-visible {
    outline: 3px solid #283896 !important; outline-offset: 3px; box-shadow: 0 0 0 3px #fff !important; }
