.ctn-tags-counters{
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    padding-right: 4px;
    overflow: auto hidden;
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.ctn-tags-counters::-webkit-scrollbar {
    display: none; 
}
.cards_list{
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.card_list.message_history {
    background: var(--color-white);
    border-radius: 8px;
    margin: 0;
    padding: 20px;
    position: relative;
}
.card_list.message_history .card-ctn-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}
.card_list.message_history .card-ctn-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    width: 100%;
}
.card_list.message_history .card-ctn-header .card-date {
    color: var(--color-black-2);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.card_list.message_history .card-ctn-header .card-tag {
    display: flex;
    padding: 4px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.card_list.message_history .card-ctn-header .card-tag.success {
    color: var(--color-green-2);
    background: var(--color-green-3);
}
.card_list.message_history .card-ctn-header .card-tag.error {
    color: #C91A1A;
    background: #F5CCCC;
}
.card_list.message_history .card-ctn-info{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    width: 100%;
}
.card_list.message_history .card-ctn-info .card-type-message{
    color: var(--color-gray-1);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.card_list.message_history .card-ctn-info .card-reason{
    color: var(--color-black-1);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}
.card_list.message_history .card-ctn-info .card-details{
    width: 100%;
    display: grid;
    grid-template-columns: minmax(20%, auto) 1fr;
    align-items: flex-start;
    gap: 20px;
}
.card_list.message_history .card-ctn-info .card-details div span{
    color: var(--color-gray-1);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.card_list.message_history .card-ctn-info .card-details div span:first-of-type{
    font-weight: 700;
}
.btn-download-mobile {
    margin-left: auto;
}

@media only screen and (max-width: 1000px){
    .items_search{
        flex-direction: column;
        gap: 16px !important;
        align-items: unset !important;   
    }
    .ctn_search{
        flex: 1;
    }
}

@media only screen and (min-width: 576px) {
    .ctn_search_mobile {
        display: none;
    }
}

@media only screen and (max-width: 575.99px) {
    .btn-download {
        display: none;
    }
    .first_subtittle {
        margin-bottom: 16px;
    }
    .card_list.message_history .card-ctn-info .card-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .ctn_search_desktop{
        display: none;
    }
}