.option-radio {
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
}
input[type="radio"]:checked + .option-radio {
  border-color: #27ae60;
  box-shadow: 0 0 0 2px rgba(39,174,96,0.2);
  background: #f1f8e9;
}
.option-radio:hover {
  border-color: #27ae60;
}

.option-card.active-hover, .tariff-btn {
  transition: all 0.2s ease;
}
.option-card.active-hover:hover, .tariff-btn:hover:not(.active) {
  border-color: #27ae60;
  background: #f1f8e9;
}
.option-card input:checked + .option-card {
  border-color: #27ae60 !important;
  box-shadow: 0 0 0 3px rgba(39,174,96,0.2);
  background: #e8f5e8 !important;
}
.option-card {
  cursor: pointer;
  transition: all 0.2s ease;
}
.option-card:hover {
  border-color: #27ae60;
  background: #f1f8e9;
}
input[type="radio"]:checked + .option-card {
  border-color: #27ae60 !important;
  box-shadow: 0 0 0 3px rgba(39,174,96,0.2);
  background: #e8f5e8 !important;
}
.tariff-btn {
  border: 2px solid #27ae60 !important;
  color: #27ae60;
  transition: all 0.2s ease;
}
.tariff-btn:hover:not(.active), .tariff-btn.active {
  background: #27ae60 !important;
  color: white !important;
}
.qa-item { cursor: pointer; }

.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 32px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e9ecef;
  transition: 0.3s;
  border-radius: 20px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
input:checked + .slider {
  background-color: #27ae60;
  box-shadow: inset 0 0 10px rgba(39,174,96,0.3);
}
input:checked + .slider:before {
  transform: translateX(24px);
}
.counter-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.room-count {
  min-width: 40px;
}

.room-item {
  cursor: pointer;
  transition: all 0.2s ease;
}
.hover-room:hover {
  border-color: #27ae60 !important;
  box-shadow: 0 5px 20px rgba(39,174,96,0.2);
  transform: translateY(-2px);
}
.room-icon i {
  display: block;
}
.counter-btn:disabled {
  opacity: 0.5;
}

/* Eco green slider for #dirt-slider only */
#dirt-slider {
  height: 8px !important;
  border-radius: 10px !important;
  --bs-form-range-bg: #e8f5e8 !important;
  --bs-form-range-border-color: #c3e6cb !important;
  accent-color: #27ae60 !important;
}

/* Webkit (Chrome/Safari) */
#dirt-slider::-webkit-slider-runnable-track {
  height: 8px !important;
  background: linear-gradient(to right, #d4edda 0%, #27ae60 50%, #28a745 100%) !important;
  border-radius: 10px !important;
  border: 1px solid #c3e6cb !important;
}

#dirt-slider::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 24px !important;
  height: 24px !important;
  background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
  border: 3px solid #ffffff !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3), 0 0 0 1px #ffffff !important;
  margin-top: -8px !important;
}

#dirt-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 12px rgba(39, 174, 96, 0.4) !important;
}

/* Firefox */
#dirt-slider::-moz-range-track {
  height: 8px !important;
  background: linear-gradient(to right, #d4edda 0%, #27ae60 50%, #28a745 100%) !important;
  border-radius: 10px !important;
  border: 1px solid #c3e6cb !important;
}

#dirt-slider::-moz-range-thumb {
  width: 24px !important;
  height: 24px !important;
  background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
  border: 3px solid #ffffff !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3) !important;
}

#dirt-slider:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.25rem rgba(39, 174, 96, 0.25) !important;
}

  .form-check {
    border: 2px solid transparent;
    transition: all 0.2s ease;
  }
  
  .form-check:hover {
    box-shadow: 0 0 4px #27ae60;
  }

  .form-check-input {
    display: none;
  }
  
  .form-check-input:checked {
    border-color: #27ae60 !important;
    box-shadow: 0 0 0 0.25rem rgba(39, 174, 96, 0.25) !important;
  }
  
  .form-check-input:checked ~ .form-check-label {
    color: #27ae60;
    font-weight: 600;
  }
  
  /* Parent glow on checked input */
  .form-check-input:checked {
    background-color: #27ae60 !important;
  }
  
  .form-check:has(.form-check-input:checked) {
    border-color: #27ae60;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.4);
    background-color: rgba(39, 174, 96, 0.05);
  }

  /* Mobile Fixed Counter Bar */
.mobile-counter-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #27ae60;
    color: white;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-counter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    padding: 0 20px;
    width: 100%;
}

.counter-label {
    font-size: 14px;
    opacity: 0.9;
}

#mobile-counter-display {
    font-size: 16px;
    min-width: 80px;
}

.counter-price {
    font-size: 16px;
    font-weight: bold;
    margin-left: auto;
    background: rgba(0, 0, 0, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
}

/* Add padding to main content on mobile when counter is visible */
@media (max-width: 768px) {
    body.mobile-counter-active {
        padding-top: 60px;
    }
    
    .mobile-counter-bar {
        display: flex !important;
    }
    
    /* Adjust sticky summary card on mobile */
    .sticky-top {
        top: 60px !important;
    }
}
