/* Google OAuth Authentication Styles */

.auth-provider-section {
    margin-bottom: 1.5rem;
}

.google-signin-btn {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.google-signin-btn:hover {
    background: #f8f9fa;
    border-color: #c1c7cd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.google-signin-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.google-signin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.google-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    background: #ffffff;
    padding: 0 16px;
    color: #666;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Loading state for Google button */
.google-signin-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.google-signin-btn.loading .google-logo {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .google-signin-btn {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .google-logo {
        width: 18px;
        height: 18px;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .google-signin-btn {
        background: #2d2d2d;
        border-color: #5f6368;
        color: #e8eaed;
    }
    
    .google-signin-btn:hover {
        background: #3c4043;
        border-color: #8ab4f8;
    }
    
    .auth-divider::before {
        background: #5f6368;
    }
    
    .auth-divider span {
        background: #2d2d2d;
        color: #9aa0a6;
    }
}
