:root {
    --bg-color: #fafafa;
    --card-bg: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #9ca3af; /* Lighter for placeholder */
    --accent: #2563eb;
    --border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 2px 4px rgba(0,0,0,0.05);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
}

header { text-align: center; margin-bottom: 2rem; }
h1 { margin: 0; letter-spacing: -1px; }
.subtitle { color: var(--text-secondary); margin-top: 0.5rem; }

/* Input */
.input-group { display: flex; gap: 10px; margin-bottom: 2rem; }
input {
    flex-grow: 1; padding: 1rem; border: 1px solid var(--border);
    border-radius: var(--radius); outline: none; transition: 0.2s;
}
input:focus { border-color: var(--accent); }
button#addBtn {
    background: var(--text-primary); color: white; border: none;
    padding: 0 1.5rem; border-radius: var(--radius); cursor: pointer;
}

/* HEADINGS */
h2 {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--text-secondary); margin-bottom: 1rem; display: flex; justify-content: space-between;
}

/* FOCUS GRID (The 3 Slots) */
.focus-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* THE SLOTS */
.slot {
    height: 70px; /* Fixed height for consistency */
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

/* Filled Slot (Task) */
.slot.filled {
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    justify-content: space-between;
    padding: 0 1rem;
    cursor: grab;
    border-left: 4px solid var(--accent);
}
.slot.filled:active { cursor: grabbing; }

/* Empty Slot */
.slot.empty {
    border: 2px dashed var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Dragging Visuals */
.slot.drag-over {
    background-color: #eff6ff;
    border-color: var(--accent);
}

.dragging {
    opacity: 0.5;
    transform: scale(0.98);
}

/* Later List */
.task-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.task-card {
    background: var(--card-bg); padding: 1rem; border-radius: var(--radius);
    border: 1px solid var(--border); display: flex; justify-content: space-between;
    cursor: grab;
}

/* Accordion */
.later-section { margin-top: 2rem; }
.accordion {
    background: transparent; color: var(--text-secondary); cursor: pointer;
    padding: 10px 0; width: 100%; border: none; text-align: left;
    display: flex; justify-content: space-between; border-bottom: 1px solid var(--border);
}
.badge { background: var(--border); padding: 2px 8px; border-radius: 10px; font-size: 0.8rem; }
.panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }

/* Action Buttons */
.task-actions button {
    background: none; border: none; cursor: pointer; font-size: 1.1rem; opacity: 0.5;
}
.task-actions button:hover { opacity: 1; }

/* TOAST NOTIFICATION */
#toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: #333; color: white; padding: 12px 24px; border-radius: 30px;
    font-size: 0.9rem; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
#toast.show { opacity: 1; }