.task-page-card,
.task-today-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 35, 55, 0.06);
}

.task-filter-bar {
    padding: 18px;
    border: 1px solid #dfe7ef;
    border-radius: 14px;
    background: #f8fbff;
}

.task-tabs .nav-link {
    color: #587083;
    font-weight: 600;
}

.task-tabs .nav-link.active {
    color: #073c66;
    border-bottom-color: #073c66;
}

.task-table thead th {
    color: #29343d;
    font-size: 0.82rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.task-row-description {
    max-width: 340px;
}

.task-empty-inline {
    padding: 18px;
    border: 1px dashed #cfd9e4;
    border-radius: 12px;
    color: #6b7f90;
    text-align: center;
}

.task-kanban {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.task-kanban-column {
    min-width: 240px;
    border: 1px solid #dce6ef;
    border-radius: 14px;
    background: #f4f8fc;
}

.task-kanban-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #dce6ef;
    font-weight: 700;
}

.task-kanban-list {
    min-height: 220px;
    padding: 12px;
}

.task-kanban-card {
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid #dce6ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 35, 55, 0.05);
    cursor: grab;
}

.task-kanban-empty {
    padding: 18px 10px;
    border: 1px dashed #c8d6e2;
    border-radius: 10px;
    color: #8798a7;
    text-align: center;
}

.task-calendar-wrapper {
    border: 1px solid #dce6ef;
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

.task-calendar-event.task-priority-urgent,
.task-calendar-event.task-priority-high {
    border-color: #ff5f8f;
    background: #ff5f8f;
}

.task-history-item {
    padding: 12px 0;
    border-bottom: 1px solid #edf1f5;
}

.task-history-item:last-child {
    border-bottom: 0;
}

.task-details dt {
    margin-top: 12px;
    color: #6b7f90;
    font-size: 0.82rem;
}

.task-details dd {
    margin-bottom: 0;
    font-weight: 600;
}

.task-modal-content .modal-body {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}
