/* Планировщик задач — поверх Bootstrap 5 */

body {
  background: #f5f6f8;
}

/* Бейджи приоритетов */
.badge.priority-low      { background: #9aa5b1; }
.badge.priority-medium   { background: #3b82c4; }
.badge.priority-high     { background: #e07b39; }
.badge.priority-critical { background: #d64545; }

/* Бейджи статусов */
.badge.status-new         { background: #6c757d; }
.badge.status-in_progress { background: #2f9e6e; }
.badge.status-done        { background: #8a94a0; }

/* Названия задач */
.task-title {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  word-break: break-word;
}
.task-title:hover { text-decoration: underline; }
.task-title.in-progress { color: #1f6fb2; }

/* Заголовки секций главной */
.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
}
.section-overdue .section-title { color: #d64545; }
.section-today   .section-title { color: #e07b39; }
.section-week    .section-title { color: #b9962e; }
.section-later   .section-title { color: #6c757d; }

/* Список задач без крупных отступов */
.list-group-item { border-left: none; border-right: none; }

/* Кнопка новой задачи — заметная */
.btn-new-task {
  font-weight: 600;
}

/* На телефоне строки задач переносятся компактно */
@media (max-width: 575.98px) {
  .list-group-item { gap: 0.375rem !important; }
  .task-meta { font-size: 0.8rem; }
}
