body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    text-align: center;
}

.container {
    background-color: #fff;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
}

h1 {
    color: #1a2c5a;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

small {
    display: block;
    margin-top: 0.5rem;
    color: #888;
}

.imagen-usuario img,
.resultado-ganador img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 3px solid #ddd;
    margin-top: 1rem;
}

.resultado-ganador {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 2px dashed #4caf50;
    border-radius: 8px;
    background-color: #f1f8e9;
}

.admin-panel .panel-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.control-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

button[value="iniciar"] { background-color: #4CAF50; }
button[value="cerrar"] { background-color: #f44336; }
button[value="sacar_ganador"] { background-color: #2196F3; }
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mensaje {
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    background-color: #e3f2fd;
    color: #0d47a1;
}

.estado-iniciado { color: #4CAF50; font-weight: bold; }
.estado-cerrado { color: #f44336; font-weight: bold; }

.lista-ganadores {
    list-style: none;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 5px;
}

.lista-ganadores li {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #eee;
}