/* Estilos generales */

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f3f4f6;
}

/* Tarjetas de estadísticas */

.tarjetaEstadistica {
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.tarjetaEstadistica p {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* Columnas Kanban */

article {
    min-height: 520px;
    border-radius: 16px;
    overflow: hidden;
}

article h2 {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Contenedores de columnas */

#columnaPorHacer,
#columnaEnCurso,
#columnaHecho {
    padding-top: 1rem;
}

/* Tarjetas de tarea */

.tarea {
    background-color: #ffffff;
    border-left: 6px solid #9ca3af;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    margin-bottom: 1rem;
}

.cabeceraTarea {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.tituloTarea {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.6rem;
}

.descripcionTarea {
    margin-top: 0.5rem;
    line-height: 1.5;
}

.separadorTarea {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1rem 0;
}

/* Detalles de tarea */

.detalleTarea p {
    margin-bottom: 0.5rem;
}

.iconoPrioridad,
.iconoFecha {
    margin-right: 0.5rem;
}

/* Etiqueta de prioridad */

.etiquetaPrioridad {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Colores de prioridad */

.prioridad-baja {
    border-left-color: #22c55e;
}

.prioridad-media {
    border-left-color: #f59e0b;
}

.prioridad-alta {
    border-left-color: #ef4444;
}

.etiqueta-baja {
    background-color: #dcfce7;
    color: #15803d;
}

.etiqueta-media {
    background-color: #fef3c7;
    color: #b45309;
}

.etiqueta-alta {
    background-color: #fee2e2;
    color: #b91c1c;
}

.texto-baja {
    color: #15803d;
    font-weight: bold;
}

.texto-media {
    color: #f59e0b;
    font-weight: bold;
}

.texto-alta {
    color: #ef4444;
    font-weight: bold;
}

/* Botones de las tarjetas */

.contenedorBotones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.contenedorBotones button,
.contenedorBotones select {
    padding: 0.4rem 0.6rem;
    border-radius: 0.4rem;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    cursor: pointer;
}

.botonEditar {
    background-color: #2563eb;
    color: white;
}

.botonEliminar {
    background-color: #dc2626;
    color: white;
}

/* Responsive */

@media (max-width: 768px) {
    main {
        padding: 1rem;
    }

    header h1 {
        font-size: 1.6rem;
    }

    article {
        min-height: auto;
    }
}