/* ============================================
   CONTROLS - Zoom pill (in header row)
   ============================================ */

/* ---------- Zoom Control Button ---------- */
.zoom-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: #e2e8f0;
  border: none;
  border-radius: 30px;
  padding: 3px 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.zoom-btn {
  background: transparent;
  border: none;
  color: #475569;
  font-size: 28px;
  font-weight: 700;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  line-height: 1;
}

.zoom-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

.zoom-btn:active {
  background: rgba(0, 0, 0, 0.12);
}

.zoom-value {
  color: #475569;
  font-size: 19px;
  font-weight: 700;
  min-width: 42px;
  text-align: center;
  white-space: nowrap;
}

/* ============================================
   LANGUAGE VISIBILITY
   Single-language mode hides the other language
   ============================================ */

/* HEBREW MODE - hide all English */
body[data-lang="he"] .lang-en,
body[data-lang="he"] span.lang-en {
  display: none !important;
}

/* ENGLISH MODE - hide all Hebrew */
body[data-lang="en"] .lang-he,
body[data-lang="en"] span.lang-he {
  display: none !important;
}

/* Hide separator in single-language modes */
body[data-lang="he"] .lang-sep,
body[data-lang="en"] .lang-sep {
  display: none !important;
}

/* English direction and alignment */
body[data-lang="en"] {
  direction: ltr;
  text-align: left;
}

body[data-lang="en"] .app-container,
body[data-lang="en"] .card,
body[data-lang="en"] .panel,
body[data-lang="en"] table,
body[data-lang="en"] label,
body[data-lang="en"] input,
body[data-lang="en"] select,
body[data-lang="en"] .noteBox,
body[data-lang="en"] .grid,
body[data-lang="en"] h1,
body[data-lang="en"] h2,
body[data-lang="en"] h3,
body[data-lang="en"] h4 {
  direction: ltr;
  text-align: left;
}

body[data-lang="en"] .tabs {
  direction: ltr;
}
