#wt-form-wrapper-M85ZM {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  text-align: left;
}

#wt-form-wrapper-M85ZM .f-field-group {
  margin-bottom: 20px;
}

#wt-form-wrapper-M85ZM .f-field-group > label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #484848;
}

#wt-form-wrapper-M85ZM .text-error {
  color: #a46349;
  font-weight: 600;
}

#wt-form-wrapper-M85ZM input[type="text"],
#wt-form-wrapper-M85ZM input[type="email"],
#wt-form-wrapper-M85ZM input[type="tel"],
#wt-form-wrapper-M85ZM textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #484848;
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

#wt-form-wrapper-M85ZM input[type="text"]:focus,
#wt-form-wrapper-M85ZM input[type="email"]:focus,
#wt-form-wrapper-M85ZM input[type="tel"]:focus,
#wt-form-wrapper-M85ZM textarea:focus {
  background: #fff;
  border-color: #a46349;
  box-shadow: 0 0 0 3px rgba(164, 99, 73, .12);
}

#wt-form-wrapper-M85ZM textarea {
  min-height: 110px;
  resize: vertical;
}

/* Checkbox row: input and label side by side, aligned at the top */
#wt-form-wrapper-M85ZM .f-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#wt-form-wrapper-M85ZM .f-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #a46349;
}

#wt-form-wrapper-M85ZM .f-checkbox label {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #6b7280;
}

#wt-form-wrapper-M85ZM .f-checkbox a {
  color: #a46349;
  text-decoration: underline;
}

#wt-form-wrapper-M85ZM .f-btn-group button[type="submit"] {
  width: 100%;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
  background: #a46349;
  border: none;
  border-radius: 25px;
  box-shadow: 0 2px 10px rgba(164, 99, 73, .3);
  cursor: pointer;
  transition: all .25s ease;
}

#wt-form-wrapper-M85ZM .f-btn-group button[type="submit"]:hover {
  background: #89523d;
  box-shadow: 0 4px 16px rgba(164, 99, 73, .4);
  transform: translateY(-1px);
}

#uc-form-dialog {
  position: relative;
  width: calc(100% - 32px);
  max-width: 720px;
  padding: 0;
  border: none;
  border-radius: 16px;
  background: transparent;
  overflow: visible;
}

#uc-form-dialog::backdrop {
  background: rgba(58, 68, 95, .6);
}

#uc-form-dialog #wt-form-wrapper-M85ZM {
  margin: 0;
  max-width: none;
}

.uc-form-dialog__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  color: #484848;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  cursor: pointer;
  transition: color .2s ease;
}

.uc-form-dialog__close:hover {
  color: #a46349;
}


@media (max-width: 768px) {
  #uc-form-dialog {
    max-height: 85vh;
    overflow-y: auto;
  }

  .uc-form-dialog__close {
    top: 8px;
    right: 8px;
  }
}