/* Container Principal do Kanban */
#kanban-container {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Permite rolar para os lados */
    padding: 10px 10px 20px 10px;
    align-items: flex-start;
    height: calc(100vh - 100px); /* Ajusta a altura para não vazar da tela */
}


/* Customização da Barra de Rolagem */
#kanban-container::-webkit-scrollbar {
    height: 10px;
}
#kanban-container::-webkit-scrollbar-thumb {
    background: #bdc3c7;
    border-radius: 10px;
}

/* Estilo da Coluna */
.kanban-coluna {
    min-width: 320px;
    background-color: #f4f6f7;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

/* Cabeçalho da Coluna */
.kanban-header {
    padding: 15px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Botão Nova Tarefa */
.btn-nova-tarefa {
    background-color: transparent;
    color: #7f8c8d;
    border: 1px dashed #bdc3c7;
    padding: 10px;
    margin: 10px 15px 0 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
    transition: all 0.2s ease;
}
.btn-nova-tarefa:hover {
    background-color: #eafaf1;
    color: #27ae60;
    border-color: #27ae60;
    transform: translateY(-2px);
}

/* Área de Soltar Cartões (Dropzone) */
.kanban-dropzone {
    flex-grow: 1;
    min-height: 200px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.2s, border 0.2s;
    border-radius: 0 0 10px 10px;
}
.kanban-dropzone.drag-over {
    background-color: rgba(52, 152, 219, 0.1);
    box-shadow: inset 0 0 10px rgba(52, 152, 219, 0.2);
}

/* Estilo do Cartão de Tarefa */
.tarefa-card {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    border-left: 5px solid #3498db;
    cursor: grab;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tarefa-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.tarefa-card:active {
    cursor: grabbing;
}
.tarefa-card.arrastando {
    opacity: 0.5;
    transform: scale(0.95);
}

/* Título da Tarefa */
.tarefa-titulo {
    color: #2c3e50;
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

/* Etiqueta de Prioridade */
.tarefa-badge {
    background-color: #fdf2e9;
    color: #d35400;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    width: fit-content;
    border: 1px solid #fae5d3;
}