/* Shared reCAPTCHA presentation for public, student, and admin pages. */
.cm-recaptcha {
    width: min(239px, 100%);
    height: 61px;
    margin: 12px auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid rgba(120, 120, 120, .62);
    border-radius: 16px;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .09);
}

.cm-recaptcha > .g-recaptcha,
.cm-recaptcha > .cm-recaptcha-widget {
    width: 304px;
    flex: 0 0 304px;
    transform: scale(.78);
    transform-origin: center top;
    margin-top: -1px;
}

.cm-recaptcha--start {
    margin-left: 0;
    margin-right: 0;
}

.cm-recaptcha--flush {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 360px) {
    .cm-recaptcha {
        width: min(215px, 100%);
        height: 55px;
        border-radius: 14px;
    }

    .cm-recaptcha > .g-recaptcha,
    .cm-recaptcha > .cm-recaptcha-widget {
        transform: scale(.70);
    }
}
