/*
  Laravel additions — loaded after the original stylesheets.
  Inline style="" attributes were moved here so the Content Security Policy
  can block inline styles.
*/

/* Former inline styles */
.bg-neutral-light { background: var(--neutral-light-bg); }
.text-neutral-dark { color: #1f2733 !important; }
.text-neutral-body { color: var(--neutral-body); }
.ratio-team { --bs-aspect-ratio: 120%; }
.team-section-page { background: var(--neutral-light-bg); }
.map-embed { border: 0; }
.step-icon-img {
  width: 38px;
  height: 38px;
  filter: brightness(0) saturate(100%) invert(21%) sepia(45%) saturate(1320%) hue-rotate(185deg) brightness(100%) contrast(92%);
}

/* Swiper 12 draws arrows as SVG instead of an icon font */
.hero-swiper .swiper-button-next svg,
.hero-swiper .swiper-button-prev svg {
  width: 16px;
  height: 16px;
}

/* Forms */
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-control.is-invalid + .invalid-feedback,
.form-select.is-invalid + .invalid-feedback,
.input-icon-wrap .form-control.is-invalid ~ .invalid-feedback { display: block; }

/* Flyer popup */
.flyer-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(18, 31, 51, .72);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.flyer-popup.is-open {
  opacity: 1;
  visibility: visible;
}
.flyer-popup-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  overflow: hidden;
  transform: translateY(16px) scale(.98);
  transition: transform .3s ease;
}
.flyer-popup.is-open .flyer-popup-dialog { transform: none; }
.flyer-popup-picture {
  display: flex;
  justify-content: center;
  min-width: 0;
  background: var(--neutral-light-bg);
}
.flyer-popup-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  /* Leave room for the button bar so the whole flyer fits on short screens */
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px);
}
.flyer-popup-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #fff;
}
.flyer-popup-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--accent-gold);
  color: var(--neutral-dark);
  font-weight: 700;
  text-decoration: none;
}
.flyer-popup-apply:hover,
.flyer-popup-apply:focus-visible { background: #d99a10; color: var(--neutral-dark); }
.flyer-popup-dismiss {
  padding: 10px 22px;
  border: 1px solid #cfd6df;
  border-radius: 999px;
  background: #fff;
  color: var(--neutral-dark);
  font-weight: 600;
}
.flyer-popup-dismiss:hover { background: var(--neutral-light-bg); }
.flyer-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(18, 31, 51, .8);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.flyer-popup-close:hover { background: var(--primary-blue-dark); }
.flyer-popup-close:focus-visible,
.flyer-popup-apply:focus-visible,
.flyer-popup-dismiss:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}
body.flyer-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .flyer-popup,
  .flyer-popup-dialog { transition: none; }
}

/* Bootstrap adds its own caret to .dropdown-toggle; the menu already has a chevron icon */
.main-nav .dropdown-toggle::after { display: none; }
