.block-tutorial {
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 1276px;
}

.procedure-tabs-container {
    min-height: 500px;
    display: flex;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.block-tutorial {
    padding: 20px;
}

.tab-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    border-right: 1px solid #e0e0e0;
    overflow-x: auto;
    /* Cho phép scroll ngang */
    white-space: nowrap;
    /* Giữ các item trên cùng một hàng */
    scrollbar-width: thin;
    /* Thanh cuộn mảnh (Firefox) */
}

.tab-buttons::-webkit-scrollbar {
    height: 6px;
    /* Độ cao thanh cuộn */
}

.tab-buttons::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.tab-buttons li {
    flex: 0 0 auto;
    /* Không co lại, giữ kích thước gốc */
    padding: 10px 16px;
    cursor: pointer;
}

li {
    margin: 0;
}

.tab-buttons .tab-btn {
    padding: 20px;
    font-size: 24px;
    font-weight: 500;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(157, 157, 157, 1);
}

.tab-buttons .tab-btn:last-child {
    border-bottom: none;
}

.tab-buttons .tab-btn:hover {
    color: #E9814A;
}

.tab-buttons .tab-btn.active {
    color: #E9814A !important;
    position: relative;
}

.table-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.table-header .left {
    display: flex;
    gap: 30px;
}


.tab-contents {
    flex: 1;
    background: #fff;
    max-height: 736px;
    padding: 0 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 216, 217, 1) transparent;
}

/* Custom scrollbar cho Webkit (Chrome, Edge, Safari) */
.tab-contents::-webkit-scrollbar {
    width: 4px;
}

.tab-contents::-webkit-scrollbar-track {
    background: transparent;
}

.tab-contents::-webkit-scrollbar-thumb {
    background-color: rgba(216, 216, 217, 1);
    border-radius: 2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.file-item {
    padding: 20px 0;
    border-radius: 6px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.file-item .file-info .stt {
    width: 15%;
    text-align: center;
    color: black;
}

.file-info {
    display: flex;
    width: 30%;
}

.file-name {
    font-weight: 500;
    text-align: center;
    width: 100%;
    color: #333;
    font-size: 16px;
    margin-bottom: 4px;
}

.file-meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.file-meta span {
    display: inline-block;
}

.file-download {
    width: 11%;
}

.file-download img {
    width: 68px;
    height: 68px;
}

.file-download a {
    color: #E9814A;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    display: flex;
    gap: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
    white-space: nowrap;
    display: none;
}

.block-tutorial h2 {
    text-align: center;
    margin-bottom: 32px;
}

.table-header,
.stt {
    display: none;
}

@media (max-width: 768px) {

    .procedure-tabs-container {
        flex-direction: column;
    }

    .tab-buttons {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

}

@media (min-width: 768px) {

    .table-header,
    .stt {
        display: flex;
    }

    .tab-buttons {
        width: 30%;
        display: block;
    }

    .tab-buttons .tab-btn {
        width: 432px;
    }

    .file-download a {
        display: block;
    }

}

@media (min-width: 1400px) {
    .tab-buttons {
        width: 30%;
        display: block;
    }

    .block-tutorial {
        padding-top: 68px;
        padding-bottom: 68px;
    }
}