/* Import Noto Sans from Google (Must be at the very top) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600&display=swap');

/* Apply Noto Sans as the default font globally */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, button, input, select, textarea {
    font-family: 'Noto Sans', sans-serif !important;
}

/* =========================================
   1. HIDE FACEBOOK COMPLETELY
   ========================================= */
a[href*="facebook"], 
.btn-facebook, 
[class*="facebook"] {
    display: none !important;
}

/* =========================================
   2. REBUILD GOOGLE BUTTON
   ========================================= */
a[href*="google"], 
.btn-google, 
[class*="google"] {
    /* Remove the diamond rotation */
    transform: none !important;
    -webkit-transform: none !important;
    margin: 0 auto !important;
    
    /* Build a standard rectangle button */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 220px !important;
    height: 40px !important;
    background-color: #ffffff !important;
    border: 1px solid #dadce0 !important;
    border-radius: 4px !important;
    color: #3c4043 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3) !important;
}

/* Add the Google 'G' Logo */
a[href*="google"]::before, 
.btn-google::before, 
[class*="google"]::before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/c/c1/Google_%22G%22_logo.svg') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    transform: none !important;
}

/* Add the text "Sign in with Google" */
a[href*="google"]::after, 
.btn-google::after, 
[class*="google"]::after {
    content: "Sign in with Google" !important;
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Hide the old broken diamond icons/lines inside */
a[href*="google"] i, 
a[href*="google"] span,
.btn-google i,
.btn-google span {
    display: none !important;
}


