/* Form Width Fix for Mobile */
@media (max-width: 767px) {
  .pmpro_form {
    width: 90vw;
    max-width: 90vw;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Brand foundation */
.pmpro_content,
.pmpro_checkout,
.pmpro_account,
.pmpro_invoice {
    font-family: 'Dongle', sans-serif;
    font-weight: 500;
    color: #3f191f;
}

/* Universal card styling */
.pmpro_checkout .pmpro_section,
.pmpro_account .pmpro_box,
.pmpro_invoice .pmpro_box,
.pmpro_content .pmpro_levels .pmpro_level,
.pmpro_confirmation_wrap,
.pmpro_message {
    border: 2px solid #d61425 !important;
    border-radius: 20px !important;
    padding: 20px !important;
    background: #fff !important;
    margin-bottom: 20px !important;
}

.pmpro_levels .pmpro_level {
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.pmpro_levels .pmpro_level:hover {
    transform: translateY(-4px);
}

/* Button styling */

.pmpro_btn,
.pmpro_btn-submit {
    background-color: #d61425 !important;
    color: #fff !important;
    border-radius: 12px !important;
    border: none !important;
    font-family: 'Dongle', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.8em !important;
    padding: 12px 22px !important;
}

.pmpro_form_field-password-toggle button {
    background: transparent !important;
    border: none !important;
    color: var(--pmpro--color--accent) !important;
    font-size: 16px !important;
    padding: 0 !important;

}

.pmpro_form_field-password-toggle:hover button{
    background-color: transparent !important;
}

.pmpro_btn:hover {
    background-color: #b3121f !important;
}

/* Form Customs */
.pmpro_checkout input,
.pmpro_checkout select {
    border: 1px solid #d61425;
    border-radius: 10px;
    padding: 8px;
    font-family: 'Dongle', sans-serif;
    font-weight: 700;
}

.pmpro_section #loginform .input:focus {
    border-color: #d61425 !important;
    box-shadow: none !important;
}

/* Main PMPro wrapper width */
.pmpro {
    width: 60%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* PMPro card elements */
.pmpro_card {
    border: 2px solid #d61425 !important;
    border-radius: 20px !important;
    background: #fdf9f1 !important;
}

/* PMPro font utility classes */
.pmpro_font-x-large,
.pmpro_font-large,
.pmpro_font-medium,
.pmpro_form_label {
    font-family: 'Dongle', sans-serif;
    font-weight: 700;
    color: #3f191f;
}

.pmpro_form_label {
    font-size: 1.3em !important;
}

.pmpro_font-large {
    font-size: 2.1em !important;
}

/* Mobile/tablet width fallback */
@media (max-width: 900px) {
    .pmpro {
        width: 100%;
    }
}

.pmpro .pmpro_section #loginform .login-submit .button {
    background-color: #d61425 !important;
    border: 2px solid #d61425 !important;
    border-radius: 12px !important;
    color: #ffffff !important;

    font-family: 'Dongle', sans-serif !important;
    font-weight: 700 !important;
    font-size: 20px !important;

    padding: 10px 18px !important;
}

/* Optional hover to match your system */
.pmpro .pmpro_section #loginform .login-submit .button:hover {
    background-color: #b3121f !important;
    border-color: #b3121f !important;
}