/* =====================
   ESTILOS GENERALES
===================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5faff; /* Azul muy claro de fondo */
}

/* =====================
   ENCABEZADO
===================== */
header {
    background: linear-gradient(to right, #0033cc, #ffd700, #007a3d); 
    /* Azul, Amarillo, Verde */
    color: #fff;
    text-align: center;
    padding: 20px;
    border-bottom: 5px solid #0033cc;
}

header h1 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px #000;
}

/* =====================
   TABLA
===================== */
table {
    width: 95%;
    border-collapse: collapse;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* CABECERAS */
th {
    background: #0033cc; /* Azul bandera */
    color: #fff;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    border: 1px solid #000;
}

/* CELDAS */
td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
}

/* Filas alternas */
tr:nth-child(even) {
    background: #f0f8ff; /* Azul claro */
}

tr:nth-child(odd) {
    background: #ffffff;
}

/* Hover */
tr:hover {
    background: #ffffcc; /* Amarillo muy suave */
    transition: background 0.3s;
}

/* =====================
   IMÁGENES
===================== */
td img {
    width: 80px;
    height: auto;
    border-radius: 6px;
    border: 2px solid #007a3d; /* Verde bandera */
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    th, td {
        font-size: 12px;
        padding: 8px;
    }

    td img {
        width: 60px;
    }

    header h1 {
        font-size: 16px;
        padding: 15px;
    }
}
a {
    text-decoration: none;   /* quita el subrayado */
    color: inherit;          /* hereda el color del padre */
}
