/* ── Toolbar ───────────────────────────────────────────────── */
.toolbar-bar {
    background: #fff;
    border-radius: 12px;
    padding: 13px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-bar h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--arch-blue);
    margin: 0;
}

.last-updated {
    margin-left: auto;
    font-size: 0.78rem;
    color: #6c757d;
}

/* ── Stat cards ────────────────────────────────────────────── */
.stat-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    border: none;
    text-align: center;
    padding: 26px 16px 22px;
    transition: transform 0.22s, box-shadow 0.22s;
    height: 100%;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 1.7rem;
    margin-bottom: 10px;
    opacity: 0.75;
    color: var(--arch-blue-mid);
    display: block;
}

.stat-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--arch-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    margin-top: 6px;
}

/* ── Chart & table cards ───────────────────────────────────── */
.arch-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    border: none;
    overflow: hidden;
    margin-bottom: 24px;
    transition: transform 0.22s, box-shadow 0.22s;
}
.arch-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.11);
}

.arch-card-header {
    background: linear-gradient(135deg, var(--arch-blue) 0%, var(--arch-blue-mid) 100%);
    color: #fff;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.arch-card-body {
    padding: 18px;
}

.chart-wrapper {
    position: relative;
    min-height: 260px;
}

/* ── Table ─────────────────────────────────────────────────── */
.data-table { font-size: 0.88rem; }

.call-type-incoming { border-left: 4px solid var(--arch-blue); }
.call-type-outgoing  { border-left: 4px solid #1cc88a; }
.call-type-missed    { border-left: 4px solid #e74a3b; }

.call-duration { font-weight: 700; color: var(--arch-blue); }
