/* =====================================
GLOBAL
===================================== */

*{
  box-sizing:border-box;
  }
  
  :root{
  --bg:#ffffff;
  --card:#ffffff;
  --border:#e7e7e7;
  --text:#111827;
  --muted:#6b7280;
  --ok:#16a34a;
  --warn:#f59e0b;
  --bad:#dc2626;
  --shadow:0 10px 25px rgba(0,0,0,.06);
  --radius:16px;
  }
  
  body{
  margin:0;
  font-family:"Rubik",sans-serif;
  background:linear-gradient(135deg,#f5f7fa 0%,#c3cfe2 100%) no-repeat fixed;
  }
  
  /* =====================================
  MAIN LAYOUT
  ===================================== */
  
  #page-content{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  padding:20px;
  }
  
  .dashboard-wrap{
  flex:1;
  }
  
  /* DESKTOP – מקום לסיידבר (280px) כמו במקור */
  
  @media (min-width:992px){
  
  #page-content{
  margin-right:280px;
  }
  
  }
  
  /* =====================================
  TITLE
  ===================================== */
  
  #HeaderforDashbaord{
  text-align:center;
  font-size:28px;
  font-weight:700;
  margin-bottom:30px;
  }
  
  /* =====================================
  UNITS GRID
  ===================================== */
  
  #unitsGrid{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  justify-content:center;
  align-items:flex-start;
  width:100%;
  max-width:100%;
  }
  
  #unitsGrid .col-md-4,
  #unitsGrid .col-sm-6,
  #unitsGrid .col-12{
  flex:0 0 auto;
  width:100%;
  max-width:360px;
  min-width:300px;
  display:flex;
  justify-content:center;
  }
  
  @media (min-width: 800px) {
  #unitsGrid .col-md-4,
  #unitsGrid .col-sm-6,
  #unitsGrid .col-12{
  max-width:calc(50% - 12px);
  flex:1 1 340px;
  min-width:320px;
  }
  /* כרטיס תאורה באותו רוחב כמו השאר – לא צר יותר (כמו במובייל) */
  #unitsGrid .unit-col-light{
  max-width:calc(50% - 12px);
  flex:1 1 340px;
  min-width:320px;
  }
  }
  
  @media (min-width: 1100px) {
  #unitsGrid .col-md-4,
  #unitsGrid .col-sm-6,
  #unitsGrid .col-12{
  max-width:380px;
  flex:0 0 380px;
  }
  #unitsGrid .unit-col-light{
  max-width:380px;
  flex:0 0 380px;
  }
  }
  
  /* =====================================
  CARD
  ===================================== */
  
  #unitsGrid .card{
  width:100%;
  min-width:0;
  min-height:360px;
  border-radius:14px;
  background:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,0.08);
  transition:.2s ease;
  display:flex;
  flex-direction:column;
  overflow:visible;
  }
  
  #unitsGrid .card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,0.12);
  }
  
  #unitsGrid .card-body{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:18px;
  }
  
  .unit-card-fridge .unit-card-header{
  text-align:center;
  margin-bottom:16px;
  }
  
  .unit-card-fridge .unit-device-name{
  font-size:1.25rem;
  font-weight:700;
  color:#2563eb;
  margin-bottom:4px;
  }
  
  .unit-card-fridge .unit-name{
  font-size:1rem;
  font-weight:600;
  color:var(--text);
  }
  
  /* =====================================
  TABLE STYLE
  ===================================== */
  
  .table-vertical{
  display:flex;
  flex-direction:column;
  gap:8px;
  width:100%;
  }
  
  .table-vertical tbody{
  display:flex;
  flex-direction:column;
  gap:8px;
  }
  
  .table-vertical tr{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#f8f9fa;
  padding:10px 12px;
  border-radius:8px;
  }
  
  .label-col{
  flex:1;
  text-align:right;
  font-weight:600;
  font-size:14px;
  }
  
  .value-col{
  flex:1;
  text-align:left;
  font-weight:500;
  font-size:14px;
  }
  
  /* =====================================
  STATUS DOT
  ===================================== */
  
  .alarm-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  display:inline-block;
  margin-left:6px;
  }
  
  .alarm-dot.on{
  background:#dc3545;
  }
  
  .alarm-dot.off{
  background:#28a745;
  }
  
  /* =====================================
  FRIDGE ACTIONS
  ===================================== */
  
  .fridge-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:40px;
  margin-top:10px;
  }
  
  .fridge-action-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  }
  
  .fridge-action-btn{
  width:44px;
  height:44px;
  border:none;
  background:none;
  cursor:pointer;
  }
  
  .fridge-action-btn img{
  max-width:22px;
  }
  
  .fridge-action-label{
  font-size:10px;
  line-height:1.1;
  text-align:center;
  }
  
  /* =====================================
  BUTTONS
  ===================================== */
  
  #btnReport{
  font-size:10px;
  padding:4px 18px;
  height:28px;
  border-radius:999px;
  border:none;
  background:linear-gradient(90deg,#6fdc8c,#38c172);
  color:#fff;
  }
  
  .btn-alert{
  font-size:12px;
  padding:4px 14px;
  height:28px;
  border-radius:999px;
  border:none;
  background:linear-gradient(90deg,#dcaf6f,#f5a004);
  color:#fff;
  }
  
  /* =====================================
  FILTER
  ===================================== */
  
  #typeFilter{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-bottom:20px;
  }
  
  #typeFilter .form-check{
  display:flex;
  flex-direction:row-reverse;
  align-items:center;
  gap:8px;
  }
  
  /* =====================================
  LIGHT CARD
  ===================================== */
  
  .wrap{
  width:100%;
  min-width:0;
  padding:8px;
  direction:rtl;
  }
  
  .light-card{
  background:#fff;
  border-radius:18px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  overflow:visible;
  min-width:0;
  }
  
  .light-card .bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding:12px 14px 14px;
  border-top:1px solid var(--border);
  margin-top:4px;
  }
  
  .light-card .bottom .btn{
  flex-shrink:0;
  }
  
  #unitsGrid .card,
  .light-card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:visible;
  }
  
  .top{
  display:flex;
  gap:12px;
  align-items:center;
  padding:14px 14px 8px;
  }
  
  .light-card-gear{
  margin-right:auto;
  color:#2563eb;
  font-size:1.1rem;
  opacity:0.9;
  }
  
  .icon{
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fafafa;
  }
  
  .icon svg{
  width:26px;
  height:26px;
  }
  
  .name{
  font-weight:700;
  font-size:16px;
  }
  
  .sub{
  font-size:13px;
  color:var(--muted);
  }
  
  /* =====================================
  STATUS PILLS
  ===================================== */
  
  .pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0 14px 12px;
  min-width:0;
  }
  
  .pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  min-width:0;
  flex-shrink:0;
  border:1px solid var(--border);
  font-size:13px;
  }
  
  .dot{
  width:10px;
  height:10px;
  min-width:10px;
  min-height:10px;
  flex-shrink:0;
  border-radius:50%;
  background:var(--muted);
  }
  
  .pill.ok .dot{background:var(--ok);}
  .pill.warn .dot{background:var(--warn);}
  .pill.bad .dot{background:var(--bad);}
  
  /* =====================================
  FOOTER
  ===================================== */
  
  .ap-footer{
  background:#1f2a44;
  color:#fff;
  padding:15px 20px;
  font-size:14px;
  width:100%;
  max-width:100%;
  margin-top:auto;
  flex-shrink:0;
  box-sizing:border-box;
  overflow-x:hidden;
  }
  
  .ap-footer-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  width:100%;
  max-width:100%;
  margin:0 auto;
  gap:12px 24px;
  min-height:auto;
  box-sizing:border-box;
  }
  
  .ap-footer-column{
  flex:1 1 auto;
  min-width:0;
  overflow-wrap:break-word;
  }
  
  .ap-footer-column:first-child{
  text-align:right;
  }
  
  .ap-footer-column.text-center{
  flex:0 0 auto;
  }
  
  .ap-footer-column:last-child{
  text-align:left;
  }
  
  .ap-footer-column a{
  color:#8fb3ff;
  text-decoration:none;
  }
  
  .ap-footer-bottom{
  text-align:center;
  margin-top:8px;
  padding-top:0;
  font-size:12px;
  opacity:.7;
  width:100%;
  }

  
  
  /* =====================================
  MOBILE
  ===================================== */
  
  @media(max-width:768px){
  
  #unitsGrid{
  justify-content:center;
  }
  
  #unitsGrid .col-md-4,
  #unitsGrid .col-sm-6,
  #unitsGrid .col-12{
  flex:0 0 100%;
  max-width:100%;
  min-width:0;
  }
  
  .ap-footer-container{
  flex-direction:column;
  text-align:center;
  }
  
  .ap-footer-column:first-child,
  .ap-footer-column:last-child{
  text-align:center;
  }
  
  }
  
  @media(max-width:480px){
  
  #page-content{
  padding:12px;
  }
  
  .ap-footer{
  padding:10px 12px;
  font-size:12px;
  }
  
  .ap-footer-bottom{
  margin-top:6px;
  font-size:11px;
  }
  
  #HeaderforDashbaord{
  font-size:22px;
  }
  
  .table-vertical tr{
  padding:8px;
  }
  
  .label-col,
  .value-col{
  font-size:12px;
  }
  
  .fridge-action-btn{
  width:36px;
  height:36px;
  }
  
  .fridge-action-btn img{
  max-width:18px;
  }
  
  }
  
  /* =====================================
  כפתור עריכת קבוצות (מודל מצב מקרר / תקלות)
  ===================================== */
  .btnSMSGroupSelect,
  .smsGroupSelectBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:200px;
  padding:8px 16px;
  background:#5ba3d0;
  color:#fff;
  border:1px solid #2563eb;
  border-radius:8px;
  font-size:0.875rem;
  font-weight:500;
  text-align:center;
  cursor:pointer;
  transition:background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .btnSMSGroupSelect:hover,
  .smsGroupSelectBtn:hover{
  background:#4a90c4;
  color:#fff;
  border-color:#1d4ed8;
  }
  
  .btnSMSGroupSelect:focus,
  .smsGroupSelectBtn:focus{
  outline:none;
  box-shadow:0 0 0 2px rgba(37,99,235,0.25);
  }
  
  .btnSMSGroupSelect:active,
  .smsGroupSelectBtn:active{
  background:#3d7ab0;
  }
  
  #fridgeAlertsModal .btnSMSGroupSelect,
  #fridgeAlertsModal .smsGroupSelectBtn,
  #alertsModal .btnSMSGroupSelect,
  #alertsModal .smsGroupSelectBtn{
  margin:0 auto;
  }

  /* =====================================
  מודל בחר קבוצות – טקסט ימין, צ'קבוקס שמאל + רווח נוח ללחיצה
  ===================================== */
  #smsGroupsModal .modal-body{
  direction:rtl;
  text-align:right;
  }
  #smsGroupsModal #smsGroupsList{
  direction:rtl;
  }
  #smsGroupsModal #smsGroupsList .form-check{
  display:flex;
  flex-direction:row-reverse;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  padding:10px 12px;
  min-height:44px;
  }
  #smsGroupsModal #smsGroupsList .form-check-input.sms-group-check{
  flex-shrink:0;
  width:1.2rem;
  height:1.2rem;
  margin:0;
  cursor:pointer;
  }
  #smsGroupsModal #smsGroupsList .form-check-label{
  flex:1;
  text-align:right;
  margin:0;
  cursor:pointer;
  }
  #smsGroupsModal .form-check.mb-3{
  display:flex;
  flex-direction:row-reverse;
  align-items:center;
  gap:12px;
  }

  /* =====================================
  LIGHT UNIT MODAL – גובה קבוע + גלילה
  ===================================== */
  #lightModal .modal-header,
  #lightModal .modal-body{
  direction:rtl;
  text-align:right;
  }
  /* כותרת בימין, כפתור סגירה (X) בשמאל */
  #lightModal .modal-header{
  display:flex;
  flex-direction:row;
  justify-content:space-between;
  }
  #lightModal .modal-header .modal-title{
  margin:0;
  }
  #lightModal .modal-header .btn-close{
  margin:0;
  }
  #lightModal .modal-title,
  #lightModal .form-label,
  #lightModal .tab-pane h6,
  #lightModal .nav-link,
  #lightModal label.fw-bold{
  text-align:right;
  }
  #lightModal .modal-body{
  max-height:65vh;
  min-height:320px;
  overflow-y:auto;
  }
  #lightModal .tab-content{
  min-height:0;
  }
  /* כל טאב (תזמון, תקלות, SATEC) באותו גובה – אזור תוכן אחיד */
  #lightModal .tab-pane{
  min-height:52vh;
  }
  .light-modal-content{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.15);
  }
  .light-modal-header{
  background:linear-gradient(135deg,#1e3a5f 0%,#2563eb 100%);
  color:#fff;
  padding:1rem 1.25rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  border:none;
  }
  .light-header-right{
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  }
  .light-live-pill{
  background:rgba(255,255,255,.2);
  padding:.35rem .75rem;
  border-radius:999px;
  font-size:.85rem;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  }
  .light-live-pill .fa-circle{
  color:#22c55e;
  animation:light-pulse 1.5s ease-in-out infinite;
  }
  @keyframes light-pulse{
  0%,100%{ opacity:1; }
  50%{ opacity:.5; }
  }
  .light-header-stats{
  display:flex;
  gap:1rem;
  font-size:.9rem;
  }
  .light-stat-total{ color:#93c5fd; }
  .light-stat-faults{ color:#fca5a5; }
  .light-stat-active{ color:#86efac; }
  .light-header-center{
  flex:1;
  text-align:center;
  min-width:0;
  }
  .light-unit-id{
  font-size:.8rem;
  opacity:.9;
  margin-bottom:.2rem;
  }
  .light-modal-title{
  font-size:1.25rem;
  font-weight:700;
  margin:0 0 .25rem 0;
  }
  .light-modal-subtitle{
  font-size:.8rem;
  opacity:.85;
  }
  .light-modal-subtitle{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
  }
  .light-modal-subtitle::before{
  content:"\f3c5";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  font-size:.75em;
  opacity:.85;
  }
  .btn-close-light{
  filter:invert(1);
  opacity:.9;
  }
  .light-modal-body{
  padding:1rem 1.25rem;
  background:#f8fafc;
  }
  .light-tabs-wrap{
  display:flex;
  align-items:center;
  gap:.75rem;
  margin-bottom:1.25rem;
  flex-wrap:wrap;
  }
  .light-btn-close{
  padding:.35rem .6rem;
  border-radius:8px;
  }
  .light-tabs{
  display:inline-flex;
  background:#e2e8f0;
  border-radius:10px;
  padding:4px;
  gap:4px;
  }
  .light-tab-btn{
  border:none;
  background:transparent;
  color:#64748b;
  padding:.5rem 1rem;
  border-radius:8px;
  font-size:.9rem;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  transition:all .2s ease;
  }
  .light-tab-btn:hover{
  color:#1e293b;
  background:rgba(255,255,255,.6);
  }
  .light-tab-btn.active{
  background:#fff;
  color:#2563eb;
  font-weight:600;
  box-shadow:0 1px 3px rgba(0,0,0,.08);
  }
  .light-tab-content{
  padding-top:0;
  }
  .light-card{
  background:#fff;
  border-radius:12px;
  padding:1.25rem;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  border:1px solid #e2e8f0;
  transition:box-shadow .2s ease;
  }
  .light-card:hover{
  box-shadow:0 4px 12px rgba(0,0,0,.08);
  }
  .light-card-schedule{
  height:100%;
  }
  .light-card-title{
  font-size:1rem;
  margin-bottom:1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  }
  .light-input{
  cursor:pointer;
  background:#f8fafc;
  border-radius:8px;
  }
  .light-input:hover{
  background:#f1f5f9;
  }
  .light-astro-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
  margin-top:1rem;
  }
  @media (max-width:576px){
  .light-astro-row{ grid-template-columns:1fr; }
  }
  .light-card-astro{
  padding:1rem;
  }
  .light-placeholder{
  text-align:center;
  padding:3rem 1rem;
  }
  .light-satec-heading{
  font-size:1rem;
  font-weight:600;
  color:#475569;
  margin-bottom:1rem;
  }
  .light-satec-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:1rem;
  }
  .light-metric-card{
  background:#fff;
  border-radius:12px;
  padding:1.25rem;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  border:1px solid #e2e8f0;
  position:relative;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
  }
  .light-metric-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  }
  .light-metric-icon{
  font-size:1.5rem;
  margin-bottom:.5rem;
  }
  .light-metric-current .light-metric-icon{ color:#16a34a; }
  .light-metric-voltage .light-metric-icon{ color:#2563eb; }
  .light-metric-pf .light-metric-icon{ color:#f59e0b; }
  .light-metric-power .light-metric-icon{ color:#7c3aed; }
  .light-metric-consumption .light-metric-icon{ color:#16a34a; }
  .light-metric-label{
  font-size:.85rem;
  font-weight:600;
  color:#475569;
  margin-bottom:.25rem;
  }
  .light-metric-unit{
  font-size:.75rem;
  color:#94a3b8;
  margin-bottom:.5rem;
  }
  .light-metric-bar{
  height:3px;
  border-radius:2px;
  margin-bottom:.75rem;
  }
  .light-metric-current .light-metric-bar{ background:linear-gradient(90deg,#16a34a,#86efac); }
  .light-metric-voltage .light-metric-bar{ background:linear-gradient(90deg,#2563eb,#93c5fd); }
  .light-metric-pf .light-metric-bar{ background:linear-gradient(90deg,#f59e0b,#fcd34d); }
  .light-metric-power .light-metric-bar{ background:linear-gradient(90deg,#7c3aed,#a78bfa); }
  .light-metric-values{
  display:flex;
  flex-direction:column;
  gap:.25rem;
  font-size:.85rem;
  }
  .light-metric-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  }
  .light-metric-row span:first-child{ color:#64748b; }
  .light-metric-row span:last-child{ font-weight:600; color:#1e293b; }
  .light-metric-value-single{
  font-weight:700;
  font-size:1.1rem;
  color:#1e293b;
  }
  .light-metric-big{
  font-size:1.5rem;
  font-weight:700;
  color:#ea580c;
  }
  .light-metric-big small{
  font-size:.85rem;
  font-weight:500;
  color:#94a3b8;
  }
  .light-metric-consumption{
  grid-column:span 1;
  }
  .light-metric-extra{
  font-size:.9rem;
  }
  .light-metric-extra .light-metric-label{ margin-bottom:.5rem; }
  .light-modal-footer{
  background:#f1f5f9;
  border-top:1px solid #e2e8f0;
  padding:.75rem 1.25rem;
  }

/* אישור שינוי select צ'ילר — מעל מודל הצ'ילר הפתוח */
#chillerSelectConfirmModal.modal.show {
  z-index: 1090 !important;
  pointer-events: auto !important;
}
#chillerSelectConfirmModal.modal.show .modal-dialog {
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
}

/* מודל צ'ילר — יישור טקסט לאמצע ב-select */
#chillerModal #UnitStatus,
#chillerModal #OperatingMode {
  text-align: center;
  text-align-last: center;
}
#chillerModal #UnitStatus option,
#chillerModal #OperatingMode option {
  text-align: center;
}

/* סטטוס יחידה — פועל (1) רקע ירוק; כבוי — ללא מחלקה */
#chillerModal #UnitStatus.chiller-unit-status-on {
  background: linear-gradient(180deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  font-weight: 600;
  border-color: rgba(5, 150, 105, 0.4);
}

/* SP במודל צ'ילר — קירור כחול, חימום אדום, ריקברי ירוק-טיל (השבת חום) */
#chillerModal .chiller-sp-cell {
  display: block;
  width: 100%;
  min-height: 2.25rem;
  line-height: 1.4;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
}
#chillerModal .chiller-sp-cool {
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e3a5f;
  border-color: rgba(37, 99, 235, 0.25);
}
#chillerModal .chiller-sp-heat {
  background: linear-gradient(180deg, #fee2e2 0%, #fecaca 100%);
  color: #7f1d1d;
  border-color: rgba(220, 38, 38, 0.28);
}
#chillerModal .chiller-sp-recovery {
  background: linear-gradient(180deg, #d1fae5 0%, #a7f3d0 100%);
  color: #064e3b;
  border-color: rgba(5, 150, 105, 0.35);
}

/* מדחסים — מצב עובד / מצב תקלה בלבד */
#chillerModal .compressor-status-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
#chillerModal .compressor-status-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
#chillerModal .compressor-status-pill {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  color: #9ca3af;
}
#chillerModal .compressor-status-pill--ok {
  background: #d1fae5;
  color: #065f46;
  border-color: rgba(5, 150, 105, 0.35);
}
#chillerModal .compressor-status-pill--fault {
  background: #fee2e2;
  color: #991b1b;
  border-color: rgba(220, 38, 38, 0.35);
}

/* לחץ גבוה/נמוך באותו תא — מעגל */
#chillerModal .compressor-circuit-pressure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.35;
}
#chillerModal .compressor-pressure-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em;
  flex-wrap: wrap;
}
#chillerModal .compressor-pressure-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  min-width: 2.5em;
  text-align: start;
}

/* טאבים במודל צ'ילר */
#chillerModal .chiller-modal-tabs {
  flex-wrap: nowrap;
}
#chillerModal .chiller-modal-tabs .nav-link {
  font-weight: 600;
  color: var(--muted);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.5rem 0.75rem;
}
#chillerModal .chiller-modal-tabs .nav-link:hover {
  color: var(--text);
  border-color: transparent;
}
#chillerModal .chiller-modal-tabs .nav-link.active {
  color: #1d4ed8;
  background: transparent;
  border-bottom-color: #2563eb;
}
