/* ============================================
   BOOKING PAGE - Pro Design System
   ============================================ */

/* --- Booking Layout --- */
.appoinment-booking-area {
  margin-top: -65px;
  position: relative;
  z-index: 5;
}

.booking-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* --- Support Sidebar --- */
.booking-support-card {
  background: var(--gradient-1);
  border-radius: 16px;
  padding: 24px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.booking-support-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.booking-support-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -5%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.support-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.support-icon i {
  font-size: 28px;
  color: #fff;
}

.booking-support-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.support-phone {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  transition: opacity 0.2s ease;
}

.support-phone:hover {
  opacity: 0.85;
  color: #fff;
}

.booking-support-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* --- Wizard Steps Override --- */
.wizard > .steps .number {
  font-size: 13px;
}

.wizard > .steps {
  margin-bottom: 8px;
}

.wizard > .steps a,
.wizard > .steps a:hover,
.wizard > .steps a:active {
  padding: 10px 16px;
  margin: 2px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.wizard > .steps .current a,
.wizard > .steps .current a:hover,
.wizard > .steps .current a:active {
  background: var(--gradient-1) !important;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb, 99, 102, 241), 0.35);
}

.wizard > .steps .done a,
.wizard > .steps .done a:hover,
.wizard > .steps .done a:active {
  background: rgba(var(--primary-rgb, 99, 102, 241), 0.12) !important;
  color: var(--primary) !important;
}

/* Wizard content area */
.wizard > .content {
  background: none;
  display: unset;
  margin: auto;
  min-height: auto;
  overflow: auto;
  position: none;
  width: auto;
  border-radius: auto;
}

.wizard > .content > .body {
  float: none;
  position: unset;
  width: auto;
  height: auto;
  padding: 4px;
}

/* Wizard action buttons */
.wizard > .actions {
  margin-top: 14px;
}

.wizard > .actions > ul {
  margin-bottom: -4px;
}

.wizard > .actions a,
.wizard > .actions a:hover,
.wizard > .actions a:active {
  background: var(--gradient-1);
  border-radius: 10px;
  padding: 10px 24px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb, 99, 102, 241), 0.25);
  transition: all 0.3s ease;
}

.wizard > .actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(var(--primary-rgb, 99, 102, 241), 0.35);
}



.appoinment-booking-area .form-wrap {
  text-align: center;
}

.appoinment-booking-area label {
  font-weight: 600;
  margin-bottom: 4px !important;
  color: #334155;
  font-size: 13px;
  letter-spacing: 0.2px;
}

/* --- Date Picker Overrides --- */
#serviceDate {
  width: 242px;
  margin-bottom: 0;
  border-bottom: none;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  text-align: center;
  background: #fff;
  font-weight: 600;
  color: var(--primary);
}

.xdsoft_datetimepicker {
  float: left;
  border-radius: 0 0 10px 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.xdsoft_datetimepicker {
  height: 214px;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div.xdsoft_current {
  background: var(--primary) !important;
  box-shadow: none;
  border-radius: 6px;
}

.xdsoft_datetimepicker .xdsoft_calendar th {
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
}

.xdsoft_datetimepicker .xdsoft_calendar td,
.xdsoft_datetimepicker .xdsoft_calendar th {
  border: none;
  background: none;
}

/* --- Day Navigation --- */
#divTopDays {
  padding-top: 18px !important;
}

#divDaysName {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
}

#divPreNext {
  width: 68px;
  display: flex;
  gap: 8px;
}

#iPrvDate,
#iNextDate {
  background: var(--primary);
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  height: 30px;
  width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.25s ease;
  border: none;
}

#iPrvDate:hover,
#iNextDate:hover {
  background: var(--primary-dark, var(--primary));
  transform: scale(1.08);
  box-shadow: 0 3px 10px rgba(var(--primary-rgb, 99, 102, 241), 0.3);
}

/* --- Time Slots --- */
#divServiceAvaiableTime {
  border: 1px solid #e2e8f0;
  height: 220px;
  border-radius: 10px;
  padding: 10px;
  overflow-y: auto;
  background: #f8fafc;
}

.divServiceAvaiable {
  padding: 15px;
  padding-top: 6px;
}

.divTimeSlot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin: 4px;
  padding: 8px 12px;
  background: #fff;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  min-width: 118px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
}

.divTimeSlot:hover {
  background: rgba(var(--primary-rgb, 99, 102, 241), 0.04);
  border-color: rgba(var(--primary-rgb, 99, 102, 241), 0.25);
  color: var(--primary);
}

.divTimeSlotActive {
  color: #fff;
  background: var(--gradient-1);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb, 99, 102, 241), 0.3);
}

.divTimeSlotActive:hover {
  color: #fff;
  background: var(--gradient-1) !important;
  border-color: var(--primary-dark, var(--primary)) !important;
}

/* --- Selected Service Bar --- */
.divSelectedService {
  color: #fff;
  border-radius: 10px;
  text-align: left;
  padding: 8px 16px;
  background: var(--gradient-1);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Add Service Button --- */
#add-service-btn {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
}

/* --- Service Cart Table --- */
#tbl-service-cart {
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
}

#tbl-service-cart thead tr {
  background: rgba(var(--primary-rgb, 99, 102, 241), 0.08);
}

#tbl-service-cart thead th {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px solid rgba(var(--primary-rgb, 99, 102, 241), 0.1);
  padding: 10px 12px;
}

.table > :not(:first-child) {
  border-top: none;
}

/* --- Payment Section --- */
#divPaymentMethod {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
}

.payment-chose-div {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  margin: 0;
  padding: 20px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  height: 95px;
}

.payment-chose-div:hover {
  border-color: rgba(var(--primary-rgb, 99, 102, 241), 0.4);
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.04);
}

.payment-chose-div img {
  width: auto;
  max-width: 100px;
  height: 35px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.payment-chose {
  background: rgba(var(--primary-rgb, 99, 102, 241), 0.05);
  border: 2px solid var(--primary) !important;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb, 99, 102, 241), 0.15) !important;
}

.payment-chose img {
  transform: scale(1.05);
}

.payment-radio {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
}

/* --- Order Summary --- */
#divOrderSummary {
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding-bottom: 20px;
  overflow: hidden;
}

#divOrderSummary h5 {
  background: rgba(var(--primary-rgb, 99, 102, 241), 0.06);
  padding: 14px 20px;
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
}

.summary-service {
  width: 100%;
  padding: 12px 20px;
  border-bottom: 1px solid #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.service-item {
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #475569;
}

.service-border-button {
  border-bottom: 1px solid #f1f5f9;
  width: 100%;
  margin-bottom: 8px;
}

/* --- Coupon Input --- */
#coupon_code {
  height: auto !important;
  margin-bottom: auto !important;
  padding: 10px 16px !important;
  font-size: 15px !important;
  border-radius: 10px 0 0 10px !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc;
  font-family: 'Inter', sans-serif;
}

#coupon_code:focus {
  border-color: var(--primary) !important;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 99, 102, 241), 0.1);
}

#btn-apply-coupon {
  border-radius: 0 10px 10px 0 !important;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
}

/* --- Done/Success State --- */
.booking-success {
  text-align: center;
  padding: 40px 20px;
}

.booking-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.booking-success-icon i {
  font-size: 32px;
  color: #10b981;
}

.booking-success h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.booking-success p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

.color-success {
  color: #10b981;
}

/* --- Utility --- */
.cp {
  cursor: pointer;
}

.color-black {
  color: #000 !important;
}

.border-red {
  border: 2px solid #ef4444 !important;
  border-radius: 10px;
}

.disabled-service {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  opacity: 0.7;
}

.disabled-service-text {
  text-decoration: line-through !important;
  color: #94a3b8;
}

.serviceTime {
  margin: 5px 3px;
}

/* --- Responsive --- */
@media only screen and (max-width: 768px) {
  .divTimeSlot {
    width: 46% !important;
  }
  #divServiceCalendar {
    display: none;
  }
  .booking-support-card {
    margin-bottom: 20px;
  }
  .booking-card {
    padding: 18px;
  }
}