.appointment-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100dvh;
  background: var(--bg-white);
  border-radius: 10px;
}

.image-section {
  position: relative;
  overflow: hidden;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;  
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.image-overlay h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.image-overlay p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.booking-section {
  overflow-y: auto;
  background: #F8F9FA;
  display: flex;
  justify-content: center;
  align-items: center;
	-webkit-border-top-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-bottomright: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;  
}

.booking-content {
  max-width: 100%;
  height: 100vh;
  margin: 0 auto;
  padding: 48px 32px;
  overflow: hidden;
}

h1 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-weight: 700;
}

.contact-info {
  background: var(--bg-light-35);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 32px;
  border-left: 4px solid var(--primary-color);
}

.contact-info p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-info a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.calendar-container {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.calendar-container-inline {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.calendar-container-inline h5 {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.calendar-header h2 {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
}

.nav-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text-dark);
}

.nav-btn:hover {
  background: var(--primary-hover);
  color: var(--bg-white);
  border-color: var(--primary-hover);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.weekday {
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: var(--text-dark);
}

.calendar-day:hover:not(.disabled):not(.empty) {
  background: var(--primary-hover);
  color: var(--bg-white);
  transform: scale(1.05);
  border-color: var(--primary-hover);
}

.calendar-day.selected {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  font-weight: 600;
}

.calendar-day.disabled {
  background: var(--bg-light);
  color: var(--text-light);
  cursor: not-allowed;
  opacity: 0.5;
}

.calendar-day.empty {
  border: none;
  cursor: default;
}

.time-slots {
  margin-bottom: 24px;
  animation: fadeIn 0.3s ease-in;
}

.time-slots h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.slot-group {
  margin-bottom: 24px;
}

.slot-group h4 {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 12px;
  font-weight: 600;
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.time-slot {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  background: var(--bg-white);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  color: var(--text-dark);
}

.time-slot:hover:not(.booked) {
  border-color: var(--primary-color);
  background: var(--primary-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.time-slot.selected {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.time-slot.booked {
  background: var(--bg-light);
  color: var(--text-light);
  cursor: not-allowed;
  opacity: 0.6;
  text-decoration: line-through;
}

.booking-form {
  animation: fadeIn 0.3s ease-in;
}

.booking-form h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}

/* Step Indicator */
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
  gap: 8px;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  background: var(--bg-white);
  padding: 0 8px;
  flex: 1;
  min-width: 0;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 8px;
  transition: all 0.3s;
  flex-shrink: 0;
}

.step.active .step-number {
  background: var(--primary-color);
  color: white;
}

.step.completed .step-number {
  background: var(--success-color);
  color: white;
}

.step-title {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.step.active .step-title {
  color: var(--text-dark);
  font-weight: 600;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

.form-step-title {
  margin-bottom: 16px;
}

/* Step Buttons */
.step-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 24px;
}

.next-btn,
.prev-btn {
  flex: 1;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.next-btn {
  background: var(--primary-color);
  color: white;
}

.next-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.prev-btn {
  background: transparent;
  color: var(--text-medium);
  border: 2px solid var(--border-color);
}

.prev-btn:hover {
  background: var(--bg-light);
  border-color: var(--text-medium);
}

/* Review Info */
.review-info {
  background: var(--bg-light);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.review-info h4 {
  color: var(--text-dark);
  margin-bottom: 12px;
  font-size: 1rem;
}

.review-info p {
  margin-bottom: 6px;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.review-info strong {
  color: var(--text-dark);
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.selected-info {
  background: var(--bg-light-35);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  border-left: 4px solid var(--primary-color);
}

.selected-info p {
  margin-bottom: 8px;
  color: var(--text-medium);
}

.selected-info strong {
  color: var(--text-dark);
}

.submit-btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.submit-btn {
  background: var(--primary-color);
  color: white;
  width: 100%;
  margin-bottom: 12px;
}

.submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.confirmation {
  text-align: center;
  padding: 48px 24px;
  animation: fadeIn 0.5s ease-in;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  background: var(--success-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 24px;
  animation: scaleIn 0.5s ease-in;
}

.confirmation h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.confirmation p {
  color: var(--text-medium);
  margin-bottom: 32px;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .appointment-container {
    grid-template-columns: 1fr;
  }

  .image-section {
    min-height: 360px;
  }

  .image-overlay {
    padding: 32px;
  }

  .image-overlay h2 {
    font-size: 1.5rem;
  }

  .booking-section {
    overflow-y: visible;
  }

  .booking-content {
    padding: 32px 24px;
  }

  /* Step indicator tablet responsive */
  .step-title {
    font-size: 0.7rem;
  }

  .step-buttons {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .image-section {
    min-height: 240px;
  }

  .image-overlay {
    padding: 16px;
  }

  .booking-content {
    padding: 24px 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .slots {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .calendar-grid {
    gap: 4px;
  }

  .weekday {
    font-size: 0.75rem;
    padding: 4px;
  }

  .calendar-day {
    font-size: 0.85rem;
  }

  /* Step indicator responsive */
  .step-indicator {
    gap: 4px;
    margin-bottom: 24px;
  }

  .step {
    padding: 0 4px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .step-title {
    font-size: 0.65rem;
    line-height: 1.1;
  }

  .step-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .next-btn,
  .prev-btn {
    width: 100%;
  }
}