/* Mortgage Calculator Specific Styles */

/* Range Slider Styling */
.form-range {
  height: 6px;
  border-radius: 3px;
}

.form-range::-webkit-slider-thumb {
  background-color: var(--bs-primary);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -6px;
}

.form-range::-moz-range-thumb {
  background-color: var(--bs-primary);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
}

.form-range::-ms-thumb {
  background-color: var(--bs-primary);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
}

.form-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Card Styling */
.card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Button Group Styling */
.btn-group .btn {
  padding: 0.5rem 1rem;
}

.btn-check:checked + .btn-outline-primary {
  background-color: var(--bs-primary);
  color: white;
}

/* Results Section */
.mortgage-details {
  font-size: 0.95rem;
}

/* Animation for Monthly Payment */
@keyframes highlight {
  0% {
    background-color: rgba(13, 110, 253, 0.1);
  }
  50% {
    background-color: rgba(13, 110, 253, 0.2);
  }
  100% {
    background-color: rgba(13, 110, 253, 0.1);
  }
}

.highlight-animation {
  animation: highlight 1s ease;
}

/* FAQ Section */
.faq-section .card {
  height: 100%;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .col-lg-8,
  .col-lg-4 {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .btn-group .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .card-body {
    padding: 1.25rem;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    border-radius: 0.25rem !important;
    margin-bottom: 0.5rem;
  }

  .btn-group .btn:not(:last-child) {
    margin-right: 0;
  }
}

/* Hover effect for links */
.hover-text-white:hover {
  color: white !important;
  transition: color 0.3s ease;
} 