.brigade71-form,
.brigade71-form * {
  box-sizing: border-box;
}

.brigade71-form {
  width: 100%;
  max-width: min(100%, 860px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(122, 24, 50, .68);
  background:
    radial-gradient(circle at 12% 8%, rgba(122, 24, 50, .28), transparent 35%),
    linear-gradient(135deg, rgba(7, 8, 9, .98), rgba(2, 3, 3, .98));
  color: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.58);
  overflow: hidden;
}

.brigade71-form[data-form-id="anticorruption"] {
  max-width: clamp(680px, 58vw, 920px);
}

.brigade71-form-head {
  max-width: 100%;
  margin-bottom: clamp(18px, 3vw, 30px);
}

.brigade71-form-head span {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(8px, 1vw, 12px);
  color: #c22d5b;
  font-family: Arial, sans-serif;
  font-size: clamp(10px, .9vw, 12px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .075em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.brigade71-form-head h2 {
  width: 100%;
  max-width: min(100%, 760px);
  margin: 0 0 clamp(10px, 1.4vw, 14px);
  color: #a73656;
  font-family: Oswald, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(30px, 4.3vw, 50px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}

.brigade71-form[data-form-id="anticorruption"] .brigade71-form-head h2 {
  max-width: min(100%, 720px);
  font-size: clamp(28px, 3.9vw, 46px);
  line-height: 1.06;
  letter-spacing: -.006em;
}

.brigade71-form-head p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-family: Arial, sans-serif;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.5;
}

.brigade71-form-note {
  margin: clamp(14px, 1.8vw, 18px) 0 0;
  color: rgba(255,255,255,.96);
  font-family: Arial, sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.58;
}

.brigade71-form-note--bottom {
  padding-top: 6px;
}

.brigade71-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 16px);
}

.brigade71-form label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: rgba(255,255,255,.78);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.brigade71-field[data-field-type="textarea"],
.brigade71-field[data-field-type="textarea_advanced"],
.brigade71-field[data-field-type="url_list"],
.brigade71-field[data-field-type="file"],
.brigade71-full,
.brigade71-consent {
  grid-column: 1 / -1;
}

.brigade71-form input,
.brigade71-form select,
.brigade71-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 0;
  background: rgba(0,0,0,.44);
  color: #fff;
  padding: 0 14px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  outline: none;
  box-shadow: none;
}

.brigade71-form input[type="file"] {
  padding: 12px 14px;
  line-height: 1.4;
}

.brigade71-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #c22d5b 50%),
    linear-gradient(135deg, #c22d5b 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}


.brigade71-form select {
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  line-height: 52px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

.brigade71-form select option {
  background: #050506;
  color: #fff;
}

.brigade71-form textarea {
  min-height: 110px;
  padding-top: 14px;
  resize: vertical;
  line-height: 1.45;
}

.brigade71-field[data-field-type="textarea_advanced"] textarea[name="incident_description"] {
  min-height: clamp(240px, 34vh, 420px);
  line-height: 1.58;
}

.brigade71-form input:focus,
.brigade71-form select:focus,
.brigade71-form textarea:focus {
  border-color: #c22d5b;
  box-shadow: 0 0 0 3px rgba(194,45,91,.16);
}

.brigade71-phone {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.44);
}

.brigade71-phone-prefix {
  padding: 0 10px 0 14px;
  color: #c22d5b;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.brigade71-phone input {
  border: 0;
  background: transparent;
  padding-left: 0;
  min-height: 46px;
}

.brigade71-consent {
  margin-top: 2px;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 13px !important;
  line-height: 1.35;
}

.brigade71-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
}

.brigade71-alert {
  min-height: 22px;
  margin-top: 14px;
  color: #ffb4c8;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.brigade71-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 12px;
  border: 1px solid rgba(194,45,91,.55);
  background: linear-gradient(135deg, rgba(122,24,50,1), rgba(74,23,23,1));
  color: #fff;
  font-family: Oswald, Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.brigade71-submit:hover {
  transform: translateY(-1px);
  border-color: #c22d5b;
  box-shadow: 0 0 26px rgba(194,45,91,.22);
}

.brigade71-submit:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.brigade71-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

@media (max-width: 700px) {
  .brigade71-form {
    max-width: 100% !important;
    padding: clamp(18px, 5vw, 26px);
  }

  .brigade71-form-grid {
    grid-template-columns: 1fr;
  }

  .brigade71-form-head h2 {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.08;
  }

  .brigade71-form[data-form-id="anticorruption"] .brigade71-form-head h2 {
    font-size: clamp(26px, 8.4vw, 38px);
  }
}


.brigade71-counter {
  display: block;
  margin-top: -2px;
  color: rgba(255,255,255,.52);
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.brigade71-counter.is-over {
  color: #ffb4c8;
}

/* 6.2.0: managed file attachments list */
.brigade71-file-field input[type="file"] {
  cursor: pointer;
}

.brigade71-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.brigade71-file-add,
.brigade71-file-clear,
.brigade71-file-remove {
  appearance: none;
  border: 1px solid rgba(194,45,91,.45);
  background: rgba(122,24,50,.22);
  color: #fff;
  min-height: 38px;
  padding: 0 12px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
  cursor: pointer;
}

.brigade71-file-clear,
.brigade71-file-remove {
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.82);
}

.brigade71-file-list {
  display: none;
  margin-top: 6px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.28);
}

.brigade71-file-list.has-files {
  display: grid;
}

.brigade71-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-transform: none;
  letter-spacing: 0;
}

.brigade71-file-row:first-child {
  border-top: 0;
}

.brigade71-file-name {
  min-width: 0;
  color: rgba(255,255,255,.94);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.brigade71-file-meta {
  color: rgba(255,255,255,.56);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.brigade71-file-remove {
  min-height: 32px;
  padding: 0 10px;
  font-size: 11px;
}

@media (max-width: 560px) {
  .brigade71-file-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .brigade71-file-meta,
  .brigade71-file-remove {
    justify-self: start;
  }
}
