/* Daho Contact Form v1.0.1 — tông web #0e5937 + #fff + #000000.
   Các màu xám trong file chỉ là trắng/đen pha loãng (rgba trắng trên nền đen),
   không thêm tông màu mới. Nút xanh đậm trên nền đen khó đọc nên chữ luôn trắng. */
/* v1.0.3: desktop form dùng hết chiều rộng khối chứa, không còn giới hạn 640px
   nên trông nhỏ (theo phản hồi của Giang). Mobile vốn đã 100% nên không đổi. */
.daho-qf-wrap { box-sizing: border-box; max-width: 100%; margin: 0 auto; font-family: inherit; }
.daho-qf-wrap *, .daho-qf-wrap *::before, .daho-qf-wrap *::after { box-sizing: border-box; }
.daho-qf-card { background: #000000; color: #fff; border: 1px solid rgba(255,255,255,.18); border-top: 4px solid #0e5937; border-radius: 14px; padding: 32px 28px; }
.daho-qf-title { margin: 0 0 8px; font-size: 23px; line-height: 1.3; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; color: #fff; }
.daho-qf-subtitle { margin: 0 0 28px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.75); }
/* v1.0.1: bỏ fieldset/legend — viền fieldset của theme hiện thành đường kẻ ngang
   dưới tiêu đề từng bước (thấy rõ ở ảnh Giang gửi). Dùng div + p để tự chủ khoảng cách. */
.daho-qf-group { border: 0; padding: 0; margin: 0 0 30px; }
.daho-qf-group-title { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 14px; padding: 0; display: flex; align-items: center; gap: 10px; line-height: 1.4; }
.daho-qf-step { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #0e5937; color: #fff; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.daho-qf-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.daho-qf-opts > .daho-qf-opt:last-child:nth-child(odd) { grid-column: span 2; }
.daho-qf-opt { position: relative; display: flex; }
.daho-qf-opt input { position: absolute; opacity: 0; pointer-events: none; }
.daho-qf-opt span { display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; min-height: 50px; padding: 12px 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; font-size: 14px; line-height: 1.4; color: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.daho-qf-opt:hover span { border-color: #0e5937; }
.daho-qf-opt input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.daho-qf-opt input:checked + span { border-color: #0e5937; background: rgba(14,89,55,.4); color: #fff; font-weight: 700; }
.daho-qf-note { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.65); margin: 0 0 24px; }
.daho-qf-divider { border-top: 1px dashed rgba(255,255,255,.25); margin: 0 0 24px; }
.daho-qf-contact-label { font-size: 13px; font-weight: 700; letter-spacing: .4px; color: #fff; margin: 0 0 16px; }
.daho-qf-field { margin-bottom: 16px; }
.daho-qf-field input, .daho-qf-field select { width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; color: #fff; font-size: 15px; line-height: 1.5; padding: 14px 14px; outline: none; appearance: none; -webkit-appearance: none; }
/* v1.0.1 — sửa ô tỉnh/thành bị cắt chữ (ảnh 2): ô select trên web Giang thấp hơn
   hẳn 2 ô input và chữ chỉ hiện một lát cắt ở giữa. Nguyên nhân là theme
   (Flatsome) áp chiều cao / line-height cố định cho select. Ép lại chiều cao
   tự động theo padding + line-height 1.5, bằng đúng chiều cao 2 ô input. */
.daho-qf-wrap .daho-qf-field input, .daho-qf-wrap .daho-qf-field select { height: auto !important; min-height: 52px !important; line-height: 1.5 !important; }
.daho-qf-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.daho-qf-field select option { background: #000000; color: #fff; }
.daho-qf-field input:focus, .daho-qf-field select:focus { border-color: #0e5937; }
.daho-qf-field input::placeholder { color: rgba(255,255,255,.55); }
.daho-qf-field.is-invalid input, .daho-qf-field.is-invalid select { border-color: #fff; border-width: 2px; }
.daho-qf-error { display: none; margin: 8px 0 0; font-size: 13px; font-weight: 700; color: #fff; }
.daho-qf-field.is-invalid .daho-qf-error { display: block; }
.daho-qf-submit { width: 100%; border: 0; border-radius: 10px; background: #0e5937; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .3px; padding: 16px; cursor: pointer; transition: background .15s; margin-top: 10px; }
.daho-qf-submit:hover { background: #0a452b; }
.daho-qf-submit:disabled { opacity: .6; cursor: wait; }
.daho-qf-form-error { display: none; font-size: 14px; font-weight: 700; color: #fff; text-align: center; margin: 14px 0 0; }
.daho-qf-form-error.is-visible { display: block; }
.daho-qf-foot { text-align: center; font-size: 13px; color: rgba(255,255,255,.65); margin: 16px 0 0; }
.daho-qf-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.daho-qf-success[hidden] { display: none; }
.daho-qf-success { text-align: center; padding: 10px 0 4px; }
.daho-qf-success h3 { color: #fff; margin: 0 0 8px; font-size: 20px; }
.daho-qf-success p { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.6; margin: 0 0 8px; }
.daho-qf-code { display: inline-block; background: #0e5937; color: #fff !important; font-size: 22px !important; font-weight: 800; letter-spacing: 1px; padding: 8px 18px; border-radius: 8px; }
@media (max-width: 480px) {
  .daho-qf-card { padding: 24px 18px; }
  .daho-qf-title { font-size: 20px; }
  .daho-qf-group { margin-bottom: 26px; }
  .daho-qf-opts { gap: 12px; }
  .daho-qf-opt span { font-size: 13px; min-height: 50px; }
}
