/* Shared location picker — Google primary, manual fallback */

.location-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-picker__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.location-picker__autocomplete {
    min-height: 44px;
    border-radius: 12px;
}

.location-picker--onboarding .location-picker__autocomplete {
    min-height: 52px;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    padding: 10px 14px;
}

.location-picker__hint {
    margin-top: 2px;
}

.location-picker__fallback-toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: #64748b;
    text-decoration: underline;
    cursor: pointer;
}

.location-picker__fallback-toggle:hover {
    color: #0152ae;
}

.location-picker__fallback {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0 4px;
    border-top: 1px dashed #e2e8f0;
    margin-top: 4px;
}

.location-picker__fallback[hidden] {
    display: none !important;
}

.location-picker.lp--fallback-active .location-picker__fallback {
    display: flex;
}

.location-picker__fallback-row .select2-container {
    width: 100% !important;
}

.location-picker--onboarding .location-picker__fallback-row .select2-container .select2-selection--single {
    min-height: 52px;
    border-radius: 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 10px 14px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .location-picker--portal.lp--fallback-active .location-picker__fallback {
        /*display: block !important;*/
        /*grid-template-columns: 1fr 1fr;*/
        gap: 16px;
        align-items: end;
    }

    .location-picker--portal .location-picker__fallback-row {
        margin: 0;
    }
}

/* Google Places dropdown above modals/onboarding card */
.pac-container {
    z-index: 10000 !important;
    border-radius: 12px;
    font-family: inherit;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.pac-item {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
}
