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

/* Collapsible panel chevron rotation */
details[open] summary svg {
  transform: rotate(180deg);
}

details summary::-webkit-details-marker {
  display: none;
}

/* Google Places Autocomplete styling */
.address-autocomplete-input {
  display: block;
  width: 100%;
}

/* Legacy pac-* classes for older API */
.pac-container {
  font-family: ui-sans-serif, system-ui, sans-serif;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  margin-top: 0.25rem;
}

.pac-item {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border-top: 1px solid #f3f4f6;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover {
  background-color: #f9fafb;
}

.pac-item-selected,
.pac-item-selected:hover {
  background-color: #f3e8ff;
}

.pac-icon {
  display: none;
}

.pac-item-query {
  font-size: 0.875rem;
  color: #111827;
}

.pac-matched {
  font-weight: 600;
}
