body {
  font-family: 'Kanit', sans-serif;
  background-image: url('../img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 40px 20px;
}

.form-container {
  max-width: 500px;
  margin: auto;
  background: rgba(0, 0, 0, 0);
  padding: 30px;
  border-radius: 15px;
}

.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.form-row label {
  flex: 0 0 150px;
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}

.form-row input {
  flex: 1;
  max-width: 350px;
  border-radius: 30px;
  border: none;
  padding: 8px 15px;
}

.form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

#attendees {
  width: 120px;
  border-radius: 30px;
  border: none;
  padding: 8px 15px;
}

.attendees-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.attendees-row label {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}

.btn-submit {
  background-color: #00cc66;
  color: white;
  font-weight: bold;
  border-radius: 30px;
  padding: 10px 30px;
}

.btn-submit:hover {
  background-color: #00b359;
}

.form-check-label {
  margin-left: 10px;
  font-size: 15px;
}

.main-heading {
  font-size: 20px;
  font-weight: 600;
}

.sub-heading {
  font-size: 20px;
}

.label-block {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}
 
#imagePopupOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.popup-content {
  width: 90vw;
  max-width: 400px;
  max-height: 80vh;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
}
.popup-content img {
  width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.resizable-img {
  width: 100px; /* ✅ ปรับขนาดตามต้องการ */
  height: auto; /* ✅ รักษาสัดส่วนภาพ */
  display: block; /* แก้ปัญหาช่องว่างใต้ภาพ */
}
 .image-button2 {
    background: none;
    border: none;
    padding: 0;
   
    cursor: pointer;
}
