/* Kaisbox Google Login Styling */

.kaisbox-google-login-wrapper {
    margin-top: 20px;
    width: 100%;
}

.kaisbox-divider {
    margin: 20px 0 15px 0;
    text-align: center;
    position: relative;
}

.kaisbox-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-glass-border, rgba(255, 255, 255, 0.1));
}

.kaisbox-divider span {
    position: relative;
    background: var(--color-glass-dark, #1c1c1c);
    padding: 0 15px;
    font-size: 14px;
    opacity: 0.6;
    color: var(--color-text-light, #f5f5f5);
}

/* Google button container - FULL WIDTH */
.g_id_signin {
    width: 100% !important;
    margin: 0 auto 15px auto !important;
    transition: opacity 0.3s;
}

/* Force Google button iframe to be full width */
.kaisbox-google-login-wrapper iframe {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 4px !important;
}

/* Override Google's default button width */
#g_id_onload {
    display: block;
    width: 100% !important;
}

/* Additional styling for dark theme compatibility */
.kaisbox-google-login-wrapper {
    display: block;
    width: 100%;
}

/* Ensure the button renders at full width */
.g_id_signin > div {
    width: 100% !important;
}

.g_id_signin iframe {
    min-width: 100% !important;
}
