/**
 * ====================================================================
 * Pavo Admin Dashboard - Task Boards Component Styles
 * Copyright © 2024 RefineThemes.com
 * Author: Saleem Raza
 * Founder: RefineThemes.com
 * License: MIT
 * ====================================================================
 */

   :root {
            --primary-gradient: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
            --secondary-gradient: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
            --dark-bg: #0f172a;
            --card-bg: #1e293b;
            --neon-blue: #00f2fe;
            --neon-pink: #fe00fe;
            --neon-green: #00fe9c;
            --text-light: #e2e8f0;
            --text-muted: #94a3b8;
        }
        
        .dashboard-header {
            margin-bottom: 30px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.2);
            padding-bottom: 15px;
        }
        
        .department-card {
            background-color: var(--card-bg);
            border: none;
            border-radius: 10px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
            margin-bottom: 30px;
            transition: transform 0.3s ease;
            overflow: hidden;
        }
        
        .department-card:hover {
            transform: translateY(-5px);
        }
        
        .department-header {
            background: var(--primary-gradient);
            color: white;
            border-bottom: none;
            padding: 15px 20px;
            position: relative;
        }
        
        .department-header:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--neon-blue);
            opacity: 0.7;
        }
        
        .task-board {
            min-height: 500px;
            padding: 15px;
        }
        
        .task-column {
            background: rgba(30, 41, 59, 0.5);
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid rgba(148, 163, 184, 0.1);
        }
        
        .column-header {
            font-weight: 600;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .task-count {
            background: rgba(0, 242, 254, 0.2);
            color: var(--neon-blue);
            padding: 2px 8px;
            border-radius: 20px;
            font-size: 0.8rem;
        }
        
        .task-list {
            min-height: 100px;
            padding: 5px;
        }
        
        .task-card {
            background: var(--card-bg);
            border-left: 3px solid var(--neon-blue);
            border-radius: 6px;
            padding: 12px;
            margin-bottom: 10px;
            cursor: grab;
            transition: all 0.2s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .task-card:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
        }
        
        .task-card.high-priority {
            border-left-color: #f12711;
        }
        
        .task-card.medium-priority {
            border-left-color: #f5af19;
        }
        
        .task-card.low-priority {
            border-left-color: #00fe9c;
        }
        
        .task-title {
            font-weight: 500;
            margin-bottom: 5px;
        }
        
        .task-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        
        .task-avatar {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            background-color: var(--neon-pink);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: bold;
            margin-right: 5px;
        }
        
        .task-due-date {
            display: inline-flex;
            align-items: center;
        }
        
        .task-due-date.overdue {
            color: #f12711;
        }
        
        .task-due-date.soon {
            color: #f5af19;
        }
        
        .add-task-btn {
            background: rgba(0, 242, 254, 0.1);
            color: var(--neon-blue);
            border: 1px dashed var(--neon-blue);
            border-radius: 6px;
            padding: 10px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-top: 10px;
        }
        
        .add-task-btn:hover {
            background: rgba(0, 242, 254, 0.2);
        }
        
        .department-stats {
            display: flex;
            justify-content: space-around;
            padding: 15px;
            background: rgba(30, 41, 59, 0.7);
            border-top: 1px solid rgba(148, 163, 184, 0.1);
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            background: var(--secondary-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .stat-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            text-transform: uppercase;
        }
        
        .glow {
            animation: glow 2s ease-in-out infinite alternate;
        }
        
        @keyframes glow {
            from {
                box-shadow: 0 0 5px rgba(0, 242, 254, 0.5);
            }
            to {
                box-shadow: 0 0 20px rgba(0, 242, 254, 0.8);
            }
        }
        
        /* Responsive columns */
        @media (min-width: 992px) {
            .task-columns {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                padding-bottom: 15px;
            }
            
            .task-column {
                flex: 0 0 300px;
                margin-right: 15px;
                margin-bottom: 0;
            }
        }
        
        /* Scrollbar styling */
        ::-webkit-scrollbar {
            height: 8px;
            width: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: rgba(148, 163, 184, 0.1);
            border-radius: 10px;
        }
        
        ::-webkit-scrollbar-thumb {
            background: rgba(0, 242, 254, 0.5);
            border-radius: 10px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: var(--neon-blue);
        }