.geolak-search {
    position: relative;
    width: 100%;
    max-width: none;
    min-width: 0;
    display: block;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

.geolak-search__label {
    display: block;
    margin-bottom: 6px;
    color: #1d2a3a;
    font-weight: 600;
    font-size: 14px;
}

.geolak-search__controls {
    position: relative;
    width: 100%;
}

.geolak-search__dropdown {
    display: none;
    position: absolute;
    z-index: 50;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #ccd6df;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 14px 30px rgba(22, 31, 44, 0.16);
    overflow: hidden;
    max-height: 330px;
    flex-direction: column;
}

.geolak-search__dropdown.is-visible {
    display: flex;
}

.geolak-search__input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b8c4cf;
    border-radius: 8px;
    padding: 12px 46px 12px 14px;
    font-size: 16px;
    line-height: 1.3;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

.geolak-search__submit {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #155799;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    line-height: 0;
}

.geolak-search__icon {
    width: 18px;
    height: 18px;
    display: block;
}

.geolak-search__submit:hover,
.geolak-search__submit:focus {
    background: rgba(21, 87, 153, 0.12);
    outline: none;
}

.geolak-search__input:focus {
    border-color: #155799;
    box-shadow: 0 0 0 3px rgba(21, 87, 153, 0.2);
    outline: none;
}

.geolak-search__status {
    min-height: 0;
    padding-top: 0;
    color: #526171;
    font-size: 13px;
}

.geolak-search__status:empty {
    display: none;
}

.geolak-search__results {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    overflow-y: auto;
}

.geolak-search__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid #edf1f5;
}

.geolak-search__item:last-child {
    border-bottom: none;
}

.geolak-search__item:hover,
.geolak-search__item.is-active {
    background: #edf5ff;
}

.geolak-search__title {
    color: #0e1a2b;
    font-size: 15px;
}

.geolak-search__meta {
    color: #5e6b78;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.geolak-search__more {
    display: none;
    padding: 12px 14px;
    border-top: 1px solid #edf1f5;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #155799;
    background: #f7faff;
    cursor: pointer;
}

.geolak-search__more.is-visible {
    display: block;
}

.geolak-search__more:hover,
.geolak-search__more:focus {
    background: #eaf3ff;
    outline: none;
}

@media (max-width: 600px) {
    .geolak-search__input {
        font-size: 15px;
    }

    .geolak-search__item {
        flex-direction: column;
        align-items: flex-start;
    }
}
