.center-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    /* Đảm bảo div có chiều cao cố định */
    overflow: hidden;
    /* Ẩn phần dư thừa của hình ảnh nếu nó vượt ra ngoài kích thước div */
    background-color: #f0f0f0;
    /* Màu nền của div */
}

.center-image img {
    max-width: 100%;
    /* Đảm bảo hình ảnh không vượt ra ngoài kích thước div */
    max-height: 100%;
    height: auto;
    /* Đảm bảo hình ảnh không vượt ra ngoài kích thước div */
    transition: transform 0.3s ease;
    /* Hiệu ứng di chuyển mềm mại */
}

.center-image:hover img {
    transform: scale(1.1);
    /* Hiệu ứng phóng to hình ảnh khi di chuột qua */
}

/* Ẩn input[type="file"] */
input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 10;
}

.center-image label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.7);
    /* Màu nền với độ mờ */
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #333;
    /* Màu chữ */
    font-size: 16px;
    /* Kích thước chữ */
    font-weight: bold;
    /* Độ đậm của chữ */
    border-radius: 5px;
    /* Độ cong của góc */
}

.center-image label:hover {
    background-color: rgba(255, 255, 255, 0.9);
    /* Đổi màu nền khi di chuột qua */
}

/* CSS cho màn hình mobile */
@media (max-width: 767px) {
    .card-footer {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        /* Căn đều theo chiều rộng */
    }

    .js-btn-create {
        width: 100%;
        /* Đặt chiều rộng 100% */
    }

    .btn {
        margin-bottom: 5px;
        /* Khoảng cách giữa các button */
    }
}


.table-responsive-custom {
    overflow-x: scroll;
    max-width: 100%;
}

/* CSS cho hiển thị hình ảnh fullscreen */
.fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Dọc */
}

.fullscreen-image img {
    max-width: 90%;
    max-height: 90%;
    transition: all 0.3s ease;
    cursor: pointer;
    /* Thêm transition cho hiệu ứng zoom */
}

/* CSS cho màn hình mobile */
@media (max-width: 767px) {}

/* CSS cho container chứa nút zoom */
.zoom-buttons-container {
    /* margin-top: auto;
    display: flex;
    margin-bottom: 50px;
    justify-content: center; */

    position: absolute;
    top: 0;
    left: 50%;
    margin-top: 10px;
    transform: translateX(-50%);
}

.label-popup-img {
    font-weight: normal !important;
    /* Không in đậm */
    text-align: center;
    /* Căn giữa màn hình */
    margin-top: 10px;
    /* Khoảng cách từ trên xuống */
    color: #ffffff;
    /* Màu văn bản là trắng */
    display: block;
    /* Hiển thị như một khối */
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}