.integrated-search {
    .search-input-wrap {
        background: #f8f8f8;
    }

    .search-input {
        &::placeholder {
            color: var(--gray-300);
        }
    }

    .search-recent {
        margin-top: 24px;
    }

    .search-recent-title {
        padding: 0;
        font-size: 13px;
        font-weight: 600;
        color: var(--gray-900);
    }
}

.integrated-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.integrated-search-clear {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
}

/* 사연·봉사·기부재단 목록에서 진입할 때 보이는 검색 유형 배지 */
.integrated-search-scope {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 3px;
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 1000px;
    background: var(--white-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

.integrated-search-scope-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
}

.integrated-search-tabs {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    padding: 0 16px;
    border-bottom: 1px solid var(--gray-050);
}

.integrated-search-tab {
    padding: 10px 0;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-400);

    &.active {
        border-bottom-color: var(--gray-900);
        font-weight: 700;
        color: var(--gray-900);
    }
}

.integrated-search-list {
    margin-top: 20px;
    padding: 0 16px;

    .content-card {
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--gray-050);
    }

    .story-body {
        & > :last-child {
            margin-bottom: 0;
            border-bottom: 0;
        }
    }
}

.integrated-search-empty {
    padding: 80px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-400);
    text-align: center;
}
