/* Tablets (768px ou menos) */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .kanban-container {
        max-width: 100%;
    }

    .kanban-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .header-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .header-controls select {
        width: 100%;
    }

    .header-buttons {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .add-card-btn, .settings-btn, .add-responsible-btn, .dark-mode-btn {
        padding: 8px 12px;
        font-size: 14px;
        flex: 1;
        text-align: center;
    }

    .kanban-board {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        gap: 10px;
    }

    .kanban-column {
        width: 100%;
        min-height: auto;
    }

    .card-container {
        max-height: 300px;
    }

    .modal-content {
        width: 90%;
        padding: 15px;
    }

    .modal-content h2 {
        font-size: 16px;
    }

    .modal-content p {
        font-size: 13px;
    }

    .modal-content input,
    .modal-content textarea,
    .modal-content select {
        padding: 8px;
        font-size: 13px;
    }

    .modal-content button {
        padding: 8px;
        font-size: 13px;
    }

    .modal-content .edit-buttons button, .modal-content .confirm-buttons button {
        padding: 8px;
        height: 38px;
        line-height: 38px;
    }
}

/* Celulares (480px ou menos) */
@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    .kanban-header h1 {
        font-size: 20px;
    }

    .header-controls select {
        padding: 6px;
        font-size: 13px;
    }

    .add-card-btn, .settings-btn, .add-responsible-btn, .dark-mode-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .kanban-column {
        padding: 10px;
    }

    .kanban-column h2 {
        font-size: 15px;
        padding: 8px;
    }

    .kanban-card {
        padding: 10px;
    }

    .kanban-card h3 {
        font-size: 14px;
    }

    .kanban-card p {
        font-size: 12px;
    }

    .kanban-card .due-date {
        font-size: 11px;
    }

    .modal-content {
        width: 95%;
        padding: 10px;
    }

    .modal-content h2 {
        font-size: 14px;
    }

    .modal-content p {
        font-size: 12px;
    }

    .modal-content input,
    .modal-content textarea,
    .modal-content select {
        padding: 6px;
        font-size: 12px;
    }

    .modal-content button {
        padding: 6px;
        font-size: 12px;
    }

    .modal-content .edit-buttons, .modal-content .confirm-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .modal-content .edit-buttons button, .modal-content .confirm-buttons button {
        width: 100%;
        padding: 6px;
        height: 36px;
        line-height: 36px;
    }
}