/**
 * Google Sign-In button — conforme alle Branding Guidelines ufficiali.
 * https://developers.google.com/identity/branding-guidelines
 *
 * Light theme (default): sfondo #fff, bordo #747775, testo #1f1f1f, logo G ufficiale.
 */

.vo-google-signin-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    max-height: 40px;
    padding: 0 12px;
    margin: 0;
    border-radius: 4px;
    border: 1px solid #747775;
    background: #fff;
    color: #1f1f1f;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-font-smoothing: antialiased;
}

.vo-google-signin-btn:hover,
.vo-google-signin-btn:focus {
    background: #f7f8f8;
    color: #1f1f1f;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
    outline: none;
}

.vo-google-signin-btn:focus-visible {
    outline: 2px solid #4285f4;
    outline-offset: 2px;
}

.vo-google-signin-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex: 0 0 20px;
}

.vo-google-signin-btn__icon-svg {
    display: block;
    width: 20px;
    height: 20px;
}

.vo-google-signin-btn__text {
    flex: 0 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vo-google-signin-btn--dark {
    background: #131314;
    border-color: #8e918f;
    color: #e3e3e3;
}

.vo-google-signin-btn--dark:hover,
.vo-google-signin-btn--dark:focus {
    background: #1e1f20;
    color: #e3e3e3;
}

.vo-google-signin-btn--disabled,
.vo-google-signin-btn--disabled:hover,
.vo-google-signin-btn--disabled:focus {
    opacity: 0.38;
    cursor: not-allowed;
    box-shadow: none;
    background: #fff;
}

.vo-google-signin-btn--config {
    opacity: 0.72;
}

.vo-google-signin-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    color: #5f6368;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.2;
}

.vo-google-signin-divider::before,
.vo-google-signin-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dadce0;
}

.wa-auth-alt-social .vo-google-signin-btn {
    width: 100%;
}

.vo-login-google .vo-google-signin-btn {
    width: 100%;
}

.ra-login-card .vo-google-signin-btn {
    width: 100%;
    margin-top: 12px;
}

.wa-auth-google-soon-wrap {
    position: relative;
}

.wa-auth-google-soon-wrap .wa-auth-soon-badge {
    display: inline-block;
    margin-top: 6px;
}

/* Deprecato: vecchio bottone blu pieno non conforme — non usare per Google */
.wa-auth-social-btn--google:not(.vo-google-signin-btn) {
    background: #fff;
    color: #1f1f1f;
    border: 1px solid #747775;
}
