body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    display: flex;
    justify-content: center;
    padding: 20px;
    color: #1e293b;
}

.container {
    background: white;
    padding: 30px;
    width: 100%;
    max-width: 550px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input, select, button {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

button {
    background-color: #10b981; 
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

button:hover {
    background-color: #059669;
}

.task-item {
    border-radius: 8px;
    margin-top: 15px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #f1f5f9;
}


.high { background-color: #fee2e2; border-right: 6px solid #ef4444; }
.medium { background-color: #fffbeb; border-right: 6px solid #fbbf24; }
.low { background-color: #dcfce7; border-right: 6px solid #22c55e; }


.important {
    color: #be123c;
    font-weight: bold;
}


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

.actions button {
    margin-left: 8px;
    padding: 6px 12px;
    font-size: 12px;
}

.actions button:first-child { background-color: #3b82f6; } 
.actions .delete-btn { background-color: #ef4444; } 


@media (max-width: 480px) {
    .task-item { flex-direction: column; align-items: flex-start; gap: 10px; }
}