.content {
    margin: 80px 40px;
}

td {
    min-width: 100px;
}

thead {
    position: sticky;
    top: 0px;
    background-color: white;
}

#nhapDotThau > form > table > tbody > tr > th {
    width: 180px;
}

#nhapDotThau > form > table > tbody > tr > td {
    padding-right: 10px;
}

#nhapKetQuaTrungThau > div:nth-child(1) > table > tbody > tr > td:nth-child(1) {
    width: 160px;
}

#nhapKetQuaTrungThau > div:nth-child(1) > table > tbody > tr > td:nth-child(2) {
    padding-right: 10px;
}

.danhMuc {
    max-height: 450px;
    overflow: auto;
}

.specialCol {
    background-color: #f8f3e8 !important;
    font-weight: bold;
}

th, td {
  cursor: pointer;
  padding: 2px 2px 2px 10px !important;
}

.ag-cell {
    border: 1px solid #F1EFEF;
}


.mstt1 {
    background: #F8F6F4;
}

.cdt1 {
    background: #F7FFE5;
}

.mstt2 {
    background: #E3F4F4;
}

.cdt2 {
    background: #E1ECC8;
}

.mstt3 {
    background: #D2E9E9;
}

.cdt3 {
    background: #C4D7B2;
}

.completed {
    background: #F7FFE5 !important;
}

.special {
    color: red;
    font-weight: bold;
}

#top_nhd tr td.text-center {
    text-align: left !important;
}

#top_ndl tr td.text-center {
    text-align: left !important;
}

.input-search {
  background-image: url('/static/searchicon.png');
  background-position: 10px 12px;
  background-repeat: no-repeat;
  width: 100%; /* Full-width */
  padding: 12px 20px 12px 40px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin-bottom: 12px; /* Add some space below the input */
}

.header {
    width: 10%;
}

.select-col {
    width: 40%;
}

.select2 {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-cung-ung {
    max-height: 550px;
    overflow: auto;
}

table {
    font-size: 13px !important;
}

.ag-theme-alpine {
     --ag-font-size: 11px !important;
     --ag-grid-size: 3px !important;
     --ag-list-item-height: 18px !important;
}

.xddm tr td {
    padding-top: 3px;
    padding-bottom: 3px;
}

body, h6 {
    font-size: 14px !important;
}

.form-control, .form-select {
    height: 30px;
    font-size: 13px !important;
}

.nav-link {
    padding: 0 8px;
}

.nav-tabs .nav-link {
    padding: 10px 15px;
}

.select-time {
    padding-right: 10px;
    font-size: 14px;
}

.changed-value {
    background: #D2E9E9;
}

#percentageSelect {
    width: 98%;
    margin-top: 2px;
    padding: 2px 0;
}

#applyButton {
    border: 1px solid #ccc;
    margin: 5px 10px 5px 1.5px;
    padding: 5px 10px;
    border-radius: 3px;
}

#applyButton:hover {
    background-color: #f1f1f1;
}

#listErrorKhoLe, #listErrorKhoChan {
    color: red;
}

.detail-row {
    background-color: #E1ECC8;
}

.select2-container--default .select2-selection--multiple {
    height: auto !important;
    min-height: 38px;
    white-space: normal;
  }
  
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    max-height: 100px;
    overflow-y: auto;
}

.highlight-row {
    background-color: #e2faca;
}

/* Container cho pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0 0 0;
    font-family: Arial, sans-serif;
}

/* Style cho từng nút */
.pagination a, .pagination span {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Nút active */
.pagination a.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
    font-weight: bold;
}

/* Hover effect */
.pagination a:hover:not(.active) {
    background-color: #f0f0f0;
}

/* Dấu "..." */
.pagination span {
    background-color: transparent;
    border: none;
    font-weight: bold;
    color: #888;
}

/* Nút Previous và Next */
.pagination a.prev, .pagination a.next {
    font-weight: bold;
    color: #4CAF50;
}

.pagination a.prev:hover, .pagination a.next:hover {
    background-color: #e8f5e9;
    border-color: #4CAF50;
}

.disabled {
    color: #f5f0f0 !important;
}

.main-background {
    background-image: url('/static/background.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    height: 100vh;
}