.flex-1 {
  flex: 1;
  align-self: flex-start;
}

.error_msg {
  color: #e31717;
  font-size: .875rem;
  margin-top: 6px;
  display: none;
}

.error_msg.-error {
  display: block;
}

input {
  background: #fff !important;
}

input.-error {
  border-color: #e31717 !important;
  background: #fdf0f0 !important;
}

input.-success {
  border-color: #1fad82 !important;
  background: #f2fffb !important;
}

select.-error {
  border-color: #e31717 !important;
  background: #fdf0f0 !important;
}

select.-success { 
  border-color: #1fad82 !important;
  background: #f2fffb !important;
}

select:focus {
  outline: 1px solid #000;
}


.child-select {
  display: none;
}

.child-select.-show {
  display: block;
  margin-top: 16px;
}


#submit_button:disabled {
  opacity: .5 !important;
  pointer-events: none !important;
}

.field-block {
  display: block;
  width: 100%;
  position: relative;
}

.field-block::before {
  content: '';
  width: 1.75rem;
  height: 1.75rem;
  background-image: url(/img/_common/icon_form-error.svg);
  background-size: contain;
  background-repeat: no-repeat;
  top: 50%;
  transform: translateY(-50%) scale(0);
  right: 10px;
  position: absolute;
}

.field-block:has(.-error)::before {
  transform: translateY(-50%) scale(1);
}

.field-block::after {
  width: 1.1875rem;
  height: .625rem;
  border-left: .125rem solid #1fad82;
  border-bottom: .125rem solid #1fad82;
  top: 50%;
  transform: rotate(-45deg) scaleX(0);
  right: 15px;
  transform-origin: left;
  position: absolute;
  content: '';
}

.field-block:has(.-success)::after {
  transform: rotate(-45deg) scaleX(1);
  transition: transform .2s ease-in-out;
}

.agree-check {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 24px;
}

.agree-check label {
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding-left: 1.6875em !important;
  display: inline-block !important;
  line-height: 1.75 !important;
  font-size: 18px !important;
}

@media screen and (max-width: 1400px) {
  .agree-check label {
    font-size: calc(18 / 1400 * 100vw) !important;
  }
}

@media screen and (max-width: 768px) {
  .agree-check label {
    font-size: calc(16 / 390 * 100vw) !important;
  }
}
.agree-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  line-height: 1.75 !important;
}
