:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #f59e0b;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Light mode */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border-primary: #334155;
    --border-secondary: #475569;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3),
        0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3),
        0 8px 10px -6px rgb(0 0 0 / 0.3);
    --glass-bg: rgba(15, 23, 42, 0.5);
    --glass-border: rgba(51, 65, 85, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.font-mono {
    font-family: "JetBrains Mono", "Fira Code", monospace;
}

/* Custom Scrollbar */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 4px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: var(--text-tertiary);
    border-radius: 3px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--text-tertiary);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.loading-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.relative i {
    z-index: 10;
}

/* Custom components */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.gradient-border {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-size: 200% 200%;
    animation: gradient-shift 6s ease infinite;
    padding: 2px;
    border-radius: 12px;
}

.gradient-border>* {
    background: var(--bg-primary);
    border-radius: 10px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: linear-gradient(135deg,
            var(--primary),
            var(--primary-dark));
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 14px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--border-secondary);
}

.input-field {
    background: var(--bg-primary);
    border: 2px solid var(--border-primary);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.input-field::placeholder {
    color: var(--text-tertiary);
}

.task-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.task-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.task-card:hover::before {
    transform: scaleX(1);
}

.sidebar {
    background: var(--bg-primary);
    border-right: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 40;
    transform: translateX(-100%);
    width: 360px;
}

.sidebar.open {
    transform: translateX(0);
}

@media (min-width: 1024px) {
    .sidebar {
        position: sticky;
        transform: translateX(0);
    }
}

.sidebar-item {
    padding: 8px 12px;
    border-radius: 8px;
    margin: 2px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 14px;
}

.sidebar-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transform: translateX(4px);
}

.sidebar-item.active {
    background: var(--primary);
    color: white;
}

.sidebar-open {
    overflow: hidden !important;
    height: 100vh;
    touch-action: none;
    /* Prevents touch scrolling on mobile */
    position: fixed;
    width: 100%;
}

.stats-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.progress-bar {
    background: var(--bg-tertiary);
    height: 6px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 2s infinite;
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

.badge {
    padding: 3px 6px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-high {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-medium {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-low {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.custom-select {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    width: 100%;
    height: 2.5rem;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em;
}

.custom-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.custom-select option {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.input-field {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-primary);
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    width: 100%;
    height: 2.5rem;
    transition: all 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

textarea.input-field {
    height: auto;
    resize: vertical;
}

.custom-checkbox {
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--border-primary);
    border-radius: 0.25rem;
    accent-color: var(--primary);
}

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive design */
.main-content {
    width: 100%;
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

/* User profile dropdown */
#userProfileDropdown {
    transition: all 0.2s ease-out;
    transform-origin: top right;
    opacity: 0;
    transform: scale(0.95);
}

#userProfileDropdown.show {
    opacity: 1;
    transform: scale(1);
    display: block;
}

#loginBtn,
#userProfileBtn {
    display: none;
}

/* Add this to your CSS */
.input-field,
.custom-select {
    transition: all 0.3s ease;
}

.input-field:focus,
.custom-select:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Hide default date picker icon in Webkit browsers */
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

/* Copyright footer styles - Enhanced for responsiveness */
footer {
    margin-top: auto;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-primary);
    position: relative;
    z-index: 10;
}

footer a {
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 4px;
}

footer a:hover {
    color: var(--primary);
    background-color: var(--bg-tertiary);
}

/* Mobile-first responsive design */
footer .container {
    max-width: 100%;
    margin: 0 auto;
}

/* Text wrapping and spacing for mobile */
@media (max-width: 640px) {
    footer {
        padding-top: 16px;
        padding-bottom: 12px;
    }

    footer .text-xs {
        font-size: 11px;
        line-height: 1.4;
    }

    footer .space-y-3>*+* {
        margin-top: 12px;
    }

    footer .flex.flex-col.sm\\:flex-row {
        flex-direction: column;
        gap: 8px;
    }

    footer a {
        padding: 8px 12px;
        margin: 2px;
        display: inline-block;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    footer .hidden.sm\\:inline {
        display: none;
    }
}

/* Tablet styles */
@media (min-width: 641px) and (max-width: 1024px) {
    footer {
        padding-top: 20px;
        padding-bottom: 16px;
    }

    footer .text-xs {
        font-size: 12px;
    }

    footer a {
        padding: 6px 10px;
    }
}

/* Desktop styles */
@media (min-width: 1025px) {
    footer {
        padding-top: 24px;
        padding-bottom: 20px;
    }

    footer .container {
        max-width: 1200px;
    }

    footer a {
        padding: 4px 8px;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    footer .container {
        max-width: 1400px;
    }
}

/* High-resolution mobile devices */
@media (max-width: 480px) {
    footer {
        padding: 12px 16px;
    }

    footer .text-xs {
        font-size: 10px;
    }

    /* Larger touch targets for small screens */
    footer a {
        padding: 10px 16px;
        font-size: 11px;
        min-height: 40px;
    }

    /* Compact layout for very small screens */
    footer .space-y-3>*+* {
        margin-top: 10px;
    }
}

/* Version badge responsive styles */
.version-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    display: inline-block;
}

@media (max-width: 640px) {
    .version-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
}

/* Copyright text responsive styles */
.copyright-text {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
}

@media (max-width: 640px) {
    .copyright-text {
        font-size: 10px;
        letter-spacing: 0.3px;
    }
}

/* Dark mode adjustments */
[data-theme="dark"] footer {
    border-top-color: var(--border-primary);
}

[data-theme="dark"] footer a:hover {
    background-color: var(--bg-tertiary);
}

/* Focus states for accessibility */
footer a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    footer {
        border-top: 1px solid #000;
        background: white;
        color: black;
        page-break-inside: avoid;
    }

    footer a {
        color: black;
        text-decoration: underline;
    }
}

@media (min-width: 1024px) {
    .main-content {
        margin-left: 0px;
        width: calc(100% - 260px);
    }

    .sidebar-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .grid-responsive {
        grid-template-columns: 1fr;
    }

    .task-card {
        padding: 10px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .sidebar {
        width: 300px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 6px 12px;
        font-size: 13px;
    }

    .stats-card {
        padding: 10px;
    }

    .input-field,
    .custom-select {
        padding: 6px 10px;
    }

    .modal-scroll-blocked {
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 80vw;
    }

    .task-card {
        padding: 8px;
    }

    .stats-card {
        padding: 8px;
    }
}

/* Modal styles */
.modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    overflow-y: auto;
}

.modal-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-xl);
}

/* Prevent background scroll when modal is open */
.modal-open {
    overflow: hidden !important;
    height: 100vh;
    touch-action: none;
    /* Prevents touch scrolling on mobile */
}

.modal-open body {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

.modal-scroll-blocked {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none;
    /* Prevents touch scrolling on mobile */
}

/* Ensure modals are properly positioned */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    overflow-y: auto;
    /* Allow scrolling within modal if content is long */
}


/* Loading animation */
.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-primary);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.section-header {
    position: relative;
    margin-bottom: 16px;
}

.section-header::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.filter-tab {
    padding: 4px 10px;
    border-radius: 16px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid var(--border-primary);
    font-size: 13px;
}

.filter-tab:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Task status badge */
.task-status {
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.task-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.task-status.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.task-status.overdue {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* Compact layout styles */
.compact-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-primary);
}

.compact-stat:last-child {
    border-bottom: none;
}

.compact-stat-label {
    color: var(--text-secondary);
    font-size: 13px;
}

.compact-stat-value {
    font-weight: 600;
    font-size: 14px;
}

.compact-section {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.compact-section-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    /* Prevent image overflow */
    width: 34px;
    /* Matches headerAvatar */
    height: 34px;
    font-size: 13px;
    /* Matches headerAvatar */
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image fills container */
}

.avatar.w-12.h-12 {
    width: 48px;
    /* Matches dropdownAvatar */
    height: 48px;
}

.avatar.w-12.h-12 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-select {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-primary);
    padding: 8px 12px;
    font-size: 0.875rem;
    width: 100%;
    transition: all 0.2s ease;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
}

.custom-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 320px;
}

.notification.success {
    background: var(--success);
}

.notification.error {
    background: var(--error);
}

.notification.warning {
    background: var(--warning);
}

.notification.info {
    background: var(--info);
}

/* Tooltip styles
.tooltip {
    position: relative;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    box-shadow: var(--shadow);
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
} */

/* Custom checkbox */
.custom-checkbox {
    position: relative;
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-checkbox.checked {
    background: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 4px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: translate(-50%, -60%) rotate(-45deg) scale(0);
    transition: all 0.2s ease;
}

.custom-checkbox.checked::after {
    transform: translate(-50%, -60%) rotate(-45deg) scale(1);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--text-tertiary);
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.empty-state-description {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 300px;
}

/* Priority indicator */
.priority-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.priority-high {
    background-color: var(--error);
}

.priority-medium {
    background-color: var(--warning);
}

.priority-low {
    background-color: var(--success);
}