.zcm-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#fff;
    padding:12px 20px;
    border-left:4px solid #007BFF;
    margin-bottom:20px;
}
.zcm-left {
    display:flex;
    gap:15px;
    align-items:center;
    font-size:16px;
}
.zcm-right code {
    background:#f1f1f1;
    padding:5px 8px;
}


/* Pagination wrapper */
.tablenav-pages {
    margin-top: 15px;
}

/* Page buttons */
.tablenav-pages .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ccd0d4;
    background: #fff;
    color: #2271b1;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}

/* Hover */
.tablenav-pages a.page-numbers:hover {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

/* Active page */
.tablenav-pages .page-numbers.current {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
    font-weight: 600;
}

/* Disabled prev/next */
.tablenav-pages .page-numbers.disabled {
    background: #f6f7f7;
    color: #a7aaad;
    border-color: #dcdcde;
    cursor: not-allowed;
}


/* ZCM thank you message */
.zcm-success-box {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    padding: 15px;
    margin-top: 15px;
    border-radius: 6px;
}

.zcm-complaint-number {
    font-size: 20px;
    font-weight: bold;
    color: #065f46;
    letter-spacing: 1px;
}


/* ===== ZCM STATUS BADGES (SAME WIDTH) ===== */
.zcm-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;   /* SAME WIDTH */
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

/* Status Colors */
.zcm-status.received {
    background: #6c757d;
}

.zcm-status.in-process {
    background: #0073aa;
}

.zcm-status.under-review {
    background: #ff9800;
}

.zcm-status.awaiting-client-response {
    background: #6f42c1;
}

.zcm-status.final-discussion {
    background: #20c997;
}

.zcm-status.closed {
    background: #28a745;
}

.zcm-status.closed {
    background: #28a745;
}

/* Frontend Status Form */
.zcm-status-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.zcm-status-form input {
    flex: 1;
}

.zcm-status-form button {
    white-space: nowrap;
    border-radius: 5px;
}

@media (max-width: 480px) {
    .zcm-status-form {
        flex-direction: column;
    }
}

/* Global Color for Timeline */
:root {
    --zcm-primary: #374151;
}

/* Frontend Status Result */
.zcm-result {
    background: #f8f9fa;
    margin-top: 25px;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--zcm-primary);
}

.zcm-error {
    background: #ffecec;
    padding: 10px;
    border-left: 4px solid #dc3232;
}


/* Frontend Timeline Result */
.zcm-timeline {
    margin-top: 15px;
    padding-left: 25px;
    position: relative;
    border-left: 3px solid var(--zcm-primary);
}

/* Timeline Item */
.zcm-timeline-item {
    margin-bottom: 18px;
    position: relative;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Timeline Dot */
.zcm-timeline-item::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--zcm-primary);
    border-radius: 50%;
    position: absolute;
    left: -31px;
    top: 16px;
    box-shadow: 0 0 0 3px #e6f3fa;
}

/* Timeline Date / Time */
.zcm-timeline-item span {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Timeline Optional: Status text styling */
.zcm-timeline-item strong {
    font-size: 14px;
    color: #222;
    display: block;
    margin-bottom: 3px;
}

/* Timeline Hover effect */
.zcm-timeline-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: 0.2s ease-in-out;
}

/* Timeline Mobile Optimization */
@media (max-width: 600px) {
    .zcm-timeline {
        padding-left: 20px;
    }

    .zcm-timeline-item {
        padding: 8px 10px;
    }

    .zcm-timeline-item::before {
        left: -28px;
    }
}


/* Highlight current/latest status */
.zcm-timeline-item.current {
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    padding: 12px 15px 12px 20px;
}

/* Current status dot color */
.zcm-timeline-item.current::before {
    background: #2ecc71; /* Green dot */
    border-color: #2ecc71;
}

/* Glow effect */
.zcm-timeline-item.current::before {
    box-shadow:
        0 0 0 4px rgba(46, 204, 113, 0.25),
        0 0 12px rgba(46, 204, 113, 0.8);
    animation: zcmPulse 1.8s infinite;
}


@keyframes zcmPulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(46, 204, 113, 0.6),
            0 0 8px rgba(46, 204, 113, 0.8);
    }
    70% {
        box-shadow:
            0 0 0 10px rgba(46, 204, 113, 0),
            0 0 16px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow:
            0 0 0 0 rgba(46, 204, 113, 0),
            0 0 8px rgba(46, 204, 113, 0);
    }
}

