:root {
    --bg-color: #1a1a2e;
    --list-bg: #272744;
    --card-bg: #32325c;
    --text-color: #e4e4f5;
    --accent-color: #e94560;
    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.header {
    background-color: var(--list-bg);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-light);
}

button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #c93a4f;
}

/* ----------------------------------------------------- */
/* Layout Principal do Kanban */
/* ----------------------------------------------------- */
.kanban-board {
    display: flex;
    padding: 20px;
    gap: 20px;
    min-height: calc(100vh - 80px);
}

.kanban-list {
    flex-shrink: 0;
    width: 300px;
    background-color: var(--list-bg);
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--shadow-light);
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.list-header h2 {
    font-size: 1.2em;
    margin: 0;
}

.cards-container {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 5px;
}

/* ----------------------------------------------------- */
/* Cartões (Cards) */
/* ----------------------------------------------------- */
.kanban-card {
    background-color: var(--card-bg);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: grab;
    transition: background-color 0.2s;
    /* Adicionado para alinhamento do botão X */
    display: flex; 
    justify-content: space-between;
    align-items: flex-start;
}

.kanban-card:hover {
    background-color: #43437c;
}

/* Estilo do cartão sendo arrastado */
.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

/* Indicador de Posição de Soltura (Nível Sênior UX) */
.drop-zone {
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 5px;
    margin-bottom: 10px;
    transition: all 0.2s;
}
.drop-zone.active {
    height: 30px;
    background-color: #f77e92;
    box-shadow: 0 0 10px var(--accent-color);
}

/* ----------------------------------------------------- */
/* Botão Deletar Cartão */
/* ----------------------------------------------------- */
.delete-card-btn {
    background: none;
    color: var(--text-color);
    border: none;
    padding: 0 5px;
    margin-left: 10px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
    font-size: 1.2em;
    line-height: 1;
}

.delete-card-btn:hover {
    color: var(--accent-color);
    opacity: 1;
}