body { font-family: 'Arial', sans-serif; margin: 0; padding: 2em; background-color: #f7f8fa; color: #333; } .navegacion { background-color: #ffffff; border-bottom: 1px solid #ddd; padding: 1.5em 2.5em; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); position: sticky; top: 0; z-index: 100; } .navegacion ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2em; flex-wrap: wrap; justify-content: center; } .navegacion li { cursor: pointer; padding: 0.75em 1.2em; transition: background-color 0.3s, color 0.3s; border-radius: 5px; font-weight: 600; white-space: nowrap; } .navegacion li:hover { background-color: #4A90E2; color: white; } @media (max-width: 600px) { .navegacion { padding: 0.75em 1.5em; } .navegacion ul { gap: 1em; justify-content: center; } .navegacion li { padding: 0.6em 1em; font-size: 0.9em; } } .history { display: flex; flex-direction: column; gap: 15px; padding: 20px; margin-top: 1.5em; } .history-header, .history-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 10px; align-items: center; border-radius: 8px; transition: background-color 0.3s ease, transform 0.3s ease; } .history-header { font-weight: 700; background-color: #f0f0f0; color: #333; } .history-row { background-color: #ffffff; border: 1px solid #ddd; color: #555; transition: background-color 0.3s, transform 0.3s; } .history-row:hover { background-color: #e6f7ff; transform: scale(1.02); } .history-header div, .history-row div { display: flex; justify-content: center; align-items: center; font-size: 1rem; } .history-header div { font-weight: bold; } .delete-btn { background: none; border: none; color: #555; cursor: pointer; font-size: 1.1em; transition: color 0.3s ease; } .delete-btn:hover { color: #d9534f; /* rojo suave tipo Bootstrap, o pon #0078d7 si prefieres azul */ } .mensaje-container { position: fixed; bottom: 20px; right: 20px; z-index: 1000; background-color: #fffae6; padding: 1em; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); max-width: 300px; } @media (max-width: 600px) { .history { padding: 10px; } .history-header, .history-row { grid-template-columns: 1fr 1fr; } }