/* =====================================================
   dot11 – ToDo styling
   Warm • Rustig • Overzichtelijk
===================================================== */

/* ---------- ROOT VARIABELEN ---------- */
:root {
    --primary: #3F3524;
    --secondary: #7D684C;
    --accent: #A99477;
    --bg-light: #F2EDE7;
    --text-dark: #3F3524;
    --text-light: #FFFFFF;
}

/* ---------- RESET ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ---------- BASIS ---------- */
body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ---------- HEADER ---------- */
.site-header {
    background: var(--primary);
    padding: 1rem 0;
    color: var(--text-light);
    text-align: center;
}

.logo {
    font-size: 1.5rem;
}

/* ---------- FORM ---------- */
.todo-form {
    margin: 3rem 0;
    text-align: center;
}

.todo-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.todo-form input,
.todo-form select {
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    min-width: 180px;
}

/* ---------- BUTTON ---------- */
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #D7C6AD);
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
}

/* ---------- COLUMNS ---------- */
.columns {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.columns > div {
    flex: 1;
    background: var(--bg-light);
    padding: 1.2rem;
    border-radius: 16px;
}

/* ---------- LIJST ---------- */
ul {
    list-style: none;
    margin-top: 1rem;
}

/* ---------- TAAK ---------- */
.task-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    background: #ffffff;
    padding: 0.6rem;
    margin-bottom: 0.6rem;

    border-left: 4px solid var(--accent);
    border-radius: 10px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ---------- TEKST ---------- */
.task-text {
    flex: 1;
}

/* ---------- OWNER ---------- */
.task-owner {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--bg-light);
    font-weight: 600;
}

/* ---------- COMPLETED ---------- */
.task-item.completed .task-text {
    text-decoration: line-through;
    color: #888;
}

/* ---------- ICON BUTTONS ---------- */
.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
    margin-top: auto;
    background: var(--primary);
    color: var(--text-light);
    text-align: center;
    padding: 1rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .columns {
        flex-direction: column;
    }
}
