﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #f8f9fa;
}
.task-board {
    display: flex;
    overflow-x: auto;
    padding: 10px;
}

.status-column {
    min-width: 300px;
    margin: 0 10px;
}

.task-card {
    cursor: move;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.sortable {
    min-height: 100px;
    padding: 10px;
}

.ui-sortable-helper {
    opacity: 0.8;
    background-color: #e9ecef;
}

.ui-sortable-placeholder {
    border: 2px dashed #6c757d;
    visibility: visible !important;
    height: 50px !important;
}
.card {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

    .card:hover {
        box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    }

.btn i {
    margin-right: 5px;
}

/* --- Task Board --- */
.task-board-container {
    display: flex;
    overflow-x: auto;
    padding-bottom: 15px; /* Thêm khoảng trống để thanh cuộn không che nội dung */
    scrollbar-width: thin;
    scrollbar-color: #0d6efd #e9ecef;
}

.status-column {
    min-width: 320px;
    max-width: 320px;
    margin: 0 10px;
    flex-shrink: 0;
    background-color: #f1f2f6; /* Màu nền cho cột */
    border-radius: 8px;
}

    .status-column .card-header {
        background-color: transparent;
        border-bottom: 2px solid #e9ecef;
        font-weight: 600;
    }

.task-list {
    min-height: 200px;
    padding: 10px;
    border-radius: 8px;
}

.task-card {
    margin-bottom: 15px;
    cursor: grab;
    border-left: 4px solid #0d6efd; /* Đường viền màu để nhận diện */
}

    .task-card.overdue {
        border-left-color: #dc3545; /* Màu đỏ cho task quá hạn */
    }

    .task-card .task-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
    }

    .task-card .task-actions {
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
    }

    .task-card:hover .task-actions {
        opacity: 1;
    }

.ui-sortable-placeholder {
    border: 2px dashed #adb5bd;
    background-color: #e9ecef;
    height: 100px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.ui-sortable-helper {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transform: rotate(3deg);
    cursor: grabbing;
}

/* --- Progress Page --- */
.progress-bar-container {
    background-color: #e9ecef;
    border-radius: .375rem;
}

/* --- Forms --- */
.form-card {
    max-width: 700px;
    margin: auto;
}

