/* Custom overrides for site-specific tweaks
   - Targeted styles for contact form to give neat, slightly rounded inputs
*/

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="password"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem; /* 8px */
  border: 1px solid rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
  box-shadow: none;
  transition: box-shadow 0.12s ease, border-color 0.12s ease,
    transform 0.06s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(114, 63, 208, 0.5); /* new primary purple */
  box-shadow: 0 0 0 0.15rem rgba(114, 63, 208, 0.08);
}

/* Make labels and form-group spacing consistent with Bootstrap */
.contact-form .mb-3 {
  margin-bottom: 1rem;
}

/* If the form fields are rendered without .form-control, ensure consistent font-size */
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-size: 0.9375rem; /* 15px */
}

/* Slight hover lift for inputs to give a subtle interactive feel */
.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
  transform: translateY(-1px);
}

.homepage-steps-number-bg {
  background-color: #f3ecff !important;
  border-color: #e9dff9 !important;
}

.bg-gradient-primary {
  background: linear-gradient(180deg, #fbf8ff 0%, #ffffff 100%) !important;
}

/* Footer theme adjustments to better match the purple primary color */
footer.bg-dark {
  /* neutral charcoal that pairs with the purple primary */
  background-color: #3e246e !important;
  color: #d6d8db;
}

footer.bg-dark a {
  color: #cfcfcf;
}
footer.bg-dark .btn-primary {
  /* ensure the CTA in the footer uses the primary purple */
  background-color: #723fd0 !important;
  border-color: #723fd0 !important;
}

/* Slightly lift the footer CTA for better visibility */
footer .btn-primary {
  box-shadow: 0 6px 18px rgba(114, 63, 208, 0.18);
}

.main-logo {
  color: #723fd0;
}

/* Rating stars widget */
.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.rating-stars .star {
  cursor: pointer;
  color: #d1d1d1; /* Visible light gray for empty state */
  font-size: 1.6rem;
  transition: color .15s ease, transform .12s ease;
}
.rating-stars .star:hover,
.rating-stars .star.hover,
.rating-stars .star.selected {
  color: var(--bs-primary);
  transform: translateY(-3px);
}

/* Comment textarea enhancements */
.rating-comment {
  position: relative;
}
.rating-comment .char-count {
  position: absolute;
  right: 0.75rem;
  bottom: 0.5rem;
  font-size: .875rem;
  color: rgba(255,255,255,0.7);
}

/* Small helper to make the star full/outline using bootstrap icons */
.star i.bi { pointer-events: none; }