/*
 * 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.
 */

/* Lightbox modal custom styles */
[data-lightbox-target="modal"] {
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-lightbox-target="modal"].hidden {
  display: none;
}
[data-lightbox-target="prevButton"],
[data-lightbox-target="nextButton"] {
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.2s;
}
[data-lightbox-target="prevButton"]:hover,
[data-lightbox-target="nextButton"]:hover {
  background: rgba(0,0,0,0.6);
}
[data-lightbox-target="modalImage"] {
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.dropup {
  bottom: 100%;
}

/* Hide browser default search input clear button */
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}