    /* CSS RESET & BASE STYLES */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: #a0c4ff;
            color: #333;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 2rem;
        }

        .content-body {
            width: 100%;
            max-width: 1400px;
            background-color: #ffffff;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            animation: fadeIn 0.5s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.98); }
            to { opacity: 1; transform: scale(1); }
        }

        /* HEADER */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #eef2ff;
        }

        .header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1e3a8a;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .theme-btn {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 25px;
            padding: 0.5rem 1rem;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .theme-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        .theme-btn .moon-icon {
            display: none;
        }

        [data-theme="dark"] .theme-btn {
            background-color: #475569;
            border-color: #64748b;
            color: #e2e8f0;
        }

        [data-theme="dark"] .theme-btn .sun-icon {
            display: none;
        }

        [data-theme="dark"] .theme-btn .moon-icon {
            display: inline;
        }

        .back-btn {
            background-color: #4f46e5;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.8rem 1.5rem;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: background-color 0.2s ease;
        }

        .back-btn:hover {
            background-color: #3730a3;
        }

        /* DARK MODE STYLES */
        [data-theme="dark"] {
            background-color: #1e293b;
        }

        [data-theme="dark"] .content-body {
            background-color: #334155;
            color: #e2e8f0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .header h1 {
            color: #60a5fa;
        }

        [data-theme="dark"] .back-btn {
            background-color: #3b82f6;
        }

        [data-theme="dark"] .back-btn:hover {
            background-color: #2563eb;
        }

        [data-theme="dark"] .task-input-section,
        [data-theme="dark"] .stats-panel,
        [data-theme="dark"] .task-list,
        [data-theme="dark"] .analytics-panel {
            background-color: #475569;
            border-color: #64748b;
            color: #e2e8f0;
        }

        [data-theme="dark"] .task-input-section h3,
        [data-theme="dark"] .stats-panel h3,
        [data-theme="dark"] .task-list h3,
        [data-theme="dark"] .analytics-panel h3 {
            color: #60a5fa;
        }

        [data-theme="dark"] .task-form input,
        [data-theme="dark"] .task-form select,
        [data-theme="dark"] .task-form textarea {
            background-color: #1e293b;
            border-color: #475569;
            color: #e2e8f0;
        }

        [data-theme="dark"] .task-form input::placeholder,
        [data-theme="dark"] .task-form textarea::placeholder {
            color: #94a3b8;
        }

        [data-theme="dark"] .add-task-btn {
            background-color: #059669;
        }

        [data-theme="dark"] .add-task-btn:hover {
            background-color: #047857;
        }

        [data-theme="dark"] .stat-card {
            background-color: #1e293b;
            border-color: #475569;
        }

        [data-theme="dark"] .stat-number {
            color: #60a5fa;
        }

        [data-theme="dark"] .stat-label {
            color: #94a3b8;
        }

        [data-theme="dark"] .task-item {
            background-color: #1e293b;
            border-color: #475569;
        }

        [data-theme="dark"] .task-title {
            color: #60a5fa;
        }

        [data-theme="dark"] .task-description {
            color: #94a3b8;
        }

        [data-theme="dark"] .task-meta {
            color: #64748b;
        }

        [data-theme="dark"] .action-btn:hover {
            background-color: #334155;
        }

        [data-theme="dark"] .category-item {
            background-color: #1e293b;
            border-color: #475569;
        }

        [data-theme="dark"] .category-count {
            color: #60a5fa;
        }

        [data-theme="dark"] .category-label {
            color: #94a3b8;
        }

        /* SMOOTH TRANSITIONS FOR THEME CHANGE */
        *, *::before, *::after {
            transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
        }

        /* MAIN GRID LAYOUT */
        .main-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        /* TASK INPUT SECTION */
        .task-input-section {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 15px;
            padding: 1.5rem;
        }

        .task-input-section h3 {
            color: #1e3a8a;
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .task-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .task-form input, .task-form select, .task-form textarea {
            padding: 0.8rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
        }

        .task-form textarea {
            resize: vertical;
            min-height: 80px;
        }

        .form-row {
            display: flex;
            gap: 1rem;
        }

        .form-row > * {
            flex: 1;
        }

        .add-task-btn {
            background-color: #10b981;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.8rem 1.5rem;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .add-task-btn:hover {
            background-color: #059669;
        }

        /* STATISTICS PANEL */
        .stats-panel {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 15px;
            padding: 1.5rem;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .stat-card {
            background-color: white;
            border-radius: 10px;
            padding: 1rem;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: #1e3a8a;
        }

        .stat-label {
            font-size: 0.9rem;
            color: #6b7280;
        }

        .chart-container {
            position: relative;
            height: 200px;
            margin-top: 1rem;
        }

        /* TASK LISTS */
        .task-lists {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .task-list {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 15px;
            padding: 1.5rem;
        }

        .task-list h3 {
            color: #1e3a8a;
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .task-item {
            background-color: white;
            border-radius: 10px;
            padding: 1rem;
            margin-bottom: 1rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease;
        }

        .task-item:hover {
            transform: translateY(-2px);
        }

        .task-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .task-title {
            font-weight: 600;
            color: #1e3a8a;
        }

        .task-priority {
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .priority-high {
            background-color: #fee2e2;
            color: #dc2626;
        }

        .priority-medium {
            background-color: #fef3c7;
            color: #d97706;
        }

        .priority-low {
            background-color: #dcfce7;
            color: #16a34a;
        }

        .task-description {
            font-size: 0.9rem;
            color: #6b7280;
            margin-bottom: 0.5rem;
        }

        .task-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: #9ca3af;
        }

        .task-actions {
            display: flex;
            gap: 0.5rem;
        }

        .action-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.3rem;
            border-radius: 5px;
            transition: background-color 0.2s ease;
        }

        .action-btn:hover {
            background-color: #f3f4f6;
        }

        .complete-btn {
            color: #10b981;
        }

        .edit-btn {
            color: #3b82f6;
        }

        .delete-btn {
            color: #ef4444;
        }

        /* BOTTOM ANALYTICS */
        .analytics-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .analytics-panel {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 15px;
            padding: 1.5rem;
        }

        .analytics-panel h3 {
            color: #1e3a8a;
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .productivity-chart {
            height: 250px;
            margin-bottom: 1rem;
        }

        .category-breakdown {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .category-item {
            background-color: white;
            border-radius: 8px;
            padding: 0.8rem;
            text-align: center;
            flex: 1;
            min-width: 100px;
        }

        .category-count {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1e3a8a;
        }

        .category-label {
            font-size: 0.8rem;
            color: #6b7280;
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 1024px) {
            .main-grid,
            .task-lists,
            .analytics-section {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            body {
                padding: 1rem;
            }
            
            .content-body {
                padding: 1.5rem;
            }
            
            .header h1 {
                font-size: 2rem;
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
            }
            
            .form-row {
                flex-direction: column;
            }
        }