* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-size:clamp(1.1rem, 2vw, 1.35rem);
    font-weight: bold;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    margin: 0;
    background-color: #000;
    font-family: Arial, sans-serif;
    overflow: hidden;
}
.tables_container{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 80%;

    justify-content: center;
}
.center-table {
    width: 85%;
    max-width: 400px;
    border-collapse: collapse;
    margin: auto;
}
#resultTable{
    height: 25%;
}
#gameTable{
    height: 50%;
    margin-bottom: .5vh;
}
/* Ancho de columnas */
.column-25 {
    width: 25%;
}

.column-30 {
    width: 30%;
}

/* Estilos generales de celdas */
th, td {
    border: 1px solid #000;
    padding: 10px;
    text-align: center;
}
tr{
    height: 2rem;
}
tr.header_row *{
    background: unset;
    border: none;
    color: #dfb400;
}
.number-input {
    width: 100%;
    text-align: center;
    font-family: inherit;
    border: none;
    background-color: transparent;
    appearance: textfield; /* Quita flechas en navegadores */
}

.number-input:focus {
    outline: none; /* Quita borde en foco */
}
.number-input::placeholder {
    color: #000;
}
.black {
    background-color: black;
}
.white_color{
    color: #fff;
}
.black_color{
    color: #000;
}
.yellow {
    background-color: yellow;
}

.green {
    background-color: green;
}
.sum_cell{
    background-color: #eee;
    color: #a00;
}
/* Estilos para la fila de sumatoria */
.sum-row {
    margin-top: 20px;
    background-color: #f0f0f0;
}

.sum-header, .sum-value {
    text-align: center;
    font-weight: bold;
}

.sum-header {
    background-color: yellow;
    color: black;
}

.sum-value {
    background-color: black;
    color: white;
}

/* Estilos para pantallas móviles */
@media (max-width: 480px) {
    th, td {
        padding: 8px;
    }

}
