/* Tổng thể trang web */
body {
  font-family: Arial, sans-serif;
  background-color: transparent; /* Đổi thành transparent để nó chìm vào nền website chính của bạn */
  display: flex;
  justify-content: center;
  padding: 10px; /* Giảm từ 30px xuống 10px hoặc 0px để sát mép hơn */
}
/* Hộp chứa nội dung chính */
.container {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 900px; /* Tăng lên 800px hoặc 900px để rộng ra. Nếu muốn tràn viền hoàn toàn thì đổi thành 100% */
  padding-bottom: 20px;
  overflow: hidden;
}
.header-title {
  background: linear-gradient(to right, #007bff, #00d2ff);
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
}
.warning-box {
  background: #ffebee;
  color: #c62828;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  /* ĐẢM BẢO CÓ DÒNG NÀY ĐỂ FONT CHỮ HIỂN THỊ TIẾNG VIỆT ĐẸP VÀ IN ĐẬM */
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold; 
  border-bottom: 1px solid #ffcdd2;
  margin-bottom: 25px;
}
.form-area { padding: 0 20px; }
.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.form-group label {
  width: 130px;
  font-weight: bold;
  font-size: 14px;
  color: #333;
}
.form-group label span { color: red; }
.form-control {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  outline: none;
}
.btn-group {
  text-align: center;
  margin-top: 20px;
}
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  color: white;
  font-size: 14px;
}
.btn-search { background-color: #007bff; margin-right: 10px; }
.btn-reset { background-color: #ffc107; color: #333; }
#result-section {
  display: none; 
  padding: 20px;
  margin-top: 20px;
  border-top: 1px solid #eee;
}
.result-box {
  border: 2px solid #a3d9a5;
  border-radius: 5px;
  padding: 15px;
  margin-top: 15px;
  background-color: #fcfcfc;
}
.result-header {
  background-color: #d4edda;
  color: #155724;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  border-radius: 3px;
  margin-bottom: 15px;
  border: 1px solid #c3e6cb;
}
.section-title {
  color: #007bff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  margin-top: 15px;
  margin-bottom: 5px;
}
.info-row {
  display: flex;
  padding: 6px 0;
  font-size: 14px;
}
.info-row:nth-child(even) { background-color: #f2f2f2; }
.info-label { width: 140px; font-weight: bold; color: #333; }
.info-value { flex: 1; color: #000; }
.highlight-blue { color: #007bff; font-weight: bold; }
.error-box {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  border: 1px solid #f5c6cb;
}
.custom-alert {
  display: none; 
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
}
.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}
@keyframes nhapNhay {
  0% { opacity: 1; text-shadow: 0 0 0px rgba(211,47,47,0); }
  50% { opacity: 0.6; text-shadow: 0 0 8px rgba(211,47,47,0.6); }
  100% { opacity: 1; text-shadow: 0 0 0px rgba(211,47,47,0); }
}
.highlight-date {
  color: #d32f2f; 
  font-weight: bold;
  font-size: 15px;
  animation: nhapNhay 1.5s infinite ease-in-out; 
}
.address-box {
  background-color: #fff3e0;
  border-left: 4px solid #ff9800;
  padding: 12px;
  margin-top: 15px;
  border-radius: 0 5px 5px 0;
  font-size: 14px;
  line-height: 1.5;
}
.address-box strong { color: #e65100; }
.footer-support {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.footer-support p { margin: 5px 0; }
.footer-support a { color: #007bff; text-decoration: none; font-weight: bold; }
.footer-support a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .form-group { flex-direction: column; align-items: flex-start; }
  .form-group label { width: 100%; margin-bottom: 8px; }
  .form-control { width: 100%; box-sizing: border-box; }
  .btn-group { display: flex; flex-direction: column; gap: 10px; }
  .btn-search { margin-right: 0; }
  .btn { width: 100%; }
  .info-row { flex-direction: column; border-bottom: 1px dashed #ccc; padding: 10px 0; }
  .info-row:nth-child(even) { background-color: transparent; }
  .info-label { width: 100%; color: #555; font-size: 13px; margin-bottom: 4px; }
  .info-value { width: 100%; font-size: 15px; }
}
