/* גוף הדף */


body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #eef2f7;
  font-family: 'Arial', sans-serif;
  color: #0f172a;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  
  padding: 20px;
  margin: 0;
  
  overflow-x: hidden;
}


.card {
  width: 100%;
  max-width: 600px;
  background: #fff;
  padding: 30px 25px;
  
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* הצל עצמו */
  box-sizing: border-box;
}

/* כותרת */
.card h1 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  text-align: center;
  color: #111827;
}

/* תוויות ושדות קלט */
label {
  display: block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #374151;
}

input, select {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

input:focus, select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* שורות לשדות במקביל */
.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.row > div {
  flex: 1;
  min-width: 100px;
}

/* כפתור חישוב */
button {
  
  margin-top: 20px;
  padding: 12px;
  border: none;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #1e40af;
}

/* תוצאה */
.result {
  margin-top: 24px;
  padding: 16px;
  border-radius: 12px;
  background: #f1f5f9;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #111827;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.05);
}

/* רספונסיביות קטנה */
@media(max-width: 500px){
  .card {
    padding: 20px 15px;
  }

  button {
    font-size: 0.95rem;
  }
}
