.agreement-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.agreement-input:last-of-type {
  margin-top: 0.5rem;
}

.agreement-input:hover {
  cursor: pointer;
}

.agreement-input a{
  color: #555558;
}

.agreement-input a:hover{
  color: var(--brand-blue);
}

.agreement-checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid #E6E9F2;
  background: #fff;
  border-radius: 6px;
  text-align: center;
  flex: 0 0 20px;
}
.agreement-checkbox.hover {
  background: transparent;
}
.agreement-checkbox.active--dot {
  border: 1px solid var(--brand-blue);
  background: var(--brand-blue);
}

.agreement-checkbox.hover.active--dot {
  background: var(--brand-blue-hover);
}

.agreement-checkbox.active--dot::before {
  content: "\2713";
  color: white;
}

.agreement-checkbox.required {
  border: 1px solid var(--brand-red);
}

.form-sub{
  display: flex;
  align-items: center; 
  gap: 1rem;
}

.agreement-text{
  width: 480px; 
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
  text-align: left;
}

.form.two-rows{
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 0;
}

.form.two-rows #inline_EMAIL,
.form.multiple-sign #inline_EMAIL
{
  padding: 0.6875rem 1rem;
}

.form-agree{
  transition: max-height 0.5s ease-in-out;
}

.max-width-480 form{
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.form.multiple-sign{
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr !important;
  gap: 0;
}

.form.multiple-sign  .agreement-text{
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
}

@media (max-width: 530px) {
  .form-sub{
    flex-direction: column;
  }

  .form-button{
    width: 100%;
  }

  .agreement-input{
    align-items: start;
    justify-content: start;
  }

  .agreement-text{
    width: 88%;
    white-space: normal;
    text-align: left;
    margin-top: -5px;
  }

  .max-width-480 form{
    max-width: 290px;
  }
}