#apointment-booking {
  margin: 50px 0px;
}

.card:hover {
  border: 1px solid #ccc;
  box-shadow: 0px 0px 49px 10px #2c6e64;
  -webkit-box-shadow: 0px 0px 49px 10px #2c6e64;
  -moz-box-shadow: 0px 0px 49px 10px #2c6e64;
  transform: scale(1.02);
  transition: all 0.5s ease;
}

/* Calendar */
#apointment-booking {
  margin: 50px 0px;
}

.card:hover {
  border: 1px solid #ccc;
  box-shadow: 0px 0px 49px 10px #2c6e64;
  -webkit-box-shadow: 0px 0px 49px 10px #2c6e64;
  -moz-box-shadow: 0px 0px 49px 10px #2c6e64;
  transform: scale(1.02);
  transition: all 0.5s ease;
}

/* calendar */

.booking-container {
  display: none;
  background: white;
  padding: 0;
  margin-top: 0;
  min-height: 100vh;
}

.booking-layout {
  display: flex;
  gap: 0;
  min-height: 100vh;
}

.calendar-section {
  /* flex: 1; */
  width: 100%;
  padding: 40px;
  background: #f8f9fa;
}

.service-info-section {
  width: 96%;
  padding: 40px;
  background: white;
  display: flex;
  flex-direction: column;
}

.back-button {
  background: none;
  border: none;
  font-size: 1rem;
  color: #6c757d;
  cursor: pointer;
  margin-bottom: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.back-button:hover {
  color: #333;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.month-nav {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  padding: 8px;
}

.month-nav:hover {
  color: #667eea;
}

.month-year {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  margin-bottom: 30px;
  max-width: 794px;
}

.day-header {
  text-align: center;
  font-weight: 600;
  color: #333;
  padding: 15px 5px;
  font-size: 1rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
  min-height: 50px;
  width: 50px;
}

.calendar-day:hover {
  background-color: #e9ecef;
}

.calendar-day.selected {
  background-color: #2c5282;
  color: white;
}

.calendar-day.today {
  background-color: #2c5282;
  color: white;
}

.calendar-day.disabled {
  color: #dee2e6;
  cursor: not-allowed;
}

.calendar-day.available {
  border: 1px solid #dee2e6;
}

.timezone-info {
  font-size: 0.95rem;
  color: #8b8b8b;
  text-align: left;
  margin-bottom: 40px;
  max-width: 500px;
}

.time-section {
  margin-bottom: 30px;
  max-width: 500px;
}

.time-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.time-slot {
  padding: 12px 20px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  background: white;
  font-size: 1rem;
}

.time-slot:hover {
  border-color: #2c5282;
  background-color: #f8f9ff;
}

.time-slot.selected {
  background-color: #2c5282;
  color: white;
  border-color: #2c5282;
}

.service-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.service-duration-price {
  font-size: 1rem;
  color: #8b8b8b;
  margin-bottom: 30px;
}

.service-image {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 30px;
}

.service-description {
  margin-bottom: 30px;
}

.service-description p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.social-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-share span {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.facebook {
  background-color: #1877f2;
}

.twitter {
  background-color: #000;
}

.proceed-button {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 30px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: none;
}

.proceed-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
  .service-info-section {
    width: 44%;
  }

  .calendar-section {
    padding: 30px;
  }

  .service-info-section {
    padding: 30px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .booking-layout {
    flex-direction: column;
  }

  .service-info-section {
    width: 100%;
    order: -1;
    /* Move service info to top on tablets */
  }

  .calendar-section {
    padding: 20px;
  }

  .service-info-section {
    padding: 20px;
  }

  .service-image {
    height: 250px;
  }

  .calendar-grid {
    max-width: 100%;
  }

  .time-section {
    max-width: 100%;
  }

  .timezone-info {
    max-width: 100%;
  }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
  .calendar-section {
    padding: 15px;
  }

  .service-info-section {
    padding: 15px;
  }

  .back-button {
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .calendar-header {
    margin-bottom: 20px;
  }

  .month-year {
    font-size: 1.3rem;
  }

  .month-nav {
    font-size: 1.3rem;
    padding: 6px;
  }

  .calendar-grid {
    gap: 10px;
    margin-bottom: 20px;
  }

  .calendar-day {
    min-height: 40px;
    font-size: 0.9rem;
  }

  .day-header {
    padding: 10px 5px;
    font-size: 0.9rem;
  }

  .timezone-info {
    font-size: 0.85rem;
    margin-bottom: 25px;
  }

  .time-section {
    margin-bottom: 20px;
  }

  .time-section h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .time-slots {
    gap: 10px;
  }

  .time-slot {
    padding: 10px 15px;
    font-size: 0.95rem;
  }

  .service-title {
    font-size: 1.5rem;
  }

  .service-duration-price {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .service-image {
    height: 200px;
    margin-bottom: 20px;
  }

  .service-description {
    margin-bottom: 20px;
  }

  .social-share {
    gap: 8px;
  }

  .social-share span {
    font-size: 0.95rem;
  }

  .social-icon {
    width: 30px;
    height: 30px;
  }

  .proceed-button {
    padding: 12px 30px;
    font-size: 1rem;
    margin-top: 20px;
  }
}

/* Mobile portrait */
@media (max-width: 576px) {
  .calendar-section {
    padding: 10px;
  }

  .service-info-section {
    padding: 15px;
  }

  .calendar-grid {
    gap: 5px;
  }

  .calendar-day {
    min-height: 35px;
    font-size: 0.85rem;
  }

  .day-header {
    padding: 8px 2px;
    font-size: 0.8rem;
  }

  .time-slots {
    grid-template-columns: 1fr;
    /* Single column on very small screens */
    gap: 8px;
  }

  .time-slot {
    padding: 12px 20px;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .service-image {
    height: 180px;
  }

  .back-button {
    font-size: 0.9rem;
  }

  .month-year {
    font-size: 1.2rem;
  }

  .month-nav {
    font-size: 1.2rem;
  }

  .proceed-button {
    width: 100%;
    padding: 15px;
    font-size: 0.95rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .booking-container {
    min-height: auto;
  }

  .calendar-section,
  .service-info-section {
    padding: 10px;
  }

  .calendar-grid {
    gap: 3px;
  }

  .calendar-day {
    min-height: 30px;
    font-size: 0.8rem;
  }

  .day-header {
    font-size: 0.75rem;
    padding: 5px 1px;
  }

  .timezone-info {
    font-size: 0.8rem;
    text-align: center;
  }

  .service-image {
    height: 150px;
  }
}


.time-slot.disabled {
  background-color: #ddd !important;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
  text-decoration: line-through;
}