.containerX {
  max-width: 100%;
  padding: 15px;
  display: block;
  overflow: hidden;
  overflow-wrap: break-word;
  width: 100%;
  margin: 0 auto;
}

.containerX .tieude {
  border-bottom: 1px solid #dcdcdf;
  height: 50px;
}

.containerX h4 {
  line-height: 50px;
  color: #5d5a68;
  font-size: 17px;
  font-weight: 500;
}

.containerX .filter-form {
  padding: 20px;
  border-bottom: 1px solid #dcdcdf;
  display: flex;
  justify-content: start;
  gap: 10px;
  align-items: center;
  max-width: 100%;
  width: 100%;
}

.containerX .seach-lsgd,
.containerX .seach-lsmh,
.containerX .seach-mang {
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.containerX .seach-lsgd:focus {
  border-color: #007bff;
  outline: none;
}

.containerX .select-lsgd {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px;
  font-size: 16px;
  background-color: #fff;
}

.containerX .select-lsgd:focus {
  border-color: #007bff;
  outline: none;
}

.containerX .select-lsgd option {
  background-color: #fff;
  color: #333;
}

.containerX .filter-form #start_date,
.containerX .start_date_man {
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  max-width: 150px;
}

.containerX .filter-form #start_date:focus,
.containerX .start_date_man:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}

.containerX .start_date_man {
  width: 25%;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.containerX table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.containerX #tab-lsmh td,
.containerX #tab_lsgd td {
  padding: 10px !important;
}

.containerX th,
.containerX td {
  padding: 5px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.containerX th {
  font-size: 15px;
  background-color: #f8f8f8;
  color: #5c5c5c;
}

.containerX tr:nth-child(even) {
  background-color: #f9f9f9;
}

.containerX tr:hover {
  background-color: #f1f1f1;
}

.hidden {
  display: none;
}

.containerX .btn {
  border: none;
  padding: 8px 12px;
  margin: 2px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.containerX .btn-update {
  background-color: #4caf50;
  color: #fff;
}

.containerX .btn-update:hover {
  background-color: #45a049;
}

.containerX .btn-delete {
  background-color: #ff6b6b;
  color: #fff;
}

.containerX .btn-delete:hover {
  background-color: #ff5252;
}

.containerX .btn-edit {
  background-color: #3498db;
  color: #fff;
}

.containerX .btn-edit:hover {
  background-color: #2980b9;
}

.containerX #upgrade-options,
.containerX #edit-input {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.containerX #upgrade-options select,
.containerX #edit-input input {
  margin-bottom: 10px;
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 10px !important;
}

.containerX .overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.containerX .btn_aply:hover {
  background-color: #007bff;
  color: #ffffff;
}

.containerX .main-tab {
  overflow-x: auto;
  width: 100%;
}

@media (max-width: 1024px) {
  .containerX .main-tab,
  .containerX .lsgd-ccron {
    width: 100%;
    overflow: auto;
  }

  .containerX {
    width: 90vw;
  }

  .containerX .seach-lsgd,
  .containerX .seach-lsmh,
  .containerX .seach-mang {
    max-width: 150px;
  }

  .containerX .select-lsgd {
    max-width: 150px;
  }

  .containerX .start_date_man {
    max-width: 150px;
    width: 45%;
  }
}

@media (min-width: 1025px) {
  /* Chưa có gì ở đây, bạn có thể thêm nếu cần */
}

.containerX td:nth-child(2),
.containerX td:nth-child(1) {
  color: #007bff;
}

.containerX td:nth-child(4) span {
  border-radius: 5px;
  background-color: #f27474;
  padding: 2px;
  color: #ffffff;
}

.containerX td:nth-child(6) span {
  border-radius: 5px;
  background-color: #f0b400;
  padding: 2px;
  color: #ffffff;
}

#upgrade-options,
#edit-input {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

#upgrade-options select,
#edit-input input {
  margin-bottom: 10px;
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 10px !important;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.btn_aply:hover {
  background-color: #007bff;
  color: #ffffff;
}
