body {
    background-image: url('fondojuegos.png');  
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
.container {
    background-color: #ffffff; 
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25); 
    text-align: center;
    max-width: 450px;
    width: 90%;
}
h1, h2 {
    font-size: 1.6rem;
    color: #2c3e50; 
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}
td {
    padding: 10px 8px;
    font-size: 1rem;
    color: #2c3e50;     
    font-weight: 600;    
    text-align: left;    
}
.input-login {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    background-color: #ffffff; 
    color: #333; 
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.input-login:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}
.btn-primary, .btn-secondary {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 10px 20px;
    margin: 8px 0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    min-width: 180px;
    transition: background-color 0.3s ease, transform 0.1s ease;
}
.btn-primary {
    background-color: #5278b4; 
    color: #ffffff; 
    border: none;
}
.btn-secondary {
    background-color: #e74c3c;
    color: #ffffff;
    border: none;
}
.btn-secondary:hover {
    background-color: #c0392b;
}
.btn-primary:active, .btn-secondary:active {
    transform: scale(0.98);
}
.container-registro {
    background-color: #ffffff; 
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); 
    max-width: 500px;
    width: 90%;
}
.tabla-registro {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.tabla-registro td {
    padding: 8px 10px;
    font-size: 1rem;
    color: #34495e;     
    font-weight: 500;    
    text-align: left;    
}
.input-registro {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #bdc3c7;
    background-color: #fdfdfd; 
    color: #2c3e50; 
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}
.input-registro:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
    background-color: #ffffff;
}
.btn-guardar-registro {
    width: 100%;
    padding: 10px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btn-guardar-registro:hover {
    background-color: #27ae60;
}
.btn-regresar-registro {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: #95a5a6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background-color 0.2s ease;
}
.btn-regresar-registro:hover {
    background-color: #7f8c8d;
}
.container-consulta {
    background-color: #ffffff; 
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25); 
    text-align: center;
    max-width: 850px; 
    width: 90%;
    display: block;   
    margin: 40px auto; 
}
.tabla-consulta {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px 0;
    border: 1px solid #2c3e50;
}
.tabla-consulta th {
    padding: 12px 8px;
    font-size: 1rem;
    color: #2c3e50;     
    font-weight: bold;    
    text-align: center;
    background-color: #f8f9fa;
    border: 1px solid #2c3e50;
}
.tabla-consulta td {
    padding: 12px 8px;
    font-size: 1rem;
    color: #2c3e50;     
    text-align: center;    
    border: 1px solid #2c3e50;
}
.contador-registros {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 25px;
}
.contador-registros span {
    color: #528db4; 
    font-weight: bold;
}
.titulo {
    font-size: 1.05rem;
    font-weight: 600;
    color: #34495e;
    margin: 18px 0 8px 0;
    text-align: center;
}

