body {
    font-family: verdana, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background: #ecf0f1;
    color: #333;
    /*background-image: url(../imagenes/bereshit.jpg);
    background-repeat: no-repeat;     /* ❌ No repetir */
    /*background-position: center;      /* 🎯 Centrar la imagen */
    /*background-size: cover;           /* ✔ Ajustar al ancho/alto sin deformar */
}
header{
    position: fixed;
    top: 0;             /* Pegado arriba */
    left: 0;
    width: 100%;        /* Que ocupe todo el ancho */
    background: #ffffff;
    padding: 10px 10px;
    z-index: 999;       /* Para que quede encima del contenido */
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);

}
h1 {
    margin-top: 90px;
    color: #333;
    font-weight: 700;
    opacity: none;
    font-size: 60px;
}

#logo{
    width: 150px;
    border-radius: 50%;
    border: 1px solid green; /* color del borde */
}

/* Etiquetas */
label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #444;
}

/* Input */
input {
    width: 60%;
    padding: 12px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

input:focus {
    border-color: #4a77ff;
    box-shadow: 0 0 6px rgba(74,119,255,0.4);
    outline: none;
}




/* Mensaje de error */
.error {
    margin-top: 15px;
    font-size: 14px;
    color: #d9534f;
}

/* Enlace administrador */
.admin-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
    color: #3d63d9;
    text-decoration: none;
}

.admin-link:hover {
    text-decoration: underline;
}

h2 {
    margin-top: 30px;
    font-size: 32px;
    color: #2c3e50;
    font-weight: 700;
}

/* ================== FORMULARIO ================== */
form {
    width: 450px;
    margin: 20px auto;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
}

form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
}

form input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #bbb;
    transition: 0.3s ease;
}

form input[type="password"]:focus {
    border-color: #2980b9;
    box-shadow: 0 0 6px rgba(52, 152, 219, 0.6);
    outline: none;
}

form button {
    width: 60%;
    padding: 12px;
    background: #2980b9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s ease;
}

form button:hover {
    background: #1f6996;
}

p{
    font-size: 15px;
    color: red;
    font-family: impact, sans-serif;
}

/* ================== LISTA DE RESULTADOS ================== */
ul {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

ul li {
    width: 40%;
    margin: 10px auto;
    padding: 12px 18px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 17px;
    text-align: left;
}

ul li strong {
    color: #2c3e50;
}

/* ================== GRAFICOS ================== */
canvas {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 25px auto;
    display: block;
    width: 90% !important;
    max-width: 600px;
}

/* ================== ENLACE final ================== */
a {
    display: block;
    font-size: 18px;
    color: #2980b9;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
}

a:hover {
    text-decoration: underline;
}
