 :root {
            --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --glass-bg: rgba(255, 255, 255, 0.1);
            --glass-border: rgba(255, 255, 255, 0.2);
        }

        body {
            background: var(--primary-gradient);
            min-height: 100vh;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        .main-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .todo-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            max-width: 500px;
            width: 100%;
            animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .todo-header {
            text-align: center;
            color: white;
            margin-bottom: 2rem;
        }

        .todo-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .todo-subtitle {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1rem;
        }

        .form-control, .form-select {
            background: rgba(255, 255, 255, 0.15);
            border: 2px solid var(--glass-border);
            border-radius: 16px;
            color: white;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .form-control::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .form-control:focus, .form-select:focus {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.5);
            box-shadow: none;
            color: white;
            transform: scale(1.02);
        }

        .form-select option {
            background: #667eea;
            color: white;
        }

        .btn-add {
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            border: none;
            border-radius: 12px;
            color: white;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 12px rgba(238, 90, 36, 0.3);
        }

        .btn-add:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(238, 90, 36, 0.4);
            color: white;
        }

        .todo-item {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 16px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            animation: slideInItem 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            margin-bottom: 12px;
        }

        @keyframes slideInItem {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .todo-item:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .todo-item.completed {
            opacity: 0.6;
            transform: scale(0.98);
        }

        .todo-item.removing {
            animation: slideOut 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
        }

        @keyframes slideOut {
            to {
                opacity: 0;
                transform: translateX(100%) scale(0.8);
            }
        }

        .form-check-input {
            width: 1.5em;
            height: 1.5em;
            border: 2px solid rgba(255, 255, 255, 0.4);
            border-radius: 8px;
            background: transparent;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .form-check-input:checked {
            background: linear-gradient(45deg, #00d4aa, #00a8ff);
            border-color: #00d4aa;
            transform: scale(1.1);
        }

        .form-check-input:focus {
            box-shadow: none;
        }

        .todo-text {
            color: white;
            font-weight: 500;
            transition: all 0.3s ease;
            margin-bottom: 0;
        }

        .completed .todo-text {
            text-decoration: line-through;
            opacity: 0.7;
        }

        .badge {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 0.4em 0.8em;
        }

       .badge-high {
           background: #dc3545;
           color: white;
     border: none;
 }

 .badge-medium {
     background: #ffc107;
     color: black;
     border: none;
 }

.badge-low {
    background: #198754;
    color: white;
    border: none;
}

        .btn-delete {
            background: none;
            border: none;
            color: #ff6b6b;
            padding: 8px;
            border-radius: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
        }

        .todo-item:hover .btn-delete {
            opacity: 1;
        }

        .btn-delete:hover {
            background: rgba(255, 107, 107, 0.2);
            transform: scale(1.1);
            color: #ff6b6b;
        }

        .empty-state {
            text-align: center;
            padding: 3rem 1rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .empty-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        @media (max-width: 768px) {
            .todo-card {
                margin: 10px;
            }
            
            .todo-title {
                font-size: 2rem;
            }
        }
