body {
  font-family: Times New Roman, sans-serif;
  margin: 12px;
}

/* Form */
.form-container {
  margin-bottom: 12px;
}

input[type="text"] {
  width: 99%;
  padding: 2px;
  margin-bottom: 2px;
}

/* Các class cho kích thước khác nhau */
.text-small {
  width: 10%;
  padding: 1px;
  margin-bottom: 1px;
  
  white-space: nowrap;
}










.text-medium {
  width: 30%;
  padding: 2px;
  margin-bottom: 2px;
}

.text-large {
  width: 60%;
  padding: 2px;
  margin-bottom: 2px;
}

input[type="number"] {
  width: 40px;
  padding: 2px;
  font-size: 12px;
}

input[type="submit"] {
  padding: 6px 12px;
}

/* Tiêu đề */
.title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 2px;
  font-size: 14px;
}

.title2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 2px;
  font-size: 10px;
}
/* Bảng */
table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  font-size: 12px;
}

th, td {
  border: 1px solid #333;
  padding: 2px 4px;
  line-height: 1.2;
}

th {
  background-color: #f2f2f2;
}

/* Nút xóa */
button.delete-row {
  padding: 2px 6px;
  font-size: 11px;
  background-color: #f44336;
  color: white;
  border: none;
  cursor: pointer;
}

button.delete-row:hover {
  background-color: #d32f2f;
}

/* Nút in */
#print-button {
  margin-bottom: 12px;
  padding: 8px 12px;
  font-size: 20px;
}

/* Header */
.header {
  font-size: 6px;
  text-align: right;
}

/* Thiết lập lề và canh lề khi in */
@page {
  margin: 2mm 8mm 2mm 8mm; 
  /* Cú pháp: margin: trên phải dưới trái */
}

@media print {
  .form-container,
  .delete-row,
  .action-column,
  #print-button {
    display: none !important;
  }

  body {
    text-align: justify; /* canh đều hai bên */
  }

  

  
}

