/* =============================================
   Social Login - Premium Styles
   Version: 3.0.0
   Author: KoreBiz
   ============================================ */

.bhg-social-login-container {
    max-width: 420px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(106, 17, 203, 0.1);
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.bhg-social-login-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--bhg-primary), var(--bhg-secondary));
}

.bhg-social-login-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--bhg-dark);
    margin: 0 0 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bhg-social-login-title:before,
.bhg-social-login-title:after {
    content: "";
    flex: 1;
    border-bottom: 1px solid rgba(106, 17, 203, 0.2);
    margin: 0 15px;
}

.bhg-social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.bhg-social-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 0.95rem;
}

.bhg-social-login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 1 !important;
}

.bhg-social-login-btn:active {
    transform: translateY(0);
}

.bhg-social-login-btn i {
    margin-right: 12px;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.bhg-social-login-btn .bhg-btn-text {
    position: relative;
    z-index: 1;
}

/* Specific Button Styles */
.bhg-btn-google {
    background: linear-gradient(135deg, #4285F4, #DB4437);
}

.bhg-btn-twitch {
    background: linear-gradient(135deg, #9146FF, #6441A5);
}

.bhg-btn-kick {
    background: linear-gradient(135deg, #53FC18, #00A300);
    color: #000;
}

.bhg-btn-facebook {
    background: linear-gradient(135deg, #1877F2, #0A58D5);
}

/* Divider Style */
.bhg-social-login-or {
    margin: 25px 0;
    color: var(--bhg-text-light);
    font-size: 0.9rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bhg-social-login-or:before,
.bhg-social-login-or:after {
    content: "";
    position: relative;
    height: 1px;
    background: rgba(106, 17, 203, 0.1);
    flex: 1;
    max-width: 120px;
}

.bhg-social-login-or:before {
    margin-right: 15px;
}

.bhg-social-login-or:after {
    margin-left: 15px;
}

/* Loading State */
.bhg-social-login-btn.loading {
    pointer-events: none;
}

.bhg-social-login-btn.loading:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .bhg-social-login-container {
        padding: 30px 25px;
        margin: 30px auto;
    }
    
    .bhg-social-login-title {
        font-size: 1.2rem;
    }
    
    .bhg-social-login-btn {
        padding: 14px 20px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .bhg-social-login-container {
        background: #1e1e1e;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    }
    
    .bhg-social-login-title {
        color: #f0f0f1;
    }
    
    .bhg-social-login-title:before,
    .bhg-social-login-title:after {
        border-bottom-color: rgba(106, 17, 203, 0.3);
    }
    
    .bhg-social-login-or {
        color: #a1a1aa;
    }
    
    .bhg-social-login-or:before,
    .bhg-social-login-or:after {
        background: rgba(106, 17, 203, 0.2);
    }
    
    .bhg-social-login-btn.loading:after {
        background: linear-gradient(90deg, 
            transparent, 
            rgba(106, 17, 203, 0.2), 
            transparent);
    }
}