.pgr-action-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 15px;
    clear: both;
}

.pgr-recaptcha-inline-container {
    margin-right: auto;
    min-height: 78px;
    display: flex;
    align-items: center;
}

.pgr-action-wrapper button {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
}

.g-recaptcha {
    display: inline-block;
}

/* Hide Paystack logos as requested */
.paystack-cardlogos {
    display: none !important;
}

/* Mobile Responsiveness */
@media screen and (max-width: 600px) {
    .pgr-action-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pgr-recaptcha-inline-container {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
        justify-content: center;
    }

    .pgr-action-wrapper button {
        width: 100%;
    }

    .g-recaptcha {
        transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform-origin: center center;
    }
}

/* Fix for small screens where even 0.9 is too big */
@media screen and (max-width: 350px) {
    .g-recaptcha {
        transform: scale(0.77);
        -webkit-transform: scale(0.77);
    }
}