/* Grantha_SocialLogin — Google button.
   Neutral, token-light styling so it sits inside the Nocturne auth card without
   needing to know that theme's variables. */

.grantha-social-login {
    margin: 18px 0 4px;
}

.grantha-social-login__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: currentColor;
    opacity: .55;
    font-size: 13px;
    line-height: 1;
}

.grantha-social-login__divider::before,
.grantha-social-login__divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: currentColor;
    opacity: .35;
}

.grantha-social-login__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 16px;
    border: 1px solid rgba(128, 128, 128, .45);
    border-radius: 8px;
    background: #fff;
    color: #3c4043;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.grantha-social-login__button:hover,
.grantha-social-login__button:focus {
    background: #f7f8f8;
    border-color: rgba(128, 128, 128, .7);
    text-decoration: none;
    color: #3c4043;
}

.grantha-social-login__button:focus-visible {
    outline: 2px solid #4285f4;
    outline-offset: 2px;
}

.grantha-social-login__mark {
    display: inline-flex;
    flex: 0 0 auto;
}

/* Google's brand guidance requires the mark keep its own colours and the button
   stay light, so this one is deliberately not themed for dark mode. */
@media (prefers-color-scheme: dark) {
    .grantha-social-login__button {
        border-color: rgba(255, 255, 255, .3);
    }
}
