body {
  font-family: Arial, sans-serif;
  margin: 10px;
}

/* ---------- Desktop ---------- */
.desktop {
  width: 100%;
  border-collapse: collapse;
}

.desktop th {
  width: 100%;           /* chiếm toàn bộ chiều rộng cell */
  box-sizing: border-box; /* bao gồm padding + border */
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
}

.desktop td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
}
/* ---------- Mobile ---------- */
.mobile {
  display: none;
}

.card {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 10px;
}

.card h4 {
  margin: 0 0 8px;
}

.field {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.field label {
  width: 40%;
  font-size: 14px;
}

.field input,
.field select {
  width: 60%;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
}

button {
  width: 100%;
  padding: 6px;
  cursor: pointer;
}


.btn-back {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  background-color: #4CAF50;
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

.btn-back:hover {
  background-color: #ddd;
}

.btn-back-container {
  margin-top: 15px;  /* cách nội dung phía trên */
  width: 100%;
  text-align: left;
}


#tableThongtin td input[type="text"],
#tableThongtin td input[type="date"] {
  width: 100%;          /* chiếm hết chiều rộng cột */
  box-sizing: border-box; /* tính cả padding vào width */
}

#btnAddRow {
  margin-bottom: 16px; /* chỉnh 12–24px tuỳ thích */
}