/**
 * Google Social Login Frontend Styles
 * Built adhering to official Google Identity Services Branding Guidelines
 */

.gsl-btn-container {
    margin: 12px 0;
    display: inline-block;
    width: 100%;
}

.gsl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 44px;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.25px;
    text-decoration: none !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
    user-select: none;
}

/* Width modes */
.gsl-width-full {
    width: 100%;
}

.gsl-width-auto {
    width: auto;
}

/* Shapes */
.gsl-shape-rounded {
    border-radius: 8px;
}

.gsl-shape-pill {
    border-radius: 24px;
}

.gsl-shape-rectangular {
    border-radius: 2px;
}

/* Theme: Light (Google Standard) */
.gsl-theme-light {
    background-color: #ffffff;
    color: #1f1f1f !important;
    border: 1px solid #dadce0;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

.gsl-theme-light:hover {
    background-color: #f8f9fa;
    border-color: #d2e3fc;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15);
    color: #1f1f1f !important;
}

.gsl-theme-light:active {
    background-color: #f1f3f4;
}

/* Theme: Dark */
.gsl-theme-dark {
    background-color: #131314;
    color: #e3e3e3 !important;
    border: 1px solid #8e918f;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gsl-theme-dark:hover {
    background-color: #1f1f20;
    border-color: #a8c7fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
}

/* Theme: Neutral */
.gsl-theme-neutral {
    background-color: #f1f3f4;
    color: #1f1f1f !important;
    border: 1px solid #e0e0e0;
}

.gsl-theme-neutral:hover {
    background-color: #e8eaed;
}

/* Icon */
.gsl-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.gsl-icon {
    display: block;
    width: 18px;
    height: 18px;
}

.gsl-btn-text {
    line-height: 1;
    white-space: nowrap;
}

/* Form Integrations & Divider */
.gsl-login-wrapper {
    margin: 16px 0;
}

.gsl-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 16px 0 12px;
}

.gsl-divider::before,
.gsl-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dadce0;
}

.gsl-divider span {
    padding: 0 12px;
    color: #5f6368;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* WooCommerce Checkout Notice */
.gsl-checkout-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: #f8f9fa;
    border-left: 4px solid #4285f4;
    margin-bottom: 20px;
}