.easytags-widget {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.easytags-widget .widget-title {
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.easytags-widget .widget-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

.easytags-widget .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.easytags-widget .tag-item {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.easytags-widget .tag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tags-style-modern .tag-item {
    background: linear-gradient(135deg, #25b9d7 0%, #1e9cb7 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(37, 185, 215, 0.2);
}

.tags-style-modern .tag-item:hover {
    background: linear-gradient(135deg, #1e9cb7 0%, #1787a0 100%);
}

.tags-style-classic .tag-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.tags-style-classic .tag-item:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.tags-style-classic .tag-count {
    margin-left: 4px;
    color: #6c757d;
    font-size: 11px;
}

.tags-style-vibrant .tag-item {
    background: #e67e22;
    color: white;
    padding: 7px 16px;
    border-radius: 15px 0 15px 0;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 3px 0 #b85e0f;
}

.tags-style-vibrant .tag-item:hover {
    background: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 5px 0 #a04000;
}

.tags-style-minimal .tag-item {
    background: transparent;
    border: 1px solid #3498db;
    color: #3498db;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.tags-style-minimal .tag-item:hover {
    background: #3498db;
    color: white;
}

.tags-style-gradient .tag-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tags-style-gradient .tag-item:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.tags-style-neon .tag-item {
    background: #000;
    color: #0ff;
    border: 1px solid #0ff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
    text-shadow: 0 0 5px #0ff;
}

.tags-style-neon .tag-item:hover {
    box-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px #0ff;
    background: #111;
}

.tags-style-retro .tag-item {
    background: #ffd700;
    color: #8b4513;
    border: 2px solid #8b4513;
    padding: 5px 15px;
    border-radius: 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 3px 3px 0 #8b4513;
}

.tags-style-retro .tag-item:hover {
    background: #ffed4a;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #8b4513;
}

.tags-style-retro .tag-count {
    margin-left: 4px;
    color: #a0522d;
}

.tags-style-glassmorphism .tag-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tags-style-glassmorphism .tag-item:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.tags-style-3d .tag-item {
    background: #3498db;
    color: white;
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 5px 0 #2980b9;
    transform: translateY(-2px);
}

.tags-style-3d .tag-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 7px 0 #1f618d;
}

.tags-style-outline .tag-item {
    background: white;
    border: 2px dashed #95a5a6;
    color: #7f8c8d;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.tags-style-outline .tag-item:hover {
    border-style: solid;
    border-color: #3498db;
    color: #3498db;
}

.easytags-position-right .tags-list {
    flex-direction: column;
    gap: 5px;
}

.easytags-position-right .tag-item {
    width: 100%;
    text-align: center;
}

.easytags-position-footer .tags-list {
    justify-content: center;
}

.easytags-position-footer .tag-item {
    margin: 0 5px;
}

@keyframes tagPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.easytags-widget .tag-item:active {
    animation: tagPulse 0.3s ease;
}

@media (max-width: 768px) {
    .easytags-position-right .tags-list {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .easytags-position-right .tag-item {
        width: auto;
    }
}