/**
 * Social Login Module - Styles
 *
 * @author VIRTULUXURY
 * @copyright VIRTULUXURY
 */

.social-login-wrapper {
    margin: 20px 0;
}

.social-login-divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.social-login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.social-login-divider span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.social-login-btn .social-login-icon {
    flex-shrink: 0;
}

/* Google Button */
.social-login-google {
    border-color: #dadce0;
}

.social-login-google:hover {
    background: #f8f9fa;
    border-color: #c8ccd0;
}

/* Facebook Button */
.social-login-facebook {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

.social-login-facebook:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.social-login-facebook .social-login-icon {
    fill: #fff;
}

/* LinkedIn Button */
.social-login-linkedin {
    background: #0A66C2;
    border-color: #0A66C2;
    color: #fff;
}

.social-login-linkedin:hover {
    background: #095a9e;
    border-color: #095a9e;
}

.social-login-linkedin .social-login-icon {
    fill: #fff;
}

/* Apple Button */
.social-login-apple {
    background: #000;
    border-color: #000;
    color: #fff;
}

.social-login-apple:hover {
    background: #333;
    border-color: #333;
}

.social-login-apple .social-login-icon {
    fill: #fff;
}

/* Loading State */
.social-login-btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.social-login-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error Message */
.social-login-error {
    margin-top: 10px;
    padding: 10px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 4px;
    color: #c33;
    font-size: 14px;
}

/* Success Message */
.social-login-success {
    margin-top: 10px;
    padding: 10px;
    background: #efe;
    border: 1px solid #cfc;
    border-radius: 4px;
    color: #3c3;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .social-login-buttons {
        gap: 10px;
    }
    
    .social-login-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

