/* NEW APPOINTMENT PAGE STYLES */

.page-appointment .hero-section-container,
.page-appointment .hero-content {
  min-height: 35vh !important;
}

.appointment-wrap {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 60px 20px 100px;
  font-family: 'Inter', sans-serif;
}

.appointment-hero {
  text-align: center;
  margin-bottom: 50px;
}

.appointment-kicker {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #bf2026;
  margin-bottom: 12px;
}

.appointment-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 16px;
}

.appointment-sub {
  font-size: 18px;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.appt-form-container {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #f3f4f6;
}

.appt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.appt-grid .full {
  grid-column: 1 / -1;
}

.appt-grid label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.appt-grid input,
.appt-grid select {
  width: 100%;
  height: 52px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  color: #111827;
  background: #f9fafb;
  transition: all 0.2s ease;
}

.appt-grid input:focus,
.appt-grid select:focus {
  outline: none;
  border-color: #bf2026;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(191, 32, 38, 0.1);
}

/* Modern Calendar */
.calendar-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 8px;
}

.cal-header button {
  background: #f3f4f6;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4b5563;
  font-size: 18px;
  transition: all 0.2s ease;
}

.cal-header button:hover {
  background: #e5e7eb;
  color: #111827;
}

.cal-header div {
  font-weight: 700;
  font-size: 16px;
  color: #111827;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.cal-grid-header {
  display: contents;
}

.cal-day-name {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cal-cell {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.cal-cell:hover:not(.disabled):not(.selected) {
  background: #fef2f2;
  color: #bf2026;
}

.cal-cell.selected {
  background: #bf2026;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(191, 32, 38, 0.3);
  transform: scale(1.05);
}

.cal-cell.disabled {
  color: #d1d5db;
  cursor: not-allowed;
  background: #fafafa;
}

/* Submit Button */
.submit-btn-wrap {
  margin-top: 20px;
}

.btn-submit-appt {
  width: 100%;
  background: #bf2026;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  height: 56px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(191, 32, 38, 0.25);
}

.btn-submit-appt:hover {
  background: #a01a20;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(191, 32, 38, 0.35);
}

/* Message Banner */
.msg-banner {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg-banner.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.msg-banner.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 768px) {
  .appt-form-container {
    padding: 32px 24px;
  }

  .appt-grid {
    grid-template-columns: 1fr;
  }

  .appointment-title {
    font-size: 40px;
  }
}