/* ===== GREEN GLASS THEME ===== */
.green-glass{
  background: rgba(20,40,20,0.65);
  backdrop-filter: blur(20px);
  border:1px solid rgba(0,255,150,0.2);
  box-shadow:0 0 40px rgba(0,255,150,0.08);
  border-radius:20px;
}

/* FORM */
.modern-form{
  display:flex;
  flex-direction:column;
  gap:30px;
}

/* BLOCK */
.form-block{
  display:flex;
  flex-direction:column;
  gap:12px;

}

/* LABEL */
.form-label{
  font-weight:600;
  color:#9affc7;
}

/* INPUT */
.form-input{
  max-width:250px;   /* 👈 เพิ่ม */
  width:100%;  
}
.form-input{
  max-width:250px;   /* 👈 เพิ่ม */
  width:100%;  
}
.input-wide{
  max-width:700px;   /* 👈 ปรับความยาวตามต้องการ */
  width:100%;
}
.modern-form textarea{
  max-width:500px;
  min-height:10px;   /* 👈 ปรับความสูง */
  resize:vertical;    /* 👈 ให้ลากขยายได้เฉพาะแนวตั้ง */
  width:100%; 
}
.modern-form input,
.modern-form textarea,
.modern-form select{
  padding:14px;
  border-radius:10px;
  border:1px solid rgba(0,255,150,0.2);
  background:rgba(255,255,255,0.03);
  color:#fff;
  transition:0.3s;

}

.form-input:focus{
  border-color:#00ff99;
  box-shadow:0 0 10px rgba(0,255,150,0.3);
  outline:none;
}

/* RADIO */
.radio-group{
  display:flex;
  gap:20px;
}

/* SUB CARD */
.glass-subcard{
  padding:25px;
  border-radius:15px;
  background:rgba(0,0,0,0.2);
}

/* GRID */
.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

/* TITLE */
.section-title{
  font-size:22px;
  color:#00ff99;
  margin-bottom:10px;
}

/* BUTTON */
.form-submit{
  text-align:center;
}

.submit-btn{
  padding:15px 40px;
  border:none;
  border-radius:50px;
  font-size:18px;
  font-weight:600;
  background:linear-gradient(45deg,#00ff99,#00cc66);
  color:#002211;
  cursor:pointer;
  transition:0.3s;
}

.submit-btn:hover{
  transform:scale(1.05);
  box-shadow:0 0 20px rgba(0,255,150,0.5);
}

/* CHECKBOX */
.checkbox{
  display:flex;
  gap:10px;
  align-items:center;
}

/* RESPONSIVE */
@media(max-width:768px){
  .grid-2{
    grid-template-columns:1fr;
  }
}
/* ROW */
.form-row{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:18px;
}

/* LABEL STYLE */
.form-row label{
  font-size:14px;
  color:#8fffcc;
  font-weight:500;
}

/* GRID 3 (ชื่อ) */
.grid-3{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:12px;
}

/* ปรับ input disabled ให้ดูไม่จางเกิน */
.form-input:disabled{
  opacity:0.7;
  cursor:not-allowed;
}
.center-title{
  text-align:center;
  position:relative;
  margin-bottom:30px;
  padding-bottom:20px;
}
.page-title{
  text-align:center;
  margin-bottom:40px;
}

/* ตัวหัวข้อ */
.page-title h2{
  font-size:32px;
  font-weight:600;
  color:#00ff99;
  letter-spacing:1px;
  margin:0;
}

/* เส้นคั่น */
.page-title::after{
  content:"";
  display:block;
  margin:15px auto 0;
  width:100%;
  max-width: 100%;
  height:1px;
  background:linear-gradient(90deg, transparent, #00ff99, transparent);
}
.neon-success{
  display:none; /* คง logic เดิม */
  color:#00ff99;
  font-weight:600;

  text-shadow:
    0 0 5px #00ff99,
    0 0 10px #00ff99,
    0 0 15px rgba(0,255,150,0.8);
}
.custom-select{
  position:relative;
  max-width:500px;
  width:100%;
}

/* กล่องหลัก */
.select-box{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px;
  border-radius:10px;
  border:1px solid rgba(0,255,150,0.2);
  background:rgba(20,40,20,0.8);
  color:#fff;
  cursor:pointer;
}

/* ลูกศร */
.arrow{
  color:#00ff99;
}

/* options */
.options{
  position:absolute;
  width:100%;
  background:#0f2f1f;
  border-radius:10px;
  margin-top:5px;
  display:none;
  z-index:1000;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,255,150,0.2);
}

/* option */
.option{
  padding:12px;
  cursor:pointer;
  transition:0.2s;
  color:#fff;
}

/* hover */
.option:hover{
  background:#00ff99;
  color:#002211;
}

/* active */
.custom-select.active .options{
  display:block;
}
/* เส้นคั่น */
.center-title::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:120px;              /* 👈 ความยาวเส้น */
  height:2px;
  background:linear-gradient(90deg, transparent, #00ff99, transparent);
  box-shadow:0 0 10px rgba(0,255,150,0.6);
}
.center-title h2{
  font-size:32px;
  letter-spacing:1px;
}
.center-title{
  text-align:center;
  display:block !important;   /* 👈 แก้ flex ทับ */
  position:relative;
  margin-bottom:30px;
  padding-bottom:20px;
}

/* บังคับ h2 อยู่กลาง */
.center-title h2{
  margin:0 auto;
  display:inline-block;
}

/* เส้นคั่น */
.center-title::after{
  content:"";
  display:block;
  margin:15px auto 0;
  width:180px;
  height:3px;
  background:linear-gradient(90deg, transparent, #00ff99, transparent);
  box-shadow:0 0 10px rgba(0,255,150,0.6);
}

/* RESPONSIVE */
@media(max-width:768px){
  .grid-3{
    grid-template-columns:1fr;
  }
}