
.appointment_form_section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #d9e6fd, #fbeeee);
  padding: 20px;
  padding-top: 10rem !important;
  position: relative;
}

.appointment-form {
  width: 100%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h2 {
  color: var(--primery-color);
  font-size: 2em;
  margin-bottom: 10px;
  font-weight: 600;
}

.form-header p {
  color: #666;
  font-size: 1.1em;
}
.form_box_card{
    display: flex;
    gap: 20px;
    width: 100%;
}
.form_box_card .form_box{
    width: 100%;
}
.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #1e3c72;
  font-weight: 500;
}

.input-group {
  position: relative;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #1e3c72;
}

.form-control {
  width: 100%;
  padding: 10px 25px !important;
  border: 2px solid #ddd;
  font-size: 1em;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 7px !important;
}

.form-control:focus {
  border-color: #1e3c72;
  box-shadow: 0 0 10px rgba(30, 60, 114, 0.2);
  outline: none;
}

/* .error-message {
  color: #e74c3c !important;
  font-size: 0.9em;
  margin-top: 5px;
  transition: opacity 0.3s ease;
} */

.form-control.error {
  border-color: #e74c3c;
}

.form-control.success {
  border-color: #2ecc71;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.time-slot {
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.time-slot:hover {
  background: rgba(30, 60, 114, 0.1);
}

.time-slot.selected {
  background: #1e3c72;
  color: white;
  border-color: #1e3c72;
}

.book-btn {
  width: 100%;
  padding: 15px;
  background: var(--primery-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.book-btn:hover {
  background: #2a5298;
  transform: translateY(-2px);
}

.success-message {
  display: none;
  text-align: center;
  color: #2ecc71;
  margin-top: 20px;
  font-size: 1.1em;
  padding: 10px;
  border-radius: 8px;
  background: rgba(46, 204, 113, 0.1);
}

.is-invalid {
    border: 1px solid #e74c3c !important;
}

.error-message {
    color: #e74c3c !important;
    font-size: 15px;
    margin-top: 5px;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.shake {
  animation: shake 0.4s ease-in-out;
}

@media (max-width: 480px) {
  .appointment-form {
    padding: 20px;
  }

  .form-header h2 {
    font-size: 1.5em;
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (max-width: 992px) {
    .form_box_card{
        display: block;
    }
    
    .appointment_form_section {
        padding-top: 4rem !important;
    }
    .appointment_form_section .appointment-form {
        border-radius: 10px;
    }
}