/* ================================================================
   PUBLIC INSTANT SEARCH
   ================================================================ */

.public-list-search {
    width: 100%;
    margin: 0 0 28px;
}

.public-list-search__form {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.public-list-search__field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.public-list-search__input {
    width: 100%;
    min-height: 46px;
    padding: 10px 46px 10px 43px;
    border: 1px solid #dfe4eb;
    border-radius: 8px;
    background: #fff;
    color: #282828;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.public-list-search__input::placeholder {
    color: #888;
}

.public-list-search__input:focus {
    border-color: #006bb7;
    box-shadow: 0 0 0 3px rgba(0, 107, 183, .10);
}

.public-list-search__icon {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    color: #666;
    font-size: 14px;
    transform: translateY(-50%);
    pointer-events: none;
}

.public-list-search__clear {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #666;
    transform: translateY(-50%);
    cursor: pointer;
}

.public-list-search__clear:hover,
.public-list-search__clear:focus {
    background: #f0f0f0;
    color: #262626;
    outline: none;
}

.public-list-search__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    min-height: 46px;
    padding: 10px 22px;
    border: 1px solid #002ebe;
    border-radius: 8px;
    background: #002ebe;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.public-list-search__button:hover,
.public-list-search__button:focus {
    background: #006bb7;
    border-color: #006bb7;
    color: #fff;
    outline: none;
}

.public-list-search__meta {
    min-height: 20px;
    max-width: 720px;
    margin: 8px auto 0;
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}

.public-list-search__meta:empty {
    min-height: 0;
    margin-top: 0;
}

.public-list-search__empty {
    max-width: 720px;
    margin: 18px auto 0;
    padding: 18px 20px;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    background: #f7f8fa;
    color: #444;
    text-align: center;
}

.public-list-search__empty > i {
    display: block;
    margin-bottom: 7px;
    color: #006bb7;
    font-size: 20px;
}

.public-list-search__empty strong,
.public-list-search__empty span {
    display: block;
}

.public-list-search__empty strong {
    margin-bottom: 3px;
    color: #282828;
    font-size: 14px;
}

.public-list-search__empty span {
    font-size: 13px;
    line-height: 1.55;
}

.public-search-hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .public-list-search {
        margin-bottom: 22px;
    }

    .public-list-search__form {
        gap: 8px;
    }

    .public-list-search__input {
        min-height: 44px;
        padding-left: 40px;
        font-size: 13px;
    }

    .public-list-search__icon {
        left: 14px;
    }

    .public-list-search__button {
        min-width: 46px;
        min-height: 44px;
        padding: 10px 14px;
    }

    .public-list-search__button span {
        display: none;
    }
}
