/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #e6f2ff; color: #333; font-family: 'Roboto', sans-serif; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === HEADER === */
header { background: #333399; color: white; padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
header .container { display: flex; justify-content: space-between; align-items: center; }
header h1 a { color: white; text-decoration: none; }
header h1 strong { color: #7ec8ff; }

/* === NAV === */
.nav-menu { display: flex; list-style: none; gap: 20px; }
.nav-menu a { color: white; text-decoration: none; font-weight: 500; }
.menu-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* === MAIN CONTENT === */
main { display: flex; gap: 30px; margin: 40px auto; flex-wrap: wrap; }
.content { flex: 3; min-width: 300px; }
.sidebar { flex: 1; min-width: 250px; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); height: fit-content; }

/* === TABLAS === */
.table-responsive { overflow-x: auto; background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); margin-top: 20px; }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #eee; }
th { background: #333399; color: white; }
tr:hover { background: #f8fbff; }
a { color: #3179ac; text-decoration: none; font-weight: bold; }
a:hover { text-decoration: underline; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #2a2a80; flex-direction: column; padding: 20px; }
    .nav-menu.show { display: flex; }
    main { flex-direction: column; }
}
