/* =====================
   ฟอนต์หลักและร่างกาย
===================== */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;700&display=swap');

html, body {
  font-family: 'Kanit', sans-serif;
  background: #dedede;
  width: 100vw;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.swal2-popup.custom-swal-size {
  font-size: 3.5rem !important;      /* ขนาดตัวหนังสือใหญ่ขึ้น */
  max-width: 800px !important;     /* กล่องใหญ่ขึ้น */
  padding: 3em 2em !important;
}
.swal2-title.custom-swal-title {
  font-size: 3.5rem !important;
}
.swal2-html-container.custom-swal-html {
  font-size: 3rem !important;
}
.swal2-actions.custom-swal-actions button {
  font-size: 2.5rem !important;
  padding: 1em 3.5em !important;
}

/* =====================
   หัวฟอร์ม
===================== */
#header-title {
  color: #ffffff;
  background: #00cbfd;
  border-radius: 50px 50px 0px 0px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  margin: 30px auto 0px auto;
  padding: 24px 30px 20px 30px;
  font-size: 4rem;
  max-width: 860px;
  width: 100%;
  font-family: 'Kanit', sans-serif;
  text-align: center;
}

/* =====================
   กล่องหลัก (ฟอร์มทั้งหมด)
===================== */
.section-card {
  background: #fff;
  border-radius: 0px 0px 50px 50px;
  box-shadow: 0 2px 12px rgba(24, 119, 242, 0.07);
  margin: 0px auto 20px auto;
  padding: 24px 30px 20px 30px;
  max-width: 860px;
  width: 100%;
  font-family: 'Kanit', sans-serif;
}

/* =====================
   กลุ่ม: ฟอร์มกรอกข้อมูล
===================== */
.section-card form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
  margin-bottom: 10px;
  align-items: stretch;
}
.section-card input[type="text"] {
  font-family: 'Kanit', sans-serif;
  font-size: 3rem;
  color: #414141;
  padding: 20px 20px;
  border: 1.5px solid #ddd;
  border-radius: 30px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0px;
}
.section-card input[type="tel"] {
  font-family: 'Kanit', sans-serif;
  font-size: 3rem;
  color: #414141;
  padding: 20px 20px;
  border: 1.5px solid #ddd;
  border-radius: 30px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 50px;
}
.section-card button[type="submit"] {
  font-family: 'Kanit', sans-serif;
  font-size: 3.5rem;
  background: #00cbfd;
  color: #fff;
  border: none;
  height: 120px;
  border-radius: 30px;
  padding: 0px 0px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
}
.section-card button[type="submit"]:active {
  background: #008cff;
}

.section-card input::placeholder {
  color: #cacaca;   /* ใส่ค่าสีที่ต้องการ */
  opacity: 1;    /* ให้สีชัด ไม่โปร่ง */
  font-weight: 400; /* (หรือ 600 ถ้าอยากเข้ม) */
}

.swal2-popup-lg { font-size: 1.2rem !important; }
.swal2-title-lg { font-size: 1.4rem !important; }
.swal2-text-lg  { font-size: 1.1rem !important; }

/* =====================
   Responsive Mobile
===================== */
@media (max-width: 960px) {
  .section-card {
    width: auto;
    max-width: 100vw;
    margin: 0;
    padding: 30px 30px 30px 30px;
    border-radius: 0;
  }
}

