/* 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: #ce2b37;
  background-color: oklch(57.7% .245 27.325);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: Inter !important;
}

.cross-selling-button:focus {
  background-color: #ce2b37 !important;
}

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

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

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

.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: green;
  font-size: 18px;
  flex-shrink: 0;
}

/* Modal Styles */
.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.6);
  animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.cross-selling-modal-content {
  background-color: #fff;
  margin: auto;
  border-radius: 12px;
  min-width: 400px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideDown 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cross-selling-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #2d3436;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
  z-index: 10;
  font-weight: 300;
}

.cross-selling-modal-close:hover,
.cross-selling-modal-close:focus {
  color: #636e72;
}

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

/* Activity Header inside Modal */
.cross-selling-activity-header {
  text-align: left;
  padding: 0 20px 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: 4px !important;
  margin-top: 16px !important;
}

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

.cross-selling-activity-header .cross-selling-progress-bar {
  margin-bottom: 0;
  max-width: 420px;
  margin-left: 0;
  margin-right: 0;
}

/* Step 2 - Participant Details Styles */
.cross-selling-step-2-header {
  padding: 24px 20px 16px;
  border-bottom: none;
  background: #fff;
}

.cross-selling-step-2-header-content {
  max-width: 420px;
  margin: 0 auto;
}

.cross-selling-step-2-top-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.cross-selling-header-back-btn {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d3436;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: -4px;
  margin-left: -8px;
  border-radius: 100%;
}

.cross-selling-header-back-btn:hover {
  background-color: #f5f5f5;
  color: #2d3436;
}

.cross-selling-header-back-btn:active {
  background-color: #e8e8e8;
  transform: scale(0.95);
}

.cross-selling-header-back-btn svg {
  width: 24px;
  height: 24px;
}

.cross-selling-step-2-titles {
  flex: 1;
}

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

.cross-selling-step-2-main-subtitle {
  font-size: 14px !important;
  color: #636e72 !important;
  margin: 0 0 24px 0 !important;
  font-weight: 400 !important;
}

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

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

.cross-selling-progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

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

.cross-selling-progress-segment.active {
  background: #ce2b37;
}

.cross-selling-date-time-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #2d3436;
}

.cross-selling-date-time-display svg,
.cross-selling-date-time-display i {
  flex-shrink: 0;
  color: #2d3436;
  font-size: 20px;
}

.cross-selling-date-time-text {
  font-weight: 600;
  font-size: 14px;
  color: #2d3436;
}

/* Participants Section */
.participants-section {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 20px 20px;
}

.participants-instruction {
  font-size: 13px;
  color: #636e72;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.participants-title {
  font-size: 12px;
  color: #636e72;
  margin: 0 0 12px 0 !important;
  font-weight: 500;
}

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

.participant {
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 0;
}

.participant-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #2d3436 !important;
  margin: 0 0 12px 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.participant-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-input-container {
  position: relative;
  display: flex;
}

#cross-selling-participants .adyen-checkout__input {
  width: 100%;
  padding: 0 16px;
  height: 56px;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  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: #ce2b37;
  box-shadow: 0 0 0 3px rgba(56, 151, 96, 0.12);
}

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

.adyen-checkout__input {
  width: 100%;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  color: #2d3436;
  font-weight: 400;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.adyen-checkout__input::placeholder {
  color: #95a5a6;
  font-weight: 400;
  opacity: 1;
}

.adyen-checkout__input:hover:not(:focus):not(.error-input) {
  border-color: #d0d0d0;
}

.adyen-checkout__input:focus {
  outline: none;
  border-color: #ce2b37;
  box-shadow: 0 0 0 3px rgba(206, 43, 55, 0.1);
}

.adyen-checkout__input.error-input {
  border-color: #F85454;
  background: #fff5f5;
}

.adyen-checkout__input.error-input:focus {
  box-shadow: 0 0 0 3px rgba(248, 84, 84, 0.1);
}

.error-message {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: #F85454;
  font-size: 12px;
  font-weight: 500;
  animation: errorSlideIn 0.2s ease;
}

.error-message.error-message-visible {
  display: flex;
}

.warning-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

@keyframes errorSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.birthday-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
}

/* Navigation Buttons */
.cross-selling-navigation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid oklch(0.967 0.003 264.542);
}

.cross-selling-submit-btn {
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  background: #ce2b37;
  color: #fff;
}

.cross-selling-submit-btn:hover {
  background: #b32430;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(206, 43, 55, 0.2);
}

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

.cross-selling-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #bdc3c7 !important;
}

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

.button-spinner {
  display: none;
}

/* Selectize Styling for Country Select */
.selectize-input {
  padding: 16px !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.selectize-input:hover:not(.focus) {
  border-color: #d0d0d0 !important;
}

.selectize-input.focus {
  border-color: #ce2b37 !important;
  box-shadow: 0 0 0 3px rgba(206, 43, 55, 0.1) !important;
}

.selectize-dropdown {
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  margin-top: 4px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.selectize-dropdown-content {
  max-height: 200px !important;
}

.selectize-dropdown .option {
  padding: 12px 16px !important;
  transition: background-color 0.2s ease !important;
}

.selectize-dropdown .option:hover {
  background-color: #f5f5f5 !important;
}

.selectize-dropdown .option.active {
  background-color: #f5f5f5 !important;
  color: #2d3436 !important;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .cross-selling-card {
    margin: 15px;
  }

  .cross-selling-header {
    height: 160px;
  }

  .cross-selling-title {
    font-size: 24px;
    color: #ffffff;
  }

  .cross-selling-subtitle {
    font-size: 16px;
  }

  .cross-selling-body {
    padding: 20px;
  }

  .cross-selling-modal-content {
    max-width: 95%;
    min-width: 90%;
  }

  .cross-selling-step-2-header-content {
    max-width: 100%;
  }

  .cross-selling-step-2-top-row {
    gap: 8px;
  }

  .cross-selling-header-back-btn svg {
    width: 20px;
    height: 20px;
  }

  .cross-selling-step-2-title {
    font-size: 16px !important;
  }

  .cross-selling-step-2-subtitle {
    font-size: 13px !important;
  }

  .participants-section {
    max-width: 100%;
    padding: 0 15px 15px;
  }

  .cross-selling-navigation {
    max-width: 100%;
    padding: 15px;
  }

  .participant-inputs {
    gap: 12px;
  }

  .cross-selling-submit-btn {
    width: 100%;
  }

  .cross-selling-activity-header {
    padding: 0 15px 12px 15px;
  }
}