/* =====================================================================
   google_auth.css — Google Identity Services button & custom styles
   ===================================================================== */

.google-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0;
    color: var(--subtext);
    font-size: 13px;
}
.google-divider::before,
.google-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--card-border);
}
.google-divider span {
    padding: 0 10px;
}

/* ---- Custom Google Sign-In Button ---- */
.google-signin-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    padding: 2px;
    border-radius: 999px;
    background: linear-gradient(#e9e9e9, #e9e9e9 50%, #fff);
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}
.google-signin-btn:hover {
    background: linear-gradient(#e9e9e9, #e9e9e9 50%, #fff);
    box-shadow: none;
}

.google-signin-btn .gsi-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #ececec, #fff);
    border-radius: 999px;
    box-shadow: 0 0 1px rgba(0,0,0,0.07), 0 0 1px rgba(0,0,0,0.05), 0 3px 3px rgba(0,0,0,0.25), 0 1px 3px rgba(0,0,0,0.12);
    transition: box-shadow 0.2s ease;
    padding: 0 4px;
}
.google-signin-btn:hover .gsi-inner {
    box-shadow: none;
}

.google-signin-btn .gsi-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 100%;
    color: #101010;
    background: linear-gradient(#f4f4f4, #fefefe);
    border-radius: 999px;
    transition: background 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
}
.google-signin-btn:hover .gsi-content {
    background: linear-gradient(#e2e2e2, #fefefe);
}

.google-signin-btn .gsi-content svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.google-signin-btn .gsi-text {
    color: #101010;
}
.google-signin-btn:hover .gsi-text {
    color: #2563eb;
}

/* Hidden GIS container for programmatic button clicks */
.google-gis-hidden {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
