
/* MGU Account Buttons Fix — very high specificity to override WooCommerce/theme green buttons. */

html body.woocommerce-account .woocommerce-MyAccount-content button,
html body.woocommerce-account .woocommerce-MyAccount-content .button,
html body.woocommerce-account .woocommerce-MyAccount-content a.button,
html body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"],
html body.woocommerce-account .woocommerce-MyAccount-content input[type="button"],
html body.woocommerce-account .woocommerce-MyAccount-content input[type="reset"],
html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button,
html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button.button,
html body.woocommerce-account .woocommerce-MyAccount-content .save_changes,
html body.woocommerce-account .woocommerce-MyAccount-content #save_account_details,
html body.woocommerce-account .woocommerce-MyAccount-content #save_account_details.button {
    background: #174f56 !important;
    background-color: #174f56 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 0 !important;
    border-color: #174f56 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-family: inherit !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    min-height: 50px !important;
    padding: 13px 26px !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content button:hover,
html body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
html body.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
html body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:hover,
html body.woocommerce-account .woocommerce-MyAccount-content input[type="button"]:hover,
html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button:hover,
html body.woocommerce-account .woocommerce-MyAccount-content #save_account_details:hover {
    background: #123f45 !important;
    background-color: #123f45 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #123f45 !important;
    box-shadow: 0 7px 18px rgba(23,79,86,.16) !important;
    transform: translateY(-1px);
}

/* Keep buttons inside custom blue MGU action areas blue where explicitly intended. */
html body.woocommerce-account .woocommerce-MyAccount-content .mgu-ac-primary,
html body.woocommerce-account .woocommerce-MyAccount-content .mgu-ar-primary {
    background: #2166c7 !important;
    background-color: #2166c7 !important;
    color: #fff !important;
}

/* If the native form wraps the save button in a paragraph, remove inherited green backgrounds. */
html body.woocommerce-account .woocommerce-MyAccount-content .form-row,
html body.woocommerce-account .woocommerce-MyAccount-content p.form-row {
    background: transparent !important;
}

@media (max-width: 820px) {
    html body.woocommerce-account .woocommerce-MyAccount-content button,
    html body.woocommerce-account .woocommerce-MyAccount-content .button,
    html body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"] {
        max-width: 100%;
    }
}
