/* Google Places Autocomplete dropdown styling.
 *
 * Shared Places UI primitive — currently loaded only by the public
 * booking form. Future sweep will replace the inline CRM block in
 * templates/crm_contacts.html with a <link> to this file.
 *
 * Dark-mode rules are no-ops on the booking form (public/customer
 * pages don't toggle .dark per CLAUDE.md §14) but are kept here so
 * CRM can adopt this file without losing its dark-mode styling.
 */

.pac-container {
    z-index: 10000 !important;
    border-radius: 0.75rem;
    margin-top: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    background-color: white;
}
.dark .pac-container {
    background-color: #1a1a24;
    border-color: #3a3a4d;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.pac-item {
    padding: 10px 12px;
    cursor: pointer;
    border-top: 1px solid #e5e7eb;
    line-height: 1.4;
}
.pac-item:first-child { border-top: none; }
.dark .pac-item {
    color: #e5e7eb;
    border-top-color: #3a3a4d;
}
.pac-item:hover, .pac-item-selected { background-color: #f3f4f6; }
.dark .pac-item:hover, .dark .pac-item-selected { background-color: #222230; }
.pac-item-query { font-weight: 500; font-size: 0.95rem; }
.dark .pac-item-query { color: #22d3ee; }
.pac-matched { font-weight: 600; }
.pac-icon { margin-right: 8px; margin-top: 2px; }
.dark .pac-icon { filter: invert(0.7); }
