/* Definindo a estrutura geral do Kanban */
/* Definindo a estrutura geral do Kanban */
.kanban-container {
    display: flex;
    flex-wrap: nowrap; /* Impede quebra para outra linha */
    gap: 0.1rem;
    max-width: 100%; /* Garante que o contêiner não ultrapasse a largura da tela */
    box-sizing: border-box; /* Inclui padding e bordas no cálculo do tamanho */
}

/* Colunas */
.kanban-column {
    width: 300px; /* Largura fixa */
    min-width: 250px;
    /* background: rgba(51, 51, 51, 0.4); */
    background: rgba(255, 254, 254, 1);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.3rem;
}

.kanban-column-header {
    width: 300px; /* Largura fixa */
    min-width: 250px;
    background: rgba(51, 51, 51, 1);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    padding: 0.3rem;
}

.kanban-column h3 {
    text-align: center;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

/* Cartões das tarefas */
.kanban-card {
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0rem;
    margin-bottom: 5px;
    transition: transform 0.2s ease-in-out;
}

.kanban-card:hover {
    transform: translateY(-5px);
}

.kanban-card h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.kanban-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

/* Estilo do tipo de tarefa */
.kanban-card .task-type {
    font-weight: bold;
    color: #007bff;
}

/* Estilo da data de inserção */
.kanban-card .task-date {
    font-style: italic;
    color: #888;
    font-size: 0.8rem;
}

/* Adicionando uma borda inferior entre os cartões */
.kanban-cards {
    margin-top: 0.5rem;
}


/* Estilo de "não há tarefas" */
.kanban-column p {
    color: #bbb;
    text-align: center;
    font-size: 0.75rem;
}

.span-body{
    background: rgba(116, 27, 34, 0.521);
}

.kanban-card-top{
    background: rgba(51, 51, 51, 0.4);
}

/* Garante espaçamento entre os dois primeiros cards */
.row.mb-4.kanban-container {
    display: flex;
    justify-content: space-between; /* Espaço entre os cards */
    gap: 0.5rem; /* Ajusta a distância entre os cards */
}

.occurrence-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

.occurrence-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0,0,0,0.03));
    transform: rotate(45deg);
    pointer-events: none;
}

.card-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    padding: 8px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 600;
}

.category-badge {
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.card-footer-time {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}