/* Global Styles */
:root {
  --primary-orange: #ff8c00;
  --dark-orange: #ff7700;
  --light-orange: #ffa64d;
  --dark-gray: #333333;
  --light-gray: #f5f5f5;
  --border-gray: #dee2e6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Main Container (Parent) */
#booking-container {
  min-height: 100vh;
  background-color: #ffffff;
  max-width: 1550px;
  margin: 0 auto;
  width: 100%;
  overflow-x: hidden;
}

/* Background Watermark (Child) - Left Side Only */
#background-watermark {
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  width: 50%;
  left: 0;
  height: 100%;
  position: absolute;
}

#watermark-logo {
  font-size: 12rem;
  font-weight: bold;
  color: rgba(51, 51, 51, 0.2);
  left: 5%;
  bottom: 15%;
  transform: rotate(-15deg);
  white-space: nowrap;
  font-family: 'Raleway', sans-serif;
  position: absolute;
}

/* Content Wrapper (Parent) */
#content-wrapper, .content-wrapper {
  z-index: 1;
  overflow-x: hidden;
}

/* Top Section (Parent) */
#top-section {
  background-color: #ffffff;
  border-bottom: none;
}

/* General button */
.btn {
    background-color: #ff8c00;
    color: #ffffff;
    border: none;
    border-radius: 0;
    padding: 14px 30px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;    
}

.btn:hover, .btn:active {
    background-color: #e07b00!important;
    color: #ffffff!important;
}

#booking-label-container {
  display: flex;
  align-items: center;
}

#booking-label {
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 0.9rem;
  background-color: #ffffff;
  border: 1px solid #333333;
  padding: 6px 12px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

#orange-circle {
  width: 8px;
  height: 8px;
  background-color: var(--primary-orange);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  margin: 0;
}

#price-banner-container {
  flex-shrink: 0;
  max-width: none;
}

#price-banner {
  background-color: #fff4e6;
  border: none;
  color: #333333;
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 30px;
  letter-spacing: 0%;
  vertical-align: middle;
  white-space: normal;
  border-radius: 0;
  width: 100%;
}

#price-banner .highlight-text {
  color: #ff8c00;
  font-weight: 600;
  font-style: normal;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0%;
  vertical-align: middle;
}

/* Progress Section (Parent) */
#progress-steps-container {
  max-width: 100%;
  gap: 0;
  position: relative;
}


/* Form Section (Parent) */
#form-section {
  padding: 0;
  overflow-x: hidden;
}

/* Left Image Container (Parent) */
#left-image-container {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
  height: auto;
}

/* Left Watermark (Child) */
#left-watermark {
  font-size: 10rem;
  font-weight: bold;
  left: 10%;
  top: 30%;
  transform: rotate(-15deg);
  white-space: nowrap;
  font-family: 'Raleway', sans-serif;
  z-index: 1;
  pointer-events: none;
}

#left-image-wrapper {
  width: 70%;
  height: auto;
  min-height: fit-content;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: #ffffff;
  padding-top: 0;
}

#left-mask-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 80vh;
}

/* Right Form Container (Parent) */
#right-form-container {
  background-color: #ffffff;
  display: flex;
  align-items: start;
}

#form-container {
  /* background-color: #ffffff; */
  padding: 2rem 2.5rem 1rem 2.5rem;
  width: 100%;
  margin: 0 auto;
}

#form-title {
  font-family: 'Raleway', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* User Type Container (Parent) */
#user-type-container {
  margin-bottom: 3rem;
}

#user-type-buttons-wrapper {
  margin-bottom: 0;
}

.user-type-btn {
  padding: 0;
  border: none;
  background-color: transparent;
  color: var(--dark-gray);
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  transition: color 0.3s ease;
  cursor: pointer;
  position: relative;
  padding-bottom: 16px;
}

.user-type-btn:hover, .user-type-btn:focus {
  color: var(--primary-orange)!important;
  background: none!important;
}

.user-type-btn.active {
  color: var(--primary-orange)!important;
  font-weight: 600!important;
}

/* Underline Container (Parent) */
#user-type-underline-container {
  position: relative;
  width: 100%;
  height: 2px;
  margin-top: -2px;
}

/* Base Underline (Child) */
#user-type-underline-base {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
}

/* Active Underline (Child) */
#user-type-underline-active {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background-color: var(--primary-orange);
  width: 180px; /* Width of "Private Individual" button */
  transition: left 0.3s ease, width 0.3s ease;
}

/* Form Styles */
#registration-form .form-label,
#discount-form .form-label,
#payment-form .form-label {
  font-weight: 500;
  color: #222222;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-family: 'Raleway', sans-serif;
}

#registration-form .form-control,
#registration-form .form-select,
#discount-form .form-control,
#payment-form .form-control,
#payment-form .form-select {
  border: 1px solid var(--border-gray);
  border-radius: 0;
  padding: 14px 16px;
  font-size: 1.1rem;
  transition: border-color 0.3s ease;
  font-family: 'Raleway', sans-serif;
  line-height: 1.5;
  width: 100%;
  height: auto!important;
}

#registration-form .form-control:focus,
#registration-form .form-select:focus,
#discount-form .form-control:focus,
#payment-form .form-control:focus,
#payment-form .form-select:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
  outline: none;
}

/* Payment form inputs - transparent background */
#payment-form .form-control,
#payment-form .form-select {
  background-color: transparent;
}

/* Payment form labels - bold */
#payment-form .form-label {
  font-weight: 500;
  color: #222222;
}

/* Payment tab tooltips - now always visible as info alerts (visibility controlled by JavaScript) */
.invoice-tooltip,
.credit-card-tooltip {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Payment form placeholder styling */
#payment-form .form-control::placeholder {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(77, 77, 77, 0.61);
}

#payment-form .form-control::-webkit-input-placeholder {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(77, 77, 77, 0.61);
}

#payment-form .form-control::-moz-placeholder {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(77, 77, 77, 0.61);
}

#payment-form .form-control:-ms-input-placeholder {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(77, 77, 77, 0.61);
}

#discount-form .input-group .btn {
  border: 1px solid var(--border-gray);
  border-left: none;
  border-radius: 0;
  padding: 14px 32px;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  background-color: #f5f5f5;
  color: #666666;
}

#discount-form .input-group .btn:hover {
  background-color: #e8e8e8;
}

#discount-form .input-group .form-control {
  border-right: none;
}

#registration-form .row,
#payment-form .row {
  align-items: flex-start;
}

#registration-form .row > div,
#payment-form .row > div {
  display: flex;
  flex-direction: column;
}

#registration-form .row,
#payment-form .row {
  margin-bottom: 1.5rem;
}

/* Phone Number Input Group */
.input-group {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
}

.input-group .btn {
  border: 1px solid var(--border-gray);
  border-right: none;
  background-color: #ffffff;
  padding: 14px 16px;
  font-size: 1.1rem;
  font-family: 'Raleway', sans-serif;
  border-radius: 0;
}

#country-code-btn,
#company-country-code-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 60px;
  flex-shrink: 0;
  padding: 8px 12px;
}

.flag-icon {
  width: 52px;
  height: auto;
  margin-right: 0;
}

.input-group .form-control {
  border-left: none;
  border-radius: 0;
  width: 100%;
  flex: 1;
}

.input-group .form-control:focus {
  border-left: 1px solid var(--primary-orange);
}

input.form-control,
select.form-select {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 14px 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    background-color: transparent;
    height: auto!important;
}

/* Submit Button Container (Parent) */
#submit-button-container,
#company-submit-button-container {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

#following-btn,
#company-following-btn {
  background-color: var(--primary-orange);
  border: none;
  color: #ffffff;
  font-weight: 600;
  padding: 18px 50px;
  font-size: 1.15rem;
  border-radius: 0;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Raleway', sans-serif;
}

#following-btn:hover,
#company-following-btn:hover {
  background-color: var(--dark-orange);
  color: #ffffff;
}

#following-btn:focus,
#company-following-btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.5);
}

/* Payment Method Styles */
.payment-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border-gray);
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.payment-option:hover {
  border-color: var(--primary-orange);
  background-color: #fff4e6;
}

.payment-option input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 1rem;
  accent-color: var(--primary-orange);
}

.payment-option label {
  margin-bottom: 0;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.payment-icon {
  margin-right: 0.5rem;
  font-size: 1.3rem;
}

.btn-outline-secondary {
  border: 1px solid var(--border-gray);
  color: var(--dark-gray);
  font-weight: 600;
  padding: 18px 50px;
  font-size: 1.15rem;
  border-radius: 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Raleway', sans-serif;
  text-decoration: none;
}

.btn-outline-secondary:hover {
  background-color: var(--dark-gray);
  border-color: var(--dark-gray);
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
  #watermark-logo {
    font-size: 5rem;
    left: 2%;
  }
  
  #price-banner {
    font-size: 18px;
    line-height: 27px;
    white-space: normal;
    text-align: center;
  }
  
  #price-banner .highlight-text {
    font-size: 18px;
    line-height: 27px;
  }
  
  #form-container {
    padding: 1.5rem;
  }
  
  #left-image-container {
    min-height: auto;
  }
  
  #right-form-container {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  #top-section {
    padding: 1rem;
  }
  
  #booking-label {
    font-size: 0.8rem;
  }
  
  #price-banner {
    font-size: 16px;
    line-height: 24px;
    padding: 0.75rem;
    white-space: normal;
  }
  
  #price-banner .highlight-text {
    font-size: 16px;
    line-height: 24px;
  }
  
  #progress-steps-container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .step-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-circle-parent {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    width: 64px;
    height: 64px;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .step-label-parent {
    font-size: 0.85rem;
    width: 100%;
  }

  .progress-line {
    width: 60px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  #form-title {
    font-size: 2rem;
  }
  
  #user-type-underline-active {
    width: 160px !important;
  }
  
  .user-type-btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  #user-type-container {
    display: flex;
    flex-direction: column;
  }
  
  #form-container {
    padding: 1.5rem 1rem;
  }
  
  #form-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .user-type-btn {
    font-size: 1.1rem;
  }
  
  #registration-form .form-label {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }
  
  #registration-form .form-control,
  #registration-form .form-select {
    padding: 12px 14px;
    font-size: 1rem;
  }
  
  .input-group .btn {
    padding: 12px 14px;
    font-size: 1rem;
  }
  
  #following-btn,
  #company-following-btn {
    width: 100%;
    padding: 16px 35px;
    font-size: 1.05rem;
  }
  
  #left-image-container {
    min-height: auto;
  }
  
  #right-form-container {
    min-height: auto;
  }
}

@media (max-width: 576px) {
  #watermark-logo {
    font-size: 3rem;
  }
  
  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  .step-label {
    font-size: 0.8rem;
  }
  
  .progress-line {
    width: 60px;
    margin: 0 3px;
  }
  
  #form-title {
    font-size: 2rem;
  }
  
  #user-type-underline-active {
    width: 180px !important;
  }
  
  .user-type-btn {
    font-size: 1rem;
  }
  
  #form-container {
    padding: 1.5rem 1rem;
  }
  
  #registration-form .form-label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  
  #registration-form .form-control,
  #registration-form .form-select {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  
  .input-group .btn {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  
  #following-btn,
  #company-following-btn {
    padding: 14px 35px;
    font-size: 1rem;
  }
  
  #form-section {
    padding: 1.5rem 1rem;
  }
}

/* Payment Page Responsive Styles */
@media (max-width: 991px) {
  #left-order-container,
  #right-form-container {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  
  #right-form-container {
    border-left: none !important;
    border-top: 1px solid #e0e0e0;
  }
  
  .invoice-tooltip,
  .credit-card-tooltip {
    white-space: normal !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  #left-order-container {
    padding: 1.5rem !important;
  }
  
  #right-form-container {
    padding: 1.5rem !important;
  }
  
  #right-form-container > div {
    padding-left: 0 !important;
  }
  
  #form-container {
    padding: 1rem 0 !important;
  }
  
  .payment-tabs {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  .invoice-wrapper,
  .credit-card-wrapper {
    width: 100%;
  }
  
  .invoice-wrapper button,
  .credit-card-wrapper button {
    width: 100%;
  }
  
  .invoice-tooltip,
  .credit-card-tooltip {
    max-width: 100% !important;
    white-space: normal !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
  }
  
  #progress-steps-container {
    gap: 0.5rem !important;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .step-circle-parent {
    width: 48px !important;
    height: 48px !important;
    left: 0 !important;
  }
  
  .step-number {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }
  
  .step-dotted-circle {
    width: 48px !important;
    height: 48px !important;
  }
  
  .progress-line {
    width: 40px !important;
  }
  
  .step-label-parent {
    font-size: 0.75rem !important;
  }
  
  .order-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .order-item-image {
    margin-right: 0 !important;
  }
  
  .payment-icons {
    justify-content: center;
  }
  
  #pay-btn {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 0.9rem !important;
  }
  
  #payment-form .row {
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 480px) {
  #left-order-container,
  #right-form-container {
    padding: 1rem !important;
  }
  
  #form-title {
    font-size: 1.4rem !important;
  }
  
  .step-item {
    min-width: 60px !important;
  }
  
  .progress-line {
    width: 25px !important;
  }
  
  .discount-code .d-flex {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  #discount-form .input-group {
    flex-direction: column;
  }
  
  #discount-form .input-group .btn {
    border-left: 1px solid var(--border-gray) !important;
    width: 100%;
  }
  
  #discount-form .input-group .form-control {
    border-right: 1px solid var(--border-gray) !important;
  }
}

.user-form-title {
	margin-bottom: 0px;
}
