/* Header overrides for appointment page */
        .nav-appointment .nav-logo {
          opacity: 1 !important;
          visibility: visible !important;
        }
        /* Form Container Styling */
        
/* Layout Styling */
.appointment-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-top: 32px;
}
@media (max-width: 992px) {
  .appointment-layout {
    grid-template-columns: 1fr;
  }
}

.appointment-wrapper {
  background: #ffffff;
  /* Removed padding/border to match the clean image look, or keep minimal */
}

.appt-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-weight: 500;
  color: var(--primary); /* Matches the dark blue in the image */
  font-size: 15px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: #4a5568;
  background-color: #ffffff;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 132, 147, 0.15);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23718096'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

input[type="date"].form-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  transition: 0.2s;
}
input[type="date"].form-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.form-input.invalid-field {
  border-color: #e53e3e;
  background-color: #fff5f5;
}

.error-message {
  color: #e53e3e;
  font-size: 13px;
  display: none;
  font-weight: 500;
  position: absolute;
  bottom: -20px;
  left: 0;
}

.form-submit {
  grid-column: 1 / -1;
  margin-top: 20px;
  text-align: left;
}

.btn-submit {
  border: none;
  cursor: pointer;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  transition: all 0.3s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 132, 147, 0.3);
  background: #00707d;
}

.appointment-image-wrapper img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .appt-form {
    grid-template-columns: 1fr;
  }
}

/* --- Extracted Inline Styles --- */

.page-header {
  background-color: #96f5ff; 
  padding: 240px 0 60px 0; 
  margin-top: -96px; 
  margin-bottom: 40px;
}

.appointment-header-container {
  text-align: left;
  padding: 0 var(--padding-x);
}

.breadcrumbs {
  font-size: 14px; 
  color: #6b7280; 
  margin-bottom: 16px;
}

.breadcrumbs span.home-crumb {
  color: #a0aec0;
}

.breadcrumbs span.current-crumb {
  font-weight: 500; 
  color: #4a5568;
}

.page-header h1 {
  color: var(--primary); 
  font-size: 42px; 
  font-weight: 700; 
  margin-bottom: 8px; 
  letter-spacing: -0.5px;
}

.page-header p {
  color: #4a5568; 
  font-size: 18px; 
  margin: 0;
}

.appointment-form-section {
  padding-top: 20px;
}

.privacy-link {
  color: var(--accent); 
  text-decoration: none; 
  font-weight: 700;
}

.privacy-error {
  display: none; 
  color: #e53e3e; 
}

.privacy-error.show-error {
  display: inline;
}

.nav-appointment-link {
  padding: 10px 20px;
}

.nav-logo-pointer {
  cursor: pointer;
}

.d-none { display: none !important; }

/* Trendy Custom Radios */
.radio-group-container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 46px; /* align with inputs */
}
.custom-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  color: #4a5568;
}
.custom-radio input[type="radio"] {
  display: none;
}
.radio-mark {
  width: 22px;
  height: 22px;
  border: 2px solid #cbd5e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: #fff;
}
.radio-mark::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.custom-radio input[type="radio"]:checked ~ .radio-mark {
  border-color: var(--accent);
}
.custom-radio input[type="radio"]:checked ~ .radio-mark::after {
  opacity: 1;
  transform: scale(1);
}

/* Trendy Custom Checkboxes */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 10px;
  transition: all 0.3s;
}
/* Target only the checkbox box for the red error state */
.checkbox-row.invalid-checkbox .check-mark {
  border-color: #e53e3e;
  background-color: #fff5f5;
}
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  font-size: 15px;
  color: #4a5568;
  line-height: 1.5;
}
.custom-checkbox input[type="checkbox"] {
  display: none;
}
.check-mark {
  width: 24px;
  height: 24px;
  border: 2px solid #cbd5e0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  background: #fff;
}
.check-mark svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}
.custom-checkbox input[type="checkbox"]:checked ~ .check-mark {
  background: var(--accent);
  border-color: var(--accent);
}
.custom-checkbox input[type="checkbox"]:checked ~ .check-mark svg {
  opacity: 1;
  transform: scale(1);
}

/* Required field labels */
.form-label.required {
  color: #e53e3e; /* Red color */
}
.form-label.required::after {
  content: " *";
  color: #e53e3e;
  font-size: 18px;
  line-height: 0;
  position: relative;
  top: 4px;
}
.custom-checkbox span.required {
  color: #e53e3e;
}
.custom-checkbox span.required::after {
  content: " *";
  color: #e53e3e;
  font-size: 18px;
  line-height: 0;
  position: relative;
  top: 4px;
}
