
           @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
        body {
            font-family: 'Inter', sans-serif;
            background-color: #f0f2f5;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
            box-sizing: border-box;
        }
        .container {
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0 0px 10px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
           max-width: 50%;
            margin: 100px auto;
            padding: 20px;
        }
        .header {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            margin-bottom: 1.5rem;
        }
        .header img {
            width: 40px;
            height: 40px;
            margin-right: 0.5rem;
        }
        .header-title {
            font-size: 1.875rem; /* 30px */
            font-weight: 600;
            color: #1a202c;
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
        }
        .header-subtitle {
            font-size: 1rem;
            color: #718096;
        }
        .input-section {
            display: flex;
            margin-bottom: 1.5rem;
        }
        .input-section input {
            flex-grow: 1;
            padding: 0.75rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 0.75rem;
            font-size: 1rem;
            color: #4a5568;
            outline: none;
        }
        .input-section input::placeholder {
            color: #a0aec0;
        }
        .input-section button {
            background-color: #3182ce;
            color: white;
            padding: 0.75rem 1rem;
            border-radius: 0.75rem;
            margin-left: 0.5rem;
            font-size: 1.25rem;
            cursor: pointer;
            transition: background-color 0.2s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .input-section button:hover {
            background-color: #2b6cb0;
        }
        .filter-buttons {
            display: flex;
            justify-content: space-around;
            padding: 0.5rem;
            background-color: #edf2f7;
            border-radius: 0.75rem;
            margin-bottom: 1.5rem;
        }
        .filter-buttons button {
            flex-grow: 1;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            background-color: transparent;
            color: #4a5568;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
        }
        .filter-buttons button.active {
            background-color: #3182ce;
            color: white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        .filter-buttons button:hover:not(.active) {
            background-color: #e2e8f0;
        }
        .task-list {
            min-height: 100px;
            padding: 0;
            margin: 0;
            list-style: none;
        }
        .task-item {
            display: flex;
            align-items: center;
            padding: 0.75rem 1rem;
            border-bottom: 1px solid #e2e8f0;
            transition: background-color 0.2s ease-in-out;
            cursor: pointer;
        }
        .task-item:last-child {
            border-bottom: none;
        }
        .task-item:hover {
            background-color: #f7fafc;
        }
        .task-item.completed .task-text {
            text-decoration: line-through;
            color: #a0aec0;
        }
        .task-item input[type="checkbox"] {
            margin-right: 1rem;
            width: 1.25rem;
            height: 1.25rem;
            border-radius: 0.25rem;
            border: 1px solid #cbd5e0;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            outline: none;
            cursor: pointer;
            position: relative;
            background-color: #ffffff;
        }
        .task-item input[type="checkbox"]:checked {
            background-color: #3182ce;
            border-color: #3182ce;
        }
        .task-item input[type="checkbox"]:checked::after {
            content: '✔';
            color: white;
            font-size: 0.875rem;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        .task-text {
            flex-grow: 1;
            font-size: 1rem;
            color: #2d3748;
            line-height: 1.5;
        }
        .delete-button {
            background-color: transparent;
            border: none;
            color: #e53e3e;
            font-size: 1.25rem;
            cursor: pointer;
            transition: color 0.2s ease-in-out;
            margin-left: 1rem;
            padding: 0.25rem;
        }
        .delete-button:hover {
            color: #c53030;
        }
        .no-tasks {
            text-align: center;
            color: #a0aec0;
            padding: 2rem 0;
            font-size: 1.125rem;
        }
        .footer-text {
            text-align: center;
            color: #a0aec0;
            font-size: 0.875rem;
            margin-top: 2rem;
            line-height: 1.5;
        }
        .task-count {
            margin-left: 0.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            color: #4a5568;
            background-color: #e2e8f0;
            padding: 0.2rem 0.5rem;
            border-radius: 0.5rem;
        }
        .filter-buttons button.active .task-count {
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
        }

        /* Adjustments for smaller screens */
        @media (max-width: 640px) {
            .container {
                padding: 1rem;
            }
            .header-title {
                font-size: 1.5rem;
            }
            .header-subtitle {
                font-size: 0.875rem;
            }
            .input-section input,
            .input-section button {
                padding: 0.6rem 0.8rem;
                font-size: 1rem;
            }
            .filter-buttons {
                flex-direction: column;
                gap: 0.5rem;
            }
            .filter-buttons button {
                padding: 0.6rem;
            }
            .task-item {
                padding: 0.6rem 0.8rem;
            }
            .task-text {
                font-size: 0.9rem;
            }
        }