.rz-modal.rz-modal-signin {
    top: var(--mayan-signin-top, 0px);
    bottom: auto;
    height: var(--mayan-signin-height, 100dvh);
    min-height: 0;
}

.rz-modal-signin > .rz-modal-heading { flex: none; }

.rz-modal-signin > .rz-modal-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block: 16px max(6dvh, env(safe-area-inset-bottom));
}

/* Auto margins center short forms and collapse when registration needs to scroll. */
.rz-modal-signin .rz-modal-content > .rz-modal-append {
    flex: none;
    box-sizing: border-box;
    width: min(100%, 420px);
    margin: auto;
    padding-inline: 20px;
}

.rz-modal.rz-modal-signin .rz-modal-container {
    overflow: visible;
    padding: 0;
}

.rz-modal.rz-modal-signin .rz-modal-footer {
    margin: 0;
    padding: 16px 0 0;
    border: 0;
}

.rz-modal-signin .rz-modal-footer .rz-modal-button {
    max-width: none;
    min-height: 46px;
}

.rz-modal-signin .rz-signin-section input:is([type="text"], [type="email"], [type="password"], [type="tel"]) {
    font-size: 16px;
}
