body {
  font-family: 'Bahnschrift SemiBold SemiConden', 'Bahnschrift', sans-serif;
  background: #ffffff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column; /* Arrange elements in a column */
}

.logo-container {
  width: 100%;
  max-width: 900px;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; /* Center the logo horizontally */
  justify-content: center; /* Ensure it is centered */
}

.logo {
  width: 50%;
  height: auto;
  display: block; /* Remove any inline-block issue that might offset centering */
}

.login-container {
  width: 100%;
  max-width: 550px;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  align-items: center;
  margin-bottom: 30px;
}

.input-inline {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.input-inline label {
  width: 100px;
  color: #2e5c9a;
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
  text-align: right;
  margin-right: 10px;
  padding-right: 10px; /* Adjust the right padding for better alignment */
  box-sizing: border-box;
}

.input-inline input,
.input-inline select {
  flex: 1;
  height: 50px;
  padding: 10px;
  background: #ededed;
  border: 3px solid #ededed;
  border-radius: 8px;
  font-family: 'Bahnschrift SemiBold SemiConden', 'Bahnschrift', sans-serif;
  font-size: 1.2rem;
  margin: 0;
  box-sizing: border-box;
}

.button-container {
  margin-left: 100px; /* ขยับปุ่มให้ตรงกลางกับ input */
}

.custom-button {
  width: 180px;
  padding: 15px 30px;           /* ขนาดปุ่ม */
  background: #2e5c9a;
  border-radius: 25px; 
  border: none;
  font-size: 1.2rem;               /* ขนาดตัวอักษร */
  font-weight: bold;             /* ตัวหนา */
  color: #ffffff;                /* สีตัวอักษร */
  cursor: pointer;               /* เปลี่ยนเป็นมือเมื่อ hover */
  text-align: center;
  transition: background-color 0.3s; /* เพิ่ม effect เวลา hover */
  display: block;
  margin: 0 auto;
}

.custom-button:hover {
  background: linear-gradient(to bottom, #2e5c9a, #244c81);
}