body {
  background-image: url('../images/bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.header-top {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.faq-container {
  position: absolute;
  top: 0;
  right: 20px;
}

.faq-link {
  font-size: 16px;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 14px;
  border: 2px solid #007bff;
  border-radius: 6px;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 10px;
}

.faq-link:hover {
	
  background-color: #007bff;
  color: white;
}

.header-logo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-logo-title img {
  height: 220px;
  margin-bottom: 10px;
}

.header-logo-title h1 {
  font-size: 32px;
  margin: 0;
  color: #000000;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.underfooter {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.search-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  text-align: center;
}

input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  font-size: 18px;
  border: 1px solid #c4c4c4;
  border-radius: 5px;
  background-color: #e6f3ff;
}

.search-form button {
  padding: 10px 20px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  background-color: #007bff; 
  color: white;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 0.5rem;
}

.search-form button:hover {
  background-color: #0056b3; 
}

.table {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 8px;
  text-align: center;
  font-size: 14px;
}

.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 1rem;
  gap: 0.5rem;
}

.faq-container {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.header-logo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.header-logo-title img {
  width: 150px;
  height: auto;
}

.header-logo-title h1 {
  font-size: 22px;
  color: #000;
  text-align: center;
  margin: 0;
}

@media (max-width: 600px) {
  .faq-container {
    position: static;
    margin-top: 10px;
    text-align: center;
  }

  .header-top {
    padding: 0.5rem;
  }

  .header-logo-title img {
    width: 120px;
  }

  .header-logo-title h1 {
    font-size: 18px;
  }

  .table th,
  .table td {
    font-size: 12px;
    padding: 6px;
  }
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.no-data {
  text-align: center;
  font-weight: bold;
  padding: 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 1rem;
}

.footer-container img {
  height: 40px;
  width: auto;
}

.footer {
  padding: 30px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.footer-container a {
  display: inline-block;
}

.footer-container img {
  width: 200px;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.footer-container img:hover {
  transform: scale(1.5);
}

.login-page {
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.login-container {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 100%;
  max-width: 380px;
}

.login-container h1 {
  color: #333;
  margin-bottom: 20px;
  font-size: 32px;
}

.input-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  color: #333;
}

.input-group input {
  width: 95%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #e6f3ff;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.login-btn,
.back-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  transition: background 0.3s ease;
  box-sizing: border-box;
}

.login-btn {
  background-color: #28a745;
  color: white;
}

.login-btn:hover {
  background-color: #218838;
}

.back-btn {
  background-color: #6c757d;
  color: white;
  text-decoration: none;
}

.back-btn:hover {
  background-color: #5a6268;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.error {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

body.upload-page {
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.upload-container {
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 100%;
  max-width: 400px;
  text-align: left;
}

.upload-container h1 {
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.upload-container input[type="file"] {
  width: 95%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
  font-size: 16px;
}

.upload-container button {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.upload-container button:hover {
  background-color: #0056b3;
}

.upload-container .logout-btn {
  background-color: #424242;
  margin-top: 10px;
}

.upload-container .logout-btn:hover {
  background-color: #212121;
}

.success {
  color: green;
  font-weight: bold;
  margin-bottom: 15px;
}

.error {
  color: red;
  font-weight: bold;
  margin-bottom: 15px;
}

.search-stat-month {
  margin: 30px auto;
  padding: 20px;
  max-width: 600px;
  font-size: 16px;
  text-align: left;
  margin-bottom: 20px;
}

.search-stat-month h2 {
  margin-bottom: 10px;
  color: #005999;
  font-size: 20px;
  text-align: center;
}

.search-stat-month ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: center;
}

.search-stat-month p {
  list-style: none;
  padding-left: 0;
  text-align: center;
}

.btn-green {
  background-color: #28a745 !important;
  color: white !important;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.btn-green:hover {
  background-color: #218838;
}

.btn-backtomenu {
  background-color: #6c757d !important;
  color: white !important;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.btn-green:hover {
  background-color: #5a6268;
}


.btn-wide {
  display: inline-block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.3s ease;
}


