.dga-cmp {
  --dga-primary: var(--e-global-color-accent, var(--main_orange));
  --dga-primary-strong: var(--e-global-color-secondary, color-mix(in srgb, var(--main_orange) 62%, black));
  --dga-primary-soft: var(--e-global-color-46484d08, var(--surface-hover));
  --dga-primary-muted: var(--e-global-color-4d20cb66, var(--border-subtle));
  --dga-danger: var(--e-global-color-d6a009, var(--main_red));
  --dga-text: var(--main_navy);
  --dga-muted: var(--text-muted);
  --dga-border: var(--border-muted);
  --dga-surface: var(--e-global-color-917bb74, white);
  --dga-surface-muted: var(--e-global-color-ff085eb, var(--main_lightwhite));
  font-family: Prompt, "Noto Sans Thai", "Segoe UI", sans-serif;
  color: var(--dga-text);
  background: #f7f4f2;
}
.dga-cmp-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  color: white;
  background: linear-gradient(120deg, var(--dga-primary-strong), var(--dga-primary)) center/cover no-repeat;
}
.dga-cmp-hero-inner {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}
.dga-cmp-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  font-size: 13px;
  color: color-mix(in srgb, white 78%, transparent);
}
.dga-cmp-crumb a {
  color: inherit;
  text-decoration: none;
}
.dga-cmp-crumb a:hover {
  text-decoration: underline;
}
.dga-cmp-hero h1 {
  margin: 0;
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: white;
}
.dga-cmp-lead {
  margin: 0.4rem 0 0;
  font-size: 14px;
}
.dga-cmp-section {
  margin-top: -1.75rem;
  padding: 0 0 4rem;
}
.dga-cmp-wrap {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
}
.dga-cmp-card,
.dga-cmp-field,
.dga-cmp-grid,
.dga-cmp-check,
.dga-cmp-check span {
  min-width: 0;
  max-width: 100%;
}
.dga-cmp-card {
  background: var(--dga-surface);
  border-radius: 18px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--dga-text) 8%, transparent);
  padding: 1.75rem 1.5rem 2rem;
}
.dga-cmp-card h2 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 700;
}
.dga-cmp-card h3 {
  margin: 1.4rem 0 0.8rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.dga-cmp-field {
  margin-bottom: 0.95rem;
}
/* reCAPTCHA v3 leaves its mount empty. Keep real widgets and messages visible. */
.dga-cmp #dga-cmp-captcha .rfdga-captcha:empty,
.dga-cmp :is(#dga-cmp-form, #dga-wb-form) .rfdga-status:empty,
.dga-cmp #dga-cmp-captcha:has(.rfdga-captcha:empty):not(:has(.dga-cmp-note:not([hidden]), .dga-cmp-error, .g-recaptcha, .h-captcha)) {
  display: none;
}
.dga-cmp-field label,
.dga-cmp-field legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 400;
}
.dga-cmp-check,
.dga-cmp-check span {
  color: var(--dga-text);
}
.dga-cmp-hint a {
  color: var(--dga-text);
}
.dga-cmp-note {
  margin: 0.35rem 0 0;
  color: var(--dga-text);
}
.dga-cmp-field label > span,
.dga-cmp-field legend > span,
.dga-cmp-check span > span {
  color: var(--dga-danger);
  font-weight: 400;
}
.dga-cmp input[type="text"],
.dga-cmp input[type="email"],
.dga-cmp input[type="tel"],
.dga-cmp input[type="date"],
.dga-cmp select,
.dga-cmp textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--dga-border);
  border-radius: 10px;
  background: var(--dga-surface);
  color: var(--dga-text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 400;
}
.dga-cmp select,
.dga-cmp select option {
  font-size: 0.9rem;
}
.dga-cmp input::placeholder,
.dga-cmp textarea::placeholder {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.dga-cmp input[type="date"]::-webkit-datetime-edit {
  font: inherit;
}
.dga-cmp textarea {
  min-height: 140px;
  resize: vertical;
}
.dga-cmp-field.is-bad input,
.dga-cmp-field.is-bad textarea,
.dga-cmp-field.is-bad select {
  border-color: var(--dga-danger);
}
.dga-cmp-error,
.dga-cmp-alert {
  color: var(--dga-danger);
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
}
.dga-cmp-alert {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--dga-danger) 10%, white);
}
.dga-cmp-hint {
  margin: 0.3rem 0 0;
  color: var(--dga-muted);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.dga-cmp-count {
  text-align: right;
}
.dga-cmp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}
.dga-cmp-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  min-height: 46px;
  align-items: center;
}
.dga-cmp-choice label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-weight: 400;
}
.dga-cmp-drop {
  position: relative;
  padding: 1.3rem 1rem;
  border: 1.5px dashed var(--dga-border);
  border-radius: 12px;
  text-align: center;
  background: var(--dga-surface);
}
.dga-cmp-drop.is-over {
  border-color: var(--dga-primary);
  background: var(--dga-primary-soft);
}
.dga-cmp-drop p {
  margin: 0;
}
.dga-cmp-drop button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--dga-primary);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.dga-cmp-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.dga-cmp-files {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
}
.dga-cmp-files li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.45rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--dga-border);
  border-radius: 10px;
}
.dga-cmp-files li.is-bad {
  border-color: var(--dga-danger);
  background: color-mix(in srgb, var(--dga-danger) 10%, white);
}
.dga-cmp-ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--dga-primary-soft);
  border: 1px solid var(--dga-primary-muted);
  color: var(--dga-primary);
  font-size: 12px;
  font-weight: 700;
}
.dga-cmp .dga-cmp-files button,
.dga-cmp .dga-wb-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  box-sizing: border-box;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--dga-surface-muted);
  color: var(--dga-text);
  line-height: 1;
  cursor: pointer;
}
.dga-cmp .dga-cmp-files button {
  margin-left: auto;
}
.dga-cmp .dga-wb-remove[hidden] {
  display: none;
}
.dga-cmp .dga-cmp-remove-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}
.dga-cmp .dga-cmp-files button:focus-visible,
.dga-cmp .dga-wb-remove:focus-visible {
  outline: 2px solid var(--dga-primary);
  outline-offset: 2px;
}
.dga-cmp-secure {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--dga-primary-soft);
  border: 1px solid var(--dga-primary-muted);
}
.dga-cmp-secure-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 0.05rem;
  color: var(--dga-primary);
}
.dga-cmp-secure-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.dga-cmp-secure div {
  min-width: 0;
}
.dga-cmp-secure p {
  margin: 0.25rem 0 0;
}
.dga-cmp-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
}
.dga-cmp-check span {
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}
.dga-cmp-check input {
  margin-top: 0.25rem;
}
.dga-cmp-submit {
  min-height: 44px;
  padding: 0 1.3rem;
  border: 0;
  border-radius: 999px;
  background: var(--dga-primary);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.dga-cmp-submit:hover {
  background: color-mix(in srgb, var(--dga-primary) 85%, black);
}
.dga-cmp-submit:disabled {
  opacity: 0.65;
  cursor: progress;
}
.dga-cmp-hp {
  position: absolute;
  left: -9999px;
}
.dga-cmp-card.dga-cmp-success {
  width: min(100%, 640px);
  margin-inline: auto;
  padding: clamp(24px, 5vw, 40px);
  text-align: center;
}
.dga-cmp-success h2 {
  margin: 0 0 0.8rem;
  line-height: 1.45;
}
.dga-cmp-success .dga-wb-refno {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(1.15rem, 4vw, 1.5rem);
}
.dga-cmp-receipt-details {
  margin-top: 1rem;
  line-height: 1.7;
}
.dga-cmp-receipt-details p {
  margin: 0 0 0.35rem;
}
.dga-cmp-receipt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.dga-cmp-receipt-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--dga-primary);
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.dga-cmp-receipt-actions .dga-cmp-receipt-home {
  color: white;
  background: var(--dga-primary);
}
.dga-cmp-receipt-actions .dga-cmp-new-report {
  color: var(--dga-primary);
  background: var(--dga-surface);
}
.dga-cmp-receipt-actions a:hover {
  text-decoration: underline;
}
.dga-wb .dga-cmp-hero {
  position: relative;
  background: linear-gradient(120deg, #8a2e10, #f05223) center/cover no-repeat;
}
.dga-wb .dga-cmp-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #f05223, #ee9b20);
}
.dga-wb .dga-cmp-section {
  margin-top: 0;
  padding-top: 1.75rem;
}
.dga-wb .dga-cmp-card {
  border-radius: 12px;
  box-shadow: none;
  border: 1px solid var(--dga-border);
  padding: 24px 28px;
}
.dga-wb #dga-wb-form.dga-cmp-card {
  padding: 30px 32px;
}
.dga-wb .dga-cmp-card h2 {
  font-size: 16px;
  margin: 0 0 8px;
}
.dga-wb .dga-cmp-card h3 {
  font-size: 16px;
}
.dga-wb .dga-cmp-field label,
.dga-wb .dga-cmp-field legend {
  font-size: 14px;
  font-weight: 400;
}
.dga-wb input[type="text"],
.dga-wb input[type="email"],
.dga-wb input[type="tel"],
.dga-wb input[type="date"],
.dga-wb select,
.dga-wb textarea {
  min-height: 42px;
  border-radius: 8px;
}
.dga-wb .dga-cmp-grid {
  gap: 22px 24px;
}
.dga-wb .dga-cmp-submit {
  height: 40px;
  min-height: 40px;
  font-weight: 600;
}
.dga-wb .dga-cmp-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.dga-cmp.dga-wb ol.dga-wb-stepper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.dga-cmp.dga-wb ol.dga-wb-stepper li::before,
.dga-cmp.dga-wb ol.dga-wb-stepper li::marker {
  content: none !important;
  display: none !important;
}
.dga-cmp.dga-wb ol.dga-wb-stepper li {
  display: block;
  list-style: none;
  margin: 0;
  padding: 14px 18px;
  border: 1.5px solid var(--dga-border);
  border-radius: 40px;
  background: #fff;
  color: #3d3566;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: none;
}
.dga-cmp.dga-wb ol.dga-wb-stepper li .n {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 0 auto 6px;
  border-radius: 50%;
  border: 1.5px solid var(--dga-primary);
  background: transparent;
  color: var(--dga-primary);
  font-size: 13px;
  font-weight: 700;
}
.dga-cmp.dga-wb ol.dga-wb-stepper li.is-now {
  background: var(--dga-primary);
  border-color: var(--dga-primary);
  color: #fff;
}
.dga-cmp.dga-wb ol.dga-wb-stepper li.is-now .n {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.dga-cmp.dga-wb ol.dga-wb-stepper li.is-done .n {
  background: var(--dga-primary);
  border-color: var(--dga-primary);
  color: #fff;
}
.dga-wb-policy {
  font-size: 14px;
  color: #3d3566;
  line-height: 1.75;
}
.dga-wb-policy h2,
.dga-wb-policy h3 {
  font-size: 16px;
  color: var(--dga-text);
  font-weight: 700;
}
.dga-wb-policy h2 {
  margin: 0 0 6px;
}
.dga-wb-policy h3 {
  margin: 18px 0 6px;
}
.dga-wb-policy p,
.dga-wb-policy li {
  font-weight: 400;
  line-height: 1.75;
}
.dga-wb-policy ol {
  margin: 0;
  padding-left: 22px;
  list-style: decimal;
}
.dga-cmp.dga-wb .dga-wb-plain,
.dga-cmp.dga-wb .dga-wb-plain li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0.25rem 0 0;
  padding-left: 0;
  background: none;
}
.dga-cmp.dga-wb .dga-wb-plain li::marker,
.dga-cmp.dga-wb .dga-wb-plain li::before {
  content: none !important;
  display: none !important;
  width: 0;
  height: 0;
  background: none;
  border: 0;
}
.dga-wb-secure {
  margin-top: 22px;
  border: 1px solid #f3d2c6;
  border-left: 4px solid var(--dga-primary);
  background: #fff3ef;
  padding: 12px 16px;
  font-size: 13px;
  color: #3d3566;
  border-radius: 12px;
}
.dga-wb-secure p {
  margin: 0.2rem 0 0;
}
.dga-wb-accept {
  margin-top: 22px;
}
.dga-wb-accept .dga-cmp-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: none;
  border: 2px solid #888;
  border-radius: 4px;
  background: #fff;
  display: grid;
  place-items: center;
}
.dga-wb-accept .dga-cmp-check input:checked {
  background: var(--dga-primary);
  border-color: var(--dga-primary);
}
.dga-wb-accept .dga-cmp-check input:checked::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.dga-wb-center {
  text-align: center;
  margin: 24px 0 0;
}
.dga-wb #dga-wb-form h3.dga-wb-fsec {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.dga-wb #dga-wb-form h3.dga-wb-fsec:not(:first-of-type) {
  margin-top: 28px;
}
.dga-wb fieldset.dga-cmp-field,
.dga-wb-channel {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  min-width: 0;
  background: none;
}
.dga-wb-channel legend {
  display: block;
  float: none;
  width: 100%;
  padding: 0;
  margin: 0 0 8px;
}
.dga-wb-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dga-wb .dga-cmp-field label.dga-wb-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
  border: 1.5px solid var(--dga-border);
  border-radius: 16px;
  background: #fff;
  color: var(--dga-text);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.dga-wb .dga-cmp-field label.dga-wb-opt:has(input:checked) {
  border-color: var(--dga-primary);
  background: #fff3ef;
}
.dga-wb-opt input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  flex: none;
  border: 2px solid #c8c8c8;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 0;
}
.dga-wb-opt input:checked {
  border-color: var(--dga-primary);
}
.dga-wb-opt input:checked::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dga-primary);
}
.dga-wb-opt .ico {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dga-wb .dga-cmp-drop {
  background: #fff;
  color: var(--dga-text);
}
.dga-wb .dga-cmp-drop p {
  font-weight: 400;
}
.dga-wb-person-head,
.dga-wb-person {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1fr) 36px;
  gap: 12px;
  align-items: center;
}
.dga-wb-person-head {
  margin: 8px 0 0.35rem;
  font-size: 14px;
  font-weight: 400;
}
.dga-wb-person {
  margin-top: 10px;
}
.dga-wb-person .no {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dga-muted);
}
.dga-wb .dga-wb-person input[type="text"] {
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 400;
}
.dga-wb-add-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 12px;
}
.dga-wb-add-row .dga-cmp-hint {
  margin: 0;
}
.dga-wb-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: auto;
  padding: 5px 12px;
  border: 1px solid var(--dga-border);
  border-radius: 999px;
  background: #fff;
  color: var(--dga-text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
}
.dga-wb-add .add-ico {
  width: 16px;
  height: 16px;
  color: var(--dga-primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.dga-wb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 24px 0 8px;
}
.dga-wb-back {
  height: 40px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--dga-border);
  border-radius: 999px;
  background: #fff;
  color: var(--dga-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.dga-wb-deadline {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #3d3566;
  margin: 8px 0 0;
}
.dga-wb-channels {
  margin-top: 22px;
  font-size: 14px;
  color: #3d3566;
  background: #fff;
}
.dga-wb-channels ol {
  padding-left: 22px;
}
.dga-wb-notice {
  text-align: center;
  padding: 40px 36px;
  max-width: 640px;
  margin-inline: auto;
}
.dga-wb-ok {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff3ef;
  color: var(--dga-primary);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-size: 30px;
  font-weight: 700;
}
.dga-wb-refno {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1.5px dashed var(--dga-primary);
  border-radius: 8px;
  padding: 8px 22px;
  margin: 8px 0;
  background: #fff3ef;
  color: #1e154c;
}
.dga-wb-notice .dga-wb-secure {
  text-align: left;
}
.dga-cmp-check small {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
}
@media (max-width: 720px) {
  .dga-cmp.dga-wb ol.dga-wb-stepper {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .dga-cmp-hero {
    min-height: 280px;
  }
  .dga-cmp-hero h1 {
    font-size: 1.7rem;
  }
  .dga-cmp-grid {
    grid-template-columns: 1fr;
  }
  .dga-cmp-card {
    padding: 1.15rem 0.9rem 1.4rem;
  }
  .dga-wb #dga-wb-form.dga-cmp-card,
  .dga-wb .dga-cmp-card {
    padding: 16px;
  }
  .dga-cmp-submit {
    width: 100%;
  }
  .dga-wb-opts {
    grid-template-columns: 1fr;
  }
  .dga-wb-person-head,
  .dga-wb-person {
    grid-template-columns: 28px minmax(0, 1fr) 36px;
  }
  .dga-wb-person-head span:nth-child(3),
  .dga-wb-person input:nth-of-type(2) {
    grid-column: 2;
  }
  .dga-wb .dga-wb-remove {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .dga-wb-add-row {
    flex-wrap: wrap;
  }
  .dga-wb-actions {
    flex-direction: column;
  }
  .dga-wb-back {
    width: 100%;
  }
}
