/* Gutenify Floating Sidebar Styles */
.gfs-floating-sidebar {
    position: fixed;
    right: -320px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px 0 0 10px;
    z-index: 9999;
    transition: right 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.gfs-floating-sidebar.open {
    right: 0;
}

.gfs-toggle-button {
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    background: #3a3a3a;
    color: white;
    width: 45px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.gfs-toggle-button:hover {
    background: #4a4a4a;
}

.gfs-sidebar-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gfs-sidebar-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gfs-sidebar-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.gfs-close-button {
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
}

.gfs-close-button:hover {
    opacity: 0.8;
}

.gfs-widget-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
}

.gfs-tab-btn {
    padding: 12px 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
    border-right: 1px solid #eaeaea;
    border-bottom: 3px solid transparent;
}

.gfs-tab-btn:last-child {
    border-right: none;
}

.gfs-tab-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.gfs-tab-btn.active {
    color: #667eea;
    border-bottom: 3px solid #667eea;
    background: white;
    font-weight: 600;
}

.gfs-widget-content {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
    padding: 20px;
}

.gfs-tab-content {
    display: none;
}

.gfs-tab-content.active {
    display: block;
}

.gfs-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gfs-widget-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.gfs-widget-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.gfs-widget-list li a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
    font-weight: 500;
}

.gfs-widget-list li a:hover {
    color: #667eea;
}

.gfs-widget-list li .gfs-post-date {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 3px;
}

.gfs-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gfs-tag {
    background: #f0f0f0;
    color: #555;
    padding: 4px 10px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 5px;
    line-height: 1.4;
}

.gfs-tag:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Scrollbar styling */
.gfs-widget-content::-webkit-scrollbar {
    width: 6px;
}

.gfs-widget-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.gfs-widget-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.gfs-widget-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Responsive */
@media (max-width: 768px) {
    .gfs-floating-sidebar {
        width: 280px;
        right: -280px;
    }
    
    .gfs-widget-content {
        max-height: 300px;
    }
    
    .gfs-widget-tabs {
        grid-template-columns: 1fr;
    }
    
    .gfs-tab-btn {
        padding: 10px;
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }
    
    .gfs-tab-btn.active {
        border-bottom: 3px solid #667eea;
    }
}