/* 
 * Frontend Google Login Button CSS
 */
.als-social-login-wrapper {
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.als-social-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #718096;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.als-social-separator::before,
.als-social-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.als-social-separator span {
    padding: 0 15px;
    font-weight: 500;
    white-space: nowrap;
}

.als-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 0;
    height: 40px;
    width: 100%;
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.als-google-btn:hover {
    background-color: #f8f9fa;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    text-decoration: none;
}

.als-google-btn:active {
    background-color: #eeeeee;
}

.als-google-btn:focus {
    text-decoration: none;
    outline: 2px solid #4285f4;
    outline-offset: -2px;
}

.als-google-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 10px;
    box-sizing: border-box;
}

.als-google-icon svg {
    width: 18px;
    height: 18px;
}

.als-google-text {
    flex-grow: 1;
    text-align: center;
    font-family: "Google Sans", arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #3c4043;
    padding-right: 40px; /* Balances the icon space to center text */
    white-space: nowrap;
}

/* WooCommerce specific tweaks */
.woocommerce-account .als-social-login-wrapper {
    clear: both;
}

/* Connected with Google Badge */
.als-google-account-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #dadce0;
    padding: 6px 12px;
    border-radius: 16px;
    font-family: "Google Sans", arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #3c4043;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.1);
}
