/* =========================================================
   Shenasnapet — Structured living location
   ========================================================= */

.shenasnapet-profile-location-field {
    position: relative;
}

.shenasnapet-location-explanation {
    margin: -2px 0 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff8f1;
    color: #6a5d51;
    font-size: 13px;
    line-height: 1.9;
}

.shenasnapet-location-subfield + .shenasnapet-location-subfield {
    margin-top: 14px;
}

.shenasnapet-location-label {
    display: block;
    margin-bottom: 7px;
    color: #444;
    font-size: 13px;
    font-weight: 700;
}

.shenasnapet-profile-location-label {
    display: block;
    margin-bottom: 7px;
    color: #444;
    font-size: 13px;
    font-weight: 700;
}

.shenasnapet-location-picker {
    position: relative;
    width: 100%;
}

.shenasnapet-location-trigger {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    background: #fff;
    color: #323232;
    text-align: start;
    font: inherit;
    cursor: pointer;
}

.shenasnapet-location-trigger:hover,
.shenasnapet-location-trigger:focus-visible {
    border-color: #f28c28;
    outline: none;
}

.shenasnapet-location-chevron {
    flex: 0 0 auto;
    color: #999;
    font-size: 18px;
}

.shenasnapet-location-menu {
    position: absolute;
    z-index: 200;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(34, 34, 34, 0.13);
}

.shenasnapet-location-search-wrap {
    padding: 10px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.shenasnapet-location-search {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fafafa;
    color: #323232;
    font: inherit;
    outline: none;
}

.shenasnapet-location-search:focus {
    border-color: #f28c28;
    background: #fff;
}

.shenasnapet-location-options {
    max-height: 280px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px;
}

.shenasnapet-location-option {
    width: 100%;
    min-height: 52px;
    padding: 8px 11px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #323232;
    text-align: start;
    font: inherit;
    cursor: pointer;
}

.shenasnapet-location-option:hover,
.shenasnapet-location-option.is-selected {
    background: #fff5eb;
}

.shenasnapet-location-option strong {
    font-size: 14px;
    font-weight: 800;
}

.shenasnapet-location-option small {
    color: #888;
    font-size: 11px;
}

.shenasnapet-location-empty {
    padding: 22px 14px;
    color: #888;
    text-align: center;
    font-size: 13px;
}

.shenasnapet-location-legacy {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f7f7f7;
    color: #777;
    font-size: 12px;
    line-height: 1.8;
}

.shenasnapet-location-neighborhood[hidden] {
    display: none !important;
}

/* Lost profile — second owner phone */
.shenasnapet-lost-call-secondary {
    margin-top: 10px;
    background: #fff !important;
    color: #323232 !important;
    border: 1px solid rgba(50, 50, 50, 0.14) !important;
}

.shenasnapet-lost-call-secondary:hover {
    border-color: #f28c28 !important;
    color: #f28c28 !important;
}

@media (max-width: 767px) {
    .shenasnapet-location-menu {
        position: relative;
        top: auto;
        margin-top: 7px;
        box-shadow: none;
    }

    .shenasnapet-location-options {
        max-height: 250px;
    }
}
