﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.responsive-img {
    width: 24px; /* kích thước mặc định */
    max-width: 100%;
    height: auto;
}

/* Màn hình điện thoại */
@@media (max-width: 576px) {
    .responsive-img {
        width: 24px;
    }
}

/* Màn hình tablet */
@@media (min-width: 577px) and (max-width: 992px) {
    .responsive-img {
        width: 28px;
    }
}

/* Màn hình desktop */
@@media (min-width: 993px) 
{
    .responsive-img {
        width: 32px;
    }

    .ag-theme-balham .bigexpense-warning {
        background-color: sandybrown !important;
    }

    .ag-theme-balham .bigexpense-breach {
        background-color: lightcoral !important;
    }

    .ag-theme-balham .bigexpense-ok {
        background-color: mediumseagreen !important;
    }

    .dx-datagrid .dx-data-row > td.bullet {
        padding-top: 0;
        padding-bottom: 0;
    }

    .navbar-nav .dropdown-menu {
        display: none;
        position: absolute;
        background-color: white;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
    }


}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

    .pagination .page-item {
        margin: 0 5px;
    }

        .pagination .page-item.active .page-link {
            background-color: #007bff;
            color: #fff;
        }

    .pagination .page-link {
        color: #007bff;
        text-decoration: none;
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }


/*.pagination 
{
    display: flex;
    justify-content: center;
    () =>

    {
        const searchInput = document.getElementById("searchTitle").value.toLowerCase();
        const tableRows = document.querySelectorAll("tbody tr");
        tableRows .forEach(row => {
                    const titleCell = row.querySelector("td:nth-child(6)"); // Lấy cột tiêu đề
                    if (titleCell && titleCell.textContent.toLowerCase().includes(searchInput)) {
                        row.style.display = ""; // Hiển thị dòng
                    } else {
                        row.style.display = "none"; // Ẩn dòng
                    }
                });

    }

    .pagination .page-link {
        color: #007bff;
        text-decoration: none;
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }


}
*/
