/* Added fallbacks to help with CLS, feel free to remove if it doesn't help on your project */
/* Colours */
/* Fluid heading sizes - set your min/max sizes and you're done! */
/* Some device sizes to use with min-width */
/* adjusted breakpoints for above */
/* 100% widths look better than "Snapping" IMO */
/* Utility */
/* Additional Spacers -- don't think you'll need more than 7, but if you do -- maybe just use a custom class  :)  */
/**
 * Multi-Booking Page Styles
 */
/*Masthead*/
#masthead {
  position: relative;
  background: #2F2F2F;
}

/*Breadcrumb*/
#breadcrumb {
  background: #FFC60A;
}
#breadcrumb a {
  color: #2F2F2F !important;
}
#breadcrumb .icon-home {
  color: #1A1A1A;
}
#breadcrumb .separator {
  padding-left: 5px;
  padding-right: 5px;
}
#breadcrumb p {
  font: normal normal 600 16px/40px "Roobert", "sans-serif";
}
@media screen and (min-width: 1025px) {
  #breadcrumb {
    height: 56px;
    display: flex;
    align-items: center;
  }
}

/**
 * Multi-Booking Page Styles
 */
/* Main Container - Split Layout 33% / 66% */
.multi-booking-wrapper {
  display: flex;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1600px;
  margin: 0 auto;
  min-height: calc(100vh - 200px);
}

/* Left Sidebar - 33% */
.booking-sidebar {
  flex: 0 0 33%;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.sidebar-content h2 {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 24px;
  color: #1a1a1a;
}

.sidebar-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

/* Add Booking Button */
.btn-add-booking {
  width: 100%;
  padding: 16px 24px;
  background: #1A1A1A;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.3s ease;
}

.btn-add-booking .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

/* Bookings Summary */
.bookings-summary {
  margin-top: 30px;
}

#summary-list {
  margin-bottom: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.no-bookings {
  color: #999;
  font-style: italic;
  text-align: center;
  padding: 20px;
}

.summary-item {
  padding: 12px;
  margin-bottom: 10px;
  background: #f9f9f9;
  border-radius: 6px;
  border-left: 3px solid #0073aa;
}

.summary-item-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.summary-item-date {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.summary-item-price {
  font-weight: 700;
  color: #1A1A1A;
  font-size: 16px;
}

.summary-total {
  padding: 15px;
  background: #f0f0f0;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.summary-total span {
  color: #333;
  font-weight: 600;
}

.summary-gst {
  padding: 12px 15px;
  background: #fff3cd;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 10px;
  border-left: 3px solid #ffc107;
}

.summary-gst span {
  color: #856404;
  font-weight: 600;
}

.summary-grand-total {
  padding: 18px 15px;
  background: #f0f0f0;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  border: 2px solid #1A1A1A;
}

.summary-grand-total strong {
  color: #1A1A1A;
}

.summary-grand-total span {
  color: #1A1A1A;
  font-weight: 700;
  font-size: 20px;
}

/* Payment Section */
.payment-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

.contact-info-section {
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #0073aa;
}

.contact-info-section h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #0073aa;
  font-size: 16px;
}

.contact-info-section .form-group {
  margin-bottom: 15px;
}

.contact-info-section .form-group:last-child {
  margin-bottom: 0;
}

.contact-info-section label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.contact-info-section input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.contact-info-section input:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

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

.coupon-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.coupon-input-group {
  display: flex;
  gap: 10px;
}

.coupon-input-group input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.btn-apply-coupon {
  padding: 10px 20px;
  background: #46b450;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.btn-apply-coupon:hover {
  background: #3a9142;
}

#coupon-message {
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
  display: none;
}

#coupon-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#coupon-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.final-total {
  padding: 15px;
  background: #e8f5e9;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.final-total span {
  color: #2e7d32;
  font-weight: 700;
}

.btn-process-payment {
  width: 100%;
  padding: 18px 24px;
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-process-payment:hover {
  background: #1b5e20;
}

/* Right Content Area - 66% */
.booking-content {
  flex: 1;
}

.bookings-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Booking Card */
.booking-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.booking-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.booking-card-header {
  background: #1A1A1A;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.booking-card-header h4 {
  color: #fff;
}

.booking-card-header h4 {
  margin: 0;
  font-size: 18px;
}

.remove-booking {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.remove-booking:hover {
  background: rgba(255, 255, 255, 0.3);
}

.remove-booking .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.booking-card-body {
  padding: 30px;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.form-group select,
.form-group input[type=text] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-group select:focus,
.form-group input[type=text]:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

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

/* Time Selection */
.time-selection {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

/* Monthly Info Box */
.monthly-info {
  margin-top: 20px;
}

.info-box {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 15px 20px;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-box .dashicons {
  color: #2196f3;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box p {
  margin: 0 0 8px 0;
  color: #1565c0;
  font-size: 14px;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.calculated-end-date {
  font-weight: 600;
}

/* Validation Messages */
.validation-message {
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
}

.validation-message .checking {
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.validation-message .success {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 10px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.validation-message .error {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 10px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.validation-message .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

/* Available Time Slots Suggestions */
.available-slots-container {
  margin-top: 15px;
  padding: 15px;
  background: #fff;
  border: 2px solid #1A1A1A;
  border-radius: 8px;
}

.available-slots-title {
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.available-slots-title .dashicons {
  color: #1A1A1A;
}

.available-slots-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.slot-suggestion {
  padding: 8px 16px;
  background: #F0F0F0;
  color: #1A1A1A;
  border: 2px solid #1A1A1A;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.slot-suggestion:hover {
  background: #F0F0F0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

.slot-suggestion:active {
  transform: translateY(0);
}

.available-slots-hint {
  font-size: 12px;
  color: #666;
  font-style: italic;
  text-align: center;
  margin-top: 5px;
}

/* Booking Price */
.booking-price {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

.price-amount {
  color: #1A1A1A;
  font-weight: 700;
  font-size: 22px;
}

/* Loading Overlay */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  text-align: center;
  color: #fff;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-spinner p {
  font-size: 18px;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .multi-booking-wrapper {
    flex-direction: column;
  }
  .booking-sidebar {
    flex: 1;
    position: static;
    width: 100%;
  }
  .booking-content {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .coupon-input-group {
    flex-direction: column;
  }
  .sidebar-content,
  .booking-card-body {
    padding: 20px;
  }
  .multi-booking-wrapper {
    padding: 20px 10px;
  }
}
/* Flatpickr Custom Styling */
.flatpickr-calendar {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: none;
}

.flatpickr-day.selected {
  background: #0073aa;
  border-color: #0073aa;
}

.flatpickr-day.selected:hover {
  background: #005a87;
  border-color: #005a87;
}

/* Disabled weekends and holidays */
.flatpickr-day.flatpickr-disabled {
  color: #ccc !important;
}

.flatpickr-day.flatpickr-disabled:hover {
  cursor: not-allowed !important;
}

/* Scrollbar Styling */
#summary-list::-webkit-scrollbar {
  width: 6px;
}

#summary-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#summary-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

#summary-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
}

.success-modal {
  background: #fff;
  border-radius: 16px;
  padding: 40px 50px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  text-align: center;
}

.modal-overlay.active .success-modal {
  transform: scale(1);
}

.success-modal-icon {
  margin-bottom: 25px;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.success-checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #46b450;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  stroke: #46b450;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
.success-modal-title {
  font-size: 28px;
  color: #1a1a1a;
  margin: 0 0 15px 0;
  font-weight: 700;
}

.success-modal-message {
  font-size: 16px;
  color: #666;
  margin: 0 0 25px 0;
  line-height: 1.6;
}

.success-modal-order-info {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 4px solid #46b450;
}

.order-label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
  font-weight: 600;
}

.order-number {
  display: block;
  font-size: 32px;
  color: #46b450;
  font-weight: 700;
  letter-spacing: 1px;
}

.success-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  align-items: center;
}
.success-modal-actions .main-button-payment {
  background: green;
  color: #FFFFFF !important;
  padding: 10px;
  border-radius: 10px;
}

.success-modal-actions button {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-view-order {
  background: #0073aa;
  color: #fff;
}

.btn-view-order:hover {
  background: #005a87;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.btn-new-booking {
  background: #f0f0f0;
  color: #333;
}

.btn-new-booking:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #333;
}

.modal-close .dashicons {
  font-size: 24px;
  width: 24px;
  height: 24px;
}

.success-modal-actions .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

/* Responsive Modal */
@media (max-width: 600px) {
  .success-modal {
    padding: 30px 25px;
  }
  .success-modal-title {
    font-size: 24px;
  }
  .order-number {
    font-size: 28px;
  }
  .success-modal-actions {
    flex-direction: column;
  }
}