/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Wizard Container */
.cbw-wizard-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cbw-wizard-title {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 28px;
  font-weight: 600;
}

/* Progress Indicator */
.cbw-progress-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.cbw-progress-indicator::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: #e1e5e9;
  z-index: 1;
}

.cbw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  min-width: 100px;
}

.cbw-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e1e5e9;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.cbw-step-label {
  font-size: 14px;
  color: #6c757d;
  text-align: center;
  transition: color 0.3s ease;
}

.cbw-step.cbw-step-active .cbw-step-number {
  background: #007cba;
  color: white;
}

.cbw-step.cbw-step-active .cbw-step-label {
  color: #007cba;
  font-weight: 600;
}

.cbw-step.cbw-step-completed .cbw-step-number {
  background: #28a745;
  color: white;
}

.cbw-step.cbw-step-completed .cbw-step-label {
  color: #28a745;
}

/* Form Styling */
.cbw-booking-form {
  position: relative;
}

.cbw-form-step {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.cbw-form-step.cbw-step-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cbw-form-step h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 600;
}

.cbw-step-description {
  color: #6c757d;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.5;
}

.cbw-form-row {
  margin-bottom: 20px;
}

.cbw-form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cbw-form-group {
  display: flex;
  flex-direction: column;
}

.cbw-form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
}

.cbw-form-group input,
.cbw-form-group select {
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.cbw-form-group input:focus,
.cbw-form-group select:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.cbw-form-group input.cbw-error,
.cbw-form-group select.cbw-error {
  border-color: #dc3545;
}

.cbw-error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.cbw-error-message.cbw-show {
  display: block;
}

/* Required Field Styling */
.cbw-form-group.cbw-required-field label {
  position: relative;
}

.cbw-form-group.cbw-required-field label::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}

.cbw-form-group.cbw-required-field select {
  border-left: 3px solid #007cba;
}

/* Pricing Information */
.cbw-pricing-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
}

.cbw-pricing-info h4 {
  margin-bottom: 15px;
  color: #333;
  font-size: 18px;
}

.cbw-pricing-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cbw-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.cbw-pricing-row:last-child {
  border-bottom: none;
}

.cbw-age-group {
  font-weight: 500;
  color: #333;
}

.cbw-price {
  font-weight: 600;
  color: #007cba;
  font-size: 16px;
}

.cbw-includes-adult {
  font-size: 12px;
  color: #28a745;
  font-style: italic;
}

/* Children Details */
.cbw-children-details {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border: 1px solid #e9ecef;
}

.cbw-child-detail {
  background: white;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  border: 1px solid #e1e5e9;
}

.cbw-child-detail h5 {
  margin-bottom: 10px;
  color: #333;
  font-size: 16px;
}

/* Session Options */
.cbw-available-sessions {
  margin: 20px 0;
}

.cbw-session-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.cbw-session-option {
  background: white;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.1s ease;
  text-align: center;
  /* Improve mobile touch targets */
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Only apply hover effects on devices that can actually hover */
@media (hover: hover) and (pointer: fine) {
  .cbw-session-option:hover {
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
  }
}

.cbw-session-option.cbw-selected {
  border-color: #007cba;
  background: #f0f8ff;
}

/* Mobile touch feedback - active states for better mobile UX */
.cbw-session-option:active {
  transform: scale(0.98);
  background: #f8f9fa;
}

.cbw-session-option.cbw-event-session:active {
  transform: scale(0.98);
}

.cbw-session-option.cbw-unavailable {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f8f9fa;
  border-color: #dee2e6;
}

/* Availability color coding */
.cbw-session-option.cbw-high-availability {
  border-color: #28a745;
}

/* Wrap availability hover effects in hover-capable device media query */
@media (hover: hover) and (pointer: fine) {
  .cbw-session-option.cbw-high-availability:hover {
    border-color: #1e7e34;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
  }

  .cbw-session-option.cbw-medium-availability:hover {
    border-color: #e55a00;
    box-shadow: 0 2px 8px rgba(253, 126, 20, 0.2);
  }

  .cbw-session-option.cbw-low-availability:hover {
    border-color: #bd2130;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
  }

  .cbw-session-option.cbw-unavailable:hover {
    cursor: not-allowed;
    border-color: #6c757d;
  }
}

.cbw-session-option.cbw-medium-availability {
  border-color: #fd7e14;
}

.cbw-session-option.cbw-low-availability {
  border-color: #dc3545;
}

.cbw-session-option.cbw-selected.cbw-high-availability {
  background: #d4edda;
  border-color: #1e7e34;
}

.cbw-session-option.cbw-selected.cbw-medium-availability {
  background: #fff3cd;
  border-color: #e55a00;
}

.cbw-session-option.cbw-selected.cbw-low-availability {
  background: #f8d7da;
  border-color: #bd2130;
}

.cbw-session-time {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.cbw-session-availability {
  font-size: 14px;
  color: #6c757d;
}

/* Pricing Summary */
.cbw-pricing-summary {
  background: #e8f4f8;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border: 2px solid #bee5eb;
}

.cbw-pricing-summary h4 {
  margin-bottom: 15px;
  color: #0c5460;
}

/* Responsive: stack summary columns on smaller viewports */
@media (max-width: 720px) {
  .cbw-summary-grid {
    grid-template-columns: 1fr;
  }

  .cbw-summary-left,
  .cbw-summary-right {
    padding: 12px;
  }

  .cbw-summary-section h4 {
    font-size: 15px;
  }

  .cbw-summary-row {
    padding: 8px 0;
  }

  .cbw-summary-table th,
  .cbw-summary-table td {
    padding: 8px 4px;
  }
}

/* Slight visual refinement for smaller elements */
.cbw-summary-left h4,
.cbw-summary-right h4 {
  letter-spacing: 0.2px;
}
.cbw-summary-contact .value,
.cbw-summary-booking .value {
  color: #2b2f33;
}

.cbw-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #bee5eb;
}

.cbw-summary-row:last-child {
  border-bottom: 2px solid #0c5460;
  font-weight: 600;
  margin-top: 10px;
  padding-top: 15px;
}

/* Payment Options */
.cbw-payment-methods {
  margin: 30px 0;
}

/* Event session styling */
.cbw-event-session {
  background: white !important;
  border: 3px solid #ff6b6b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  position: relative;
}

.cbw-event-session.cbw-unavailable {
  opacity: 0.7;
}

.cbw-event-session .cbw-event-flag {
  margin-top: 8px;
  font-weight: 700;
  color: #d33;
  display: flex;
  gap: 8px;
  align-items: center;
}

.cbw-event-session .cbw-event-more {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

/* Ensure content stays above the rainbow border */
@keyframes cbw-samsung-border {
  0% {
    border-color: #ff5f6d;
  }
  20% {
    border-color: #ffc371;
  }
  40% {
    border-color: #9be15d;
  }
  60% {
    border-color: #00d4ff;
  }
  80% {
    border-color: #9b59b6;
  }
  100% {
    border-color: #ff5f6d;
  }
}

/* Modal styles */
.cbw-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
.cbw-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.cbw-modal-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 720px;
  width: 90%;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}
.cbw-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}
.cbw-modal-title {
  margin-top: 0;
}
.cbw-modal-header {
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}
.cbw-modal-body {
  margin: 15px 0;
  line-height: 1.6;
}
.cbw-modal-footer {
  padding-top: 15px;
  border-top: 1px solid #eee;
  margin-top: 20px;
  text-align: right;
}
.cbw-payment-methods h4 {
  margin-bottom: 15px;
  color: #333;
}

.cbw-payment-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cbw-payment-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cbw-payment-option:hover {
  border-color: #007cba;
}

.cbw-payment-option input[type="radio"] {
  margin-right: 15px;
  transform: scale(1.2);
}

.cbw-payment-option input[type="radio"]:checked + .cbw-payment-label {
  color: #007cba;
}

.cbw-payment-label {
  display: flex;
  flex-direction: column;
}

.cbw-payment-label strong {
  font-size: 16px;
  margin-bottom: 2px;
}

.cbw-payment-label small {
  color: #6c757d;
  font-size: 14px;
}

/* Single Payment Method */
.cbw-payment-info {
  margin-top: 15px;
}

.cbw-payment-selected {
  background: #f8f9fa;
  border: 2px solid #28a745;
  border-radius: 8px;
  padding: 20px;
  display: block;
}

.cbw-payment-selected .cbw-payment-label {
  display: block;
  margin-bottom: 10px;
}

.cbw-payment-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #6c757d;
}

.cbw-card-icon {
  font-size: 20px;
}

.cbw-payment-icons small {
  font-size: 13px;
}

/* Terms and Conditions */
.cbw-terms-conditions {
  margin: 30px 0;
}

.cbw-checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}

.cbw-checkbox-label input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 2px;
  transform: scale(1.2);
}

/* Buttons */
.cbw-form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e1e5e9;
}

.cbw-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  justify-content: center;
}

.cbw-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cbw-btn-primary {
  background: #007cba;
  color: white;
}

.cbw-btn-primary:hover:not(:disabled) {
  background: #005a87;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.cbw-btn-secondary {
  background: #6c757d;
  color: white;
}

.cbw-btn-secondary:hover:not(:disabled) {
  background: #545b62;
}

.cbw-btn-success {
  background: #28a745;
  color: white;
}

.cbw-btn-success:hover:not(:disabled) {
  background: #1e7e34;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Button Animation States */
.cbw-btn-pressed {
  transform: translateY(1px) !important;
  box-shadow: none !important;
}

.cbw-btn-error-shake {
  animation: cbwErrorShake 0.6s ease-in-out;
}

@keyframes cbwErrorShake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-3px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(3px);
  }
}

/* Enhanced Error Messages */
.cbw-general-error {
  background: #f8d7da !important;
  color: #721c24 !important;
  padding: 12px 16px !important;
  border: 1px solid #f5c6cb !important;
  border-radius: 6px !important;
  margin-bottom: 20px !important;
  font-size: 14px !important;
  animation: cbwErrorFadeIn 0.3s ease-in;
}

@keyframes cbwErrorFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading Overlay */
.cbw-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 1000;
}

/* Prominent notice for free-adult messaging so users don't miss it */
.cbw-free-adult-notice {
  background: #fff4e5; /* soft amber */
  border: 1px solid #ffdd99;
  color: #6a2e00;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: none;
  margin-bottom: 20px;
}
.cbw-free-adult-notice strong {
  display: inline-block;
  margin-right: 8px;
}
.cbw-free-adult-notice:before {
  content: "⚠️";
  margin-right: 8px;
}

.cbw-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007cba;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Success Message */
.cbw-success-message {
  text-align: center;
  padding: 40px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  color: #155724;
}

.cbw-success-message h3 {
  color: #155724;
  margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cbw-wizard-container {
    margin: 10px;
    padding: 15px;
  }

  .cbw-form-row-split {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cbw-progress-indicator {
    flex-wrap: wrap;
    gap: 15px;
  }

  .cbw-step {
    min-width: auto;
    flex: 1;
  }

  .cbw-session-options {
    grid-template-columns: 1fr;
  }

  .cbw-form-actions {
    flex-direction: column;
    gap: 15px;
  }

  .cbw-btn {
    width: 100%;
  }

  .cbw-payment-options {
    gap: 10px;
  }

  .cbw-payment-option {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .cbw-wizard-title {
    font-size: 24px;
  }

  .cbw-form-step h3 {
    font-size: 20px;
  }

  .cbw-step-label {
    font-size: 12px;
  }

  .cbw-step-number {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* Accessibility */
.cbw-form-group input:focus,
.cbw-form-group select:focus,
.cbw-btn:focus,
.cbw-session-option:focus,
.cbw-payment-option:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .cbw-wizard-container {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .cbw-btn,
  .cbw-loading-overlay {
    display: none !important;
  }
}

/* Calendar Styles */
.cbw-calendar-container {
  max-width: 400px;
}

.cbw-date-picker {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.cbw-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: #007cba;
  color: white;
}

.cbw-calendar-title {
  font-weight: 600;
  font-size: 16px;
}

.cbw-calendar-nav {
  background: #007cba !important;
  border: 2px solid #007cba !important;
  color: white !important;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 124, 186, 0.2);
}

.cbw-calendar-nav:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 8px rgba(0, 124, 186, 0.3);
  transform: translateY(-1px);
  color: black !important;
}

.cbw-calendar-nav:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 124, 186, 0.2);
}

.cbw-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

.cbw-weekday {
  padding: 10px 5px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: #666;
}

.cbw-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cbw-calendar-day {
  padding: 12px 5px;
  text-align: center;
  cursor: default;
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s;
  position: relative;
  font-size: 14px;
}

.cbw-calendar-day:nth-child(7n) {
  border-right: none;
}

.cbw-calendar-day.cbw-other-month {
  color: #ccc;
  background: #fafafa;
}

.cbw-calendar-day.cbw-past-date {
  color: #ccc;
  background: #f8f8f8;
}

.cbw-calendar-day.cbw-sunday {
  background: #f5f5f5;
  color: #999;
  position: relative;
}

.cbw-calendar-day.cbw-sunday::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 2px;
  background: #999;
  opacity: 0.5;
}

.cbw-calendar-day.cbw-available {
  background: #e8f5e8;
  color: #2e7d2e;
  font-weight: 500;
}

.cbw-calendar-day.cbw-clickable {
  cursor: pointer;
}

.cbw-calendar-day.cbw-clickable:hover {
  background: #d4edda;
  transform: scale(1.05);
}

.cbw-calendar-day.cbw-selected {
  background: #007cba !important;
  color: white !important;
  font-weight: bold;
}

.cbw-calendar-day.cbw-selected::after {
  display: none;
}

/* Step 3 Pricing Summary - make it more visible */
.cbw-step3-pricing-summary {
  margin-top: 20px;
  padding: 15px;
  background: #e8f5e8 !important;
  border-radius: 6px;
  border: 2px solid #28a745 !important;
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.cbw-step3-pricing-summary h4 {
  margin: 0 0 10px 0;
  color: #155724 !important;
  font-size: 18px !important;
  font-weight: bold;
}

.cbw-step3-pricing-content {
  font-size: 14px;
}

.cbw-step3-pricing-content .cbw-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #c3e6cb;
  font-weight: 500;
}

.cbw-step3-pricing-content .cbw-summary-row:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 18px !important;
  margin-top: 10px;
  padding-top: 15px;
  border-top: 3px solid #28a745;
  color: #155724 !important;
  background: #d4edda;
  padding: 15px;
  border-radius: 4px;
}

/* Payment Method Selection Styles */
.cbw-payment-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cbw-payment-option {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.cbw-payment-option:hover {
  border-color: #007cba;
  background-color: #f8f9fa;
}

.cbw-payment-option.cbw-payment-selected {
  border-color: #007cba;
  background-color: #e3f2fd;
}

.cbw-payment-option input[type="radio"] {
  position: absolute;
  top: 15px;
  right: 15px;
  margin: 0;
  transform: scale(1.2);
}

.cbw-payment-label {
  display: block;
  margin-bottom: 8px;
}

.cbw-payment-label strong {
  font-size: 16px;
  color: #333;
  display: block;
  margin-bottom: 4px;
}

.cbw-payment-label small {
  color: #666;
  font-size: 14px;
}

.cbw-payment-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.cbw-card-icon {
  font-size: 18px;
}

.cbw-payment-icons small {
  color: #888;
  font-size: 12px;
}

/* Responsive Payment Options */
@media (max-width: 600px) {
  .cbw-payment-option {
    padding: 15px;
  }

  .cbw-payment-label strong {
    font-size: 15px;
  }

  .cbw-payment-icons {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Mobile Calendar Styles */
@media (max-width: 480px) {
  .cbw-calendar-container {
    max-width: 100%;
  }

  .cbw-calendar-day {
    padding: 8px 3px;
    font-size: 12px;
  }

  .cbw-weekday {
    padding: 8px 3px;
    font-size: 12px;
  }

  .cbw-calendar-header {
    padding: 10px;
  }

  .cbw-calendar-title {
    font-size: 14px;
  }

  /* Enhanced mobile calendar navigation */
  .cbw-calendar-nav {
    min-width: 44px;
    min-height: 44px;
    font-size: 20px;
    padding: 10px;
    background: #007cba !important;
    border: 2px solid #005a87 !important;
    color: white !important;
    -webkit-tap-highlight-color: rgba(0, 124, 186, 0.2);
    touch-action: manipulation;
  }

  .cbw-calendar-nav:active {
    background: #004166 !important;
    transform: scale(0.95);
  }
}

/* Mobile Touch Optimization */
@media (max-width: 768px) {
  /* Improve touch targets for mobile */
  .cbw-session-option {
    min-height: 48px; /* Minimum touch target size */
    padding: 24px;
    -webkit-tap-highlight-color: rgba(0, 124, 186, 0.2);
    touch-action: manipulation; /* Disable double-tap zoom */
    /* Prevent selection during scrolling */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  /* Add spacing between session options to reduce accidental touches */
  .cbw-session-options {
    padding: 0 10px;
  }

  .cbw-session-option + .cbw-session-option {
    margin-top: 12px;
  }

  .cbw-event-more {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 16px;
    -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
    touch-action: manipulation;
  }

  /* Ensure session options are easily tappable */
  .cbw-session-option:active {
    transform: scale(0.98);
    background: #e6f3ff;
  }

  /* Event session specific mobile styles */
  .cbw-session-option.cbw-event-session:active {
    background: #fff2e6;
    border-color: #ff6b35;
  }

  /* Improve event flag visibility on mobile */
  .cbw-event-flag {
    font-size: 14px;
    padding: 8px 12px;
    margin-top: 8px;
  }

  .cbw-event-flag .cbw-event-more {
    font-size: 12px;
    padding: 6px 12px;
    margin-left: 8px;
  }
}

/* Fully Booked Overlay */
.cbw-fully-booked-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(220, 53, 69, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  z-index: 10;
  pointer-events: none;
}

/* Enhanced unavailable session styling */
.cbw-session-option.cbw-unavailable {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f8f9fa;
  border-color: #dee2e6;
  position: relative;
}

/* Prevent interaction with unavailable sessions */
.cbw-session-option[data-disabled="true"] {
  pointer-events: none;
  user-select: none;
}

/* High DPI and touch device specific */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .cbw-session-option,
  .cbw-event-more {
    border-width: 1px; /* Thinner borders on high DPI */
  }
}
