/**
 * Unified Google Sign-In button style (matches blog subscription popup).
 * Loaded site-wide from Optimization Methods.
 */

.blog-subscription-google,
.blog-subscription-google-shortcode a,
.blog-subscription-google-shortcode button,
.ump-mes-google,
.ump-mes-google-shortcode a,
.ump-mes-google-shortcode button,
.smd-modal-google,
.smd-google-signup-fallback,
.smd-google-signup-wrap a.um-button-google,
.smd-google-signup-wrap a.um-button.um-button-social.um-button-google,
.lrm-user-modal-container a.um-button.um-button-google,
.lrm-user-modal-container a.um-button.um-button-social.um-button-google,
body .um-shortcode-social a.um-button.um-button-google,
body .um-shortcode-social a.um-button.um-button-social.um-button-google,
.nsl-container .nsl-button,
.nsl-container .nsl-button-default,
.nsl-container a[data-provider="google"],
.nsl-container a.nsl-button-google {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    margin: 0 0 8px !important;
    border-radius: 6px !important;
    border: 1px solid #dadce0 !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #3c4043 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
    min-height: 44px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    float: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-text-fill-color: #3c4043 !important;
}

.blog-subscription-google:hover,
.blog-subscription-google-shortcode a:hover,
.blog-subscription-google-shortcode button:hover,
.ump-mes-google:hover,
.ump-mes-google-shortcode a:hover,
.ump-mes-google-shortcode button:hover,
.smd-modal-google:hover,
.smd-google-signup-fallback:hover,
.smd-google-signup-wrap a.um-button-google:hover,
.smd-google-signup-wrap a.um-button.um-button-social.um-button-google:hover,
.lrm-user-modal-container a.um-button.um-button-google:hover,
.lrm-user-modal-container a.um-button.um-button-social.um-button-google:hover,
body .um-shortcode-social a.um-button.um-button-google:hover,
body .um-shortcode-social a.um-button.um-button-social.um-button-google:hover,
.nsl-container .nsl-button:hover,
.nsl-container .nsl-button-default:hover,
.nsl-container a[data-provider="google"]:hover,
.nsl-container a.nsl-button-google:hover {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    border-color: #c6c6c6 !important;
    color: #202124 !important;
    -webkit-text-fill-color: #202124 !important;
}

.bcs-google-btn-content,
.blog-subscription-google-shortcode .nsl-container,
.blog-subscription-google-shortcode .nsl-button-default,
.blog-subscription-google-shortcode .nsl-button-svg-container,
.ump-mes-google-shortcode .um,
.ump-mes-google-shortcode form,
.blog-subscription-google-shortcode .um,
.blog-subscription-google-shortcode form,
.smd-google-signup-wrap .um,
.smd-google-signup-wrap form {
    display: block !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.bcs-google-btn-content,
.lrm-user-modal-container a .bcs-google-btn-content,
.ump-mes-google-shortcode a .bcs-google-btn-content,
.smd-google-signup-wrap a .bcs-google-btn-content,
.smd-modal-google .bcs-google-btn-content,
.ump-mes-google .bcs-google-btn-content {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.bcs-google-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex: 0 0 18px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
}

.bcs-google-icon svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
}

.bcs-google-btn-text {
    display: inline-block !important;
    line-height: 1.2 !important;
    color: #3c4043 !important;
    -webkit-text-fill-color: #3c4043 !important;
}

/* Hide monochrome/font Google icons — colored SVG is injected site-wide. */
a.um-button-google > i.um-sso,
a.um-button.um-button-social.um-button-google > i.um-sso,
.ump-mes-google-shortcode a > i.um-sso,
.ump-mes-google-shortcode button > i.um-sso,
.smd-google-signup-wrap a > i.um-sso,
.smd-modal-google > i.fa-google,
.smd-modal-google > i.fab.fa-google,
.smd-modal-google > i.fab,
.lrm-user-modal-container a.um-button-google > i.um-sso,
.lrm-user-modal-container a.um-button.um-button-social.um-button-google > i.um-sso,
body .um-shortcode-social a.um-button-google > i.um-sso,
body .um-shortcode-social a.um-button.um-button-social.um-button-google > i.um-sso,
.nsl-container .nsl-button-svg-container svg {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.ump-mes-google-shortcode a::before,
.ump-mes-google-shortcode button::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
}

.lrm-user-modal-container a.um-button.um-button-google span,
.lrm-user-modal-container a.um-button.um-button-social.um-button-google span,
body .um-shortcode-social a.um-button.um-button-google span,
body .um-shortcode-social a.um-button.um-button-social.um-button-google span,
.ump-mes-google-shortcode a span,
.ump-mes-google-shortcode button span,
.smd-modal-google span,
.ump-mes-google span,
.nsl-container .nsl-button span,
.bcs-google-btn-content span:not(.bcs-google-icon) {
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    width: auto !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #3c4043 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-text-fill-color: #3c4043 !important;
    text-align: center !important;
}

.ump-mes-google-shortcode,
.smd-google-signup-wrap,
.blog-subscription-google-shortcode {
    display: block !important;
    margin-bottom: 8px !important;
}

.smd-google-signup-wrap {
    width: 100% !important;
    justify-content: stretch !important;
}

.smd-google-signup-button,
.smd-google-signup-button iframe,
.smd-google-signup-button > div {
    width: 100% !important;
    max-width: 100% !important;
}
