/* ===== PAGE BACKGROUND ===== */
body {
    background: linear-gradient(
        180deg,
        #f8fafc 0%,
        #f1f5f9 50%,
        #eef2f6 100%
    );
}

/* ===========================
   KANBAN CARD BASE
=========================== */

/* OUTER CARD (ACCENT ONLY) */
.kanban-task-card {
    position: relative;
    border-radius: 18px;
    padding: 6px;                 /* accent frame */
    margin-bottom: 16px;
    overflow: hidden;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* SUBTLE LIFT ON HOVER */
.kanban-task-card:hover {
    transform: translateY(-4px);
}

/* STATUS ACCENTS */
.kanban-bg-not-started {
    background: linear-gradient(135deg, #f59e0b, #fde68a);
}

.kanban-bg-in-progress {
    background: linear-gradient(135deg, #64748b, #cbd5e1);
}

.kanban-bg-blocked {
    background: linear-gradient(135deg, #dc2626, #fecaca);
}

.kanban-bg-completed {
    background: linear-gradient(135deg, #2563eb, #bfdbfe);
}

/* ===========================
   INNER CONTENT SURFACE
=========================== */
.kanban-card-inner {
    background: #ffffff;
    border-radius: 14px;
    padding: 3px;

    display: flex;
    flex-direction: column;
    gap: 8px;

    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

/* ===========================
   TEXT
=========================== */
.kanban-title {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
}

.kanban-description {
    font-size: 13px;
    color: #475569;
}

/* ===========================
   PROGRESS BAR
=========================== */
.kanban-progress-wrapper {
    height: 7px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.kanban-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #22c55e);
    transition: width 0.6s ease;
}

/* ===========================
   META INFO
=========================== */
.kanban-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
}

/* ===========================
   EDIT BUTTON (HOVER ONLY)
=========================== */
.kanban-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 32px;
    height: 32px;
    border-radius: 50%;

    background: #ffffff;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    cursor: pointer;
    z-index: 5;

    /* 👇 HOVER-ONLY BEHAVIOR */
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

/* SHOW BUTTON ON CARD HOVER */
.kanban-task-card:hover .kanban-edit-btn {
    opacity: 1;
    transform: scale(1);
}

/* BUTTON HOVER FEEDBACK */
.kanban-edit-btn:hover {
    background: #0d6efd;
}

.kanban-edit-btn i {
    font-size: 13px;
    color: #334155;
    transition: color 0.15s ease;
}

.kanban-edit-btn:hover i {
    color: #ffffff;
}
/* ===========================
   COLUMN HEADER + REAL BADGE
=========================== */
.kanban-column-header {
    text-align: center;
}

.kanban-column-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

/* 🔴 REAL BADGE */
.kanban-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    padding: 0 6px;

    border-radius: 999px;

    background-color: #334155;   /* dark slate */
    color: #ffffff;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;

    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.kanban-task-card {
    position: relative;
}

.kanban-task-actions {
    position: absolute;
    top: 6px;
    right: 6px;
    display: none;
    gap: 4px;
}

.kanban-task-card:hover .kanban-task-actions {
    display: flex;
}
.dropdown-menu .dropdown-item {
    font-size: 0.95rem;
}
.nav-tabs .fa-file-excel {
    font-size: 0.9rem;
    opacity: 0.7;
}

.nav-tabs .fa-file-excel:hover {
    opacity: 1;
}
