body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #eef2f7, #dbe6f6);
    margin: 0;
    padding: 40px;
}

.container {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.tabla-estilizada {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 3px solid #2c3e50;
    border-radius: 12px;
    overflow: hidden;
}

.tabla-estilizada th {
    background-color: #2c3e50;
    color: white;
    padding: 12px;
    text-align: center;
    border: 2px solid #2c3e50;
    font-weight: bold;
}

.tabla-estilizada td {
    padding: 12px;
    text-align: center;
    border: 1.5px solid #444;
}

/* Colores diferentes por fila */
.tabla-estilizada tbody tr:nth-child(1) {
    background-color: #f8f9fa;
}

.tabla-estilizada tbody tr:nth-child(2) {
    background-color: #e3f2fd;
}

.tabla-estilizada tbody tr:nth-child(3) {
    background-color: #fce4ec;
}

.tabla-estilizada tbody tr:nth-child(4) {
    background-color: #e8f5e9;
}

.tabla-estilizada tbody tr:nth-child(5) {
    background-color: #fff3e0;
}

.tabla-estilizada tbody tr:nth-child(6) {
    background-color: #f8f9fa;
}

.tabla-estilizada tbody tr:nth-child(7) {
    background-color: #e3f2fd;
}

.tabla-estilizada tbody tr:nth-child(8) {
    background-color: #fce4ec;
}

.tabla-estilizada tbody tr:nth-child(9) {
    background-color: #e8f5e9;
}

.tabla-estilizada tbody tr:nth-child(10) {
    background-color: #fff3e0;
}

.tabla-estilizada tbody tr:nth-child(11) {
    background-color: #f8f9fa;
}

.tabla-estilizada tbody tr:nth-child(12) {
    background-color: #e3f2fd;
}

.tabla-estilizada tbody tr:nth-child(13) {
    background-color: #fce4ec;
}

.tabla-estilizada tbody tr:nth-child(14) {
    background-color: #e8f5e9;
}

.tabla-estilizada tbody tr:nth-child(15) {
    background-color: #fff3e0;
}

/* Alternativa automática si agregas más filas */
.tabla-estilizada tbody tr:nth-child(even) {
    filter: brightness(0.98);
}

.tabla-estilizada tbody tr:hover {
    background-color: #d1ecf1;
    transition: 0.3s ease;
}