/* Premium Badge Styles for Tickets, Campaigns and Subscribers */
[class^="badge-custom-"] {
    display: inline-flex;
    align-items: center;
    padding: 0.35em 0.8em;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 9999px; /* Fully rounded / Pill shape */
    border: 1px solid transparent;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* --- Status Badges (Tickets & General) --- */

.badge-custom-open, .badge-custom-pending {
    background-color: #e0e7ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

.badge-custom-progress, .badge-custom-sending {
    background-color: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.badge-custom-resolved, .badge-custom-confirmed, .badge-custom-sent {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.badge-custom-closed, .badge-custom-unsubscribed, .badge-custom-draft {
    background-color: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

/* --- Priority & Critical Statuses --- */

.badge-custom-low {
    background-color: #ccfbf1;
    color: #115e59;
    border-color: #99f6e4;
}

.badge-custom-medium, .badge-custom-paused {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.badge-custom-high {
    background-color: #ffedd5;
    color: #9a3412;
    border-color: #fed7aa;
}

.badge-custom-urgent, .badge-custom-bounced {
    background-color: #ffe4e6;
    color: #be123c;
    border-color: #fecdd3;
    animation: pulse-urgent 2s infinite;
}

/* --- Specific Subscriber States --- */
.badge-custom-unconfirmed {
    background-color: #fff7ed;
    color: #c2410c;
    border-color: #fdba74;
}

@keyframes pulse-urgent {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(225, 29, 72, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}
