:root {
    --color-fondo: #121212;
    --color-texto: #f0f0f0;
    --color-secundario: #999;
    --color-titulo: #28a745;
    --color-boton: #28a745;
    --color-boton-hover: #218838;
    --color-peligro: #dc3545;
    --color-peligro-hover: #c82333;
    --color-sombra: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

body {
    background-color: var(--color-fondo);
    color: var(--color-texto);
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 20px;
}

.encabezado {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.encabezado img {
    height: 100px;
    width: auto;
    margin-right: 20px;
}

.titulo-botones {
    flex: 1;
    text-align: center;
}

.titulo-botones h2 {
    font-size: 24px;
    margin: 0;
    color: var(--color-titulo);
}

.botones a {
    display: inline-block;
    padding: 10px 16px;
    margin: 10px 6px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    color: white;
    text-decoration: none;
}

.iniciar-sesion {
    background-color: var(--color-boton);
}

.iniciar-sesion:hover {
    background-color: var(--color-boton-hover);
}

.cerrar-sesion {
    background-color: var(--color-peligro);
}

.cerrar-sesion:hover {
    background-color: var(--color-peligro-hover);
}

.cliente-nombre {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #ccc;
}

.sorteo {
    display: flex;
    flex-wrap: wrap;
    background-color: #1e1e1e;
    padding: 20px;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--color-sombra);
    max-width: 900px;
    align-items: flex-start;
}

.sorteo img {
    width: 180px;
    height: auto;
    margin-right: 20px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.info {
    flex: 1;
    min-width: 0;
}

.info h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #fff;
}

.info p {
    margin: 6px 0;
    line-height: 1.5;
}

.valor {
    font-weight: bold;
    font-size: 18px;
}

.loteria {
    color: var(--color-secundario);
}

.fecha-sorteo {
    font-style: italic;
    color: #bbb;
}

.contador {
    font-weight: bold;
    color: #ff6b6b;
    font-size: 14px;
}

.btn-participar {
    display: inline-block;
    margin-top: 12px;
    background-color: var(--color-boton);
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-participar:hover {
    background-color: var(--color-boton-hover);
}

.btn-participar:disabled {
    background-color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .encabezado {
        flex-direction: column;
        text-align: center;
    }

    .encabezado img {
        margin-bottom: 10px;
    }

    .sorteo {
        flex-direction: column;
        align-items: center;
    }

    .sorteo img {
        margin: 0 0 15px 0;
        width: 100%;
        max-width: 300px;
    }

    .info {
        text-align: center;
    }
}



body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    margin: 0;
    padding: 0;
}

.encabezado {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

.encabezado img {
    height: 100px;
    margin-right: 20px;
}

.titulo-botones {
    text-align: center;
    flex: 1;
}

.titulo-botones h2 {
    margin: 0;
    font-size: 22px;
}

.titulo-botones .nombre-cliente {
    margin-top: 5px;
    font-size: 24px;
    color: #0f0;
    font-weight: bold;
}

.botones a {
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    margin: 6px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

main {
    max-width: 900px;
    margin: 20px auto;
    background: #111;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.sorteo {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.sorteo-info {
    flex: 1 1 55%;
    min-width: 260px;
}

.sorteo-imagen {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.sorteo-imagen img {
    max-width: 100%;
    border: 2px solid #333;
    border-radius: 8px;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #00ff9f;
}

p {
    margin-bottom: 12px;
    color: #ccc;
}

label {
    font-weight: bold;
    margin-top: 18px;
    display: block;
}

input[type="text"],
input[type="submit"] {
    width: 75%;
    padding: 12px;
    margin-top: 6px;
    margin-bottom: 20px;
    border: 1px solid #444;
    border-radius: 6px;
    font-size: 16px;
    background-color: #222;
    color: #fff;
}

input[type="submit"] {
    background-color: #28a745;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #218838;
}

input[disabled],
input[disabled]:hover {
    background-color: #555 !important;
    cursor: not-allowed;
    color: #aaa;
}

#cuenta-regresiva {
    font-size: 16px;
    color: #ffc107;
    font-weight: bold;
    margin-top: 10px;
}

.mensaje-cierre {
    color: #ff4c4c;
    font-weight: bold;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .encabezado {
        flex-direction: column;
        text-align: center;
    }

    .encabezado img {
        margin-bottom: 10px;
    }

    .sorteo {
        flex-direction: column;
    }

    .sorteo-imagen img {
        width: 80%;
        margin: 0 auto;
    }
}






body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
}

.resumen {
    max-width: 700px;
    margin: 40px auto;
    background: #111;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.15);
    text-align: center;
}

h1 {
    color: #00ff9f;
    margin-bottom: 5px;
    font-size: 26px;
}

h2 {
    color: #28a745;
    margin-top: 0;
}

p {
    font-size: 1.1em;
    color: #ccc;
    margin: 10px 0;
}

.imagen-sorteo {
    width: 45%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
}

.imagen-qr {
    width: 80%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #444;
}

form {
    margin-top: 20px;
    text-align: left;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #ccc;
}

input[type="file"] {
    margin-top: 5px;
    padding: 8px;
    background-color: #222;
    color: #fff;
    border: 1px solid #555;
    border-radius: 6px;
    width: 100%;
}

button {
    background-color: #28a745;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    font-weight: bold;
}

button:hover {
    background-color: #218838;
}

.participante {
    font-size: 30px;
    font-weight: 900;
    color: #00ffcc;
    margin: 15px 0 25px;
    text-shadow: 1px 1px 4px rgba(0, 255, 170, 0.4);
    letter-spacing: 1px;
}








body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
}

.contenedor {
    max-width: 720px;
    margin: 40px auto;
    background: #111;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.15);
    text-align: center;
}

h1 {
    color: #00ff9f;
    font-size: 26px;
    margin-bottom: 10px;
}

h2 {
    color: #28a745;
    font-size: 20px;
    margin-bottom: 25px;
}

p {
    font-size: 1.05em;
    color: #ccc;
    margin: 10px 0;
}

.archivo {
    margin-bottom: 25px;
}

.archivo img,
.archivo embed {
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.info-sorteo {
    margin-top: 20px;
    text-align: left;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
}

.info-sorteo p {
    margin: 10px 0;
    font-size: 1em;
    color: #ddd;
}

.nota-final {
    margin-top: 25px;
    font-size: 1em;
    color: #999;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #218838;
}

.btn.secundario {
    background-color: #3498db;
    margin-left: 10px;
}

.btn.secundario:hover {
    background-color: #2980b9;
}

@media (max-width: 600px) {
    .archivo img,
    .archivo embed {
        width: 70%;
    }
}
}





Registro Clientes

body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    padding: 20px;
    margin: 0;
}
.encabezado {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    padding-bottom: 10px;
}
.encabezado img {
    height: 120px;
    width: auto;
    margin-right: 20px;
}
.titulo-botones {
    text-align: center;
    flex: 1;
}
.titulo-botones h2 {
    margin: 0;
    font-size: 24px;
}
.botones a {
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    margin: 8px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}
.formulario {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
}
.formulario h2 {
    text-align: center;
    margin-bottom: 20px;
}
.formulario form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.campo {
    display: flex;
    flex-direction: column;
}
.campo label {
    margin-bottom: 6px;
    font-weight: bold;
}
.campo input,
.campo select {
    padding: 10px;
    border-radius: 5px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
}
.boton-registro {
    padding: 12px;
    background: #28a745;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.boton-registro:hover {
    background: #218838;
}
