/* ═══════════════════════════════════════════
   Mass Mailing – stylesheet
═══════════════════════════════════════════ */

:root {
    --brand: #0d6efd;
}

body {
    background-color: #f8f9fa;
    font-size: .925rem;
}

/* ── Navbar ── */
.navbar-brand { font-size: 1.1rem; letter-spacing: .02em; }

/* ── Cards ── */
.stat-card {
    border: none;
    border-radius: .75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .15s;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-card .stat-icon {
    font-size: 2.4rem;
    opacity: .85;
}

/* ── Tables ── */
.table thead th {
    background-color: #e9ecef;
    font-weight: 600;
    border-bottom: none;
}
.table-hover tbody tr:hover { background-color: #f1f5ff; }

/* ── Progress log ── */
#sendLog {
    max-height: 300px;
    overflow-y: auto;
    font-size: .82rem;
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: .5rem;
    padding: .75rem 1rem;
}
#sendLog .log-ok   { color: #4ec94e; }
#sendLog .log-fail { color: #f47c7c; }
#sendLog .log-info { color: #80c8f4; }

/* ── CKEditor container ── */
.ck-editor__editable { min-height: 280px; }

/* ── Contact checkboxes ── */
.contact-table-wrap {
    max-height: 380px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
}

/* ── Badge status ── */
.badge-pending   { background-color: #6c757d; }
.badge-sending   { background-color: #fd7e14; }
.badge-completed { background-color: #198754; }
.badge-aborted   { background-color: #dc3545; }

/* ── Report detail ── */
.report-success { border-left: 4px solid #198754; }
.report-failed  { border-left: 4px solid #dc3545; }

/* ── Scrollbar sottile ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #adb5bd; border-radius: 3px; }
