body {
  font-family: 'Arial', sans-serif;
  background-color: #e6e6fa; /* สีม่วงอ่อน */
  margin: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.header img {
  height: 50px;
  margin-bottom: 10px;
}

.header h1 {
  font-size: 1.8rem;
}

.form-group {
  position: relative;
  margin-bottom: 20px; /* ความห่างของช่อง */
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box; /* ให้ padding ไม่นับเข้าไปในขนาดของช่อง */
  font-size: 14px;
}

.customspan {
  position: absolute;
  top: -50px;
  left: 15px;
  background: #e6e6fa; /* สีม่วงอ่อน */
  padding: 0 5px;
  color: #555;
}

button {
  width: 100%;
  max-width: 150px; /* กำหนดความกว้างของปุ่ม และไม่ให้เกินขนาดกำหนด */
}

/* ส่วนที่เพิ่มเข้ามา */
.form-container {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
}

.form-container h1 {
  text-align: center;
  margin-bottom: 20px;
}

.date-group {
  display: flex;
  justify-content: space-between;
}

.date-group select {
  width: 32%;
}

@media (max-width: 768px) {
  .header h1 {
      font-size: 1.5rem;
  }
}
