.prochile-register-form {
    --prochile-field-gap-y: 1.1rem;
    --prochile-label-gap: 0.45rem;
    --prochile-control-height: 2.65rem;
    --prochile-control-padding-x: 0.85rem;
    --prochile-control-padding-y: 0.55rem;
    --prochile-column-gap-x: 1.25rem;
}

.prochile-register-form .prochile-form-row {
    margin-left: calc(var(--prochile-column-gap-x) * -0.5);
    margin-right: calc(var(--prochile-column-gap-x) * -0.5);
}

.prochile-register-form .prochile-form-col {
    padding-left: calc(var(--prochile-column-gap-x) * 0.5);
    padding-right: calc(var(--prochile-column-gap-x) * 0.5);
}

.prochile-register-form .prochile-form-banner-wrap {
    text-align: center;
    margin-bottom: 1rem;
}

.prochile-register-form .prochile-form-banner {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0 auto;
}

.prochile-register-form .prochile-optional-col {
    max-width: 50%;
}

.prochile-register-form .prochile-docs-captcha-col {
    max-width: 50%;
}

.prochile-register-form .prochile-form-group {
    margin-bottom: var(--prochile-field-gap-y) !important;
}

.prochile-register-form .prochile-form-group .form-label {
    display: block;
    margin-bottom: var(--prochile-label-gap);
    line-height: 1.3;
}

.prochile-register-form .prochile-form-group .prochile-label-example {
    color: #6c757d;
    font-weight: 400;
}

.prochile-register-form .prochile-form-group .form-control,
.prochile-register-form .prochile-form-group .form-select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: var(--prochile-control-height);
    min-height: var(--prochile-control-height);
    padding: var(--prochile-control-padding-y) var(--prochile-control-padding-x);
    line-height: 1.25;
}

.prochile-register-form .prochile-form-group > .text-danger.small {
    display: block;
    margin-top: 0.3rem;
}

.prochile-register-form .prochile-form-group .form-label .text-danger {
    display: inline-block;
    margin-left: 0.25rem;
    margin-top: 0;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .prochile-register-form {
        --prochile-field-gap-y: 1rem;
        --prochile-label-gap: 0.4rem;
        --prochile-control-height: 2.55rem;
        --prochile-column-gap-x: 0.9rem;
    }

    .prochile-register-form .prochile-optional-col {
        max-width: 100%;
    }

    .prochile-register-form .prochile-docs-captcha-col {
        max-width: 100%;
    }
}
