/**
 * Admin Bar Styling for AI Blog
 * Custom styles for admin bar elements
 */

/* AI Blog Cache Clear Link Styling */
#wp-admin-bar-ai_blog_clear_cache .ab-item {
    color: #0073aa !important;
}

#wp-admin-bar-ai_blog_clear_cache:hover .ab-item {
    color: #005177 !important;
    background-color: rgba(0, 115, 170, 0.1) !important;
}

/* AI Blog Upgrade Pro Link Styling */
#wp-admin-bar-ai_blog_upgrade_pro .ab-item {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    margin: 2px 5px !important;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3) !important;
    transition: all 0.3s ease !important;
}

#wp-admin-bar-ai_blog_upgrade_pro:hover .ab-item {
    background: linear-gradient(135deg, #ee5a24, #d63031) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(238, 90, 36, 0.5) !important;
}

#wp-admin-bar-ai_blog_upgrade_pro .ab-item:before {
    content: none !important;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    #wp-admin-bar-ai_blog_upgrade_pro .ab-item {
        margin: 1px 2px !important;
        font-size: 14px !important;
    }
}

/* Animation for the upgrade link */
@keyframes ai-blog-pulse {
    0% { box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3); }
    50% { box-shadow: 0 4px 15px rgba(238, 90, 36, 0.6); }
    100% { box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3); }
}

#wp-admin-bar-ai_blog_upgrade_pro .ab-item {
    animation: ai-blog-pulse 3s ease-in-out infinite;
}

#wp-admin-bar-ai_blog_upgrade_pro:hover .ab-item {
    animation: none;
}
