/* OAuth Social Login Buttons Styling */

.auth-social {
    margin-top: 20px;
    text-align: center;
}

.auth-divider {
    display: block;
    margin: 20px 0;
    position: relative;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

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

.auth-divider span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.auth-social-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.auth-social-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.auth-social-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.auth-social-list a i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Google Button */
.auth-gl {
    border-color: #4285f4 !important;
    color: #4285f4 !important;
}

.auth-gl:hover {
    background: #4285f4 !important;
    color: #fff !important;
    border-color: #4285f4 !important;
}

.auth-gl i {
    color: #4285f4;
}

.auth-gl:hover i {
    color: #fff;
}

/* Facebook Button */
.auth-fb {
    border-color: #1877f2 !important;
    color: #1877f2 !important;
}

.auth-fb:hover {
    background: #1877f2 !important;
    color: #fff !important;
    border-color: #1877f2 !important;
}

.auth-fb i {
    color: #1877f2;
}

.auth-fb:hover i {
    color: #fff;
}

/* GitHub Button */
.auth-gh {
    border-color: #333 !important;
    color: #333 !important;
}

.auth-gh:hover {
    background: #333 !important;
    color: #fff !important;
    border-color: #333 !important;
}

.auth-gh i {
    color: #333;
}

.auth-gh:hover i {
    color: #fff;
}

/* Twitter Button */
.auth-tw {
    border-color: #1da1f2 !important;
    color: #1da1f2 !important;
}

.auth-tw:hover {
    background: #1da1f2 !important;
    color: #fff !important;
    border-color: #1da1f2 !important;
}

.auth-tw i {
    color: #1da1f2;
}

.auth-tw:hover i {
    color: #fff;
}

/* Loading State */
.auth-social-list a.loading {
    pointer-events: none;
    opacity: 0.7;
}

.auth-social-list a.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-social-list {
        gap: 8px;
    }
    
    .auth-social-list a {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .auth-social-list a i {
        font-size: 14px;
        margin-right: 8px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .auth-divider {
        color: #ccc;
    }
    
    .auth-divider::before {
        background: #444;
    }
    
    .auth-divider span {
        background: var(--bg-color, #1a1a1a);
    }
    
    .auth-social-list a {
        background: var(--bg-color, #1a1a1a);
        border-color: #444;
        color: #ccc;
    }
    
    .auth-social-list a:hover {
        background: var(--primary-color, #0056B3);
        color: #fff;
        border-color: var(--primary-color, #0056B3);
    }
}

/* SmartMediaGH Theme Integration */
.auth-social-list a {
    font-family: inherit;
    letter-spacing: 0.5px;
}

.auth-social-list a:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Accessibility */
.auth-social-list a:focus {
    outline: 2px solid var(--primary-color, #0056B3);
    outline-offset: 2px;
}

.auth-social-list a:focus:not(:focus-visible) {
    outline: none;
}
