/*
 * Application CSS - Propshaft compatible
 * This file is served directly by Propshaft
 */

@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url("/assets/application.tailwind-060cbb71.css");

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#home-hero::before {
  content: '';
  border-radius: .75rem;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 67, 50, 0.75) 0%, rgba(27, 67, 50, 0.85) 100%);
  z-index: 1;
  opacity: 0.4;
}

#home-hero .toggle {
  display: inline-block;
}

#home-hero .toggle.hidden {
  display: none;
}

#home-hero .toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: #52b788;
  border-radius: 2px;
  opacity: 0.9;
  z-index: -1;
}


@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-hero-content > * {
  animation: fadeInUp 0.6s ease-out backwards;
}

.home-hero-content > *:nth-child(1) { animation-delay: 0s; }
.home-hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.home-hero-content > *:nth-child(3) { animation-delay: 0.15s; }
.home-hero-content > *:nth-child(4) { animation-delay: 0.2s; }

/* Custom styles */
@media (min-width: 1024px) {
  .sm\:w-68 {
    width:17rem;
  }
}

.mt-26 {
  margin-top: 6.5rem;
}

h1, h2 {
  font-family: 'Bitter', serif !important;
}

.inter {
  font-family: 'Inter', sans-serif !important;
}

/* Cropper.js custom styles (CSS loaded dynamically by controller) */
.cropper-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background-color: #f3f4f6;
}

.cropper-wrapper img {
  display: block;
  max-width: 100%;
}

@media (min-width: 640px) {
  #home-search-form gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero'] {
    min-width: 320px;
  }
}

body.hero-mobile-location-overlay-open {
  overflow: hidden;
}

@media (max-width: 639px) {
  #hero-mobile-location-overlay gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero-mobile-overlay'] {
    min-width: 0;
    width: 100%;
  }

  #hero-mobile-location-overlay gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero-mobile-overlay']::part(input) {
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 1rem 5rem 1rem 3.5rem;
  }

  #hero-mobile-location-overlay gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero-mobile-overlay']::part(input)::placeholder {
    color: #6b7280;
    padding-top: 0;
  }

  #hero-mobile-location-overlay gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero-mobile-overlay']::part(prediction-list) {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem;
    box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.45);
    margin-top: 0.75rem;
    overflow: hidden;
  }

  #hero-mobile-location-overlay gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero-mobile-overlay']::part(prediction-item) {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
  }

  #hero-mobile-location-overlay gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero-mobile-overlay']::part(prediction-item-icon) {
    align-self: center;
    margin-top: 0;
  }

  #hero-mobile-location-overlay gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero-mobile-overlay']::part(prediction-item-main-text) {
    display: inline;
    font-size: 1rem;
    line-height: 1.15;
  }

  #current-location-suggestion-mobile {
    width: 100%;
  }

  #current-location-suggestion-mobile .px-5.py-2,
  #current-location-suggestion-mobile .px-5.py-4 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

#search-form-desktop gmp-place-autocomplete.google-place-autocomplete {
  max-width: 100%;
  min-width: 0;
}

gmp-place-autocomplete.google-place-autocomplete {
  box-sizing: border-box;
  display: block;
  width: 100%;
}

gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='address'] {
  padding: 0;
}

gmp-place-autocomplete.google-place-autocomplete::part(input) {
  background: transparent;
  border: 0;
  border-radius: inherit;
  box-sizing: border-box;
  color: inherit;
  font: inherit;
  line-height: inherit;
  min-width: 0;
  outline: 0;
  padding: inherit;
  width: 100%;
}

gmp-place-autocomplete.google-place-autocomplete::part(input)::placeholder {
  color: #9ca3af;
  opacity: 1;
  padding-top: 2px;
}

gmp-place-autocomplete.google-place-autocomplete::part(prediction-list) {
  border: 1px solid #d1d5db;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.12);
  margin-top: 0.5rem;
  overflow: hidden;
}

gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='address']::part(prediction-list) {
  border-radius: 0.75rem;
  margin-top: 0.25rem;
}

gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='address']::part(input) {
  padding: 0.625rem;
}

gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero']::part(prediction-list),
gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero-mobile-overlay']::part(prediction-list),
gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='search-desktop']::part(prediction-list) {
  margin-top: 0.25rem;
}

gmp-place-autocomplete.google-place-autocomplete::part(prediction-item) {
  align-items: flex-start;
  color: #111827;
  font: inherit;
  gap: 0.875rem;
  justify-content: flex-start;
  padding: 0.75rem 1rem;
  text-align: left;
}

gmp-place-autocomplete.google-place-autocomplete::part(prediction-item-icon) {
  align-self: flex-start;
  color: #6b7280;
  flex: 0 0 auto;
  margin-top: 0.125rem;
}

gmp-place-autocomplete.google-place-autocomplete::part(prediction-item-main-text) {
  color: inherit;
  display: inline;
  line-height: 1.2;
  text-align: left;
}

gmp-place-autocomplete.google-place-autocomplete::part(prediction-item-match) {
  font-weight: 600;
}

gmp-place-autocomplete.google-place-autocomplete::part(prediction-item-selected) {
  background-color: #f3f4f6;
}

gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero']::part(prediction-item),
gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='search-desktop']::part(prediction-item) {
  align-items: center;
  min-height: 0;
  padding: 0.1rem 1rem;
}

gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero']::part(prediction-item-icon),
gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='search-desktop']::part(prediction-item-icon) {
  align-self: center;
  margin-top: 0;
}

gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='hero']::part(prediction-item-main-text),
gmp-place-autocomplete.google-place-autocomplete[data-autocomplete-variant='search-desktop']::part(prediction-item-main-text) {
  line-height: 1.1;
}

#benefits-scroll-container::-webkit-scrollbar {
  display: none;
}
