/* Email Bot Monitor — Custom Styles */

/* Health indicator pulse animation */
.health-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
    50% { opacity: 0.7; box-shadow: 0 0 8px 2px currentColor; }
}

.health-dot.bg-green-500 { color: #22c55e; }
.health-dot.bg-amber-500 { color: #f59e0b; }
.health-dot.bg-red-500   { color: #ef4444; }
.health-dot.bg-slate-500 { color: #64748b; }

/* Table hover */
tbody tr:hover {
    background-color: #1e293b;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Chart canvas containers */
canvas {
    max-height: 250px;
}

/* Status tooltip */
.status-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
}

.status-tooltip::after {
    --tw-content: attr(data-tooltip);
    content: var(--tw-content);
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 6px;
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid #475569;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.status-tooltip:hover::after {
    opacity: 1;
}
