/* Outreach Dashboard — minimal custom styles (Tailwind handles the rest) */

/* Smooth row highlight on save */
.channel-row.saving {
    background-color: #ecfdf5 !important;
    transition: background-color 0.3s ease;
}

/* Tabular nums for numeric columns */
.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* Sort indicator */
.sort-col:hover::after {
    content: ' ▾';
    font-size: 0.65rem;
    opacity: 0.5;
}
.sort-col.asc:hover::after {
    content: ' ▴';
}
.sort-col.desc:hover::after {
    content: ' ▾';
}

/* ── Email due-date pulsing ring ──────────────────────────────────────────── */

@keyframes email-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
    70%  { box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes email-overdue-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70%  { box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.email-due-ring {
    animation: email-pulse 2s ease-in-out infinite;
}

.email-overdue-ring {
    animation: email-overdue-pulse 1.5s ease-in-out infinite;
}

/* Date picker button — visible on row hover */
.send-email-wrap:hover .email-date-picker-btn {
    opacity: 1;
}

/* Manual date input popover */
.email-date-popover {
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    padding: 6px;
    display: flex;
    gap: 4px;
    align-items: center;
    white-space: nowrap;
}
.email-date-popover input[type="date"] {
    font-size: 11px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 2px 4px;
}
.email-date-popover button {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #d1d5db;
    background: #f9fafb;
}
.email-date-popover button:hover {
    background: #f3f4f6;
}
.email-date-popover .clear-btn {
    color: #dc2626;
    border-color: #fca5a5;
    background: #fef2f2;
}
