/* Structural styles only. Colors, fonts, sizes, and responsive breakpoints
   are generated dynamically from MultilocMap > Styling settings. */

.location-search-container {
    margin-bottom: 20px;
    position: relative;
}

.location-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#location-address-input {
    flex: 1;
    padding: 12px 15px;
    border-style: solid;
    border-width: 2px;
    transition: border-color 0.3s;
}

.location-search-button,
.location-reset-button {
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.address-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background-color: #f5f5f5; }

.search-status {
    padding: 10px;
    margin-top: 10px;
    display: none;
}
.search-status p { margin: 0; }

.map-location-item {
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.15s ease;
}

.gmm-multilocmap-buttons a { text-decoration: none; }

.location-popup { min-width: 220px; }
.location-popup p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.location-popup svg { flex-shrink: 0; }
.location-popup a { text-decoration: none; }
.location-popup a:hover { text-decoration: underline; }

.popup-distance {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

#location-map {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gmm-multilocmap-reset-control a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}

@media (max-width: 600px) {
    .location-search-bar { flex-direction: column; }
    .location-search-button, .location-reset-button { width: 100%; }
}
