﻿/* Make the whole grid area wider if you want */
.pm-wrap {
    max-width: 1400px;
}
/* increase/decrease as desired */
/* Shared column sizing for header + rows */
.pm-row {
    display: flex;
    align-items: stretch;
}

.pm-cell {
    padding: .5rem;
    border-bottom: 1px solid #dee2e6;
}

.pm-head .pm-cell {
    font-weight: 700;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-size: .875rem;
}

.pm-name {
    flex: 1 1 auto;
    min-width: 280px;
}

.pm-status {
    width: 130px;
    text-align: center;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-dates {
    width: 240px;
}

.pm-notes {
    width: 360px;
}

.pm-todo {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-mgr {
    width: 170px;
    display: flex;
    align-items: center;
}

.pm-co {
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Uniform row height */
.pm-item {
    min-height: 120px;
}
/* Keep header text from wrapping weirdly */
.pm-head .pm-cell {
    white-space: nowrap;
}
/* Keep name/job from exploding the row */
.pm-name .pm-job {
    display: block;
    color: #6c757d;
    font-size: .875rem;
}

    .pm-name .pm-job small {
        display: block;
    }
/* Notes area consistency */
.pm-notes .pm-notes-box {
    max-height: 90px;
    overflow: auto;
}
/* Optional: prevent Start/Finish label from making things jump */
.pm-dates .small.text-muted {
    line-height: 1.1;
}

.pm-status {
    font-weight: 600;
    color: #fff;
}
/* Status Colors */
.pm-status-inprogress {
    background-color: #0d6efd; /* Bootstrap primary blue */
}

.pm-status-planning {
    background-color: #ffc107; /* Bootstrap warning yellow */
    color: #000; /* Yellow needs dark text */
}

.pm-status-finalbilling {
    background-color: #dc3545; /* Bootstrap danger red */
}

.pm-status-completed {
    background-color: #212529; /* Dark/black */
}
