/* Budi Knowledge Base Article List Page Styles */

/* Search Section */
.budi-knowledgebase-article-list__search-wrapper {
    margin-bottom: 32px;
}

.budi-knowledgebase-article-list__search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 600px;
}

.budi-knowledgebase-article-list__search-input {
    width: 100%;
    padding: 12px 16px;
    padding-right: 48px;
    border: 1px solid #DDDCDF;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: #29282A;
    background-color: #FDFDFD;
    transition: border-color 0.3s ease;
}

.budi-knowledgebase-article-list__search-input:focus {
    outline: none;
    border-color: #CC056F;
    box-shadow: 0 0 0 3px rgba(204, 5, 111, 0.1);
}

.budi-knowledgebase-article-list__search-input::placeholder {
    color: #6D6C70;
}

.budi-knowledgebase-article-list__search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: #CC056F;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.budi-knowledgebase-article-list__search-btn:hover {
    background-color: #B8054F;
}

.budi-knowledgebase-article-list__search-btn .budi-svg-icon {
    width: 16px;
    height: 16px;
    filter: invert(1);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .budi-knowledgebase-article-list__search-wrapper {
        margin-bottom: 24px;
    }
    
    .budi-knowledgebase-article-list__search-input {
        padding: 10px 14px;
        padding-right: 44px;
        font-size: 14px;
    }
    
    .budi-knowledgebase-article-list__search-btn {
        width: 28px;
        height: 28px;
        right: 6px;
    }
    
    .budi-knowledgebase-article-list__search-btn .budi-svg-icon {
        width: 14px;
        height: 14px;
    }
}

/* Content Layout */
.budi-knowledgebase-article-list__content-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.budi-knowledgebase-article-list__content-wrapper > .budi-content-block {
    flex: 1;
    min-width: 0;
}

.budi-knowledgebase-article-list__sidebar {
    flex: 1;
    min-width: 0;
}

/* Responsive Layout */

@media (max-width: 991px) {
    .budi-knowledgebase-article-list__content-wrapper {
        flex-direction: column;
        gap: 32px;
    }
    
    .budi-knowledgebase-article-list__content-wrapper > .budi-content-block,
    .budi-knowledgebase-article-list__sidebar {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .budi-knowledgebase-article-list__content-wrapper {
        gap: 24px;
    }
}
