/* פס הגלילה של העמוד */
/* ===== פס הגלילה של העמוד ===== */
/* בצד ימין (הכיוון מימין לשמאל מוגדר על body ולא על html, ולכן הפס לא עובר לשמאל),
   בלי רקע, ובחצי מהרוחב הרגיל */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--c-C1C1C1);
  border-radius: 4px;
}
::-webkit-scrollbar-corner {
  background: transparent;
}
@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--c-C1C1C1) transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  .send-button { transition: none; }
}
  /* ===== "זמין כרגע במחשב בלבד" =====
   האתר עוד לא מותאם לטלפון ולטאבלט. במסך צר (פחות מ-768) או במסך מגע בלי עכבר, מוצג מסך אחד
   עם הלוגו והודעה, מעל כל האתר. כשמגדילים את החלון (או במחשב), האתר חוזר כרגיל */
.desktop-only {
  display: none;
}
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  .desktop-only {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: env(safe-area-inset-top, 0px) 32px env(safe-area-inset-bottom, 0px);
    background: var(--bg);
    text-align: center;
  }
  .desktop-only-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
    color: #141414;
  }
  :root[data-theme="dark"] .desktop-only-logo {
    color: #FFFFFF;
  }
  .desktop-only-title {
    margin: 0 0 10px;
    font-size: calc(22px * var(--a11y-text, 1));
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
  }
  .desktop-only-text {
    margin: 0;
    font-size: calc(16px * var(--a11y-text, 1));
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-707070);
  }
  .desktop-only-link {
    position: absolute;
    bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    font-size: calc(14px * var(--a11y-text, 1));
    color: var(--send-active);
    text-decoration: none;
  }
  /* מאחורי המסך: בלי גלילה של האתר */
  html, body {
    overflow: hidden !important;
  }
}

/* בחירת מצב התצוגה (עמוד "התאמה אישית"): שלוש אפשרויות בצורת גלולה. הנבחרת בכחול */
/* "מצב תצוגה": בדיוק כמו השורה הראשונה בשאר עמודי ההגדרות (למשל "שורת פקודות"): 30 מתחת לכותרת
   העמוד, 16 (בטלפון 14), Regular, גובה שורה 1. האפשרויות 15 מתחתיה */
.theme-setting {
  position: relative;
  margin-top: 30px;
}
.theme-title {
  margin: 0;
  font-size: calc(16px * var(--a11y-text, 1));
  font-weight: 400;
  line-height: 1;
  color: var(--text);
}
@media (max-width: 767px) {
  .settings-page .theme-title {
    font-size: calc(14px * var(--a11y-text, 1));
  }
}
/* הבחירה: בצד שמאל, ממורכזת לגובה הכותרת. מסגרת אחת 30 גובה, פינות 7, ובתוכה שלושה כפתורים
   (34 על 24, פינות 5). הנבחר ברקע אפור והסמל בצבע הטקסט, האחרים בסמל אפור */
.theme-options {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 2px;
  height: 30px;
  padding: 2px;
  border: 1px solid var(--box-stroke);
  border-radius: 7px;
}
.theme-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 5px;
  background: none;
  color: var(--c-707070);
  cursor: pointer;
}
.theme-option svg {
  display: block;
  width: 16px;
  height: 16px;
}
.theme-option[aria-checked="true"] {
  background: var(--c-EEEEEE);
  color: var(--text);
}
@media (hover: hover) {
  :where(html:not(.phone-ui)) .theme-option:not([aria-checked="true"]):hover {
    color: var(--text);
  }
}
