/* Custom styles for.task-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    border-left: 5px solid;
}

.task-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.task-group-header {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.task-group-header:first-child {
    margin-top: 0;
}de and components */

/* Tab styling */
.tab-button {
    border-bottom: 2px solid transparent;
    color: #6b7280;
    transition: all 0.2s ease;
    position: relative;
}

.tab-button:hover {
    color: #4b5563;
    background-color: #f9fafb;
}

.tab-button.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    font-weight: 600;
    background-color: #eff6ff;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.tab-button.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.tab-pane {
    @apply block;
}

.tab-pane.hidden {
    @apply hidden;
}

/* Enhanced Task item styling */
.task-item {
    @apply bg-white border border-gray-200 rounded-xl p-4 cursor-pointer transition-all duration-200 shadow-sm hover:shadow-md mb-4;
    border-left: 5px solid;
}

.task-item:hover {
    @apply shadow-lg transform -translate-y-1;
}

.task-item.completed {
    @apply opacity-60 bg-gray-50;
}

.task-item-urgent {
    @apply bg-gradient-to-r from-red-50 to-orange-50;
}

.task-item-due-soon {
    @apply bg-gradient-to-r from-yellow-50 to-amber-50;
}

/* Task group headers */
.task-group-header {
    @apply text-lg font-semibold text-gray-700 mb-3 mt-6 border-b pb-2;
}

/* First group header doesn't need top margin */
.task-group-header:first-child {
    @apply mt-0;
}

/* Category-specific colors */
.category-Work {
    border-left-color: #0d6efd;
}

.category-Personal {
    border-left-color: #198754;
}

.category-Urgent {
    border-left-color: #ffc107;
}

/* Category-specific colors */
.category-Work {
    border-left-color: #0d6efd;
}

.category-Personal {
    border-left-color: #198754;
}

.category-Urgent {
    border-left-color: #ffc107;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Chart container */
.chart-container {
    @apply bg-white rounded-lg shadow p-4;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Form elements focus states */
input:focus,
select:focus,
textarea:focus {
    @apply ring-2 ring-blue-500 border-transparent;
}

/* Checkbox styling */
input[type="checkbox"] {
    @apply rounded border-gray-300 text-blue-600 focus:ring-blue-500;
}

/* Button hover effects */
button {
    @apply transition-all duration-200;
}

/* Modal backdrop */
.modal-backdrop {
    @apply fixed inset-0 bg-gray-600 bg-opacity-50 transition-opacity;
}

/* Responsive design helpers */
@media (max-width: 768px) {
    .container {
        @apply px-2;
    }
    
    .grid-cols-1.lg\:grid-cols-4 {
        @apply grid-cols-1;
    }
    
    .task-item {
        @apply text-sm;
    }
}