/* Shared quote form additions: CNPJ status, selects, consent and visible errors. */
.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select,
.brindemais-field.has-error input,
.brindemais-field.has-error textarea,
.brindemais-field.has-error select {
  border-color: #e8512e;
  box-shadow: 0 0 0 3px rgba(232, 81, 46, 0.12);
}

.brindemais-quote-modal select {
  width: 100%;
  border: 1px solid rgba(21, 17, 66, 0.15);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.625rem 0.75rem;
  color: #151142;
  font: inherit;
}

.quote-cnpj-status {
  display: block;
  min-height: 1.1em;
  margin-top: 5px;
  color: #5a5888;
  font-size: 0.78rem;
}

.quote-cnpj-status.is-error {
  color: #c23d1d;
}

.quote-form-notice:not(:empty),
.brindemais-quote-form__feedback:not(:empty) {
  padding: 10px 12px;
  border-left: 3px solid #e8512e;
  border-radius: 8px;
  background: rgba(232, 81, 46, 0.08);
  color: #c23d1d;
}

.brindemais-quote-consent {
  cursor: pointer;
}

.brindemais-quote-consent input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: #e8512e;
}

.brindemais-quote-consent.has-error {
  color: #e8512e;
}

.brindemais-quote-consent.has-error input {
  outline: 2px solid #e8512e;
  outline-offset: 1px;
}
