/* Zaxu RSS Enhancer Styles */

/* ==========================================================================
   1. Floating Button (页面右下角悬浮按钮)
   ========================================================================== */
.zaxu-rss-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: #f26522; /* 经典的 RSS 橙色 */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
    text-decoration: none !important;
}

.zaxu-rss-floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(242, 101, 34, 0.5);
    background-color: #e55a18;
}

.zaxu-rss-floating-btn img {
    width: 22px;
    height: 22px;
    /* 将 SVG 转换为纯白色 */
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.zaxu-rss-floating-btn:hover img {
    transform: scale(1.1);
}

/* ==========================================================================
   2. Shortcode Button (短代码渲染的按钮)
   ========================================================================== */
.zaxu-rss-shortcode-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #f26522;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(242, 101, 34, 0.2);
}

.zaxu-rss-shortcode-btn:hover {
    background-color: #e55a18;
    box-shadow: 0 5px 12px rgba(242, 101, 34, 0.35);
    transform: translateY(-2px);
}

.zaxu-rss-shortcode-btn .zaxu-rss-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    filter: brightness(0) invert(1);
}

/* ==========================================================================
   3. 响应式调整 (Mobile Adjustments)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .zaxu-rss-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .zaxu-rss-floating-btn img {
        width: 20px;
        height: 20px;
    }
}
