/* Booking Pro Frontend Styles */

/* Main wrapper for booking form and sidebar */
.bp-booking-wrapper {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  position: relative;
  align-items: flex-start;
}

/* New BP-prefixed styles for form */
.bp-booking-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--booking-white);
  border-radius: var(--booking-radius);
  box-shadow: var(--booking-shadow);
}

.bp-form-container {
  flex: 1;
  max-width: 800px;
}

.bp-booking-container {
  width: 100%;
}

.bp-booking-form-wrapper {
  background: var(--booking-white);
  border-radius: var(--booking-radius);
}

.bp-form-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--booking-light);
  border-radius: var(--booking-radius);
}

.bp-form-header h2 {
  margin: 0 0 10px 0;
  color: var(--booking-primary);
  font-size: 24px;
  font-weight: 600;
}

.bp-form-header p {
  margin: 0;
  color: var(--booking-text-light);
  font-size: 16px;
}

.bp-form-section {
  margin-bottom: 30px;
  padding: 25px;
  background: var(--booking-white);
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
}

.bp-form-section h3 {
  margin: 0 0 20px 0;
  color: var(--booking-text);
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid var(--booking-primary);
  padding-bottom: 10px;
}

.bp-form-group {
  margin-bottom: 20px;
}

.bp-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--booking-dark);
}

/* Increase spacing for slider labels */
.bp-slider-container {
  margin-top: 20px;
}

.bp-form-group label .required {
  color: #e74c3c;
  margin-left: 3px;
  font-weight: normal;
}

.bp-form-group input,
.bp-form-group textarea,
.bp-form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--booking-radius);
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bp-form-group input:focus,
.bp-form-group textarea:focus,
.bp-form-group select:focus {
  outline: none;
  border-color: var(--booking-primary);
  box-shadow: 0 0 0 3px rgba(0, 163, 165, 0.1);
}

.bp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.bp-col-3 {
  grid-column: span 1;
}

.bp-col-6 {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .bp-form-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
  .bp-col-3, .bp-col-6 {
    grid-column: span 1;
  }
}

/* Radio Grid for Service Types */
.bp-radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.bp-radio-option {
  position: relative;
  cursor: pointer;
}

.bp-radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bp-radio-option span {
  display: block;
  padding: 15px 20px;
  background: var(--booking-gray);
  border: 2px solid var(--booking-border);
  border-radius: var(--booking-radius);
  text-align: center;
  font-weight: 500;
  transition: var(--booking-transition);
}

.bp-radio-option:hover span {
  border-color: var(--booking-primary);
  background: var(--booking-light);
}

.bp-radio-option input[type="radio"]:checked + span {
  background: var(--booking-primary);
  color: white;
  border-color: var(--booking-primary);
}

/* Sliders */
.bp-slider-container + .description {
  margin-top: 15px;
}

.bp-slider-container {
  margin: 30px 0 20px 0;
  position: relative;
  padding-top: 40px;
}

.bp-slider-display {
  position: absolute;
  top: -20px;
  left: calc(var(--slider-progress, 0) * (100% - 42px) + 21px);
  transform: translateX(-50%);
  background: var(--booking-primary);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  transition: none;
  opacity: 1;
  visibility: visible;
}

.bp-slider-display::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--booking-primary);
}

/* Show tooltip more prominently on hover */
.bp-slider-container:hover .bp-slider-display {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

input[type="range"] {
  width: 100%;
  height: 20px;
  background: #ccc;
  border-radius: 20px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  padding: 0;
}

/* Firefox track styling */
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8px;
  background: #ccc;
  border-radius: 20px;
  border: none;
}

/* Default slider thumb styles */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: ew-resize;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: var(--booking-transition);
  background-color: #fff;
  background-size: 30px 30px;
  background-position: center;
  background-repeat: no-repeat;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-moz-range-thumb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: var(--booking-transition);
  background-color: #fff;
  background-size: 30px 30px;
  background-position: center;
  background-repeat: no-repeat;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  -moz-appearance: none;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Square feet slider - house icon */
#bp-sqft-slider::-webkit-slider-thumb {
  background-image: url('../images/icon_house_range.png');
}

#bp-sqft-slider::-moz-range-thumb {
  background-image: url('../images/icon_house_range.png');
}

/* Bedrooms slider - bedroom icon */
#bp-bedrooms-slider::-webkit-slider-thumb {
  background-image: url('../images/icon_bedrooms.svg');
}

#bp-bedrooms-slider::-moz-range-thumb {
  background-image: url('../images/icon_bedrooms.svg');
}

/* Bathrooms slider - bathroom icon */
#bp-bathrooms-slider::-webkit-slider-thumb {
  background-image: url('../images/icon_bathrooms.svg');
}

#bp-bathrooms-slider::-moz-range-thumb {
  background-image: url('../images/icon_bathrooms.svg');
}

/* Extras Grid */
.bp-extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.bp-extra-option {
  position: relative;
  cursor: pointer;
}

.bp-extra-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bp-extra-content {
  padding: 20px;
  background: var(--booking-gray);
  border: 2px solid var(--booking-border);
  border-radius: var(--booking-radius);
  text-align: center;
  transition: var(--booking-transition);
}

.bp-extra-option:hover .bp-extra-content {
  border-color: var(--booking-primary);
  background: var(--booking-light);
}

.bp-extra-option input[type="checkbox"]:checked + .bp-extra-content {
  background: var(--booking-primary);
  color: white;
  border-color: var(--booking-primary);
}

.bp-extra-icon {
  margin-bottom: 10px;
  font-size: 24px;
}

.bp-extra-name {
  font-weight: 500;
  margin-bottom: 5px;
}

.bp-extra-price {
  font-weight: 600;
  color: var(--booking-primary);
}

.bp-extra-option input[type="checkbox"]:checked + .bp-extra-content .bp-extra-price {
  color: white;
}

/* Additional Services Table */
.bp-additional-services-table {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--booking-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bp-services-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--booking-white);
  border-radius: var(--booking-radius);
  overflow: hidden;
}

.bp-services-table thead {
  background: var(--booking-primary);
  color: white;
}

.bp-services-table th {
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  border: none;
}

.bp-services-table th:first-child {
  width: 65%;
}

.bp-services-table th:last-child {
  width: 35%;
  text-align: center;
}

.bp-services-table tbody tr {
  border-bottom: 1px solid var(--booking-border);
  transition: background-color 0.3s ease;
}

.bp-services-table tbody tr:hover {
  background: var(--booking-light);
}

.bp-services-table tbody tr:last-child {
  border-bottom: none;
}

.bp-services-table td {
  padding: 20px;
  vertical-align: middle;
}

.bp-service-info {
  border: none;
}

.bp-service-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bp-service-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--booking-light);
  border-radius: 50%;
}

.bp-service-details {
  flex: 1;
}

.bp-service-name {
  font-weight: 600;
  color: var(--booking-text);
  font-size: 16px;
  margin-bottom: 4px;
}

.bp-service-price {
  color: var(--booking-text-light);
  font-size: 14px;
}

.bp-service-quantity {
  text-align: center;
  border: none;
}

.bp-quantity-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
}

.bp-quantity-btn {
  width: 36px;
  height: 36px;
  border: 2px solid var(--booking-primary);
  background: var(--booking-white);
  color: var(--booking-primary);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.bp-quantity-btn:hover {
  background: var(--booking-primary);
  color: var(--booking-white);
  transform: scale(1.1);
}

.bp-quantity-btn:active {
  transform: scale(0.95);
}

.bp-quantity-btn.bp-quantity-plus {
  background: var(--booking-primary);
  color: var(--booking-white);
}

.bp-quantity-btn.bp-quantity-plus:hover {
  background: #008a8c;
  border-color: #008a8c;
}

.bp-quantity-input {
  width: 60px;
  height: 36px;
  border: 2px solid var(--booking-border);
  border-radius: var(--booking-radius);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--booking-text);
  background: var(--booking-white);
  transition: border-color 0.3s ease;
}

.bp-quantity-input:focus {
  outline: none;
  border-color: var(--booking-primary);
  box-shadow: 0 0 0 3px rgba(0, 163, 165, 0.1);
}

/* Remove default number input arrows */
.bp-quantity-input::-webkit-outer-spin-button,
.bp-quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bp-quantity-input[type=number] {
  -moz-appearance: textfield;
}

/* Quantity Controls Animations */
.bp-quantity-visible {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile Responsive for Additional Services Table */
@media (max-width: 768px) {
  .bp-additional-services-table {
    border-radius: 0;
    margin: 0px;
  }
  
  .bp-services-table th,
  .bp-services-table td {
    padding: 15px;
  }
  
  .bp-services-table th {
    font-size: 14px;
  }
  
  .bp-service-content {
    gap: 12px;
  }
  
  .bp-service-icon {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  
  .bp-service-name {
    font-size: 15px;
  }
  
  .bp-service-price {
    font-size: 13px;
  }
  
  .bp-quantity-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .bp-quantity-input {
    width: 50px;
    height: 32px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .bp-services-table th:first-child {
    width: 60%;
  }
  
  .bp-services-table th:last-child {
    width: 40%;
  }
  
  .bp-services-table th,
  .bp-services-table td {
    padding: 12px 8px;
  }
  
  .bp-service-content {
    gap: 8px;
  }
  
  .bp-service-icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  
  .bp-service-name {
    font-size: 14px;
  }
  
  .bp-service-price {
    font-size: 12px;
  }
  
  .bp-quantity-control {
    gap: 6px;
  }
  
  .bp-quantity-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .bp-quantity-input {
    width: 45px;
    height: 28px;
    font-size: 13px;
  }
}

/* Payment Options */
.bp-payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bp-payment-option {
  position: relative;
  cursor: pointer;
}

.bp-payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bp-payment-option span {
  display: block;
  padding: 15px 20px;
  background: var(--booking-gray);
  border: 2px solid var(--booking-border);
  border-radius: var(--booking-radius);
  font-weight: 500;
  transition: var(--booking-transition);
}

.bp-payment-option:hover span {
  border-color: var(--booking-primary);
  background: var(--booking-light);
}

.bp-payment-option input[type="radio"]:checked + span {
  background: var(--booking-primary);
  color: white;
  border-color: var(--booking-primary);
}

/* Price Summary - Mobile Only */
.bp-price-summary {
  background: var(--booking-light);
  padding: 25px;
  border-radius: var(--booking-radius);
  border: 2px solid var(--booking-primary);
  margin: 30px 0;
  display: none; /* Hidden by default on desktop */
}

/* Show price summary only on mobile */
@media (max-width: 768px) {
  .bp-price-summary {
    display: block;
  }
}

.bp-total-price {
  text-align: center;
  font-size: 24px;
  color: var(--booking-primary);
}

.bp-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Frequency Options */
.bp-frequency-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.bp-frequency-option {
  position: relative;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.bp-frequency-option:hover {
  border-color: #007cba;
  box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.bp-frequency-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bp-frequency-option input[type="radio"]:checked + .bp-frequency-content {
  background: var(--booking-primary);
  border-color: var(--booking-primary);
  color: white;
}

.bp-frequency-option.selected,
.bp-frequency-option input[type="radio"]:checked + .bp-frequency-content {
  border-color: #007cba;
  background: var(--booking-primary);
  color: white;
}

.bp-frequency-option.selected .bp-frequency-title,
.bp-frequency-option.selected .bp-frequency-desc,
.bp-frequency-option input[type="radio"]:checked + .bp-frequency-content .bp-frequency-title,
.bp-frequency-option input[type="radio"]:checked + .bp-frequency-content .bp-frequency-desc {
  color: white;
}

.bp-frequency-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bp-frequency-title {
  font-weight: 600;
  color: #1e1e1e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bp-frequency-desc {
  font-size: 0.9rem;
  color: #666;
}

.bp-discount-badge {
  background: #ff6b35;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Submit Button */
.bp-form-submit {
  text-align: center;
  margin-top: 30px;
}

.bp-btn-primary {
  background: var(--booking-primary);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: var(--booking-radius);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--booking-transition);
  min-width: 200px;
}

.bp-btn-primary:hover {
  background: var(--booking-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 163, 165, 0.3);
}

.bp-btn-primary:disabled {
  background: var(--booking-gray);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.bp-btn-secondary {
  background: var(--booking-secondary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--booking-radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--booking-transition);
}

.bp-btn-secondary:hover {
  background: var(--booking-primary-hover);
}

.bp-terms {
  margin-top: 15px;
  color: var(--booking-text-muted);
  font-size: 12px;
}

/* Promo Code */
.bp-promo-input {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bp-promo-input input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
}

.bp-promo-input button {
  padding: 12px 20px;
  background: var(--booking-secondary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.bp-promo-input button:hover {
  background: var(--booking-primary);
}

.bp-promo-input button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#bp-promo-message {
  margin-top: 10px;
  padding: 10px;
  border-radius: 6px;
  font-weight: 500;
  display: none;
}

#bp-promo-message.bp-message-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#bp-promo-message.bp-message-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Promo discount in price breakdown */
.bp-promo-discount {
  color: var(--booking-success) !important;
  font-weight: 600;
  border-top: 1px dashed #ddd;
  padding-top: 8px;
  margin-top: 8px;
}

.bp-promo-discount span:last-child {
  color: var(--booking-success) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .bp-booking-container {
    padding: 15px;
  }
  
  .bp-form-section {
    padding: 20px;
  }
  
  .bp-radio-grid {
    grid-template-columns: 1fr;
  }
  
  .bp-extras-grid {
    grid-template-columns: 1fr;
  }
  
  .bp-promo-input {
    flex-direction: column;
  }
  
  .bp-calendar-day {
    min-height: 35px;
    font-size: 12px;
  }
  
  .bp-calendar-day .day-number {
    font-size: 12px;
  }
  
  .discount-badge {
    font-size: 7px;
    padding: 1px 3px;
  }
  
  .bp-session-grid {
    grid-template-columns: 1fr;
  }
}

/* Loading states */
.bp-loading-text {
  text-align: center;
  color: var(--booking-text-muted);
  font-style: italic;
  padding: 20px;
}

.selected {
  background: var(--booking-primary) !important;
  color: white !important;
}

label.bp-extra-option.selected {
    border-radius: 8px;
}

/* Calendar Styles */
.bp-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background: var(--booking-light);
  border-radius: var(--booking-radius);
}

.bp-calendar-header h4 {
  margin: 0;
  font-size: 18px;
  color: var(--booking-dark);
}

.bp-calendar-prev,
.bp-calendar-next {
  background: var(--booking-primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.bp-calendar-prev:hover,
.bp-calendar-next:hover {
  background: var(--booking-secondary);
}

.bp-calendar-day.weekend {
  background-color: #f5f5f5;
  color: #999;
  position: relative;
}

.bp-calendar-day.weekend.not-allowed {
  cursor: not-allowed;
  opacity: 0.6;
}

.bp-calendar-day.weekend.not-allowed:hover {
  transform: none;
  box-shadow: none;
}

.bp-calendar-day.weekend::after {
  content: 'Closed';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #999;
}

.discount-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--booking-success);
  color: #ff4757;
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1;
}

.bp-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: var(--booking-border);
  border-radius: var(--booking-radius);
  padding: 2px;
}

.bp-calendar-day-header {
  background: var(--booking-primary);
  color: white;
  padding: 8px 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.bp-calendar-day {
  position: relative;
  background: white;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--booking-transition);
}

.bp-calendar-day.empty {
  background: transparent;
  cursor: default;
}

.bp-calendar-day.past {
  background: var(--booking-gray);
  color: var(--booking-text-muted);
  cursor: not-allowed;
}

.bp-calendar-day.today {
  background: var(--booking-light);
  font-weight: 600;
}

.bp-calendar-day:not(.past):not(.empty):hover {
  background: var(--booking-light);
  transform: scale(1.05);
}

.bp-calendar-day.selected {
  background: var(--booking-primary) !important;
  color: white !important;
}

.bp-calendar-day .day-number {
  font-size: 14px;
  line-height: 1;
}

.bp-session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.bp-session-option {
  position: relative;
  cursor: pointer;
}

.bp-session-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bp-session-option .session-content {
  position: relative;
  padding: 15px;
  background: var(--booking-gray);
  border: 2px solid var(--booking-border);
  border-radius: var(--booking-radius);
  text-align: center;
  transition: var(--booking-transition);
}

.bp-session-option:hover .session-content {
  border-color: var(--booking-primary);
  background: var(--booking-light);
}

.bp-session-option input[type="radio"]:checked + .session-content {
  background: var(--booking-primary);
  color: white;
  border-color: var(--booking-primary);
}

.bp-session-option input[type="radio"]:checked + .session-content .session-discount {
  color: #fff;
}

.session-time {
  font-weight: 600;
  margin-bottom: 5px;
}

.session-discount {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--booking-success);
  color: #ff4757;
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1;
  z-index: 2;
}

/* Required field indicator */
.required {
  color: #dc3545;
  font-weight: bold;
}

/* Description text */
.description {
  font-size: 12px;
  color: var(--booking-text-muted);
  margin-top: 5px;
  font-style: italic;
}

/* Booking Pro Frontend Styles */
:root {
  --booking-primary: #00a3a5;
  --booking-primary-hover: #008a8c;
  --booking-primary-dark: #006b6d;
  --booking-secondary: #1d8181;
  --booking-tertiary: #00cccc;
  --booking-light: #eaf6f6;
  --booking-contrast: #eafbfb;
  --booking-white: #ffffff;
  --booking-gray: #f4f4f4;
  --booking-gray-light: #e4e4e4;
  --booking-text: #333333;
  --booking-text-light: #666666;
  --booking-text-muted: #999999;
  --booking-border: #ddd;
  --booking-radius: 8px;
  --booking-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --booking-shadow-card: 0 8px 32px rgba(0, 0, 0, 0.12);
  --booking-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  --booking-transition: all 0.3s ease;
}

/* Container */
.booking-pro-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--booking-white);
  border-radius: var(--booking-radius);
  box-shadow: var(--booking-shadow);
}

/* Form Sections */
.booking-form-section {
  margin-bottom: 30px;
  padding: 25px;
  background: var(--booking-white);
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
}

.booking-form-section h3 {
  margin: 0 0 20px 0;
  color: var(--booking-text);
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid var(--booking-primary);
  padding-bottom: 10px;
}

/* Form Groups */
.booking-form-group {
  margin-bottom: 20px;
}

.booking-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--booking-text);
  font-size: 14px;
}

.booking-form-group input,
.booking-form-group textarea,
.booking-form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  font-size: 14px;
  transition: var(--booking-transition);
  background: var(--booking-white);
}

.booking-form-group input:focus,
.booking-form-group textarea:focus,
.booking-form-group select:focus {
  outline: none;
  border-color: var(--booking-primary);
  box-shadow: 0 0 0 3px rgba(0, 163, 165, 0.1);
}

.booking-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Row Layout */
.booking-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .booking-form-row {
    grid-template-columns: 1fr;
  }
}

/* Address Fields */
.booking-address-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.booking-address-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 15px;
}

@media (max-width: 768px) {
  .booking-address-row {
    grid-template-columns: 1fr;
  }
}

/* Property Size Sliders */
.booking-slider-container {
  margin: 25px 0;
}

.booking-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.booking-slider-icon {
  width: 50px;
  height: 50px;
  background: var(--booking-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-slider-icon img {
  width: 28px;
  height: 28px;
}

.booking-slider-track {
  flex: 1;
  position: relative;
}

.booking-slider {
  width: 100%;
  height: 8px;
  background: var(--booking-gray-light);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}

.booking-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--booking-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: var(--booking-transition);
}

.booking-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  background: var(--booking-primary-hover);
}

.booking-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--booking-primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.booking-slider-value {
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
  color: var(--booking-primary);
  font-size: 16px;
}

/* Service Extras */
.booking-extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.booking-extra-item {
  position: relative;
  border: 2px solid var(--booking-border);
  border-radius: var(--booking-radius);
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--booking-transition);
  background: var(--booking-white);
}

.booking-extra-item:hover {
  border-color: var(--booking-primary);
  transform: translateY(-2px);
  box-shadow: var(--booking-shadow);
}

.booking-extra-item.selected {
  border-color: var(--booking-primary);
  background: var(--booking-light);
}

.booking-extra-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.booking-extra-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  background: var(--booking-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-extra-icon img {
  width: 32px;
  height: 32px;
}

.booking-extra-title {
  font-weight: 600;
  color: var(--booking-text);
  margin-bottom: 5px;
  font-size: 14px;
}

.booking-extra-price {
  color: var(--booking-primary);
  font-weight: 600;
  font-size: 16px;
}

/* Time Selection */
.booking-time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.booking-time-slot {
  position: relative;
}

.booking-time-slot input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.booking-time-slot label {
  display: block;
  padding: 15px;
  border: 2px solid var(--booking-border);
  border-radius: var(--booking-radius);
  text-align: center;
  cursor: pointer;
  transition: var(--booking-transition);
  background: var(--booking-white);
  font-weight: 500;
}

.booking-time-slot label:hover {
  border-color: var(--booking-primary);
}

.booking-time-slot input[type="radio"]:checked + label {
  border-color: var(--booking-primary);
  background: var(--booking-light);
  color: var(--booking-primary);
}

/* Recurrence Options */
.booking-recurrence-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.booking-recurrence-option {
  position: relative;
}

.booking-recurrence-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.booking-recurrence-option label {
  display: block;
  padding: 12px;
  border: 2px solid var(--booking-border);
  border-radius: var(--booking-radius);
  text-align: center;
  cursor: pointer;
  transition: var(--booking-transition);
  background: var(--booking-white);
  font-size: 14px;
}

.booking-recurrence-option label:hover {
  border-color: var(--booking-primary);
}

.booking-recurrence-option input[type="radio"]:checked + label {
  border-color: var(--booking-primary);
  background: var(--booking-primary);
  color: var(--booking-white);
}

/* Calendar Styling */
.booking-calendar {
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  overflow: hidden;
  background: var(--booking-white);
}

.booking-calendar table {
  width: 100%;
  border-collapse: collapse;
}

.booking-calendar th,
.booking-calendar td {
  padding: 10px;
  text-align: center;
  border: 1px solid var(--booking-gray-light);
}

.booking-calendar th {
  background: var(--booking-gray);
  font-weight: 600;
  color: var(--booking-text);
}

.booking-calendar td {
  cursor: pointer;
  transition: var(--booking-transition);
}

.booking-calendar td:hover {
  background: var(--booking-light);
}

.booking-calendar td.selected {
  background: var(--booking-primary);
  color: var(--booking-white);
}

.booking-calendar td.disabled {
  background: var(--booking-gray);
  color: var(--booking-text-muted);
  cursor: not-allowed;
}

/* Price Summary */
.booking-price-summary {
  background: var(--booking-light);
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  padding: 20px;
  margin: 20px 0;
}

.booking-price-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.booking-price-line.total {
  border-top: 1px solid var(--booking-border);
  padding-top: 10px;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
  color: var(--booking-primary);
}

/* Promo Code */
.booking-promo-container {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.booking-promo-input {
  flex: 1;
}

.booking-promo-button {
  background: var(--booking-primary);
  color: var(--booking-white);
  border: none;
  padding: 12px 20px;
  border-radius: var(--booking-radius);
  cursor: pointer;
  font-weight: 500;
  transition: var(--booking-transition);
}

.booking-promo-button:hover {
  background: var(--booking-primary-hover);
}

.booking-promo-message {
  margin-top: 10px;
  padding: 10px;
  border-radius: var(--booking-radius);
  font-size: 14px;
}

.booking-promo-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.booking-promo-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Submit Button */
.booking-submit-button {
  background: var(--booking-primary);
  color: var(--booking-white);
  border: none;
  padding: 18px 40px;
  border-radius: var(--booking-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--booking-transition);
  width: 100%;
  margin-top: 20px;
}

.booking-submit-button:hover {
  background: var(--booking-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 163, 165, 0.3);
}

.booking-submit-button:disabled {
  background: var(--booking-text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Loading States */
.booking-loading {
  position: relative;
  overflow: hidden;
}

.booking-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Error Messages */
.booking-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: var(--booking-radius);
  padding: 12px;
  margin: 10px 0;
  font-size: 14px;
}

/* Success Messages */
.booking-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: var(--booking-radius);
  padding: 12px;
  margin: 10px 0;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .booking-pro-container {
    margin: 10px;
    padding: 15px;
  }
  
  .booking-form-section {
    padding: 20px 15px;
  }
  
  .booking-extras-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .booking-slider-wrapper {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .booking-time-slots {
    grid-template-columns: 1fr;
  }
  
  .booking-recurrence-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .booking-recurrence-options {
    grid-template-columns: 1fr;
  }
  
  .booking-promo-container {
    flex-direction: column;
  }
  
  .booking-promo-button {
    width: 100%;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-form-section {
  animation: fadeIn 0.3s ease;
}

/* Accessibility */
.booking-form-group input:focus,
.booking-form-group textarea:focus,
.booking-form-group select:focus {
  outline: 2px solid var(--booking-primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Print Styles */
@media print {
  .booking-pro-container {
    box-shadow: none;
    border: 1px solid #000;
  }
  
  .booking-submit-button {
    display: none;
  }
}

/* Form Subsections */
.bp-form-subsection {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.bp-form-subsection:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.bp-form-subsection h4 {
  margin: 0 0 15px 0;
  color: var(--booking-text);
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--booking-border);
}

/* Wider Promo Apply Button */
.bp-btn-apply-wide {
  min-width: 150px;
  white-space: nowrap;
  padding: 12px 24px;
}

/* Booking Summary Sidebar */
.bp-booking-summary-aside {
    position: sticky;
    right: 20px;
    top: 20px;
    width: 350px;
    max-width: 90vw;
    z-index: 999999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: calc(100vh - 40px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Beautiful card effect */
    filter: drop-shadow(var(--booking-shadow-card));
}

.bp-booking-summary-aside:hover {
    filter: drop-shadow(var(--booking-shadow-hover)) drop-shadow(0 0 20px rgba(0, 163, 165, 0.1));
}

.bp-booking-summary-aside.bp-hidden {
    transform: translateX(100%);
}

.bp-form-sidebar-wrapper {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 163, 165, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    margin-bottom: 12px;
    flex: 1;
    overflow-y: auto;
    border: 1px solid rgba(0, 163, 165, 0.1);
    transition: var(--booking-transition);
    display: flex;
    flex-direction: column;
}

.bp-booking-form-sidebar-element {
    background-color: #ffffff;
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
    text-align: center;
}

.bp-booking-form-sidebar-element:last-child {
    border-bottom: none;
}

.bp-booking-form-sidebar-element i,
.bp-booking-form-sidebar-element svg {
    font-size: 24px;
    color: var(--booking-primary);
    margin-bottom: 10px;
    display: block;
}

.bp-booking-form-sidebar-element svg {
    width: 24px;
    height: 24px;
    margin: 0 auto 10px;
}

.bp-booking-form-sidebar-element strong {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bp-booking-form-sidebar-element p {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.bp-booking-summary-wrapper {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 163, 165, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    border: 1px solid rgba(0, 163, 165, 0.1);
    transition: var(--booking-transition);
}

.bp-form-sidebar-wrapper:hover,
.bp-booking-summary-wrapper:hover {
    box-shadow: 
        0 6px 25px rgba(0, 163, 165, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

.bp-booking-summary-container {
    background-color: #ffffff;
    padding: 20px;
}

.bp-booking-summary-container h5 {
    color: var(--booking-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bp-booking-summary-container h3 {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin: 15px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-booking-summary-container h3 i {
    color: var(--booking-primary);
    font-size: 16px;
}

.bp-booking-summary-container h5 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-booking-summary-container h5 i {
    color: var(--booking-primary);
    font-size: 18px;
}

.bp-contact-info-container {
    margin-bottom: 15px;
}

.bp-time-element,
.bp-recurrence-element,
.bp-service-element,
.bp-price-element,
.bp-total-price-element {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.bp-time-element i,
.bp-recurrence-element i,
.bp-service-element i {
    margin-right: 8px;
    width: 16px;
    color: var(--booking-primary);
}

.bp-price-element strong,
.bp-total-price-element strong {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.bp-total-price-element {
    border-top: 2px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: 600;
}

.bp-total-price-element strong {
    font-size: 16px;
    color: #333;
}

.bp-price-element .price,
.bp-total-price-element .price {
    color: var(--booking-primary);
    font-weight: 600;
}

.bp-cta-wrapper {
    background-color: #ffffff;
    padding: 20px;
    border-top: 1px solid #eee;
}

.bp-btn-wrapper {
    text-align: center;
}

.bp-book-button {
    width: 100%;
    background: linear-gradient(135deg, var(--booking-primary), var(--booking-primary-hover));
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 163, 165, 0.2);
}

.bp-book-button:hover {
    background: linear-gradient(135deg, var(--booking-primary-hover), var(--booking-primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 107, 109, 0.35);
}

.bp-book-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.bp-book-button:hover::before {
    left: 100%;
}

.bp-book-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bp-tos-info {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    color: #666;
    text-align: center;
    line-height: 1.3;
}

/* Mobile Toggle Button */
.bp-mobile-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--booking-primary);
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.bp-mobile-toggle:hover {
    background-color: var(--booking-secondary);
    transform: scale(1.1);
}

.bp-mobile-toggle i {
    transition: transform 0.3s ease;
}

.bp-mobile-toggle.bp-active i {
    transform: rotate(180deg);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .bp-booking-wrapper {
        display: block;
        max-width: none;
    }
    
    .bp-booking-container {
        max-width: none;
        width: 100%;
    }
    
    .bp-booking-summary-aside {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-color: rgba(0, 0, 0, 0.5) !important;
        transform: translateX(100%) !important;
        z-index: 999999 !important;
        max-height: none !important;
    }
    
    .bp-booking-summary-aside.bp-show {
        transform: translateX(0);
    }
    
    .bp-booking-summary-content {
        position: absolute;
        right: 0;
        top: 0;
        width: 85%;
        height: 100%;
        background-color: white;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: none !important;
        animation: none !important;
    }
    
    .bp-form-sidebar-wrapper,
    .bp-booking-summary-wrapper {
        border-radius: 0;
        box-shadow: none;
        background-color: white;
        margin-bottom: 0;
        max-height: none;
    }
    
    .bp-mobile-toggle {
        display: flex;
    }
    
    .bp-booking-summary-aside .bp-close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 24px;
        color: #666;
        cursor: pointer;
        z-index: 10;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .bp-booking-wrapper {
        display: flex;
        align-items: flex-start;
    }
    
    .bp-booking-summary-aside {
        display: flex !important;
        position: sticky !important;
        top: 20px !important;
        width: 350px !important;
        max-height: calc(100vh - 40px) !important;
        overflow: hidden !important;
        flex-direction: column !important;
        background: none !important;
        transform: none !important;
        flex-shrink: 0;
    }
    
    .bp-mobile-toggle {
        display: none;
    }
    
    .bp-hide-desktop {
        display: none;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .bp-booking-summary-aside {
        width: 300px;
        right: 10px;
    }
    
    .bp-form-sidebar-wrapper {
        max-height: 40vh;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .bp-booking-summary-aside {
        width: 380px;
        right: 30px;
    }
}

/* Hide sidebar on mobile by default */
@media (max-width: 768px) {
    .bp-booking-summary-aside {
        display: none !important;
    }
    
    .bp-booking-summary-aside.bp-show {
        display: block !important;
        transform: translateX(0) !important;
    }
    
    .bp-hide-desktop {
        display: block;
    }
    
    .bp-mobile-toggle {
        display: flex !important;
    }
}

/* Desktop - show sidebar */
@media (min-width: 769px) {
    .bp-booking-summary-aside {
        display: block;
    }
    
    .bp-hide-desktop {
        display: none;
    }
}

/* Remove old responsive styles - now handled by flexbox */

/* Contact element styles */
.bp-contact-element {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.bp-contact-element i {
    margin-right: 8px;
    width: 16px;
    color: var(--booking-primary);
}

/* Additional sidebar element styles */
.contact-info-container {
    margin-bottom: 15px;
}

/* Remove all transitions and animations from booking summary for instant updates */
.bp-booking-summary-aside *,
.bp-booking-summary-content *,
.bp-booking-summary-wrapper *,
.bp-form-sidebar-wrapper * {
    transition: none !important;
    animation: none !important;
    animation-duration: 0s !important;
    transition-duration: 0s !important;
}

/* Ensure immediate updates for price elements */
.bp-total-price,
.bp-price-breakdown,
.bp-price-line,
.total-price-element,
.price-element {
    transition: none !important;
    animation: none !important;
}

/* Force immediate visibility for price elements */
#bp-total-price,
#bp-price-breakdown {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Price summary visibility - only force on mobile */
@media (max-width: 768px) {
    .bp-price-summary {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
}

/* Price breakdown styling - smaller font size */
#bp-price-breakdown,
.bp-breakdown-copy,
.bp-price-breakdown {
    font-size: 13px;
    line-height: 1.4;
}

#bp-price-breakdown .bp-price-line,
.bp-breakdown-copy .bp-price-line,
.bp-price-breakdown .bp-price-line {
    margin-bottom: 6px;
    font-size: 13px;
}

/* Discount styling - green color with icon */
#bp-price-breakdown .bp-price-line[data-type*="discount"],
.bp-breakdown-copy .bp-price-line[data-type*="discount"],
.bp-price-breakdown .bp-price-line[data-type*="discount"],
#bp-price-breakdown .discount-element,
.bp-breakdown-copy .discount-element,
.bp-price-breakdown .discount-element,
#bp-price-breakdown .bp-price-line.bp-discount,
.bp-breakdown-copy .bp-price-line.bp-discount,
.bp-price-breakdown .bp-price-line.bp-discount {
    color: #28a745;
    font-weight: 500;
    background: rgba(40, 167, 69, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border-left: 3px solid #28a745;
    margin: 3px 0;
}

/* Add discount icon before text */
#bp-price-breakdown .bp-price-line[data-type*="discount"] strong:before,
.bp-breakdown-copy .bp-price-line[data-type*="discount"] strong:before,
.bp-price-breakdown .bp-price-line[data-type*="discount"] strong:before,
#bp-price-breakdown .discount-element strong:before,
.bp-breakdown-copy .discount-element strong:before,
.bp-price-breakdown .discount-element strong:before,
#bp-price-breakdown .bp-price-line.bp-discount span:first-child:before,
.bp-breakdown-copy .bp-price-line.bp-discount span:first-child:before,
.bp-price-breakdown .bp-price-line.bp-discount span:first-child:before {
    content: "🎁 ";
    margin-right: 4px;
}

/* Discount amount styling - different color for the money amount */
#bp-price-breakdown .bp-price-line.bp-discount span:last-child,
.bp-breakdown-copy .bp-price-line.bp-discount span:last-child,
.bp-price-breakdown .bp-price-line.bp-discount span:last-child {
    color: #dc3545;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Total price line styling */
#bp-price-breakdown .bp-price-line.total,
.bp-breakdown-copy .bp-price-line.total,
.bp-price-breakdown .bp-price-line.total {
    border-top: 1px solid #eee;
    padding-top: 8px;
    margin-top: 8px;
    font-weight: 600;
    font-size: 14px;
}

/* Service and extras styling */
#bp-price-breakdown .bp-price-line:not([data-type*="discount"]):not(.total),
.bp-breakdown-copy .bp-price-line:not([data-type*="discount"]):not(.total),
.bp-price-breakdown .bp-price-line:not([data-type*="discount"]):not(.total) {
    color: #555;
    padding: 2px 0;
}

/* Make sidebar breakdown consistent with main breakdown */
.bp-booking-summary-aside .price-element,
.bp-booking-summary-aside .discount-element,
.bp-booking-summary-aside .total-price-element {
    font-size: 13px;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    #bp-price-breakdown,
    .bp-breakdown-copy,
    .bp-price-breakdown {
        font-size: 12px;
    }
    
    #bp-price-breakdown .bp-price-line,
    .bp-breakdown-copy .bp-price-line,
    .bp-price-breakdown .bp-price-line {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .discount-element {
        padding: 3px 6px;
        margin: 2px 0;
    }
}

/* Remove any loading states that might hide price */
.bp-loading .bp-total-price,
.bp-loading #bp-total-price {
    opacity: 1 !important;
    visibility: visible !important;
}

.contact-element,
.time-element,
.recurrence-element,
.service-element {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-element i,
.time-element i,
.recurrence-element i,
.service-element i {
    margin-right: 8px;
    width: 16px;
    color: var(--booking-primary);
}

.price-element,
.discount-element,
.total-price-element {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.price-element strong,
.discount-element strong,
.total-price-element strong {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.total-price-element {
    border-top: 2px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: 600;
}

.total-price-element strong {
    font-size: 16px;
    color: #333;
}

.price-element .price,
.total-price-element .price {
    color: var(--booking-primary);
    font-weight: 600;
}

.discount-element {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border-left: 3px solid #28a745;
    margin: 3px 0;
    font-weight: 500;
}

.discount-element .discount-price {
    color: #28a745;
    font-weight: 600;
}

/* Add gift icon to discount elements in sidebar */
.discount-element strong:before {
    content: "🎁 ";
    margin-right: 4px;
}

/* Mobile Toggle Button */
.bp-mobile-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--booking-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 999998;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.bp-mobile-toggle:hover {
    background-color: var(--booking-primary-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 107, 109, 0.3);
}

.bp-mobile-toggle.bp-active {
    background-color: #dc3545;
}

.bp-mobile-toggle.bp-active i {
    transform: rotate(180deg);
}

.bp-mobile-toggle i {
    transition: transform 0.3s ease;
}

/* CTA Button Styles */
.bp-book-button {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--booking-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bp-book-button:hover {
    background-color: var(--booking-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bp-cta-wrapper {
    padding: 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.bp-tos-info {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
}

/* Stripe Payment Styles */
#stripe-card-container {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--booking-radius);
}

#stripe-card-container label {
    font-weight: 600;
    color: var(--booking-dark);
    margin-bottom: 10px;
}

.bp-stripe-card {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--booking-radius);
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bp-stripe-card:focus-within {
    border-color: var(--booking-primary);
    box-shadow: 0 0 0 3px rgba(0, 163, 165, 0.1);
}

.bp-stripe-errors {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    min-height: 20px;
}

/* Message Styles */
.bp-message {
    padding: 15px 20px;
    border-radius: var(--booking-radius);
    margin-bottom: 20px;
    font-weight: 500;
}

.bp-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bp-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading states for Stripe */
.bp-btn-primary.processing {
    background: #6c757d;
    cursor: not-allowed;
    position: relative;
}

.bp-btn-primary.processing::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Confirmation & Thank You Pages */
.bp-confirmation-container,
.bp-thank-you-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Confirmation Page Styles */
.bp-confirmation-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.bp-confirmation-icon {
    margin-bottom: 20px;
}

.bp-confirmation-icon i {
    font-size: 64px;
    color: #28a745;
    animation: fadeInScale 0.6s ease-out;
}

.bp-confirmation-header h1 {
    font-size: 32px;
    color: #2c3e50;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.bp-confirmation-header p {
    font-size: 18px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.bp-confirmation-details {
    margin-bottom: 40px;
}

.bp-confirmation-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--booking-primary);
}

.bp-confirmation-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.bp-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.bp-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.bp-detail-item:last-child {
    border-bottom: none;
}

.bp-detail-item strong {
    color: #495057;
    font-weight: 600;
}

.bp-detail-item span {
    color: #2c3e50;
    font-weight: 500;
}

.bp-payment-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left-color: #28a745;
}

.bp-payment-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #155724;
    font-weight: 600;
}

.bp-payment-status i {
    font-size: 24px;
}

.bp-confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Thank You Page Styles */
.bp-thank-you-header {
    text-align: center;
    margin-bottom: 50px;
}

.bp-success-animation {
    margin-bottom: 30px;
}

.bp-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
}

.bp-checkmark-svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #28a745;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #28a745;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.bp-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.bp-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.bp-thank-you-header h1 {
    font-size: 36px;
    color: #2c3e50;
    margin: 20px 0 15px 0;
    font-weight: 700;
}

.bp-thank-you-subtitle {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.bp-thank-you-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.bp-summary-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e9ecef;
}

.bp-summary-card h3 {
    margin: 0 0 25px 0;
    font-size: 22px;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
}

.bp-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
}

.bp-summary-item:last-child {
    border-bottom: none;
}

.bp-summary-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--booking-primary);
    font-size: 18px;
    font-weight: 700;
}

.bp-summary-label {
    color: #6c757d;
    font-weight: 500;
}

.bp-summary-value {
    color: #2c3e50;
    font-weight: 600;
}

.bp-summary-total .bp-summary-value {
    color: var(--booking-primary);
    font-size: 20px;
}

.bp-next-steps h3 {
    margin: 0 0 25px 0;
    font-size: 22px;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
}

.bp-steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bp-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.bp-step:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.bp-step-number {
    width: 40px;
    height: 40px;
    background: var(--booking-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.bp-step-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

.bp-step-content p {
    margin: 0;
    color: #6c757d;
    line-height: 1.5;
}

.bp-thank-you-actions {
    text-align: center;
    margin-bottom: 30px;
}

.bp-btn-large {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.bp-secondary-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.bp-payment-details {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.bp-payment-reference {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.bp-payment-reference code {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    color: #495057;
}

/* Animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #28a745;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .bp-confirmation-container,
    .bp-thank-you-container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .bp-confirmation-header h1,
    .bp-thank-you-header h1 {
        font-size: 28px;
    }
    
    .bp-thank-you-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bp-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .bp-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .bp-confirmation-actions,
    .bp-secondary-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .bp-btn-primary,
    .bp-btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .bp-checkmark,
    .bp-checkmark-svg {
        width: 60px;
        height: 60px;
    }
    
    .bp-confirmation-icon i {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .bp-summary-card {
        padding: 15px;
    }
    
    .bp-step {
        padding: 15px;
    }
    
    .bp-step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Responsive positioning for booking summary aside */
@media screen and (min-width: 1024px) {
  .bp-booking-summary-aside {
      left: calc(40.5% + 280px);
  }
} 
@media screen and (min-width: 1160px) {
  .bp-booking-summary-aside {
      left: calc(41% + 300px);
  }
}
@media screen and (min-width: 1400px) {
    .bp-booking-summary-aside {
        left: calc(44% + 295px);
    }
}

/* Stripe Payment Container Styles */
.bp-stripe-payment-container {
    background: #f7f9fc;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    padding: 24px;
    margin-top: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.bp-stripe-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.bp-stripe-security-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e8f5e8;
    border-radius: 8px;
    flex-shrink: 0;
}

.bp-stripe-header-text h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.bp-stripe-header-text p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.bp-stripe-card-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.bp-stripe-card {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 12px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bp-stripe-card:focus-within {
    border-color: #6772e5;
    box-shadow: 0 0 0 3px rgba(103, 114, 229, 0.1);
}



.bp-stripe-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    gap: 10px;
}

.bp-stripe-powered {
    display: flex;
    align-items: center;
    gap: 0px;
    font-size: 12px;
    /* color: #6b7280; */
}

.bp-stripe-brands {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-stripe-brands img {
    height: 30px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.bp-stripe-brands img:hover {
    opacity: 1;
}

.bp-stripe-disclaimer {
    margin-top: 6px;
}

.bp-stripe-disclaimer p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    text-align: left;
    line-height: 1.4;
}

.bp-stripe-errors {
    margin-top: 12px;
    padding: 8px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    color: #dc2626;
    font-size: 14px;
    display: none;
}

.bp-stripe-errors:not(:empty) {
    display: block;
}

/* Responsive adjustments for Stripe container */
@media (max-width: 768px) {
    .bp-stripe-payment-container {
        padding: 16px;
        margin-top: 16px;
    }
    
    .bp-stripe-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .bp-stripe-footer {
        flex-direction: row;
        gap: 16px;
        text-align: left;
        font-size: 11px;
    }
    
    .bp-stripe-powered {
        font-size: 11px;
    }
    
    .bp-stripe-brands img {
        height: 16px;
    }
    

}

/* Multi-step form layout styles */
.bp-multi-step-form {
  position: relative;
  min-height: 600px;
}

/* Progress Bar */
.bp-progress-container {
  margin-bottom: 30px;
  padding: 20px;
  background: var(--booking-light);
  border-radius: var(--booking-radius);
}

.bp-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.bp-progress-title {
  margin: 0;
  color: var(--booking-primary);
  font-size: 20px;
  font-weight: 600;
}

.bp-progress-bar {
  background: #e0e0e0;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.bp-progress-fill {
  background: linear-gradient(135deg, var(--booking-primary), var(--booking-primary-hover));
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 33.33%;
}

.bp-progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.bp-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.bp-progress-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.bp-progress-step.active .bp-progress-step-number {
  background: var(--booking-primary);
  color: white;
}

.bp-progress-step.completed .bp-progress-step-number {
  background: var(--booking-success);
  color: white;
}

.bp-progress-step-label {
  font-size: 12px;
  color: #666;
  text-align: center;
  font-weight: 500;
}

.bp-progress-step.active .bp-progress-step-label {
  color: var(--booking-primary);
  font-weight: 600;
}

/* Progress step arrows */
.bp-progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: calc(100% + 10px);
  width: 0;
  height: 0;
  border-left: 8px solid #e0e0e0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transition: all 0.3s ease;
}

.bp-progress-step.active:not(:last-child)::after {
  border-left-color: var(--booking-primary);
}

.bp-progress-step.completed:not(:last-child)::after {
  border-left-color: var(--booking-success);
}

/* Step 2 - Hide sidebar and expand container */
.bp-booking-container.step-2-active {
  max-width: 100% !important;
  margin: 0 !important;
}

.bp-booking-container.step-2-active .bp-booking-form-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hide sidebar completely in step 2 */
.bp-booking-container.step-2-active #bp-booking-summary-aside {
  display: none !important;
}

/* Remove previously added unwanted properties */
.bp-booking-container.step-2-active .bp-booking-summary-aside {
  visibility: visible;
  opacity: 1;
  width: auto;
  height: auto;
  overflow: visible;
}

/* Step containers */
.bp-form-step {
  display: none;
  animation: fadeInUp 0.3s ease;
}

.bp-form-step.active {
  display: block;
}

/* Navigation buttons */
.bp-step-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 20px 0;
  border-top: 2px solid var(--booking-border);
}

.bp-btn-back {
  background: var(--booking-gray);
  color: var(--booking-text);
  border: 2px solid var(--booking-border);
  padding: 12px 24px;
  border-radius: var(--booking-radius);
        font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--booking-transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-btn-back:hover {
  background: var(--booking-light);
  border-color: var(--booking-primary);
  color: var(--booking-primary);
}

.bp-btn-next {
  background: var(--booking-primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--booking-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--booking-transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-btn-next:hover {
  background: var(--booking-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 163, 165, 0.3);
}

.bp-btn-next:disabled {
  background: var(--booking-gray);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Step 2 - Detailed Calendar */
.bp-calendar-detailed {
  background: var(--booking-white);
  border-radius: var(--booking-radius);
  padding: 20px;
  box-shadow: var(--booking-shadow);
}

.bp-calendar-header-detailed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
  padding: 15px;
  background: var(--booking-light);
  border-radius: var(--booking-radius);
}

.bp-calendar-month-year {
  font-size: 18px;
  font-weight: 600;
  color: var(--booking-primary);
  margin: 0;
}

.bp-calendar-nav-btn {
  background: var(--booking-primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--booking-transition);
  animation: pulse 2s infinite;
}

.bp-calendar-nav-btn:hover {
  background: var(--booking-primary-hover);
  transform: scale(1.1);
  animation: none;
}

.bp-calendar-nav-btn:disabled {
  background: var(--booking-gray);
  cursor: not-allowed;
  transform: none;
  opacity: 0.5;
  animation: none;
}

/* Calendar Table */
.bp-calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.bp-calendar-table thead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
}

.bp-calendar-table tbody {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
}

.bp-calendar-table tr {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
}

.bp-calendar-table th {
  background: var(--booking-primary);
  color: white;
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.bp-calendar-table td {
  border: 1px solid #f0f0f0;
  padding: 0;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  vertical-align: top;
  position: relative;
  background: white;
}

/* Calendar days styling based on current month */
.bp-calendar-table td.bp-calendar-day-current-month {
  background: #dff0d8;
}

.bp-calendar-table td.bp-calendar-day-disabled {
  background: white;
  cursor: not-allowed;
}

.bp-calendar-table td.bp-calendar-day-weekend {
  background: #f5f5f5;
  cursor: not-allowed;
}

.bp-calendar-day-container {
  height: 100%;
  padding: 8px;
  transition: background-color 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bp-calendar-day-container.disabled {
  cursor: not-allowed;
}

.bp-calendar-day-container.past {
  background: #f5f5f5 !important;
  color: #666;
  cursor: not-allowed;
}

.bp-calendar-day-container.weekend {
  background: #f5f5f5 !important;
  cursor: not-allowed;
}

/* Weekend days with time slots get normal background */
.bp-calendar-day-container.weekend.has-slots {
  background: #dff0d8 !important;
  cursor: pointer;
}

.bp-calendar-table td.bp-calendar-day-weekend.has-slots {
  background: white;
  cursor: pointer;
}

.bp-calendar-day-container.selected {
  background: var(--booking-primary) !important;
  color: white !important;
  border-radius: 8px;
}

/* TD parent of selected day container also gets primary background */
.bp-calendar-table td:has(.bp-calendar-day-container.selected) {
  background: var(--booking-primary) !important;
}

.bp-calendar-day-container.selected .bp-calendar-date-number,
.bp-calendar-day-container.selected .bp-calendar-month-label {
  color: white !important;
}

.bp-calendar-date-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.bp-calendar-month-label {
  font-size: 10px;
  color: #999;
  font-weight: 500;
}

.bp-calendar-date-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--booking-text);
}

/* Hide date display for non-current month days */
.bp-calendar-table td.bp-calendar-day-disabled .bp-calendar-month-label,
.bp-calendar-table td.bp-calendar-day-disabled .bp-calendar-date-number {
  display: none;
}

/* Non-current month days always white background */
.bp-calendar-table td.bp-calendar-day-disabled {
  background: white !important;
}

.bp-calendar-table td.bp-calendar-day-disabled .bp-calendar-day-container {
  background: white !important;
}

/* Time slot buttons in calendar */
.bp-calendar-time-slots {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
  flex: 1;
}

.bp-calendar-time-slot {
  position: relative;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  width: 100%;
}

.bp-time-slot-btn {
  width: 100%;
  padding: 5px 6px;
  background: #5cb85c;
  color: white;
  border: none;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--booking-transition);
  position: relative;
  overflow: hidden;
}

.bp-time-slot-btn:hover {
  background: #ff6b35;
  transform: scale(1.02);
  cursor: pointer;
}

.bp-time-slot-btn.selected {
  background: var(--booking-primary);
  box-shadow: 0 0 0 2px var(--booking-primary-hover);
}

.bp-time-slot-btn.processing {
  opacity: 0.7;
  pointer-events: none;
  cursor: not-allowed;
}

/* Discount badge on time slots */
.bp-time-slot-discount {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ff4757;
  color: white;
  font-size: 7px;
  padding: 1px 3px;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1;
  z-index: 2;
}

/* Mobile Progress Navigation */
.bp-progress-mobile-nav {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding: 0 10px;
}

.bp-mobile-step-indicator {
  font-size: 14px;
  font-weight: 600;
  color: var(--booking-primary);
}

.bp-progress-nav-btn {
  background: var(--booking-primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.bp-progress-nav-btn:hover {
  background: var(--booking-primary-hover);
  transform: scale(1.1);
  animation: none;
}

.bp-progress-nav-btn:disabled {
  background: var(--booking-gray);
  cursor: not-allowed;
  transform: none;
  opacity: 0.5;
  animation: none;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Field validation styles */
.bp-field-invalid {
  border-color: #ff4757 !important;
  box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2) !important;
}

.bp-field-error {
  color: #ff4757;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

/* Animation for step transitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Success color variable if not defined */
:root {
  --booking-success: #28a745;
}

/* Ensure success color is available throughout the stylesheet */
.bp-success, .bp-time-slot-btn {
  --booking-success: #28a745;
}

/* Responsive calendar */
@media (max-width: 768px) {
  .bp-calendar-table td {
    height: auto;
    min-height: max-content;
  }
  
  /* Specific height for weekend days without slots */
  .bp-calendar-table td.bp-calendar-day-weekend:not(.has-slots) {
    min-height: 120px;
  }
  
  .bp-time-slot-btn {
    font-size: 10px;
    padding: 8px 10px;
    margin-bottom: 2px;
    display: block;
    white-space: nowrap;
    overflow: visible;
  }
  
  .bp-calendar-date-number {
    font-size: 12px;
  }
  
  .bp-calendar-month-label {
    font-size: 8px;
  }
  
  .bp-time-slot-discount {
    font-size: 8px;
    padding: 3px 5px;
  }
  
  /* Ensure time slots container expands properly */
  .bp-calendar-time-slots {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto;
    height: auto;
    overflow: visible;
  }
  
  .bp-calendar-time-slot {
    margin-bottom: 3px;
    flex-shrink: 0;
  }
  
  /* Calendar detailed view */
  .bp-calendar-detailed .bp-calendar-table {
    display: block;
  }
  
  .bp-calendar-detailed .bp-calendar-table thead {
    display: none;
  }
  
  .bp-calendar-detailed .bp-calendar-table tbody {
    display: block;
  }
  
  .bp-calendar-detailed .bp-calendar-table tr {
    display: block;
    margin-bottom: 10px;
  }
  
  .bp-calendar-detailed .bp-calendar-table td {
    display: block;
    width: 100%;
    min-height: max-content;
    margin-bottom: 5px;
    border-radius: 8px;
  }
  
  /* Weekend days without time slots get fixed height */
  .bp-calendar-detailed .bp-calendar-table td.bp-calendar-day-weekend:not(.has-slots) {
    min-height: 96px;
  }
  
  .bp-calendar-detailed .bp-calendar-day-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    min-height: 100%;
    height: auto;
  }
  
  .bp-calendar-detailed .bp-calendar-date-header {
    flex: 0 0 auto;
    margin-right: 0;
    margin-bottom: 8px;
    width: 100%;
  }
  
  .bp-calendar-detailed .bp-calendar-time-slots {
    flex-direction: column;
    gap: 3px;
    margin-top: 0;
    flex: 1;
    width: 100%;
    min-height: auto;
  }
  
  /* Hide arrows on mobile for cleaner look */
  .bp-progress-step:not(:last-child)::after {
    display: none;
  }
  
  /* Show mobile progress navigation */
  .bp-progress-mobile-nav {
    display: flex;
  }
  
  /* Stack progress steps vertically on very small screens */
  .bp-progress-steps {
    flex-direction: column;
    gap: 15px;
  }
  
  .bp-progress-step {
    flex-direction: row;
    gap: 10px;
  }
  
  .bp-progress-step-number {
    margin-bottom: 0;
  }
  
  /* Step 1 discount badge smaller */
  .discount-badge {
    font-size: 7px;
    padding: 1px 2px;
  }
  
  /* Step 3 buttons */
  .bp-step-navigation {
    flex-direction: row;
    gap: 10px;
  }
  
  .bp-btn-primary, .bp-btn-next {
    width: 70%;
    padding: 12px;
    font-size: 14px;
  }
  
  .bp-btn-back {
    width: 30%;
    padding: 10px;
    font-size: 12px;
  }
  
  /* Mobile progress steps with arrows */
  .bp-progress-step:not(:last-child)::after {
    content: '↓';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: var(--booking-primary);
    font-weight: bold;
  }
  
  /* Mobile stacking for date header */
  .bp-calendar-date-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* Mobile smaller date number */
  .bp-calendar-date-number {
    font-size: 12px;
    width: 18px;
    height: 18px;
  }
  
  /* Step navigation buttons */
  .bp-step-navigation {
    justify-content: space-between;
  }
  
  .bp-btn-back,
  .bp-btn-next {
    width: 48%;
    font-size: 13px;
    padding: 10px;
  }
  
  .bp-btn-next {
    margin-left: auto; /* push to right */
  }
  
  /* Calendar day disabled */
  .bp-calendar-day-disabled {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .bp-booking-container.step-2-active .bp-booking-form-wrapper {
    padding: 10px;
  }
  
  .bp-calendar-detailed {
    padding: 10px;
  }
  
  .bp-calendar-table td {
    height: 60px;
    min-height: 50px;
  }
  
  .bp-time-slot-btn {
    font-size: 10px;
    padding: 8px 3px;
  }
  
  /* Smaller step 3 buttons */
  .bp-btn-primary {
    padding: 10px;
    font-size: 13px;
  }
  
  .bp-btn-back {
    padding: 8px;
    font-size: 12px;
  }
}

/* ... existing code ... */

/* Mobile Progress Navigation */
.bp-progress-mobile-nav {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding: 0 10px;
}

.bp-mobile-step-indicator {
  font-size: 14px;
  font-weight: 600;
  color: var(--booking-primary);
}

.bp-progress-nav-btn {
  background: var(--booking-primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.bp-progress-nav-btn:hover {
  background: var(--booking-primary-hover);
  transform: scale(1.1);
  animation: none;
}

.bp-progress-nav-btn:disabled {
  background: var(--booking-gray);
  cursor: not-allowed;
  transform: none;
  opacity: 0.5;
  animation: none;
}

/* Mobile progress steps with arrows - moved to main @media query */

.bp-calendar-date-number {
  font-size: 14px;
  font-weight: 600;
  background: #FF5E48;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile stacking for date header - moved to main @media query */

/* Past dates */
.bp-calendar-day-container.past .bp-calendar-date-number,
.bp-calendar-day-container.disabled .bp-calendar-date-number {
  background: #BABABA;
  color: #fff;
}

/* Mobile smaller date number - moved to main @media query */

/* Step navigation buttons - moved to main @media query */

/* Calendar day disabled - moved to main @media query */
