/* Appointment Page Styles */

.appointment-page {
  padding: 140px 5% 60px;
  background-color: var(--floral-white);
  min-height: 80vh;
}

.appointment-container-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.appointment-layout {
  display: flex;
  gap: 40px;
  align-items: stretch;
  flex-wrap: wrap;
}

/* Left Section: Form */
.appointment-form-section {
  flex: 1;
  min-width: 280px;
  background: white;
  border-radius: 12px;
  padding: 36px 32px 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(139, 69, 19, 0.08);
}

.appointment-section-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--text-dark-brown);
  margin: 0 0 24px;
  font-weight: 600;
}

.appointment-form label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-saddle-brown);
  margin: 14px 0 6px;
  font-weight: 500;
}

.appointment-form label:first-of-type {
  margin-top: 0;
}

.appointment-form .required {
  color: #c0392b;
}

.appointment-form .optional {
  font-weight: 400;
  color: #888;
  font-size: 0.85rem;
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(139, 69, 19, 0.2);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold-med);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.12);
}

.appointment-form textarea {
  resize: vertical;
  min-height: 100px;
}

.appointment-form-actions {
  margin-top: 28px;
}

.appointment-form-actions .btn-primary {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  cursor: pointer;
}

.appointment-success-message {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.12), rgba(39, 174, 96, 0.06));
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: 10px;
  color: #1e7e34;
  font-size: 0.95rem;
  line-height: 1.5;
}

.appointment-success-message.visible {
  display: block;
}

/* Right Section: Banner */
.appointment-banner-section {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: stretch;
}

.appointment-banner {
  width: 100%;
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2c1810 0%, #5c4033 40%, #8b6914 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  flex-direction: column;
}

.appointment-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z' fill='%23d4af37' fill-opacity='0.08'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.appointment-banner-title {
  /* font-family: var(--font-heading);
   */
   font-family: "Cinzel", serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  color: #f5e6c8;
  /* --text-dark-brown: #5c3d2e; */

  text-align: center;
  margin: 0;
  /* padding: 24px; */
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
  
  /* background-image: url("assets/images/avs.png"); */
 
}
.appointment-banner span {
  color: #fde1c9;
  --text-dark-brown: #5c3d2e;
}


@media (max-width: 768px) {
  .appointment-layout {
    flex-direction: column;
  }

  .appointment-form-section {
    padding: 28px 24px 32px;
  }

  .appointment-banner {
    min-height: 240px;
  }
}
.client-error {
    color: red;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}