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

/* ═══════════════════════════════════════════════════════════════════
   Google Places Autocomplete dropdown — match DadaFind design
   ═══════════════════════════════════════════════════════════════════ */
.pac-container {
    font-family: "Inter", system-ui, sans-serif;
    border: 1px solid #e5e7eb;
    /* gray-200 */
    border-radius: 0.75rem;
    /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    /* shadow-lg */
    margin-top: 4px;
    z-index: 9999;
    overflow: hidden;
}

.pac-item {
    padding: 10px 16px;
    cursor: pointer;
    border-top: 1px solid #f3f4f6;
    /* gray-100 */
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #1f2937;
    /* gray-800 */
    transition: background-color 150ms ease;
}

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

.pac-item:hover {
    background-color: #ede9fe;
    /* brand-100 (light violet) */
}

.pac-item-selected,
.pac-item-selected:hover {
    background-color: #ddd6fe;
    /* brand-200 */
}

.pac-icon {
    display: none;
    /* hide default Google pin icons */
}

.pac-item-query {
    font-weight: 600;
    color: #111827;
    /* gray-900 */
}

.pac-matched {
    font-weight: 700;
    color: #6d28d9;
    /* brand-600 */
}
