/* =========================
   CTA MODAL BASE
========================= */

.ctaModal {
  text-align: left;
}

.ctaModal .h4 {
  font-size: 1.5rem !important;
}

.ctaModal p {
  line-height: 1.4;
}

.ctaModal .text-primary {
  color: #2c7a7b !important;
}

/* =========================
   MODAL CORE
========================= */

.ctaModal .modal-content {
  border-radius: 16px;
  border: none;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
  background: #ffffff;
  padding: 1.5rem;
}

.ctaModal .modal-header {
  border: none;
  padding: 0 1rem;
}

.ctaModal .modal-title {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-top: 0 !important;
}

.ctaModal .close {
  font-size: 1.5rem !important;
  transition: opacity 0.2s ease;
  line-height: 1;
  background: transparent;
}

/* =========================
   SLIDER
========================= */

.ctaModal .slider-container {
  max-width: 100%;
  margin: 1rem auto;
  text-align: center;
  /* Add this line to ensure variable is defined */
  --slider-progress: 50%;
}

.ctaModal #unitSlider {
  width: 100%;
  cursor: pointer;
  -webkit-appearance: none;
  height: 4px;
  outline: none;
  background: #b5b5b5;
  position: relative;
  /* Set initial progress */
  --slider-progress: 50%;
}

/* For Webkit browsers (Chrome, Safari, Edge) */
.ctaModal #unitSlider::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(
    to right,
    #107e7f 0%,
    #107e7f var(--slider-progress, 50%),
    #b5b5b5 var(--slider-progress, 50%),
    #b5b5b5 100%
  );
  border-radius: 2px;
}

.ctaModal #unitSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  background: linear-gradient(145deg, #fefefe, #eeeeee, #fefefe);
  border: 4px solid #107e7f;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -13px; /* Centers thumb on track */
  position: relative;
  z-index: 1;
}

/* For Firefox */
.ctaModal #unitSlider::-moz-range-track {
  height: 4px;
  background: linear-gradient(
    to right,
    #107e7f 0%,
    #107e7f var(--slider-progress, 50%),
    #b5b5b5 var(--slider-progress, 50%),
    #b5b5b5 100%
  );
  border-radius: 2px;
}

.ctaModal #unitSlider::-moz-range-thumb {
  width: 30px;
  height: 30px;
  background: linear-gradient(145deg, #fefefe, #eeeeee, #fefefe);
  border: 4px solid #107e7f;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.ctaModal #unitSlider::-webkit-slider-thumb:hover,
.ctaModal #unitSlider::-moz-range-thumb:hover {
  background: radial-gradient(circle, white 55%, transparent 40%), #107e7f;
}

/* =========================
   IMAGE
========================= */

.ctaModal #unitImages {
  width: 100%;
  max-height: 240px;
  margin: 1.25rem 0;
  transition: transform 0.3s;
}

.ctaModal #unitImages:hover {
  transform: scale(1.02);
}

/* =========================
   UNIT INFO
========================= */

.ctaModal .unit-container {
  border-radius: 12px;
  padding: 1.5rem;
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04); */
  text-align: center;
}


.ctaModal .unit-metric {
  font-size: 1rem;
  color: #718096;
}

.ctaModal .unit-description {
  font-style: italic;
  color: #6c757d;
  font-size: 0.95rem;
}

.ctaModal .unit-details {
  font-weight: 500;
  color: #319795;
}

/* =========================
   PROGRESS STEPS
========================= */

.ctaModal .progress-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 1rem;
}

.ctaModal .progress-line {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #e2e8f0;
}

.ctaModal .step {
  width: 36px;
  height: 36px;
  background-color: #cbd5e0;
  border-radius: 50%;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctaModal .step.active {
  background-color: #107e7f;
}

/* =========================
   BUTTONS
========================= */

.ctaModal .modal-footer {
  border: none;
  padding: 0 1rem;
}

.ctaModal .btn {
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  border-radius: 8px !important;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.ctaModal .btn.btn-primary {
  background: #107e7f;
  border: none;
}

.ctaModal .btn.btn-primary:hover {
  background: #38a89d;
}

.ctaModal .btn.btn-yellow {
  background-color: #f5dc4a;
  border: none;
  color: #fff !important;
}

.ctaModal .btn.btn-yellow:hover {
  background-color: #dd6b20;
}

/* 
.ctaModal .custom-control-label::before {
  left: -1.5rem !important; 
} */
/* =========================
   SHINE EFFECT
========================= */

.ctaModal .location-suggestion-banner .btn-primary {
  position: relative;
  overflow: hidden;
}

.ctaModal .location-suggestion-banner .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.1),
    rgba(255,255,255,0.4),
    rgba(255,255,255,0.1)
  );
  transform: skewX(-20deg);
  animation: shine 4s infinite;
  pointer-events: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .ctaModal #unitImages {
    max-height: 180px;
  }

  .ctaModal .unit-container {
    padding: 1rem;
  }

  .ctaModal .modal-body {
    padding: 1rem 0.5rem;
  }

  .ctaModal .modal-header,
  .ctaModal .modal-footer {
    padding: 0;
  }
}

/* =========================
   ANIMATIONS
========================= */

@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}



.ctaModal .autocomplete-results{
  overflow: auto;
  position: absolute;
  width: 96%;
  height: 250px;
  z-index: 99999;
  border-radius: 0;
}

@media (max-width: 768px) {
  .ctaModal .autocomplete-results {
    width: 79% !important;
  }
}

.ctaModal .autocomplete-results a{
  text-decoration: none;
  font-size: 0.8rem;
}
.ctaModal input[type="text"], .ctaModal input[type="email"], .ctaModal input[type="tel"]{
  background-color: #fff !important;
  border-color: #ccc;
}

.ctaModal input:focus, .ctaModal select:focus{
  border-color: #107e7f !important;
  box-shadow: none;
}

.ctaModal select, .ctaModal input{
  border-radius: .25rem !important;
}


/* Datepicker icon fix */
.gj-icon {
  padding-top: 8px;
  padding-right: 15px;
}

.pac-container {
  z-index: 9999 !important; 
}

/* Error Alert */
#frequency-error-form {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

input[readonly] {
  background-color: #fff !important;
}
/* .infolegal p{
  opacity: 0.9;
} */

.cta-datepicker{
  cursor: pointer;
}

table, table td{
  margin: 0 !important;
  border: none !important;
}

table thead, table tr, table tr th {
  color: #222 !important;
  border: none !important;
}









































/* =========================================================
  CTA RESULT
========================== */

/* ==========================
   MODAL WIDTHS
========================== */

@media (min-width: 576px) {
  .ctaModal#cta-result .modal-dialog {
    max-width: 700px;
  }
}

@media (min-width: 992px) {
  .ctaModal#cta-result .modal-lg {
    max-width: 1000px;
  }
}

/* ==========================
   INSTANT MATCHES
========================== */

.ctaModal#cta-result #facilities .instant-matches .card {
  background: #fefdf7;
  border-radius: 8px;
  position: relative;
}

.ctaModal#cta-result #facilities .instant-matches img {
  height: 150px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* Partner Tag */

.ctaModal#cta-result #facilities .instant-matches .partner-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 115px;
  height: auto;
  z-index: 10;
  border: 1px solid black;
}

@media (max-width: 767px) {
  .ctaModal#cta-result #facilities .instant-matches .partner-tag {
    width: 80px;
  }
}

/* Unit Info Box */

.ctaModal#cta-result #facilities .instant-matches .unit-info {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ctaModal#cta-result #facilities .instant-matches .unit-info .col-6 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}

.ctaModal#cta-result #facilities .instant-matches .unit-info i {
  font-size: 0.9rem;
  opacity: 0.8;
}

.ctaModal#cta-result #facilities .instant-matches .unit-info .border-right {
  border-right: 1px solid #ddd;
}

/* Call Direct */

.ctaModal#cta-result #facilities .instant-matches .call-direct {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.ctaModal#cta-result #facilities .instant-matches .call-direct a {
  color: #e63946;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ctaModal#cta-result #facilities .instant-matches .call-direct a:hover {
  color: #c32d3e;
}

@media (max-width: 767px) {
  .ctaModal#cta-result #facilities .instant-matches .call-direct {
    gap: 6px;
  }

  .ctaModal#cta-result #facilities .instant-matches .call-direct span,
  .ctaModal#cta-result #facilities .instant-matches .call-direct a {
    display: block;
    margin: 0;
    font-size: 1.1rem;
  }

  .ctaModal#cta-result #facilities .instant-matches .call-direct a {
    font-size: 1.2rem;
  }
}

/* ==========================
   LINK RESET
========================== */

.ctaModal#cta-result #facilities a:hover {
  text-decoration: none;
}

/* ==========================
   LOADING STATE
========================== */

.ctaModal#cta-result #facilities .modern-loading {
  background: #fefdf7;
  border-radius: 20px;
  margin: 20px 0;
  padding: 150px 20px;
}

.ctaModal#cta-result #facilities .loading-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 10px;
}

.ctaModal#cta-result #facilities .loading-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.ctaModal#cta-result #facilities .loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e63946;
  animation: bounce 1.4s ease-in-out infinite both;
}

.ctaModal#cta-result #facilities .loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.ctaModal#cta-result #facilities .loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

.ctaModal#cta-result #facilities .loading-dots span:nth-child(3) {
  animation-delay: 0s;
}

/* ==========================
   ERROR STATE
========================== */

.ctaModal#cta-result #facilities .modern-error {
  background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #fed7d7;
}

.ctaModal#cta-result #facilities .modern-error .error-icon {
  font-size: 4rem;
  color: #e53e3e;
}

.ctaModal#cta-result #facilities .modern-error .error-icon i {
  filter: drop-shadow(0 4px 8px rgba(229, 62, 62, 0.2));
}

/* ==========================
   BUTTON
========================== */

.ctaModal#cta-result #facilities .btn-gradient-primary {
  background: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.ctaModal#cta-result #facilities .btn-gradient-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
  color: white;
}

/* ==========================
   ANIMATIONS
========================== */

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* ==========================
   FILTERS
========================== */

.ctaModal#cta-result .filters .filter-bar {
  background: #fefdf7;
  border-radius: 12px;
}

.ctaModal#cta-result .filters .filter-bar label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.ctaModal#cta-result .filters .filter-bar input.form-control {
  font-size: 0.95rem;
  background-color: transparent;
}

.ctaModal#cta-result .filters .filter-bar input.form-control:focus {
  outline: none;
  box-shadow: none;
}

.ctaModal#cta-result .filters .filter-bar .form-select {
  font-size: 0.95rem;
  background-color: #fff;
  border-color: #e2e6ea;
  transition: all 0.2s ease-in-out;
}

.ctaModal#cta-result .filters .filter-bar .form-select:focus {
  border-color: #6366f1;
}

.ctaModal#cta-result .filters .filter-bar .d-flex {
  border-color: #e2e6ea;
  transition: border-color 0.2s ease;
}

.ctaModal#cta-result .filters .filter-bar .d-flex:focus-within {
  border-color: #6366f1;
}

.ctaModal#cta-result .filters .filter-bar .d-flex i {
  font-size: 1rem;
}

/* ==========================
   LOCATION SUGGESTION
========================== */

.ctaModal#cta-result .location-suggestion-banner .card {
  background: #fefdf7;
  border-radius: 12px;
}


.bg-radical-red {
	background-color: #ff336a!important;
  color: #fff;
}

a.bg-radical-red:hover, a.bg-radical-red:focus,
button.bg-radical-red:hover,
button.bg-radical-red:focus {
  background-color: #ff0045 !important;
}