.amrekordform .grid {
    max-width: 36rem;
}

.amrekordform .grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .amrekordform .grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .amrekordform .grid {
        gap: 2rem;
    }
}

.amrekordform .form-group {
    margin-top: 2.5rem;
    position: relative;
}

.amrekordform .form-group input {
    background-color: transparent;
    border-bottom-color: rgb(184 184 184 / 1);
    border-width: 0 0 1px;
    color: rgb(61 56 51 / 1);
    height: 4rem;
    width: 100%;
}

.amrekordform .form-group label {
    font-size: .875rem;
    left: 0;
    line-height: 1.25rem;
    position: absolute;
    top: -1.25rem;
}

.amrekordform .form-group textarea {
    background-color: transparent;
    border-bottom-color: rgb(184 184 184 / 1);
    border-width: 0 0 1px;
    color: rgb(61 56 51 / 1);
    height: 8rem;
    padding-top: 1.25rem;
    width: 100%;
}

.amrekordform .amrekordform-submit {
    background-color: rgb(69 185 49 / 1);
    border-color: rgb(69 185 49 / 1);
    color: rgb(255 255 255 / 1);
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
    opacity: 1;
    padding: .75rem 1.5rem;
    text-decoration-line: none;
    transition-duration: .3s;
    transition-property: opacity;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.amrekordform .amrekordform-submit:hover {
    opacity: .75;
}

.amrekordform .form-group.message,
.amrekordform .form-group-checkbox {
    grid-column: span 2 / span 2;
}

.amrekordform .form-group-checkbox {
    align-items: flex-start;
    display: flex;
    margin-top: 1.5rem;
    position: relative;
}

.amrekordform .form-group-checkbox .input-wrapper {
    align-items: center;
    display: flex;
    height: 1.25rem;
}

.amrekordform .form-group-checkbox .input-wrapper input {
    accent-color: #000000;
    border-color: rgb(0 0 0 / 1);
    border-radius: .25rem;
    border-width: 2px;
    color: rgb(0 0 0 / 1);
    height: 1.5rem;
    width: 1.5rem;
}
input:invalid {
    background: red;
}
.amrekordform .form-group-checkbox .label-wrapper {
    font-size: .875rem;
    line-height: 1.25rem;
    margin-left: .75rem;
}

.amrekordform .form-group-checkbox .label-wrapper label {
    font-size: .875rem;
    font-weight: 300;
    line-height: 1.25rem;
}

.amrekordform .d-flex {
    display: flex !important;
}

.amrekordform .d-none {
    display: none !important;
}

.amrekordform .amrekordform-error {
    padding: 1rem 1rem;
    margin-top: 2rem;
    color: #58151c;
    border: 1px solid #f1aeb5;
    background-color: #f8d7da;
    border-radius: 1rem;
}

.amrekordform .amrekordform-success {
    padding: 1rem 1rem;
    margin-top: 2rem;
    color: #0a3622;
    border: 1px solid #a3cfbb;
    background-color: #d1e7dd;
    border-radius: 1rem;
}

.amrekordform .amrekordform-waiting {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem;
    margin-top: 2rem;
    color: #055160;
    border: 1px solid #9eeaf9;
    background-color: #cff4fc;
    border-radius: 1rem;
}