
        body {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.95);
        }
        
        .card-header {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-radius: 15px 15px 0 0 !important;
            border: none;
            padding: 20px;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border: none;
            border-radius: 10px;
            padding: 10px 20px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }
        
        .btn-success {
            background: linear-gradient(135deg, #56ab2f, #a8e6cf);
            border: none;
            border-radius: 10px;
            padding: 8px 16px;
            font-weight: 600;
        }
        
        .btn-danger {
            background: linear-gradient(135deg, #ff416c, #ff4b2b);
            border: none;
            border-radius: 10px;
            padding: 5px 10px;
        }
        
        .task-item {
            background: white;
            border: 2px solid transparent;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 15px;
            transition: all 0.4s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .task-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .task-item:hover::before {
            left: 100%;
        }
        
        .task-item:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
            border-color: rgba(102, 126, 234, 0.3);
        }
        
        .task-item.selected {
            border-color: #667eea;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
        }
        
        .task-item.priority {
            border-left: 5px solid #ff416c;
        }

        .task-item.priority::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 0 50px 50px 0;
            border-color: transparent #ff416c transparent transparent;
            opacity: 0.1;
        }

        .task-header {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }

        .task-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #2c3e50;
            margin: 0;
            flex-grow: 1;
        }

        .task-description {
            color: #6c757d;
            font-size: 0.95rem;
            margin-bottom: 15px;
            line-height: 1.5;
        }

        .task-badges {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            align-items: center;
        }

        .task-delete-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .task-item:hover .task-delete-btn {
            opacity: 1;
        }

        .selected-indicator {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .progress-ring {
            width: 48px;
            height: 42px;
            border-radius: 50%;
            background: conic-gradient(#667eea var(--progress, 0%), #e9ecef 0%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            position: relative;
        }

        .progress-ring::before {
            content: '';
            position: absolute;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: white;
        }

        .progress-text {
            position: relative;
            z-index: 1;
            font-size: 0.75rem;
            font-weight: bold;
            color: #667eea;
        }

        /* Pagination Styles */
        .pagination-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
            gap: 10px;
        }

        .pagination-btn {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 8px 16px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .pagination-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        .pagination-btn:disabled {
            background: linear-gradient(135deg, #ccc, #ddd);
            cursor: not-allowed;
            opacity: 0.6;
        }

        .pagination-info {
            background: white;
            padding: 8px 16px;
            border-radius: 8px;
            font-weight: 600;
            color: #667eea;
            border: 2px solid #667eea;
        }

        .tasks-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e9ecef;
        }

        .tasks-count {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
        }
        
        .timer-circle {
            width: 250px;
            height: 250px;
            border-radius: 50%;
            background: conic-gradient(#667eea var(--progress, 0deg), #f0f0f0 0deg);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 30px auto;
            position: relative;
        }
        
        .timer-display {
            font-size: 3rem;
            font-weight: bold;
            color: #667eea;
            background: white;
            border-radius: 50%;
            width: 180px;
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            z-index: 1;
        }
        
        .badge {
            font-size: 0.8em;
            padding: 5px 10px;
            border-radius: 20px;
        }
        
        .modal-content {
            border-radius: 15px;
            border: none;
        }
        
        .modal-header {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-radius: 15px 15px 0 0;
            border: none;
        }
        
        .form-control, .form-select {
            border-radius: 10px;
            border: 2px solid #e9ecef;
            padding: 12px 15px;
            transition: all 0.3s ease;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        }
        
        .timer-controls {
            text-align: center;
            margin: 20px 0;
        }
        
        .timer-controls .btn {
            margin: 0 10px;
            min-width: 120px;
        }
        
        .counter-card {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
        }
        
        .counter-card h6 {
            margin-bottom: 5px;
            opacity: 0.9;
        }
        
        .counter-card h3 {
            font-size: 2rem;
            margin: 0;
        }
        
        .dropdown-menu {
            min-width: 250px;
        }
        
        .dropdown-item input {
            width: 60px;
            margin-left: 10px;
        }
        
        .dropdown-item label {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }
        
        .form-check.form-switch {
            padding: 10px 0;
        }

        /* Preset radio button styles */
        .preset-option {
            cursor: pointer;
            padding: 12px 15px;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            margin-bottom: 10px;
            transition: all 0.3s ease;
            background: white;
        }

        .preset-option:hover {
            border-color: #667eea;
            background: rgba(102, 126, 234, 0.05);
        }

        .preset-option input[type="radio"] {
            margin-right: 10px;
            cursor: pointer;
        }

        .preset-option input[type="radio"]:checked {
            accent-color: #667eea;
        }

        .preset-option.selected {
            border-color: #667eea;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        }

        .preset-details {
            font-size: 0.85rem;
            color: #6c757d;
            margin-left: 28px;
        }

        .custom-inputs {
            margin-left: 28px;
            margin-top: 10px;
        }

        .custom-inputs .input-group {
            margin-bottom: 8px;
        }

        .custom-inputs label {
            width: 110px;
            font-size: 0.9rem;
        }

        .custom-inputs input {
            width: 80px;
        }

        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #6c757d;
        }

        .empty-state i {
            font-size: 4rem;
            color: #667eea;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .empty-state h5 {
            color: #2c3e50;
            margin-bottom: 10px;
        }
        
        @media (max-width: 768px) {
            .timer-display {
                font-size: 2rem;
            }
            .timer-circle {
                width: 200px;
                height: 200px;
            }
            .timer-display {
                width: 140px;
                height: 140px;
                font-size: 2.5rem;
            }
            .timer-controls .btn {
                min-width: 100px;
                margin: 5px;
            }
            .counter-card h3 {
                font-size: 1.5rem;
            }
            .task-item {
                padding: 15px;
            }
            .progress-ring {
                width: 40px;
                height: 40px;
            }
            .progress-ring::before {
                width: 30px;
                height: 30px;
            }
        }

        .tasks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.task-item {
    background: white;
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 0; /* Changed from 15px to 0 since grid handles spacing */
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure equal height */
}

@media (max-width: 768px) {
    .tasks-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    
    .timer-display {
        font-size: 2rem;
    }
    .timer-circle {
        width: 200px;
        height: 200px;
    }
    .timer-display {
        width: 140px;
        height: 140px;
        font-size: 2.5rem;
    }
    .timer-controls .btn {
        min-width: 100px;
        margin: 5px;
    }
    .counter-card h3 {
        font-size: 1.5rem;
    }
    .task-item {
        padding: 15px;
    }
    .progress-ring {
        width: 40px;
        height: 40px;
    }
    .progress-ring::before {
        width: 30px;
        height: 30px;
    }
}

/* .modal-body{
    margin-left:10%;
} */


.form-check.form-switch {
    padding: 10px 0;
    margin-left: 7% !important;
}
  