/* =========================================================
   LABELLE IMÓVEIS
   BUSCA DE IMÓVEIS
========================================================= */


/* =========================================================
   SEÇÃO
========================================================= */

.search-section {
    position: relative !important;

    z-index: 30 !important;

    width: 100% !important;

    margin-top: -130px !important;
    margin-bottom: 0 !important;

    padding: 0 !important;

    background: transparent !important;
}


/* =========================================================
   CONTAINER
========================================================= */

.search-section > .container {
    position: relative;

    z-index: 5;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.property-search {
    width: 100%;

    min-height: 72px;

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr
        1fr
        190px;

    align-items: stretch;

    gap: 0;

    margin: 0;

    padding: 0;

    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.045);

    border-radius: 8px;

    background-color: #ffffff;

    box-shadow:
        0 12px 32px rgba(10, 32, 25, 0.15);
}


/* =========================================================
   CAMPOS
========================================================= */

.search-field {
    position: relative;

    min-width: 0;
    min-height: 72px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 0 24px;

    background-color: #ffffff;

    border-right: 1px solid #e6e5e1;
}


/* =========================================================
   LABEL
========================================================= */

.search-field label {
    margin: 0 0 6px;

    font-family: var(--font-primary);

    font-size: 9px;

    font-weight: 600;

    line-height: 1;

    letter-spacing: 0.15px;

    text-transform: none;

    color: #707570;
}


/* =========================================================
   SELECT WRAPPER
========================================================= */

.search-select {
    position: relative;

    width: 100%;

    display: flex;

    align-items: center;
}


/* REMOVE ÍCONES ANTIGOS */

.search-select > svg {
    display: none;
}


/* =========================================================
   SELECT
========================================================= */

.search-select select {
    width: 100%;
    height: 27px;

    margin: 0;

    padding: 0 25px 0 0;

    border: 0;

    outline: 0;

    background-color: transparent;

    font-family: var(--font-primary);

    font-size: 11px;

    font-weight: 400;

    color: #222722;

    cursor: pointer;
}


/* =========================================================
   BOTÃO BUSCAR
========================================================= */

.search-button {
    min-width: 0;

    min-height: 48px;

    align-self: center;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin: 10px;

    padding: 0 18px;

    border: 0;

    border-radius: 5px;

    background-color: #0b4b3b;

    color: #ffffff;

    font-family: var(--font-primary);

    font-size: 11px;

    font-weight: 600;

    white-space: nowrap;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.search-button svg {
    width: 15px;
    height: 15px;

    stroke-width: 1.8;
}


.search-button:hover {
    background-color: #06382c;

    transform: translateY(-1px);

    box-shadow:
        0 6px 18px rgba(6, 47, 37, 0.18);
}


/* =========================================================
   RESULTADOS
========================================================= */

.search-result-message {
    width: 100%;

    margin: 12px 0 0;

    padding: 0;
}


/* =========================================================
   RESULTADO ENCONTRADO
========================================================= */

.search-success {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 13px 16px;

    border: 1px solid rgba(6, 47, 37, 0.10);

    border-radius: 7px;

    background-color: #ffffff;

    box-shadow:
        0 7px 22px rgba(0, 0, 0, 0.05);
}


.search-success span {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #062f25;

    font-size: 11px;

    font-weight: 600;
}


.search-success svg {
    width: 15px;
    height: 15px;
}


/* =========================================================
   SEM RESULTADOS
========================================================= */

.search-empty {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 16px;

    border: 1px solid rgba(6, 47, 37, 0.10);

    border-radius: 7px;

    background-color: #ffffff;
}


.search-empty-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: #edf3f0;

    color: #062f25;
}


.search-empty-icon svg {
    width: 19px;
    height: 19px;
}


.search-empty strong {
    display: block;

    margin-bottom: 3px;

    font-size: 12px;

    color: #171917;
}


.search-empty p {
    margin: 0;

    font-size: 10px;

    color: #777e79;
}


/* =========================================================
   LIMPAR FILTROS
========================================================= */

.search-success button,
.search-empty button {
    margin-left: auto;

    padding: 7px 12px;

    border: 1px solid #d8ddd9;

    border-radius: 5px;

    background-color: #ffffff;

    color: #062f25;

    font-size: 10px;

    font-weight: 600;
}


.search-success button:hover,
.search-empty button:hover {
    color: #ffffff;

    background-color: #062f25;
}


/* =========================================================
   NOTEBOOK
========================================================= */

@media (max-width: 1100px) {

    .search-section {
        margin-top: -78px !important;
    }


    .property-search {
        grid-template-columns:
            repeat(2, 1fr);

        padding: 12px;
    }


    .search-field {
        min-height: 56px;

        padding: 0 14px;

        border-right: 0;

        border-bottom: 1px solid #ecebe7;
    }


    .search-button {
        grid-column: 1 / -1;

        width: 100%;
        height: 48px;

        margin: 8px 0 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .search-section {
        margin-top: -52px !important;
    }


    .property-search {
        grid-template-columns: 1fr;

        padding: 12px;
    }


    .search-field {
        min-height: 55px;
    }


    .search-button {
        grid-column: auto;
    }


    .search-success,
    .search-empty {
        align-items: flex-start;

        flex-direction: column;
    }


    .search-success button,
    .search-empty button {
        width: 100%;

        margin-left: 0;
    }

}