.uavacf {
  box-sizing: border-box;
  display: block;
  max-width: 680px;
  width: 100%;
}

.uavacf *,
.uavacf *::before,
.uavacf *::after {
  box-sizing: border-box;
}

.uavacf-is-modal {
  display: inline-block;
  max-width: none;
  width: auto;
}

.uavacf-inline-shell,
.uavacf-content {
  width: 100%;
}

.uavacf-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.uavacf-form {
  background: #ffffff;
  border: 0;
  box-shadow: none;
  margin: 0;
  max-width: 680px;
  padding: 28px;
  width: 100%;
}

.uavacf-form h3 {
  color: #182333;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 24px;
}

.uavacf-fields {
  display: grid;
  gap: 18px 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.uavacf-field {
  color: #2f3542;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  min-width: 0;
}

.uavacf-field--full {
  grid-column: 1 / -1;
}

.uavacf-field--half {
  grid-column: span 1;
}

.uavacf-field span {
  display: block;
  margin: 0 0 7px;
}

.uavacf-field input,
.uavacf-field select,
.uavacf-field textarea {
  background: #ffffff;
  border: 1px solid #dcdfe6;
  box-shadow: none;
  color: #333333;
  display: block;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  padding: 0 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.uavacf-field input,
.uavacf-field select {
  height: 40px;
  line-height: 40px;
}

.uavacf-field input[type="file"] {
  height: auto;
  line-height: 1.4;
  min-height: 59px;
  padding: 10px;
  border-radius: 50px!important;
}

.uavacf-field input[type="file"]::file-selector-button {
  background: #000000;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  margin-right: 12px;
  min-height: 37px;
  padding: 9px 13px;
}

.uavacf-field input[type="file"]::-webkit-file-upload-button {
  background: #000000;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  margin-right: 12px;
  min-height: 37px;
  padding: 9px 13px;
}

.uavacf-field em {
  color: #6b7280;
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  margin-top: 6px;
}

.uavacf-field textarea {
  height: 50px;
  line-height: 1.45;
  min-height: 50px;
  padding: 14px 15px;
  resize: vertical;
}

.uavacf-field input::placeholder,
.uavacf-field textarea::placeholder {
  color: #8b95a5;
  opacity: 1;
}

.uavacf-field input:focus,
.uavacf-field select:focus,
.uavacf-field textarea:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.12);
}

.uavacf-submit {
  background: #444446;
  border: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  color: #ffffff;
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  height: 40px;
  line-height: 40px;
  margin-top: 26px;
  padding: 0 18px;
  text-align: center;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.uavacf-turnstile {
  margin-top: 20px;
}

.uavacf-submit:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
  transform: translateY(-3px);
}

.uavacf-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.uavacf-error {
  color: #c62828;
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  min-height: 0;
  padding-top: 5px;
}

.uavacf-field.has-error input,
.uavacf-field.has-error select,
.uavacf-field.has-error textarea {
  border-color: #c62828;
}

.uavacf-message {
  color: #25313d;
  font-size: 14px;
  margin: 14px 0 0;
  padding: 0;
}

.uavacf-message:empty {
  display: none;
}

.uavacf-message.is-error,
.uavacf-message.is-success {
  padding: 12px 14px;
}

.uavacf-message.is-error {
  background: #fdecea;
  color: #9f1d1d;
}

.uavacf-message.is-success {
  background: #eaf7ed;
  color: #1d6f35;
}

.uavacf-open {
  background: #444446;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  min-height: 40px;
  padding: 0 18px;
}

.uavacf-modal {
  align-items: center;
  background: rgba(12, 20, 28, 0.62);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 99999;
}

.uavacf-modal.is-open {
  display: flex;
}

.uavacf-panel {
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  max-height: min(86vh, 760px);
  max-width: 680px;
  overflow: auto;
  padding: 0;
  position: relative;
  width: min(100%, 680px);
}

.uavacf-close {
  align-items: center;
  background: #eef2f5;
  border: 0;
  color: #23313f;
  cursor: pointer;
  display: flex;
  font-size: 26px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
  z-index: 2;
}

@media (max-width: 768px) {
  .uavacf-form {
    padding: 22px;
  }

  .uavacf-fields {
    grid-template-columns: 1fr;
  }

  .uavacf-field--half,
  .uavacf-field--full {
    grid-column: 1 / -1;
  }

  .uavacf-field input,
  .uavacf-field select,
  .uavacf-submit {
    height: 40px;
    line-height: 40px;
  }

  .uavacf-field textarea {
    height: 50px;
    min-height: 50px;
  }

  .uavacf-modal {
    align-items: flex-end;
    padding: 0;
  }

  .uavacf-panel {
    max-height: 92vh;
    width: 100%;
  }
}
