/* Reset בסיסי */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* הגדרות כלליות */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  padding: 0rem;
  line-height: 1.6;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}
.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 1.5rem;
}

/* Hero Section – כותרת עמוד */
.hero-section {
  text-align: center;
  margin-bottom: 2rem;
}
.hero-section h1 {
  font-size: 2rem;
  color: #0d47a1;
  margin-bottom: 0.5rem;
}


/* Card – מכולה לעמודים */
.card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}
.card-header {
  background-color: #0d47a1;
  color: #fff;
  padding: 1rem;
  text-align: center;
}
.card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.card-body {
  padding: 1rem;
}

/* Form styling – קבוצות שדות */
.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form-group label {
  margin-bottom: 0.3rem;
  font-weight: 500;
  color: #333;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 300px;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0d47a1;
}

/* Form Check – checkbox */
.form-check {
  align-items: center;
}
.form-check input[type="checkbox"] {
  width: 30px;
  height: 30px;
  flex-direction: row;

  align-items: center;

}
/* הודעת שגיאה */
.error-message {
  color: red;
  margin-top: 0.5rem;
  display: none;
}

/* Button Row – לאיחוד כפתורים */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* כפתורי "Square" – עיצוב כפתורים מרובעים עם אייקון וטקסט */
.square-btn {
  width: 80px;
  height: 80px;
  background-color: #0d47a1;
  color: #fff;
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  transition: background-color 0.3s, transform 0.2s;
  cursor: pointer;
}
.square-btn:hover {
  background-color: #1565c0;
  transform: translateY(-3px);
}
.square-btn .material-icons {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}
.square-btn p {
  font-size: 0.8rem;
  margin: 0;
}

/* צבעים ספציפיים לכפתורים */
.green-btn {
  background-color: #388e3c;
}
.green-btn:hover {
  background-color: #2e7d32;
}
.red-btn {
  background-color: #d32f2f;
}
.red-btn:hover {
  background-color: #c62828;
}
.gray-btn {
  background-color: #757575;
}
.gray-btn:hover {
  background-color: #616161;
}

/* Link Button – כפתור לינק סטנדרטי */
.link-btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background-color: #0d47a1;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.link-btn:hover {
  background-color: #1565c0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .square-btn {
    width: 70px;
    height: 70px;
  }
  .hero-section h1 {
    font-size: 1.8rem;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    max-width: 90%;
  }
}
/* אם זה textarea בשם repair_description */
textarea[name="repair_description"] {
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
