﻿
.help-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
}

.help-title {
    color: #000;
    font: 600 32px/1 Inter, sans-serif;
    margin-top: 0;
    margin-bottom: 0;
}

.search-section {
    margin-top: 80px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-box {
    align-items: center;
    border: 1px solid #D0D5DD;
    box-shadow: 0 4px 8px 3px rgba(0,0,0,0.15), 0 1px 3px 0 rgba(0,0,0,0.30);
    background: #FFF;
    display: flex;
    width: 840px;
    max-width: 100%;
    gap: 10px;
    padding: 12px 16px;
        border-radius: 10px; /* Thêm dòng này để bo tròn */

}

.search-icon {
    width: 24px;
    height: 24px;
}

.search-input {
    border: none;
    outline: none;
    flex: 1;
    font: 400 14px/2 Inter, sans-serif;
    color: #667085;
}

.topics-section {
    margin-top: 40px;
    width: 100%;
}

.topics-title {
    color: #000;
    font: 600 20px/1.4 Inter, sans-serif;
    margin: 0
}

.topics-list {
    border: 1px solid #D0D5DD;
    margin-top: 16px;
}

.topic-item {
    cursor: pointer;
    padding: 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFF;
    color: #000;
    /* title 16 */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 150% */
    letter-spacing: 0.1px;
}

.topic-text {
    font: 600 16px Inter, sans-serif;
    color: #000;
}

.topic-icon {
    width: 40px;
    height: 40px;
}

.divider {
    height: 1px;
    background: #D9D9D9;
    width: 100%;
    margin: 0;
}

    .divider[data-id] {
        display: none;
    }

.highlighted-item {
    cursor: pointer;
    background: #FFEDAD;
    padding: 12px 16px;
    font: 400 14px/2 Inter, sans-serif;
    color: #000;
    display: none;
}

.community-section {
    margin-top: 80px;
    width: 489px;
    max-width: 100%;
    text-align: left;
}

.community-title {
    text-align: center;
    font: 600 28px/1 Inter, sans-serif;
    color: #000;
    margin: 0;
}

.community-card {
    /*border: 1px solid #D0D5DD;*/
    background: #FFF;
    padding: 16px;
    margin-top: 24px;
}

.card-title {
    font: 600 16px Inter, sans-serif;
    color: #000;
    margin: 0;
}

#textarea-question-content {
    margin-top: 10px;
}

.btn-submit-question-container {
    margin-top: 24px;
}

    .btn-submit-question-container a {
        padding: 8px 24px;
    }

.card-description {
    font: 400 16px/24px Inter, sans-serif;
    color: #000;
    margin-top: 10px;
}

.cta-button {
    background: #FFC803;
    padding: 9px 24px;
    border-radius: 4px;
    font: 600 14px/2 Inter, sans-serif;
    color: #000;
    margin-top: 24px;
    width: 100%;
    border: none;
    cursor: pointer;
}

.tags-section {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.bottom-custom {
    margin-bottom: 40px;
}

.tag {
    background: #EAECF0;
    padding: 0 16px;
    border-radius: 8px;
    height: 40px;
    display: flex;
    align-items: center;
    font: 400 16px Inter, sans-serif;
    color: #000;
}

@media (max-width: 991px) {
    .help-title, .topics-section, .community-section {
        max-width: 100%;
    }

    .search-box {
        max-width: 80%;
    }

    .search-section, .community-section, .tags-section {
        margin-top: 40px;
    }

    .cta-button {
        padding: 9px 20px;
    }
}


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* mobile */
@media (max-width: 1429px) {
    /* begin content body Mobile */

    .help-container {
        margin-top: 40px;
    }

    .help-title {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 24px;
    }

    .topics-section {
    }


    .topics-title {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 18px;
    }

    .topic-text {
        font-size: 14px;
    }

    .highlighted-item {
                font-size: 12px;
    }

    .modal-title {
                font-size: 18px;
    }

    .modal-description {
        font-size: 12px;
    }

    .community-title {
                font-size: 24px;
    }

    .community-card-custom {
        padding: 16px;
    }

    .card-title {
                font-size: 14px;
    }

    #textarea-question-content {
        font-size: 12px;
    }

    #button-submit-question {
                font-size: 12px;
    }

    .tags-section {
        margin-bottom: 20px;
    }

    .tag {
        font-size: 12px;
    }

    .view-answers-of-tag h3 {
        font-size: 14px;
    }

    .view-answers-of-tag p {
        font-size: 12px;
    }

    .topics-list-custom {
        padding-left: 16px;
        padding-right: 16px;
    }

    .btn-submit-question-container {
        margin-top: 12px;
    }

    /* end content body Mobile
    */

}
