body {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
    padding-top: 20px;
}

.sidebar {
    background-color: #f8f9fa;
    padding: 20px;
}

.sidebar img {
    border-radius: 50%;
}

.sidebar h4, .sidebar p {
    margin: 0;
    padding: 0;
}

.sidebar .list-group-item {
    border-radius: 0;
}

.left-menu {
    width: 200px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    padding: 1rem;
}

.user-info {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: .375rem;
}

.user-info .avatar img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.user-info .user-details {
    flex-grow: 1;
}

.user-info .user-details h5 {
    font-size: 1.25rem;
    margin-bottom: .25rem;
}

.user-info .btn {
    font-size: .875rem;
    padding: .375rem .75rem;
}

.left-menu .nav-item {
    margin-bottom: .5rem;
}

.left-menu .nav-link {
    color: #343a40;
    border-radius: .25rem;
    padding: .5rem 1rem;
}

.left-menu .nav-link:hover {
    background-color: #e9ecef;
    color: #495057;
}

table {
    width: 100%;
    margin-bottom: 20px;
}

th, td {
    text-align: left;
    padding: 12px;
}

th {
    background-color: #f4f4f4;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}
/* Căn giữa checkbox trong ô bảng */
table td input[type="checkbox"],
table th input[type="checkbox"] {
    display: block;
    margin: 0 auto;
}

/* Căn giữa nội dung trong các ô tiêu đề */
table th {
    text-align: center;
}
/* Căn giữa nút trong các ô bảng và đặt khoảng cách cách top 45px */
table td {
    text-align: center; /* Căn giữa nội dung trong các ô bảng */
    vertical-align: middle; /* Căn giữa theo chiều dọc */
}

.table-button {
    display: inline-block;
    margin-top: 45px; /* Khoảng cách cách top 45px */
}

/* Căn giữa checkbox trong ô bảng */
table td input[type="checkbox"] {
    display: block;
    margin: 45px auto;
}

textarea {
    border: none;
    width: 100%;
    background-color: transparent;
    resize: none;
}

img {
    max-width: 100px;
    max-height: 100px;
    display: block;
    margin: auto;
}

.btn-custom {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-custom:hover {
    background-color: #0056b3;
}

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.pagination a {
    margin: 0 5px;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.pagination .active a {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
table.table-striped.table-bordered textarea {
    height: 80px; /* Tăng chiều cao của textarea, điều chỉnh giá trị theo ý bạn */
}