.el-location-field {
    display: grid;
    gap: .75rem;
}

.el-location-field-search {
    display: grid;
    gap: .5rem;
}

.el-location-field-search label {
    display: block;
    margin-bottom: .35rem;
    color: #334155;
    font-size: .78rem;
    font-weight: 700;
}

.el-location-field-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem;
}

.el-location-field-search-row input {
    min-height: 2.75rem;
    width: 100%;
    border: 1px solid #d7e0ea;
    border-radius: .72rem;
    padding: 0 .85rem;
    color: #17253d;
    background: #fff;
}

.el-location-field-search-row input:focus {
    border-color: #00aeb5;
    outline: 0;
    box-shadow: 0 0 0 3px rgb(0 174 181 / 12%);
}

.el-location-field-search-row button,
.el-location-field-coordinates button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 2.75rem;
    border: 0;
    border-radius: .72rem;
    padding: 0 .9rem;
    color: #fff;
    background: #009da6;
    font-size: .76rem;
    font-weight: 750;
    cursor: pointer;
}

.el-location-field-search-row button svg {
    width: 1rem;
    height: 1rem;
}

.el-location-field-search-row button:disabled {
    opacity: .55;
    cursor: wait;
}

.el-location-field-message {
    margin: 0;
    color: #b45309;
    font-size: .75rem;
}

.el-location-field-results {
    display: grid;
    overflow: hidden;
    border: 1px solid #dce5ee;
    border-radius: .75rem;
    background: #fff;
}

.el-location-field-results button {
    display: grid;
    gap: .15rem;
    padding: .65rem .75rem;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    color: #17253d;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.el-location-field-results button:last-child { border-bottom: 0; }
.el-location-field-results button:hover { background: #f0fbfb; }
.el-location-field-results strong { font-size: .78rem; }
.el-location-field-results span { color: #718096; font-size: .68rem; }

.el-location-field-map-shell {
    position: relative;
    min-height: 27rem;
    overflow: hidden;
    border: 1px solid #dce5ee;
    border-radius: .9rem;
    background: #eaf1f5;
    isolation: isolate;
}

.el-location-field-map {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.el-location-field-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .6rem;
    color: #66758c;
    background: #eaf1f5;
}

.el-location-field-loading span {
    width: 2rem;
    height: 2rem;
    border: 3px solid #cde5e7;
    border-top-color: #00aeb5;
    border-radius: 999px;
    animation: el-location-spin .8s linear infinite;
}

@keyframes el-location-spin { to { transform: rotate(360deg); } }

.el-location-field-map-shell .leaflet-container {
    width: 100%;
    height: 100%;
    min-height: 27rem;
    font-family: inherit;
}


.el-location-field-coordinates {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem .75rem;
    border: 1px solid #e2e8f0;
    border-radius: .72rem;
    background: #f8fafc;
}

.el-location-field-coordinates > div {
    display: grid;
    gap: .12rem;
}

.el-location-field-coordinates small {
    color: #75839a;
    font-size: .64rem;
    font-weight: 700;
    text-transform: uppercase;
}

.el-location-field-coordinates strong {
    color: #17253d;
    font-size: .78rem;
}

.el-location-field-coordinates button {
    min-height: 2.1rem;
    color: #475569;
    background: #fff;
    border: 1px solid #d7e0ea;
}

.el-location-field-hint {
    margin: 0;
    color: #6b7a90;
    font-size: .72rem;
}

@media (max-width: 767px) {
    .el-location-field-search-row {
        grid-template-columns: 1fr;
    }

    .el-location-field-map-shell,
    .el-location-field-map-shell .leaflet-container {
        min-height: 20rem;
    }

    .el-location-field-coordinates {
        align-items: flex-start;
        flex-direction: column;
    }
}
