.cpm-wrapper {
    padding: 20px;
    background: #f4f7fb;
    min-height: 100%;
    direction: rtl;
    font-family: tahoma, sans-serif;
    overflow: auto;
}

.cpm-page-title {
    margin: 0 0 24px 0;
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.cpm-board {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    overflow-x: auto;
    padding-bottom: 20px;
}

.cpm-column {
    min-width: 420px;
    max-width: 420px;
    background: #e2e8f0;
    border-radius: 18px;
    padding: 16px;
    flex-shrink: 0;
}

.cpm-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.cpm-column-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.cpm-column-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.cpm-column-count {
    background: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.cpm-column-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cpm-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    transition: all .25s ease;
    cursor: pointer;
}

.cpm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .10);
}

.cpm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 12px;
}

.cpm-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.7;
}

.cpm-card-code {
    font-size: 12px;
    color: #64748b;
}

.cpm-card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.cpm-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.cpm-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.cpm-stat {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #edf2f7;
    gap: 10px;
}

.cpm-stat-label {
    font-size: 12px;
    color: #64748b;
}

.cpm-stat-value {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.cpm-progress-wrapper {
    margin-top: 20px;
}

.cpm-progress-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: #334155;
}

.cpm-progress {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.cpm-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    transition: width .3s ease;
}

.cpm-loading,
.cpm-empty {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    color: #64748b;
    border: 1px solid #e5e7eb;
}

.cpm-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #fecaca;
}