/* public/css/app.css */

.ribbon {
    position: absolute;
    top: 14px;
    left: -38px;
    width: 150px;
    transform: rotate(-45deg);
    background: #dc2626;
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 0;
    box-shadow: 0 2px 6px rgb(0 0 0 / .35);
    z-index: 10;
}
.ribbon-big {
    top: 24px;
    left: -46px;
    width: 200px;
    font-size: 14px;
    padding: 7px 0;
}
/* ===== КОШЧЕ БУТОН ===== */
.sidebar-trash {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #ef4444;                      /* 🔥 червен текст */
    font-weight: 600;
    font-size: 0.875rem;
    background: rgba(239, 68, 68, 0.08); /* леко червен фон */
    border: 1px solid rgba(239, 68, 68, 0.25);
    transition: all 0.2s ease;
    text-decoration: none;
}

.sidebar-trash:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateX(4px);
}

.sidebar-trash.active {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

.sidebar-trash .trash-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.sidebar-trash .trash-badge {
    margin-left: auto;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    min-width: 1.4rem;
    text-align: center;
    animation: pulse-badge 2s infinite;
}

/* badge-ът става бял когато бутонът е активен (червен фон) */
.sidebar-trash.active .trash-badge {
    background: #fff;
    color: #ef4444;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.1); }
}