/* Nest everything in paywall wrapper */
.mepr-paywall-overlay {
    /* Lighten the overlay from 70% default */
    background-color: rgba(0, 0, 0, 0.35) !important;
    .mepr-paywall-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: var(--three-spacer) !important;
        color: var(--wp--preset--color--off-white) !important;
        background-color: var(--wp--preset--color--off-black) !important;
        padding: var(--three-spacer) var(--six-spacer) !important;
    }
    .mepr-unauthorized-message {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: var(--one-point-five-spacer);
        p {
            font: normal normal var(--wp--preset--font-size--small)/1 var(--wp--preset--font-family--pressura-mono);
        }
    }
    #mepr_loginform {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--one-point-five-spacer);
        border: 1px solid;
        border-radius: var(--one-spacer);
        padding: var(--one-point-five-spacer);
        label {
            font: bold normal var(--wp--preset--font-size--small)/1 var(--wp--preset--font-family--pressura-mono);
            text-transform: uppercase !important;
        }
        /* Row items = 'Username' and 'Password' item wrappers */
        .mp-form-row {
            margin: 0;
            width: calc(50% - 8px) !important
        }
        input[type="text"],
        input[type="password"] {
            padding: var(--zero-point-five-spacer) 0 !important;
            background-color: transparent !important;
            border-width: 0 0 1px 0 !important;
            border-color: #929C97 !important;
            color: #929C97 !important;
            border-style: solid !important;
            font-family: var(--wp--preset--font-family--pressura);
        }
        input[type="checkbox"] {
            -webkit-appearance: none !important;
            appearance: none !important;
            background-color: transparent !important;
            margin: 0 !important;
            font: inherit !important;
            color: currentColor !important;
            width: 10px !important;
            height: 10px !important;
            border: 1px solid currentColor !important;
            transition: background-color 0.2s ease, border-color 0.2s ease !important;
        }
        label:has(input[type="checkbox"]) {
            white-space: nowrap;
            display: flex;
            gap: var(--zero-point-five-spacer);
            align-items: baseline;
        }
        div.submit {
            position: relative;
            display: flex;
            align-items: baseline;
            width: fit-content;
            height: fit-content;
            padding: var(--zero-point-five-spacer);
            border-radius: var(--zero-point-five-spacer);
            font: bold normal var(--wp--preset--font-size--small)/1 var(--wp--preset--font-family--pressura-mono);
            background-color: var(--wp--preset--color--red);
            border: 0;
            line-height: 1;
            margin-left: auto;
            input {
                font: inherit;
                color: var(--wp--preset--color--off-white);
                text-transform: uppercase;
                background-color: transparent;
                border: 0;
                padding: 0;
                margin: 0;
            }
        }
        div.submit::after {
            content: '';
            background-size: 8px 8px;
            display: inline-block;
            width: 8px;
            height: 8px;
            margin-left: 3px;
            transform: translateY(-1px);
            background-image: url(../icons/top-right-arrow-white.svg);
        }
    }
    .mepr-login-actions {
        text-align: center;
        font: normal normal var(--wp--preset--font-size--small)/1 var(--wp--preset--font-family--pressura-mono);
        text-transform: uppercase !important;
        color: #929C97 !important;
        :first-child::after {
            content: '?'
        }
    }
}