/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.map-box {
  height: 320px;
  width: 100%;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  background: #f8f9fa;
}

.stack-images-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.stack-image-tile {
  flex: 0 0 calc(50% - 0.5rem);
  max-width: calc(50% - 0.5rem);
  text-align: center;
}

@media (min-width: 768px) {
  .stack-image-tile {
    flex: 0 0 calc(25% - 0.75rem);
    max-width: calc(25% - 0.75rem);
  }
}

.stack-image-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f8f9fa;
  cursor: zoom-in;
}

.stack-text-images {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
}

.stack-text-image-tile {
  flex: 1 1 0;
  max-width: 160px;
  text-align: center;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.85);
}

.image-lightbox-photo {
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 0.375rem;
}

.image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}


.navbar-text {
  color: rgba(255, 255, 255, 0.75);
}

.flash-toast-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.35);
}

.flash-toast-overlay .toast {
  pointer-events: auto;
  min-width: min(28rem, 92vw);
}

