:root {
  --color-primary-calendar: #ce2b37;
  --color-error: #F85454;
  --color-success: #6FCF97;
  --text-color-primary-calendar: #0E0E0E;
  --text-color-secondary-calendar: #54595F;
  --background-color-primary-calendar: #ffff;
  --background-color-secondary-calendar: #E5E5E5;
  --background-color-footer-calendar: #333;
  --disabled: .5;
}

/* Cross-Selling Component Styles */
.cross-selling-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  background: #fff;
  font-family: Inter !important;
}

/* Header Section with Image */
.cross-selling-header {
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
}

.cross-selling-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.cross-selling-popular-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #000;
  color: #fff;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cross-selling-title {
  position: relative;
  z-index: 1;
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  text-align: center;
  color: #ffffff !important;
}

.cross-selling-subtitle {
  position: relative;
  z-index: 1;
  font-size: 18px;
  margin: 8px 0 0 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Content Body Section */
.cross-selling-body {
  padding: 24px;
  background: #fff;
}

.cross-selling-description {
  color: #222222;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.cross-selling-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 20px;
  padding: 12px 24px;
  background: #389760;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.3s ease;
  background-color: oklch(59.6% 0.145 163.225);
  font-family: Inter !important;
}

.cross-selling-button:hover {
  background: #2d7a4d;
}

.cross-selling-button:active {
  transform: scale(0.98);
}

.cross-selling-button-icon {
  font-size: 18px;
  display: flex;
}

.cross-selling-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cross-selling-features li {
  display: flex;
/*   align-items: center; */
  gap: 10px;
  color: #222222;
  font-size: 14px;
  margin-bottom: 10px;
}

.cross-selling-features li:last-child {
  margin-bottom: 0;
}

.cross-selling-checkmark {
  color: #389760;
  font-size: 18px;
  flex-shrink: 0;
}

/* .cross-selling-checkmark::before {
  content: "✓";
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
} */

/* Modal Styles - Enhanced */
.cross-selling-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cross-selling-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cross-selling-modal-content {
  background-color: #fff;
  margin: auto;
  border-radius: 16px;
  min-width: 400px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  animation: slideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
  from {
    transform: translateY(-30px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.cross-selling-modal-close {
  display: none !important;
  /* Using the close button inside the modal header instead */
}

#cross-selling-calendar-container .calendar-safa {
  margin: 0 auto;
}

/* Activity Header inside Modal */
.cross-selling-activity-header {
  text-align: left;
  padding: 0 0px 16px 20px;
  border-bottom: 1px solid oklch(0.967 0.003 264.542);
}

.cross-selling-activity-title {
  color: #2d3436 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-bottom: 0 !important;
  margin-top: 16px !important;
}

.cross-selling-activity-subtitle {
  color: #636e72 !important;
  font-size: 14px !important;
  margin: 0 !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

/* Step Management */
.cross-selling-step {
  padding: 0;
  background: #ffffff;
}

/* Step 2 Header */
.cross-selling-step-2-header {
  position: relative;
  padding: 16px 20px 16px 20px;
  border-bottom: 1px solid oklch(0.967 0.003 264.542);
  background: #ffffff;
}

.cross-selling-step-2-title {
  color: #2d3436 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 4px 0 !important;
  font-family: Inter !important;
}

.cross-selling-step-2-subtitle {
  color: #636e72 !important;
  font-size: 14px !important;
  margin: 0 0 12px 0 !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  font-family: Inter !important;
}

/* Progress Bar */
.cross-selling-progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  height: 4px;
}

.cross-selling-progress-segment {
  flex: 1;
  background: #e8e8e8;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.cross-selling-progress-segment.active {
  background: var(--color-primary-calendar, #ce2b37);
}

/* Date/Time Display */
.cross-selling-date-time-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  width: fit-content;
}

.cross-selling-date-time-display svg {
  width: 20px;
  height: 20px;
  color: #636e72;
  flex-shrink: 0;
}

.cross-selling-date-time-text {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  font-family: Inter !important;
  letter-spacing: -0.01em;
}

/* Participants Section */
.participants-section {
  padding: 20px 24px 0;
  margin-bottom: 0;
}

.participants-title {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #1a1a1a;
  font-family: Inter !important;
  letter-spacing: 0.5px;
}

/* Navigation Buttons */
.cross-selling-navigation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px 24px;
  border-top: 1px solid #f0f0f0;
  margin-top: 0;
  background: #fff;
}

.cross-selling-navigation::after {
  content: "By clicking, you confirm your booking and authorize the payment";
  display: block;
  font-size: 12px;
  color: #999999;
  text-align: center;
  line-height: 1.5;
  font-weight: 400;
  width: 100%;
  order: 3;
  margin-top: 4px;
}

.cross-selling-back-btn,
.cross-selling-submit-btn {
  width: 100%;
  height: 56px;
  padding: 0 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: Inter !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.cross-selling-back-btn {
  background: #f5f5f5;
  color: #1a1a1a;
  border: 1.5px solid #e8e8e8;
  order: 2;
}

.cross-selling-back-btn:hover {
  background: #e8e8e8;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cross-selling-back-btn:active {
  transform: scale(0.98) translateY(0);
}

.cross-selling-submit-btn {
  background: oklch(59.6% 0.145 163.225);
  color: #fff;
  box-shadow: 0 1px 3px rgba(56, 151, 96, 0.2);
  order: 1;
}

.cross-selling-submit-btn:hover {
  background: #2d7a4d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 151, 96, 0.3);
}

.cross-selling-submit-btn:active {
  transform: scale(0.98) translateY(0);
}

.cross-selling-submit-btn:disabled,
.cross-selling-back-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Participant Forms in Modal - Match Step 1 Design */
#cross-selling-participants {
  padding: 0;
  width: auto;
}

#cross-selling-participants .participant {
  margin-bottom: 0;
  padding: 16px 0;
  background: transparent;
  border-radius: 0;
}

#cross-selling-participants .participant:last-child {
  border-bottom: none;
  padding-bottom: 16px;
  margin-bottom: 0;
}

#cross-selling-participants .participant-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
  font-family: Inter !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

#cross-selling-participants .participant-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#cross-selling-participants .contact-input-container {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

#cross-selling-participants .adyen-checkout__input {
  width: auto;
  padding: 0 16px;
  height: 56px;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  font-family: Inter !important;
  background: #fafafa;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
}

#cross-selling-participants .adyen-checkout__input:hover {
  background: #ffffff;
  border-color: #d0d0d0;
}

#cross-selling-participants .adyen-checkout__input:focus {
  outline: none;
  background: #ffffff;
  border-color: #389760;
  box-shadow: 0 0 0 3px rgba(56, 151, 96, 0.12);
}

#cross-selling-participants .adyen-checkout__input::placeholder {
  color: #999999;
  font-weight: 400;
}

#cross-selling-participants .error-input {
  border-color: #F85454 !important;
}

#cross-selling-participants .error-message {
  display: none;
  color: #F85454;
  font-size: 12px;
  margin-top: 4px;
  gap: 4px;
  align-items: center;
}

#cross-selling-participants .error-message-visible {
  display: flex;
}

#cross-selling-participants .warning-icon {
  display: flex;
  align-items: center;
}

#cross-selling-participants .selectize-control {
  margin-bottom: 0;
}

#cross-selling-participants .selectize-input {
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  padding: 0 16px;
  height: 56px;
  display: flex;
  align-items: center;
  background: #fafafa;
  box-shadow: none;
  min-height: 56px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#cross-selling-participants .selectize-input:hover {
  background: #ffffff;
  border-color: #d0d0d0;
}

#cross-selling-participants .selectize-input.focus {
  background: #ffffff;
  border-color: #389760;
  box-shadow: 0 0 0 3px rgba(56, 151, 96, 0.12);
}

#cross-selling-participants .selectize-input.error-input {
  border-color: #F85454 !important;
}

#cross-selling-participants .selectize-dropdown {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#cross-selling-participants .birthday-label {
  font-weight: 400;
  font-size: 12px;
  margin-bottom: 6px;
  display: block;
  color: #6b7280;
  font-family: Inter !important;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .cross-selling-modal.show {
    padding: 10px;
  }

  .cross-selling-modal-content {
    max-width: 100%;
    min-width: 320px;
    border-radius: 20px;
  }

  .cross-selling-step {
    padding: 0;
  }
  
  /* Step 2 Header Mobile */
  .cross-selling-step-2-header {
    padding: 12px 16px 12px 16px;
  }
  
  .cross-selling-step-2-title {
    font-size: 16px !important;
  }
  
  .cross-selling-step-2-subtitle {
    font-size: 13px !important;
    margin-bottom: 10px !important;
  }
  
  .cross-selling-progress-bar {
    margin-bottom: 10px;
    height: 3px;
    gap: 6px;
  }
  
  .cross-selling-date-time-display {
    padding: 8px 10px;
    gap: 6px;
  }
  
  .cross-selling-date-time-display svg {
    width: 18px;
    height: 18px;
  }
  
  .cross-selling-date-time-text {
    font-size: 13px;
  }

  .participants-section {
    padding: 16px 20px 0;
  }
  
  .participants-title {
    font-size: 11px;
    margin-bottom: 8px;
    margin-top: 0 !important;
  }
  
  #cross-selling-participants {
    padding: 0;
  }

  #cross-selling-participants .participant {
    padding: 0;
  }
  
  #cross-selling-participants .adyen-checkout__input,
  #cross-selling-participants .selectize-input {
    height: 52px;
    min-height: 52px;
    border-radius: 10px;
    width: auto;
  }
  
  .cross-selling-navigation {
    padding: 16px 20px 20px;
    gap: 12px;
  }

  .cross-selling-back-btn,
  .cross-selling-submit-btn {
    height: 52px;
    border-radius: 10px;
  }
}
