/* ================================
   ESTILOS GENERALES
================================== */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* ================================
   HEADER
================================== */
header {
    background: linear-gradient(to right, #2abae6, #04afc5); /* degradado rojo → verde */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: clamp(18px, 2vw, 26px); /* se adapta pero mantiene elegancia */
    font-weight: bold;
    border-radius: 0 0 12px 12px;
}

/* ================================
   CONTENEDOR TABLA
================================== */
.padre {
    padding: 15px;
    display: flex;
    justify-content: center;
}

/* ================================
   TABLA
================================== */
table {
    width: 100%;
    max-width: 1000px; /* no crece demasiado en pantallas grandes */
    border-collapse: collapse;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
    word-wrap: break-word;
}

/* Encabezados */
th {
    background: #025f66;
    color: white;
    font-size: 16px;
}

/* Filas alternadas */
tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* ================================
   IMÁGENES
================================== */
img {
    width: 80px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
}

img:hover {
    transform: scale(1.1);
}

/* ================================
   RESPONSIVE
================================== */
@media (max-width: 768px) {
    table {
        font-size: 14px;
    }

    img {
        width: 60px;
    }
}

@media (max-width: 480px) {
    table {
        font-size: 12px;
    }

    th, td {
        padding: 8px;
    }

    img {
        width: 50px;
    }
}
a {
    text-decoration: none;   /* quita el subrayado */
    color: inherit;          /* hereda el color del padre */
}
