body {
  font-family: 'Kanit', sans-serif;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* max-width: 400px; */
  background-color: #fff;
  /* padding: 20px; */
  border-radius: 10px;
  /* box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
}

label {
  /* margin-top: 15px; */
  font-weight: 500;
  color: #292223;
  padding-left: 15px;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #801e2b;
  border-radius: 50px;
  font-family: 'Kanit', sans-serif;
}

input[type="checkbox"] {
  margin-top: 20px;
}

button {
  margin-top: 20px;
  padding: 10px;
  background: linear-gradient(90deg, #a22d38 0%, #b68856 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Kanit', sans-serif;
  cursor: pointer;
}

h1 {
  text-align: left;
  margin-bottom: 20px;
}
.terms-container input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #801e2b;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  margin-right: 8px;
  position: relative;
}

.terms-container input[type="checkbox"]:checked::before {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #801e2b;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* สีข้อความ */
.terms-container .highlight {
  color: #801e2b;
  font-weight: 500;
}

.terms-container a {
  color: #333;
  text-decoration: underline;
  cursor: pointer;
}

/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Box */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 15px;
  max-width: 500px;
  font-family: 'Kanit', sans-serif;
  color: #292223;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Close Button */
.modal-content .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #801e2b;
  font-weight: bold;
  cursor: pointer;
}

.modal-content h2 {
  color: #801e2b;
  margin-bottom: 15px;
}

.d-none {
  display: none !important;
}