.mgb-40 {
    margin-bottom: 40px;
}

.icon-services img {
    padding: 0 15px;
}

.text-green {
    color: #0dcaf0;
}

.text-lg {
    font-size: 2em !important;
    line-height: 2.5em;
}

.text-md {
    font-size: 1.0833em !important;
}

.btn-green {
    background-color: #0dcaf0 !important;
}

.btn-circle {
    border-radius: 16px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    z-index: 1;
}


/* Links inside the dropdown */

.dropdown-content a {
    color: black;
    text-decoration: none;
    display: block;
}

.card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.justify-content-center {
    -webkit-box-pack: center !important;
    justify-content: center !important;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}


/* Change color of dropdown links on hover */

.dropdown-content a:hover {
    background-color: #ddd;
}


/* Show the dropdown menu on hover */

.dropdown:hover .dropdown-content {
    display: block;
}


/* Change the background color of the dropdown button when the dropdown content is shown */

.dropdown:hover .dropbtn {
    background-color: #0dcaf0;
}

@media (max-width: 991px) {
    .icon-services img {
        max-width: 150px;
    }
    .icon-services img.next {
        max-width: 50px;
    }
    .text-md-right {
        text-align: right !important;
    }
}

@media (max-width: 768px) {
    .icon-services img {
        padding: 0 4px;
        max-width: 72px;
    }
    .icon-services img.next {
        max-width: 25px;
    }
    .text-md-right {
        text-align: right !important;
    }
    .col-form-label {
        padding-top: calc(0.375rem + 1px);
        padding-bottom: calc(0.375rem + 1px);
        margin-bottom: 0;
        font-size: inherit;
        line-height: 1.6;
    }
}

.icon {
    /* position: relative; */
    display: inline-block;
}


/* Effect 1b - Ring in */

.icon:hover {
    transform: scale(1.8);
}
.sticky-top {
    z-index: 999 !important;
}
a.listproduct:hover,
a.listproduct:active {
    font-size: 150%;
}
/* Thêm class .table-sticky-first-column vào selector */
.table-responsive .table.table-sticky-first-column th:first-child,
.table-responsive .table.table-sticky-first-column td:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
    /* background-color: #f8f9fa;  Đổi màu nếu cần */
}

.table-responsive .table.table-sticky-first-column th:first-child {
    border-right: 2px solid #dee2e6;
}

.table-responsive .table.table-sticky-first-column td:first-child {
    border-right: 2px solid #dee2e6;
}

h1,
h2,
h3,
h4,
h5,
h6 .panel-title {
    margin: 0;
}

/* Áp dụng cho màn hình có chiều rộng tối đa là 768px (máy tính bảng và điện thoại) */
@media screen and (max-width: 768px) {
    .table-responsive-cards thead {
        /* Ẩn tiêu đề của bảng đi */
        display: none;
    }

    .table-responsive-cards,
    .table-responsive-cards tbody,
    .table-responsive-cards tr,
    .table-responsive-cards td {
        /* Buộc các thành phần của bảng hiển thị như một khối */
        display: block;
        width: 100%;
    }

    .table-responsive-cards tr {
        /* Tạo kiểu cho mỗi dòng thành một card */
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 10px;
    }

    .table-responsive-cards td {
        display: flex;
        flex-direction: row;
        /* justify-content: space-between; */
        /* Đẩy label và giá trị ra 2 bên */
        align-items: center;
        padding: 10px;
        text-align: right;
        /* <-- THAY ĐỔI: Căn GIÁ TRỊ sang bên phải */
        border: none;
        position: relative;
        /* Giữ lại cho an toàn */
    }

    .table-responsive-cards td:before {
        /* Đây là phần "ma thuật" đã sửa */
        content: attr(data-label);

        /* BỎ CÁC DÒNG NÀY: */
        /* position: absolute; */
        /* left: 10px; */

        /* Giữ lại các style này: */
        font-weight: bold;
        text-align: left;
        white-space: nowrap;

        /* THÊM DÒNG NÀY: */
        padding-right: 15px;
        /* Thêm 1 chút đệm để label và giá trị không dính vào nhau */
    }
}
