/* Project overview — clean chart cards, timeline, clickable hours card */

.project-progress-chart-card .project-progress-chart-header {
    background: linear-gradient(135deg, #6690f4 0%, #4a6fd4 55%, #3d5fc9 100%);
    min-height: 40px;
}

.project-progress-chart-card .project-progress-canvas-wrap {
    max-width: 180px;
    margin: 0 auto;
    position: relative;
}

.project-progress-chart-card .progress-summary-strip {
    background-color: #fbfcfe;
    border-top: 1px solid #eef2f7;
}

.project-progress-chart-card .progress-summary-strip > .progress-summary-cell {
    border-color: #eef2f7 !important;
    color: inherit;
    text-decoration: none;
    display: block;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.project-progress-chart-card .progress-summary-strip > .progress-summary-cell:hover {
    background-color: #eef4ff;
    text-decoration: none;
}

.task-status-card .card-header,
.task-priority-card .card-header,
.project-progress-chart-card .project-progress-chart-header {
    border-bottom: none;
}

.task-status-legend .legend-dot,
.task-priority-legend .legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.task-status-legend .list-group-item,
.task-priority-legend .list-group-item {
    background-color: transparent;
}

.task-status-legend .task-status-legend-item,
.task-priority-legend .task-priority-legend-item {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.task-status-legend .task-status-legend-item:hover,
.task-priority-legend .task-priority-legend-item:hover {
    background-color: #eef4ff;
    text-decoration: none;
}

.project-timeline-widget .project-timeline-bar {
    border-radius: 6px;
    background-color: #e9ecef;
}

.project-timeline-widget .project-timeline-bar .progress-bar {
    border-radius: 6px;
    transition: width 0.4s ease;
}

.clickable-card {
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid #e8eef3;
}

.clickable-card:hover {
    box-shadow: 0 6px 18px rgba(30, 32, 45, 0.1);
    border-color: #6690f4;
}

a.js-goto-timesheets-tab:hover {
    color: inherit;
}

.hours-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(102, 144, 244, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Dashboard — Projects Overview widget (compact) */
.projects-overview-widget .po-stacked-bar {
    display: flex;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #eef2f7;
}

.projects-overview-widget .po-stacked-seg {
    display: block;
    height: 100%;
    transition: opacity 0.15s ease;
}

.projects-overview-widget .po-stacked-seg:hover {
    opacity: 0.8;
}

.projects-overview-widget .projects-overview-tiles {
    background-color: #fbfcfe;
    border: 1px solid #eef2f7;
    border-radius: 6px;
}

.projects-overview-widget .projects-overview-tile-col {
    border-right: 1px solid #eef2f7;
}

.projects-overview-widget .projects-overview-tile-col:last-child {
    border-right: none;
}

.projects-overview-widget .projects-overview-tile {
    display: block;
    text-align: center;
    padding: 6px 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.projects-overview-widget .projects-overview-tile:hover {
    background-color: #eef4ff;
    text-decoration: none;
}

.projects-overview-widget .po-tile-label {
    font-size: 11px;
    color: #9b9b9b;
    line-height: 1.1;
}

.projects-overview-widget .po-tile-value {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2px;
}

.projects-overview-widget .po-points-progress {
    height: 6px;
    background-color: #eef2f7;
    border-radius: 4px;
}

.projects-overview-widget .top-active-projects-list .top-active-project-item {
    text-decoration: none;
    transition: background-color 0.15s ease;
    border-radius: 4px;
    padding: 3px 4px;
    font-size: 12px;
}

.projects-overview-widget .top-active-projects-list .top-active-project-item:hover {
    background-color: #f8fafc;
    text-decoration: none;
}

.projects-overview-widget .top-active-projects-list .po-item-title {
    max-width: 55%;
    font-weight: 500;
}

.projects-overview-widget .top-active-projects-list .mini-progress {
    width: 70px;
    height: 4px;
    background-color: #e9ecef;
    display: inline-flex;
    border-radius: 2px;
    overflow: hidden;
}

.projects-overview-widget .top-active-projects-list .badge {
    font-size: 10px;
    padding: 3px 6px;
}

.projects-overview-widget .po-overdue-hint {
    font-size: 10px;
    line-height: 1.3;
    margin-top: 0;
}

/* Project list — deadline highlight badge */
.project-deadline-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.2px;
}

.project-deadline-badge.bg-danger {
    color: #fff !important;
}

.project-deadline-badge.bg-warning {
    color: #2f3542 !important;
}

