/* Social Media Integration Styles */

/* Social Login Styles */
.nextaicoder-social-login {
    margin: 20px 0;
    text-align: center;
}

.social-login-divider {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.social-login-divider::before,
.social-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e0e0e0;
    margin: 0 10px;
}

.social-login-divider span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

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

.social-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-login-button:hover {
    border-color: #d0d0d0;
    background-color: #f9f9f9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.social-login-button .social-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-login-button.facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.social-login-button.facebook:hover {
    background-color: #1877f2;
    color: #fff;
}

.social-login-button.twitter {
    border-color: #1da1f2;
    color: #1da1f2;
}

.social-login-button.twitter:hover {
    background-color: #1da1f2;
    color: #fff;
}

.social-login-button.google {
    border-color: #4285f4;
    color: #4285f4;
}

.social-login-button.google:hover {
    background-color: #4285f4;
    color: #fff;
}

.social-login-button.github {
    border-color: #333;
    color: #333;
}

.social-login-button.github:hover {
    background-color: #333;
    color: #fff;
}

.social-login-button.linkedin {
    border-color: #0077b5;
    color: #0077b5;
}

.social-login-button.linkedin:hover {
    background-color: #0077b5;
    color: #fff;
}

/* Social Share Styles */
.nextaicoder-social-share {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.social-share-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    text-align: center;
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.social-share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 120px;
}

.social-share-button:hover {
    border-color: #d0d0d0;
    background-color: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-share-button:active {
    transform: translateY(0);
}

.social-share-button .social-icon {
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-share-button.facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.social-share-button.facebook:hover {
    background-color: #1877f2;
    color: #fff;
}

.social-share-button.twitter {
    border-color: #1da1f2;
    color: #1da1f2;
}

.social-share-button.twitter:hover {
    background-color: #1da1f2;
    color: #fff;
}

.social-share-button.linkedin {
    border-color: #0077b5;
    color: #0077b5;
}

.social-share-button.linkedin:hover {
    background-color: #0077b5;
    color: #fff;
}

.social-share-button.pinterest {
    border-color: #e60023;
    color: #e60023;
}

.social-share-button.pinterest:hover {
    background-color: #e60023;
    color: #fff;
}

.social-share-button.whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.social-share-button.whatsapp:hover {
    background-color: #25d366;
    color: #fff;
}

.social-share-button.email {
    border-color: #666;
    color: #666;
}

.social-share-button.email:hover {
    background-color: #666;
    color: #fff;
}

/* Social Share Shortcode Styles */
.nextaicoder-social-share-shortcode.size-small .social-share-button {
    padding: 6px 12px;
    font-size: 12px;
    min-width: auto;
}

.nextaicoder-social-share-shortcode.size-large .social-share-button {
    padding: 14px 20px;
    font-size: 16px;
}

.nextaicoder-social-share-shortcode.style-icon-only .social-share-button {
    min-width: auto;
    padding: 10px;
}

.nextaicoder-social-share-shortcode.style-icon-only .social-share-text {
    display: none;
}

.nextaicoder-social-share-shortcode.style-icon-only .social-icon {
    margin-right: 0;
}

/* Social Media Meta Box Styles */
.social-media-image-upload {
    margin-bottom: 15px;
}

#social-media-image-preview {
    display: block;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.social-media-image-upload-btn {
    margin-right: 10px !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .social-share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-share-button {
        width: 100%;
        max-width: 300px;
    }
    
    .social-login-buttons {
        align-items: center;
    }
    
    .social-login-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .nextaicoder-social-login {
        color: #fff;
    }
    
    .social-login-divider::before,
    .social-login-divider::after {
        background-color: #444;
    }
    
    .social-login-divider span {
        color: #ccc;
    }
    
    .social-login-button {
        background-color: #333;
        border-color: #555;
        color: #fff;
    }
    
    .social-login-button:hover {
        background-color: #444;
        border-color: #666;
    }
    
    .nextaicoder-social-share {
        background-color: #333;
        border-color: #555;
    }
    
    .social-share-title {
        color: #fff;
    }
    
    .social-share-button {
        background-color: #444;
        border-color: #666;
        color: #fff;
    }
    
    .social-share-button:hover {
        background-color: #555;
        border-color: #777;
    }
}