:root {
    --bg: #0f0f0f;
    --card: #1a1a1a;
    --text: #e0e0e0;
    --accent: #3498db;
    --border: #333;
    --danger: #e74c3c;
    --success: #27ae60;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    padding: 2rem;
    margin: 0;
}

.app-container { width: 100%; max-width: 900px; }

header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }

.input-area {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid var(--border);
}

input, select, button {
    background: #252525;
    border: 1px solid var(--border);
    color: white;
    padding: 10px;
    border-radius: 6px;
}

.date-time-group { display: flex; gap: 5px; }

.lists-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 2rem;
}

/* List Items */
li {
    background: var(--card);
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 8px;
    list-style: none;
    border-left: 4px solid var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: opacity 0.3s, transform 0.3s;
}

.date-badge { background: #333; padding: 2px 6px; border-radius: 4px; font-size: 0.7rem; color: #888; margin-bottom: 5px; display: inline-block; }

/* Menu System */
.menu-container { position: relative; }
.menu-dots { background: none; border: none; font-size: 1.4rem; color: #666; cursor: pointer; }

.menu-options {
    display: none;
    position: absolute;
    right: 0;
    top: 30px;
    background: #252525;
    border: 1px solid #444;
    border-radius: 8px;
    z-index: 100;
    min-width: 130px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.menu-options button {
    width: 100%;
    text-align: left;
    border: none;
    border-radius: 0;
    padding: 10px 15px;
    font-size: 0.85rem;
    border-bottom: 1px solid #333;
}

.menu-options button:hover { background: #333; }

/* States */
.achieved .task-text { text-decoration: line-through; opacity: 0.4; }
.achieved { border-left-color: var(--success); }