.section-appointment-container {
  max-width: 900px;
  padding: 2rem;
  margin: 100px auto;
}

/* Header Styling */
.section-appointment-header {
  margin-bottom: 2rem;
}

.section-appointment-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d2c54;
  margin-bottom: 0.5rem;
}

.section-appointment-header p {
  font-size: 1rem;
  color: #6c757d;
}

/* Form Layout */
.section-appointment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-left,
.form-right {
  display: flex;
  flex-direction: column;
}

/* Input, Select, and Textarea Styling */
.section-appointment-form input,
.section-appointment-form select,
.section-appointment-form textarea {
  padding: 1rem;
  margin-bottom: 1rem;
  border: none;
  background-color: #f2f2f2;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: #333;
}

.section-appointment-form input::placeholder,
.section-appointment-form textarea::placeholder {
  color: #888;
}

/* Make select arrow visible and consistent */
.section-appointment-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

/* Specific styling for the right column's textarea */
.form-right textarea {
  flex-grow: 1; /* Allows textarea to fill available space */
  resize: none; /* Disables user resizing */
}

/* Button Styling */
.btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  background-color: #2ecc71; /* Green color */
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #27ae60; /* Darker green on hover */
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
  .header h2 {
    font-size: 2rem;
  }

  .section-appointment-form {
    grid-template-columns: 1fr; /* Stack columns on top of each other */
  }

  /* Remove bottom margin from last element in the left form on mobile */
  .form-left > *:last-child {
    margin-bottom: 0;
  }
}
