.comment {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    color: #333;
}

.comment .replies {
    margin-left: 20px;
    border-left: 2px solid #ddd;
    padding-left: 10px;
}

.notification-item {
    cursor: pointer;
    padding: 10px;
    width: 500px;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
    color: #0432eb;
}

.notification-item.unread {
    font-weight: bold;
    background-color: #eef;
}

.reply-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    margin-top: 10px;
}

.reply-button:hover {
    background-color: #0056b3;
}

.reply-form {
    display: none;
    margin-top: 10px;
}

.reply-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

#Trang chinh

body {
    font-family: 'Roboto' !important;
    font-size: 0.6rem !important;
}

header {
    background-color: #003366;
    color: white;
    padding: 10px 0;
    text-align: center;
    position: relative;
    z-index: 1000; /* Đảm bảo header luôn trên cùng */
}

.user-info {
    position: absolute;
    top: 0;
    right: 10px;
    padding: 10px;
}

.user-info .dropdown {
    display: inline-block;
    position: relative;
}

.user-info .dropdown button {
    background-color: #004080;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.user-info .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 360px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}

.user-info .dropdown-content a {
    color: rgb(32, 85, 0);
    padding: 5px 5px;
    text-decoration: none;
    display: block;
}

.user-info .dropdown-content a:hover {
    background-color: #f1f1f1;
}

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

.content {
    padding: 20px;
}

/* DataTables Custom Styles */
table.dataTable thead th, table.dataTable thead td {
    padding: 5px 5px;
    border-bottom: 1px solid #111;
    text-align: center;
    background-color: #e6f7ff;
    color: black;
}

table.dataTable>thead>tr>th:not(.sorting_disabled), table.dataTable>thead>tr>td:not(.sorting_disabled)
{
    padding: 5px 5px;
    border-bottom: 1px solid #111;
    text-align: center;
    background-color: #e6f7ff;
    color: black;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 3px 5px;
    border-radius: 3px;
}

table.dataTable, table.dataTable th, table.dataTable td {
    border-radius: 3px;
}

table.dataTable tbody tr:nth-child(even) {
    background-color: #ffffff;
}

table.dataTable tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}

table.dataTable th,
table.dataTable td {
    border: 1px solid #ddd;
}

#Excel_files
.file-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
}

.excel-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.file-container p {
    margin: 0 10px 0 0;
}

/* Mở rộng giao diện DataTables */ 
.dataTables_wrapper { 
    width: 100%;
}

/*nav của HDSD*/
nav.paging {
    background-color: white;
}
nav.nav_guide {
    background-color: white;
}   

/*#Biểu tượng chuông*/
.notification-item.unread {
    font-weight: bold;
    background-color: #f8f9fa;
}

#notifications-list {
    max-height: 300px;
    overflow-y: auto;
    display: none;
    right: 0; /* Đảm bảo danh sách thông báo xuất hiện từ lề phải sang trái */
    left: auto;
}

#notifications-button {
    position: relative;
}

#notification-count {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 0 5px;
    font-size: 12px;
    height: 18px; /* Đảm bảo hình tròn */
    width: 18px; /* Đảm bảo hình tròn */
    line-height: 18px; /* Đảm bảo nội dung căn giữa */
    text-align: center; /* Đảm bảo nội dung căn giữa */
}
/* header */
.justify-content-between {
    padding-left: 30px;
}

.dropdown-menu {
    padding-top: 12px !important;
    width: 350px;
}

/* Trong static/css/styles.css */
.dropdown-menu.show {
    display: block !important;
    z-index: 1000;
}
#project-search-header, #project-search-home {
    pointer-events: auto !important;
    user-select: auto !important;
}
#project-select, #project-select-home {
    display: block !important;
}

.btn-block+.btn-block {
    margin-top: 0 !important;
}

.btn {
    padding: .175rem .75rem !important;
}


.btn-secondary {
    background-color: #004080 !important;
    color: white;
    display: inline-block;
}

.dropdown-menu-noti {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}

.ui-widget-content {
    z-index: 999;
}

.table.dataTable thead th, table.dataTable thead td {
    padding: 5px 5px;
    border-bottom: 1px solid #111;
    text-align: center;
}

/*Menu header*/
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 5px;
    background-color: #b9d1fd;
    color: white;
    align-items: center;  /* Căn giữa theo chiều dọc */
    justify-content: center;  /* Căn giữa theo chiều ngang */
}

.menu-item {
    position: relative;
    text-align: center;
}

.menu-item a {
    text-decoration: none;
    color: black;
    padding: 5px 10px;
    display: block;
    text-align: center;
    transition: all 0.3s ease;  /* Thêm hiệu ứng chuyển đổi mượt mà */
}

.menu-item a:hover,
.menu-item a.active {
    font-weight: bold;  /* Bôi đậm khi active hoặc hover */
    color: #003366;  /* Màu xanh đậm khi active hoặc hover */
}

.menu-item .dropdown-arrow {
    margin-left: 5px;
}

.submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    color: black;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1000;  /* Đảm bảo submenu luôn ở trên */
    border-radius: 5px;  /* Bo tròn viền */
}

.submenu li {
    width: 200px;
}

.submenu li a {
    /*padding: 10px;*/
    display: block;
    white-space: nowrap;
}

.menu-item.dropdown:hover .submenu {
    display: block;
}

/* Modal mapping, import */
@media (min-width: 1200px) {
    .modal-lg {
        max-width: 80%; /* Hoặc giá trị cụ thể như 1300px, 1400px */
        width: 80%;
        margin: 1rem auto; /* Căn giữa */
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 80%; /* Hoặc giá trị cụ thể như 1300px, 1400px */
        width: 80%;
        margin: 1rem auto; /* Căn giữa */
    }
}

/* Filter trên Datatables */

.filter-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}
.column-filter {
    width: 100%;
    padding-right: 25px;
    box-sizing: border-box;
    border-radius: 5px;
}
.filter-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 12px;
}
.filter-icon.filtered {
    color: #007bff;
}
.text-right {
    text-align: right;
}

.toolbar {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6; /* Thêm viền khung */
    border-radius: 5px; /* Bo góc */
    padding: 10px; /* Khoảng cách bên trong khung */
    background-color: #f8f9fa; /* Màu nền nhạt */
    margin-bottom: 20px; /* Khoảng cách dưới toolbar */
}
.toolbar .btn {
    margin-right: 10px; /* Khoảng cách giữa các nút */
    font-size: 0.95rem; /* Giảm kích thước chữ xuống 15px */
}
.toolbar .btn i {
    margin-right: 5px; /* Khoảng cách giữa icon và text */
}