/* ---------- חשבון: התחברות ושמירה בענן (js/account.js) ---------- */
/* הלוח בהגדרות: בסוף ה-DOM, מוצג ראשון (לפני הפלייסטיילים) */
.set-panel.set-account { order: -2; }
html.mobile .set-panel.set-account { order: -2; }   /* גובר על html.mobile .set-wide */

.acct-row { display: flex; flex-wrap: wrap; gap: 1.2vw; }
.acct-row .set-toggle { display: flex; align-items: center; gap: .8vw; }
.acct-g { display: grid; place-items: center; width: 3.2vh; height: 3.2vh; font: 900 clamp(12px, 2.2vh, 22px)/1 "Bahnschrift", "Arial", sans-serif; color: #4285f4; background: #fff; clip-path: var(--notch); }
.set-toggle.acct-google { background: rgba(66, 133, 244, .35); box-shadow: inset 0 0 0 3px #4285f4; }

.acct-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4vh .8vw; }
.acct-who .px { --u: max(1.4px, .27vh); }
.acct-name { font: 700 clamp(13px, 2.3vh, 24px) "Heebo", "Segoe UI", Arial, sans-serif; color: #fff; }
.acct-mail { font: 500 clamp(11px, 1.8vh, 19px) "Segoe UI", Arial, sans-serif; color: rgba(255, 255, 255, .65); }

.acct-status { min-height: 4.6vh; display: flex; flex-wrap: wrap; align-items: center; gap: .4vh 1.2vw; padding: .6vh 1vw; border-right: .7vh solid transparent; }
.acct-status:empty { display: none; }
.acct-status .px { --u: max(1.4px, .28vh); }
.acct-status.ok   { background: rgba(47, 158, 68, .2);  border-right-color: #2f9e44; }
.acct-status.bad  { background: rgba(216, 68, 60, .2);  border-right-color: #d8443c; }
.acct-status.warn { background: rgba(240, 180, 40, .18); border-right-color: #f0b428; }
.acct-status.busy { background: rgba(60, 120, 220, .18); border-right-color: #3c78dc; }
.acct-when { opacity: .7; }

/* החלון: התחברות באימייל / התנתקות / בחירה בין שתי שמירות */
.cf-panel.acct-panel { width: min(52vw, 100vh); }
.acct-form { display: flex; flex-direction: column; gap: 1.6vh; width: 100%; }
.acct-field { display: flex; flex-direction: column; align-items: flex-start; gap: .7vh; }
.acct-field .px { --u: max(1.4px, .28vh); }
.acct-input {
  width: 100%;
  box-sizing: border-box;
  padding: 1.4vh 1.2vw;
  border: 0;
  outline: none;
  font: 500 clamp(14px, 2.4vh, 24px) "Segoe UI", Arial, sans-serif;
  color: #fff;
  caret-color: #ffd54a;
  background: rgba(6, 16, 31, .88);
  box-shadow: inset 0 0 0 3px #1c4fa8;
  transition: box-shadow .2s;
}
.acct-input::placeholder { color: rgba(255, 255, 255, .25); }
.acct-input:focus, .acct-input.nav-focus { box-shadow: inset 0 0 0 3px #ffd54a; animation: none; outline: none; }
.acct-panel .acct-status { width: 100%; box-sizing: border-box; }
.acct-btns { flex-wrap: wrap; }
.acct-btns .sbc-btn { flex: 1 1 40%; }
.acct-note { --u: max(1.4px, .28vh); display: flex; opacity: .85; }

.acct-choices { display: flex; gap: 1.6vw; width: 100%; }
.acct-choice {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2vh;
  padding: 2vh 1.2vw;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 3px #3b4a6c;
  clip-path: var(--notch);
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s;
}
.acct-choice .px { --u: max(1.6px, .32vh); }
body.input-mouse .acct-choice:hover, .acct-choice.nav-focus { transform: scale(1.03); outline: none; box-shadow: inset 0 0 0 3px #ffd54a; background: rgba(255, 213, 74, .1); }
.acct-sum { display: flex; flex-direction: column; gap: .5vh; font: 600 clamp(12px, 2vh, 21px) "Heebo", "Segoe UI", Arial, sans-serif; color: rgba(255, 255, 255, .88); }
.acct-sub { --u: max(1.3px, .26vh); opacity: .7; }
.acct-later { align-self: center; }
html.mobile .cf-panel.acct-panel { width: min(86vw, 120vh); }

/* התראות (js/push.js): אחרי לוח החשבון */
.set-panel.set-push { order: -1; }
.push-prefs { flex-wrap: wrap; gap: 1.2vh 1vw; }
.set-push .acct-status { width: 100%; box-sizing: border-box; }
