:root {
    --bg: #f0f2f5;
    --accent: #6c5ce7;
    --note-bg: #fff9db;
    --task-bg: #ffffff;
    --text: #2d3436;
}

body {
    background-color: var(--bg);
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text);
}

.app-card {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

header h1 { margin: 0; font-size: 1.5rem; }
header p { color: #888; font-size: 0.9rem; margin-bottom: 20px; }

.input-area {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

input, select, button {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #eee;
    outline: none;
}

input { flex: 2; }
select { flex: 1; cursor: pointer; background: #fafafa; }

button {
    background: var(--accent);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s;
}

button:active { transform: scale(0.95); }

.item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s;
    animation: fadeIn 0.3s ease;
}

.item-note {
    background: var(--note-bg);
    border-left: 4px solid #f1c40f;
}

.item-task {
    background: var(--task-bg);
    border: 1px solid #eee;
}

.content {
    flex: 1;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
}

.done {
    text-decoration: line-through;
    opacity: 0.5;
}

.delete-icon {
    margin-left: 10px;
    color: #ff7675;
    cursor: pointer;
    font-size: 1.2rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}