
input[type="radio"] {
  width: 20px;
  height: 20px;
}


.swal-text-content {
  font-family: "TH Sarabun New", "Sarabun", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
}

.swal-text-content p {
  margin-bottom: 8px;
  text-indent: 20px;
}

/* scroll เมื่อข้อความยาว */
.swal2-html-container {
  max-height: 60vh;
  overflow-y: auto;
}

/* responsive มือถือ */
@media (max-width: 768px) {
  .swal2-popup {
    width: 95% !important;
    padding: 1rem !important;
  }

  .swal-text-content {
    font-size: 18px;
    line-height: 1.5;
  }

  .swal-text-content p {
    text-indent: 15px;
  }
}

a {
  text-decoration: none;
}

.modal {
  z-index: 1061 !important;
}

@media only screen and (max-width: 767px) {
  p {
    font-size: 12px !important;
    line-height: 17px !important;
  }
}


input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.gender-option input[type="radio"] {
  display: none;
}

.gender-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  cursor: pointer;

  height: 105px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  transition: all 0.25s ease;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gender-card i {
  font-size: 26px;
  margin-bottom: 6px;
  color: #6b7280;
}

.gender-card span {
  font-size: 16px;
  color: #374151;
}

/* hover */

.gender-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* selected */

.gender-option input[type="radio"]:checked + .gender-card {
  border: 2px solid #2563eb;
  background: #f1f6ff;
}

.gender-option input[type="radio"]:checked + .gender-card i {
  color: #2563eb;
}

.tag-option input {
  display: none;
}

.tag-chip {
  display: inline-block;
  border: 1px solid #e5e7eb;
  padding: 8px 14px;
  margin: 6px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  background: #f9fafb;
  transition: all 0.2s;
}

.tag-chip:hover {
  background: #eef2ff;
}

.tag-option input:checked + .tag-chip {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}
