body { background: linear-gradient(135deg, #eaf8ee 0%, #b7e3d0 100%); font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif; color: #263238; margin: 0; padding: 0; min-height: 100vh; } h2 { text-align: center; margin-top: 32px; font-weight: 700; letter-spacing: 1px; color: #20603d; text-shadow: 0 2px 10px #ffffffb0; } .container { display: flex; justify-content: center; align-items: flex-start; margin: 32px auto 0 auto; width: 95%; max-width: 1200px; } #tabla { border-collapse: separate; border-spacing: 0; background: #fff; box-shadow: 0 4px 22px rgba(32,96,61,0.13); border-radius: 16px; overflow: hidden; font-size: 15px; width: 70%; margin-right: 28px; transition: box-shadow 0.2s; } #tabla th, #tabla td { border: none; padding: 10px 12px; text-align: center; } #tabla th { background: linear-gradient(90deg, #20603d 70%, #49b87a 100%); color: #fff; font-weight: 700; letter-spacing: 0.5px; font-size: 15px; border-bottom: 2px solid #b7e3d0; } #tabla tr { transition: background 0.2s; } #tabla tbody tr:nth-child(even) { background: #f0f4f7; } #tabla tbody tr.selected { background-color: #d4e8a9 !important; } #tabla tbody tr:hover { background: #e3f1d2; cursor: pointer; } #resumen { background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); padding: 20px 24px; font-size: 1.08em; color: #20603d; min-height: 40px; transition: background 0.2s; width: 30%; /* Ajusta el ancho del resumen */ } #paginacion { text-align: center; margin-top: 32px; margin-bottom: 30px; } #paginacion button { margin: 0 3px; padding: 8px 18px; border-radius: 8px; border: none; background: linear-gradient(90deg, #20603d 70%, #49b87a 100%); color: #fff; font-weight: 700; cursor: pointer; font-size: 1em; transition: background 0.18s, transform 0.12s; box-shadow: 0 2px 8px #20603d22; outline: none; } #paginacion button[disabled] { background: #b5b5b5; cursor: not-allowed; color: #fff; box-shadow: none; } #paginacion button.actual { background: #d4e8a9; color: #20603d; border: 2px solid #49b87a; transform: scale(1.08); } #paginacion button:hover:not([disabled]):not(.actual) { background: linear-gradient(90deg, #49b87a 70%, #20603d 100%); color: #fff; transform: scale(1.06); } @media (max-width: 1000px) { .container { flex-direction: column; align-items: center; } #tabla, #resumen { width: 98%; max-width: 98%; margin: 0 auto 20px auto; } #resumen { margin-top: 0; } .resultado-celda { text-align: center; font-size: 1.2em; } .resultado-celda .emoji { display: inline-block; margin-bottom: 6px; } .botones-resultado button { background: none; border: none; font-size: 1.1em; cursor: pointer; margin: 0 4px; outline: none; transition: transform 0.1s; } .botones-resultado button:hover { transform: scale(1.2); } .btn { padding: 10px 22px; background: linear-gradient(90deg,#20603d 70%,#49b87a 100%); color: #fff; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1em; box-shadow: 0 2px 10px #20603d22; transition: background 0.18s; border: none; cursor: pointer; } .btn:hover { background: linear-gradient(90deg,#49b87a 70%,#20603d 100%); color: #fff; } }