/* Reset box-sizing */
.battery-calculator-card * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* כרטיס מחשבון */
.battery-calculator-card {
  font-family: Segoe UI, Roboto, Arial, sans-serif;
  background: #f7f8fb;
  color: #111;
  padding: 20px;
  max-width: 820px;
  margin: 18px auto;
  border-radius: 0px;
  
  margin-bottom: 30px;
}


/* כותרת ראשית */
.battery-calculator-card h1 {
  font-size: 22px;
  margin-bottom: 8px;
}

/* פסקה משנה */
.battery-calculator-card .muted {
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
}

/* גריד לשדות הקלט */
.battery-calculator-card .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

/* שורה עם label + input + small */
.battery-calculator-card .grid > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* label */
.battery-calculator-card .grid > div p {
  font-size: 18px;
  display: flex;
  align-items: center;
  line-height: 1.2;
  margin-bottom: 1px;
  margin-top: 12px;
}

/* אייקון מול label */
.battery-calculator-card .grid > .icon {
  margin-right: 4px;
}

/* input/select */
.battery-calculator-card .grid > div input,
.battery-calculator-card .grid > div select {
  width: 100%;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 0px;
  font-size: 14px;
}

/* small */
.battery-calculator-card .grid > div small {
  font-size: 12px;
  color: #666;
}

/* שורה מלאה */
.battery-calculator-card .full {
  grid-column: 1 / -1;
}

/* תיבת תוצאה */
.battery-calculator-card .result {
  background: #f1f6ff;
  padding: 12px;
  border-radius: 0px;
  margin-top: 12px;
}

/* כפתור */
.battery-calculator-card button {
  padding: 10px 14px;
  border-radius: 0px;
  border: 0;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.battery-calculator-card button:hover {
  background: #1d4ed8;
}

/* רספונסיבי */
@media(max-width:720px) {
  .battery-calculator-card .grid {
    grid-template-columns: 1fr;
  }
}




.battery-table-wrapper {
      max-width: 100%;
      overflow-x: auto; /* מאפשר גלילה אם הטבלה רחבה מדי */
      
      border-radius: 0px;
      background: #fff;
      margin-bottom: 30px;
    }

    table {
      border-collapse: collapse;
      width: 100%;
      min-width: 600px; /* כדי לשמור קריאות במחשב */
    }

    th, td {
      border: 1px solid #ddd;
      padding: 10px;
      text-align: center;
      font-size: 14px;
    }

    th {
      background: #2563eb;
      color: #fff;
    }

    tr:nth-child(even) {
      background: #f9f9f9;
    }

    /* רספונסיביות – בטלפונים נקטין טקסט */
    @media (max-width: 600px) {
      th, td {
        font-size: 12px;
        padding: 8px;
      }
    }