af-rf {
    display: flex;
    justify-content: center;
    align-items: center;
}
af-rf-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    align-items: center;
    justify-content: center;
}

.af-info {
    grid-column: 1;
    grid-row: 1;
    height: 100%;
    width: 100%;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px
}

.af-benefit {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

.af-benefit div {
    flex: 1;
}

.af-input {
    outline: none;
    outline-offset: unset;
    box-shadow: unset;
    padding: 12px;
    width: 100%;
}

.af-form {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 20px;
}

.af-form form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.af-form-action {
    margin-top: 16px;
    text-align: center;
}

.af-form-action af-rf-button {
    display: flex;
    width: 100%;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    height: 50px;
    justify-content: center;
    align-items: center;
}

af-rf-button.bl-loading svg {
    animation: bb-spinner 1s linear infinite;
}

.af-form-action .error {
    color: red;
}

.af-form-action af-rf-button:hover {
    opacity: 0.8;
}

.af-form-action af-rf-button:active {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

af-rf-thank {
    display: block;
    text-align: center;
}

.af-field.af-field-checkbox {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

/*keyframes*/
@keyframes bb-spinner {
    100% {
        transform: rotate(1turn);
    }
}

@media (max-width: 767px) {
    .af-info {
        grid-column: 1/3;
        grid-row: 1;
    }

    .af-form {
        grid-column: 1/3;
        grid-row: 2;
    }
}
