/* דיווח על תקלה */
/* ===== דיווח על תקלה ===== */
/* בתפריט הצד, 15 פיקסלים מעל עיגול הפרופיל (העיגול 15 מלמטה ובגובה 30), באותו מבנה כמו "היסטוריה".
   סמל דגל, והמשפט כחול עם קו תחתון. כל השורה לחיצה */
/* 70 מלמטה: מעט מעל הפרופיל, כך שכשחלון הפרופיל פתוח (60 מלמטה) הוא מסתיר את כל השורה, כולל הקו התחתון */
.sidebar-report {
  bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  right: calc((9070px - 15 * var(--sidebar-width)) / 380);
  color: var(--selected);
}
.sidebar-report .sidebar-label {
  transition: none;
  color: var(--selected);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* בלי רקע ב-hover */
.sidebar-report::before {
  display: none;
}
/* מופיע רק כשהתפריט פתוח (גם הסמל), כמו השמות של הכפתורים */
.sidebar-report {
  opacity: 0;
  visibility: hidden;
}
:root.sidebar-open .sidebar-report {
  opacity: 1;
  visibility: visible;
}
/* החלון: באמצע המסך, באותו עיצוב כמו חלון מחיקת המשתמש. כל הטקסטים 14, הכותרת 16 */
.report-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  visibility: hidden;
}
.report-overlay.is-open {
  visibility: visible;
}
.report-box {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid var(--box-stroke);
  border-radius: 15px;
  background: var(--box-bg);
  text-align: right;
}
.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.report-title {
  margin: 0;
  font-size: calc(16px * var(--a11y-text, 1));
  font-weight: 600;
  color: var(--text);
}
/* X לסגירה בצד שמאל למעלה, כמו בהגדרות */
.report-close {
  display: block;
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--placeholder);
  cursor: pointer;
}
.report-close svg {
  display: block;
  width: 15px;
  height: 15px;
}
@media (hover: hover) {
  :where(html:not(.phone-ui)) .report-close:hover {
    color: var(--text);
  }
}
.report-label {
  display: block;
  margin: 14px 0 6px;
  font-size: calc(14px * var(--a11y-text, 1));
  font-weight: 500;
  color: var(--text);
}
.report-head + .report-label {
  margin-top: 18px;
}
.report-field {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--box-stroke);
  border-radius: 7px;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: calc(14px * var(--a11y-text, 1));
  color: var(--text);
  direction: rtl;
  text-align: right;
  user-select: text;
  -webkit-user-select: text;
}
/* בלחיצה על השדה המסגרת כחולה */
.report-field:focus {
  border-color: var(--selected);
}
.report-field::placeholder {
  color: var(--placeholder);
}
textarea.report-field {
  height: 150px;
  padding: 8px 12px;
  line-height: 1.5;
  resize: none;
}
.report-status {
  margin: 10px 0 0;
  font-size: calc(14px * var(--a11y-text, 1));
  color: var(--placeholder);
}
.report-status.is-error {
  color: #D93025;
}
.report-status[hidden] {
  display: none;
}
/* "שליחה" בצד שמאל. כמו החץ בצ'אט: בהיר ולא לחיץ עד ששני השדות מלאים */
.report-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.report-send {
  height: 34px;
  padding: 0 16px;
  border: none;
  border-radius: 7px;
  background: var(--send-idle);
  color: var(--send-arrow-idle);
  font-family: inherit;
  font-size: calc(15px * var(--a11y-text, 1));
  cursor: default;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.report-send.is-active {
  background: var(--send-active);
  color: var(--send-arrow);
  cursor: pointer;
}
.report-netlify {
  display: none;
}
/* טלפון: נפתח מלמטה כמו ההגדרות, עד 80 פיקסלים מראש המסך, עם פס גרירה ובלי X.
   סוגרים בלחיצה מחוץ לחלון או על פס הגרירה */
@media (max-width: 767px) {
  .sidebar-report {
    bottom: 70px;
  }
  .report-overlay {
    align-items: flex-end;
    padding: 0;
    background: rgba(0, 0, 0, 0);
    transition: background-color 280ms ease, visibility 0s linear 280ms;
  }
  .report-overlay.is-open {
    background: rgba(0, 0, 0, 0.25);
    transition: background-color 280ms ease, visibility 0s;
  }
  .report-box {
    max-width: none;
    height: calc(100% - 80px);
    padding: 0 16px 28px;
    border-radius: 15px 15px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    transform: translateY(100%);
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .report-overlay.is-open .report-box {
    transform: none;
  }
  .report-box::before {
    content: "";
    display: block;
    width: 36px;
    height: 5px;
    margin: 8px auto 17px;
    border-radius: 3px;
    background: var(--box-stroke);
  }
  .report-close {
    display: none;
  }
  textarea.report-field {
    height: 225px;
  }
}
/* כרגע אין תוכניות (plans-soon): רק הסוכן ומתחתיו "בקרוב", במרכז הדף.
   התוכניות נשארות בקוד, ויחזרו כשנסיר את plans-soon */
.upgrade-soon-title {
  display: none;
}
.upgrade-page.plans-soon .upgrade-plans,
.upgrade-page.plans-soon .upgrade-title:not(.upgrade-soon-title) {
  display: none;
}
.upgrade-page.plans-soon .upgrade-soon-title {
  display: block;
}
.upgrade-page.plans-soon .upgrade-content {
  align-self: center;
  margin: auto;
}
.upgrade-page.plans-soon .upgrade-head {
  position: static;
  transform: none;
  max-width: none;
  margin: 0 !important;
}
.upgrade-page.plans-soon .upgrade-content {
  padding-bottom: 0 !important;
}
/* "בקרוב": הלוגו הרגיל, בלי האנימציה של העיניים */
.upgrade-page.plans-soon .upgrade-agent .eyes,
.upgrade-page.plans-soon .upgrade-agent .eye {
  animation: none !important;
}
