/* Google OAuth Button Styles */
.google-btn {
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.google-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.google-btn:active {
    transform: translateY(0);
}

.google-btn:focus {
    outline: 2px solid #4285f4;
    outline-offset: 2px;
}

/* Loading state for Google buttons */
.google-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.google-btn.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Google logo animation */
.google-logo {
    transition: transform 0.2s ease-in-out;
}

.google-btn:hover .google-logo {
    transform: scale(1.1);
}

/* Social auth divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Error states */
.google-btn.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.google-btn.error:hover {
    background-color: #fee2e2;
}

/* Success states */
.google-btn.success {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.google-btn.success:hover {
    background-color: #dcfce7;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .google-btn {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
    
    .google-logo {
        width: 1rem;
        height: 1rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .google-btn {
        background-color: #374151;
        border-color: #4b5563;
        color: #f9fafb;
    }
    
    .google-btn:hover {
        background-color: #4b5563;
    }
    
    .auth-divider span {
        background: #1f2937;
        color: #9ca3af;
    }
    
    .auth-divider::before {
        background: linear-gradient(to right, transparent, #4b5563, transparent);
    }
}
