/* =========================
   Popup Overlay
========================= */
.popup-overlay {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

/* =========================
   Popup Box
========================= */
.popup-box {
  position: relative;
  padding: 25px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: popup-zoom 0.3s ease;
  text-align: center;
  background: #f2e5e9;
  margin: 100px auto;
}
.popup-box h2{
  color:#4d0026;
}

/* Popup Animation */
@keyframes popup-zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Close Button */
.close-btns {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 40px;
  cursor: pointer;
  color: #4d0026;
  transition: 0.2s;
}
.close-btn:hover {
  color: #e74c3c;
}

/* =========================
   Form Elements
========================= */
#appointmentForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

#appointmentForm input,
#appointmentForm select {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
}

#appointmentForm input:focus,
#appointmentForm select:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 6px rgba(74, 144, 226, 0.4);
}

/* Submit Button */
#appointmentForm button {
  background: #4d0026;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
#appointmentForm button:hover {
  background: #cc0066;
}
/* =========================
   Mobile View
========================= */
@media (max-width: 600px) {
  .popup-box {
    width: 90%;
    max-width: 340px;
    padding: 20px;
    margin: 60px auto;
  }

  .close-btns {
    font-size: 40px;
    top: 8px;
    right: 12px;
  }

  #appointmentForm {
    gap: 10px;
  }

  #appointmentForm input,
  #appointmentForm select {
    font-size: 14px;
    padding: 8px 10px;
  }
  #appointmentForm input{
    width: 93.5%;
  }

  #appointmentForm button {
    font-size: 15px;
    padding: 10px;
  }
}
/* Fix date input placeholder behavior */
#appointmentForm input[type="text"],
#appointmentForm input[type="date"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
  background-color: #fff;
}

/* Optional: match text color style */
#appointmentForm input::placeholder {
  color: #999;
  opacity: 1;
}
