/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 /* MagicBlog Engagement Buttons */
.magicblog-engagement-buttons {
    margin: 20px 0;
    text-align: center;
}

.magicblog-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.magicblog-like-btn,
.magicblog-dislike-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 16px 24px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;    text-decoration: none !important;
}

.magicblog-like-btn:hover, .magicblog-dislike-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}
.magicblog-like-btn:hover {
    background-color: #28a745 !important;
    color: #ffffff !important;
}
.magicblog-dislike-btn:hover {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}
.magicblog-like-btn .icon, .magicblog-dislike-btn .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.magicblog-like-btn .icon svg, .magicblog-dislike-btn .icon svg {
    width: 18px;
    height: 18px;
}
.magicblog-like-btn:disabled,
.magicblog-dislike-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.magicblog-like-btn.loading,
.magicblog-dislike-btn.loading {
    position: relative;
}

.magicblog-like-btn.loading::after,
.magicblog-dislike-btn.loading::after {
    content: "⟳";
    position: absolute;
    right: 8px;
    animation: spin 1s linear infinite;
}

.magicblog-like-btn.voted {
    background: #28a745;
    color: white;
}

.magicblog-dislike-btn.voted {
    background: #dc3545;
    color: white;
}

.magicblog-engagement-message {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.magicblog-engagement-message .success {
    color: #28a745;
}

.magicblog-engagement-message .error {
    color: #dc3545;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.magicblog-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    border-radius: 4px;
    z-index: 9999;
}
.magicblog-error { background: #f8d7da; color: #721c24; }
.magicblog-warning { background: #fff3cd; color: #856404; }

/* MagicBlog Social Sharing Styles */
.magicblog-social-sharing {
    margin: 20px 0;
    position: relative;
}

.social-title {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.social-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
}

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

.social-btn .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn .icon svg {
    width: 18px;
    height: 18px;
}

/* Platform-specific colors */
.social-btn.facebook:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.social-btn.twitter:hover {
    background: #1da1f2;
    color: #fff;
    border-color: #1da1f2;
}

.social-btn.linkedin:hover {
    background: #0077b5;
    color: #fff;
    border-color: #0077b5;
}

.social-btn.whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.social-btn.copy-link:hover {
    background: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

/* Responsive design */
@media (max-width: 768px) {
    .social-buttons-container {
        flex-direction: column;
    }
    
    .social-btn {
        justify-content: center;
        padding: 12px 16px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .magicblog-social-sharing {
        background: #2d3748;
        border-left-color: #4299e1;
    }
    
    .social-title {
        color: #e2e8f0;
    }
    
    .social-btn {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }
}

/* Mobile responsive */
@media (max-width: 576px) {
    .magicblog-buttons-container {
        flex-direction: column;
        align-items: center;
    }
    
    .magicblog-like-btn,
    .magicblog-dislike-btn {
        width: 200px;
        justify-content: center;
    }
}