form#bookingForm { 
  text-align: left; 
}

/* --------- GRUPARE FORM ---------- */
.form-group, .form-message { 
  margin-bottom: 15px; 
}

.form-group label, .form-message label { 
  display: block; 
  margin-bottom: 6px; 
  font-weight: 600; 
  color: #333; 
}

/* --------- INPUT, SELECT, TEXTAREA ---------- */
.form-group input, 
.form-group select, 
.form-group textarea,
.form-message input, 
.form-message select, 
.form-message textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus,
.form-message input:focus, 
.form-message select:focus, 
.form-message textarea:focus {
  border-color: #fc770b;
  box-shadow: 0 0 4px rgba(252, 119, 11, 0.4);
  outline: none;
}

/* --------- PREFIX TELEFON ---------- */
.prefix {
  background: #001b4d;
  color: white;
  padding: 10px;
  border-radius: 5px 0 0 5px;
}
.form-group > div {
  display: flex;
}
.form-group > div input {
  border-radius: 0 5px 5px 0;
  border-left: none;
}

/* --------- RADIO GROUP ---------- */
.radio-group {
  display: flex;
  justify-content: left;   /* centrează grupul în mijloc */
  align-items: left;       /* aliniere verticală */
  gap: 40px;                 /* spațiu între cele două opțiuni */
  margin-top: 10px;
}

.radio-group label {
  display: inline-flex;      /* textul și butonul radio stau pe același rând */
  align-items: left;       /* centrează vertical cercul cu textul */
  font-weight: normal;
  color: #333;
  cursor: pointer;
  gap: 8px;                  /* spațiu între cerc și text */
}

.radio-group input[type="radio"] {
  accent-color: #001b4d; /* culoare albastra pentru bulina selectată */
  cursor: pointer;
  outline: none;         /* elimină conturul implicit */
  box-shadow: none;      /* elimină orice glow la focus */
}

.radio-group input[type="radio"]:focus {
  outline: none;
  box-shadow: none;
}

/* --------- BUTON SUBMIT ---------- */
button[type="submit"] {
  background: #001b4d;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s;
}
button[type="submit"]:hover { 
  background: #003366; 
}

/* --------- INDICATOR ÎNCĂRCARE ---------- */
#loadingIndicator {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}
#loadingIndicator div {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
body.pointer-events-none {
  pointer-events: none;
}
input:disabled, select:disabled, button:disabled {
  opacity: 0.5;
}

/* --------- TOAST MESSAGES ---------- */
.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 12px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.5s, bottom 0.5s;
}
.toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}
.toast.success { background-color: #28a745; }
.toast.error { background-color: #dc3545; }
