body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

#contador {
    text-align: center;
    margin-bottom: 10px;
}

/* CONTROLE */

.controle {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* INPUT */

input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* BOTÕES */

button {
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    background: #4CAF50;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    opacity: 0.9;
}

#btnLimpar {
    background: #e74c3c;
}

/* FILTROS */

#filtros {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

#filtros button {
    background: #3498db;
}

.filtro-ativo {
    background: #2c3e50 !important;
}

/* KANBAN */

.kanban {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.coluna {
    flex: 1;
    background: #e9edf1;
    padding: 15px;
    border-radius: 10px;
    min-height: 300px;
}

.coluna h2 {
    text-align: center;
    margin-bottom: 15px;
}

/* LISTA */

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

/* CARD */

.card {
    background: white;
    padding: 14px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: 0.2s;
    cursor: grab;
}

.card:active {
    cursor: grabbing;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.card p {
    margin: 0;
    font-weight: 500;
}

.card small {
    color: #777;
    font-size: 12px;
}

.card div {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

/* BOTÕES DOS CARDS */

.card button:first-child {
    background: #f39c12;
}

.card button:last-child {
    background: #e74c3c;
}

/* DRAG */

.arrastando {
    opacity: 0.5;
    transform: rotate(2deg);
}

/* DARK MODE */

@media (prefers-color-scheme: dark) {

    body {
        background: #1e1e1e;
        color: #f5f5f5;
    }

    .coluna {
        background: #2a2a2a;
    }

    .card {
        background: #333;
        box-shadow: none;
    }

    input {
        background: #333;
        color: white;
        border: 1px solid #555;
    }

}