/* ===============================
   Общий стиль
=============================== */

body {
    background: #f5f6fa;
}

/* ===============================
   КАНБАН-СЕТКА
=============================== */

.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 20px;
}

/* Мобильное отображение */
@media (max-width: 1024px) {
    .kanban-board {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .kanban-board {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   КОЛОНКИ
=============================== */

.kanban-column {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 160px);
    border: 1px solid #e4e6eb;
}

.kanban-column-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e4e6eb;
    background: #fafbff;
    border-radius: 14px 14px 0 0;
}

.kanban-column-header h4 {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 600;
}

/* Контейнер прокрутки задач */
.kanban-tasks {
    padding: 12px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Скрываем некрасивый scrollbar */
.kanban-tasks::-webkit-scrollbar {
    width: 6px;
}
.kanban-tasks::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

/* ===============================
   КАРТОЧКА ЗАДАЧИ
=============================== */

.task-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: 1px solid #e9eaed;
    transition: transform .15s ease, box-shadow .15s ease;
}

/* Hover эффект */
.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Заголовок */
.task-card h5 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 600;
}

/* Доп текст */
.task-card p {
    font-size: .85rem;
    margin: 0 0 6px;
    color: #555;
}

/* Блок метаданных */
.task-meta {
    font-size: .8rem;
    color: #666;
}

/* Иконки */
.task-meta i {
    color: #888;
    margin-right: 4px;
}

/* ===============================
   КНОПКИ В КАРТОЧКАХ
=============================== */

.task-card button {
    width: 100%;
    border-radius: 8px !important;
    font-size: .85rem;
}

/* ===============================
   МОДАЛКА
=============================== */

.modal-content {
    border-radius: 14px;
}

.modal-header {
    background: #fafbff;
    border-bottom: 1px solid #e4e6eb;
}

/* ===============================
   КНОПКА СОЗДАНИЯ ЗАДАЧИ
=============================== */

#addTaskBtn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 26px;
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 4px 15px rgba(13,110,253,0.4);
    z-index: 2000;
}

#addTaskBtn:hover {
    background: #0b5ed7;
}
