/* ============================================================
   BUILDRO SIDEBAR SEARCH V10.3
   ============================================================ */

.re-v103-search {
    position: relative;

    margin-top: 7px;
}


/* ============================================================
   SEARCH FIELD
   ============================================================ */

.re-v103-search-box {
    position: relative;

    width: 100%;
}


.re-v103-search-icon {
    position: absolute;

    left: 11px;
    top: 50%;

    transform:
        translateY(-50%);

    color:
        rgba(255, 255, 255, .36);

    font-size: 12px;

    pointer-events: none;
}


.re-v103-search-input {
    width: 100%;
    height: 39px;

    padding:
        7px
        35px
        7px
        32px;

    background:
        rgba(255, 255, 255, .045);

    border:
        1px solid
        rgba(255, 255, 255, .075);

    border-radius: 10px;

    outline: none;

    color:
        rgba(255, 255, 255, .90);

    font-size: 11.5px;
    font-weight: 500;

    transition:
        background .14s ease,
        border-color .14s ease,
        box-shadow .14s ease;
}


.re-v103-search-input::placeholder {
    color:
        rgba(255, 255, 255, .33);
}


.re-v103-search-input:focus {
    background:
        rgba(255, 255, 255, .065);

    border-color:
        rgba(25, 135, 84, .48);

    box-shadow:
        0 0 0 3px
        rgba(25, 135, 84, .09);
}


/*
   Chrome / Safari search native X kaldır.
*/

.re-v103-search-input::-webkit-search-cancel-button {
    display: none;
}


/* ============================================================
   CLEAR
   ============================================================ */

.re-v103-search-clear {
    position: absolute;

    right: 6px;
    top: 50%;

    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform:
        translateY(-50%);

    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 7px;

    color:
        rgba(255, 255, 255, .38);

    font-size: 10px;

    cursor: pointer;
}


.re-v103-search-clear:hover {
    background:
        rgba(255, 255, 255, .06);

    color: #ffffff;
}


.re-v103-search-clear[hidden] {
    display: none !important;
}


/* ============================================================
   RESULTS
   ============================================================ */

.re-v103-search-results {
    margin-top: 5px;

    padding: 5px;

    background:
        rgba(0, 0, 0, .16);

    border:
        1px solid
        rgba(255, 255, 255, .065);

    border-radius: 10px;
}


.re-v103-search-results[hidden] {
    display: none !important;
}


.re-v103-result {
    width: 100%;

    min-height: 36px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding:
        6px
        8px;

    border-radius: 7px;

    color:
        rgba(255, 255, 255, .70);

    text-decoration: none;

    transition:
        background .13s ease,
        color .13s ease;
}


.re-v103-result:hover,
.re-v103-result.keyboard-active {
    background:
        rgba(25, 135, 84, .13);

    color: #ffffff;
}


.re-v103-result-icon {
    width: 18px;

    flex:
        0 0 18px;

    color: #6db78f;

    font-size: 12.5px;

    text-align: center;
}


.re-v103-result-copy {
    min-width: 0;

    flex: 1;
}


.re-v103-result-title {
    overflow: hidden;

    color: inherit;

    font-size: 11.5px;
    font-weight: 650;

    line-height: 1.2;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.re-v103-result-group {
    margin-top: 2px;

    overflow: hidden;

    color:
        rgba(255, 255, 255, .31);

    font-size: 8.5px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: .04em;

    text-transform: uppercase;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* ============================================================
   EMPTY STATE
   ============================================================ */

.re-v103-empty {
    padding:
        10px
        8px;

    color:
        rgba(255, 255, 255, .40);

    font-size: 10.5px;

    text-align: center;
}


/* ============================================================
   SEARCH MODE
   ============================================================ */

/*
   Kullanıcı ararken normal accordion'u gizliyoruz.
   Sonuçlar daha temiz görünür.
*/

.re-sidebar.re-v103-searching
#buildroSidebarAccordion {
    display: none;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 991.98px) {

    .re-v103-search-input {
        height: 44px;

        font-size: 16px;
    }


    .re-v103-result {
        min-height: 43px;

        padding:
            8px
            9px;
    }


    .re-v103-result-title {
        font-size: 13px;
    }

}
