body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    background-color: #0073e6;
    color: white;
    text-align: center;
    padding: 1em 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

main {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    border-bottom: 2px solid #0073e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

input, select, button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #0073e6;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #005bb5;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    background-color: #f9f9f9;
    margin: 10px 0;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

li span {
    font-size: 14px;
}

li span.priority {
    font-weight: bold;
    color: #ff5733;
}

/* Estilo general del contenedor de recomendaciones */
#advice {
    background-color: #f0f8ff;
    padding: 20px;
    border: 1px solid #0073e6;
    border-radius: 8px;
    margin-top: 20px;
}

/* Lista de tareas */
.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Tarjetas de tareas */
.task-card {
    background-color: #ffffff;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover en las tarjetas */
.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Estilo del título */
.task-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #0073e6;
}

/* Prioridades específicas */
.priority-alta {
    border-left: 5px solid #ff5733; /* Rojo */
}

.priority-media {
    border-left: 5px solid #ffc107; /* Amarillo */
}

.priority-baja {
    border-left: 5px solid #4caf50; /* Verde */
}

/* Información secundaria */
.task-card p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}
