/* ========= GENERAL ========= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #FFEFC5;
}

/* Contenedor general */
.form-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding-top: 140px;
    position: relative;
}

/* ========= PERSONAJE ========= */
.personaje-contenedor {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 12%);
    z-index: 20;
}

.personaje-form {
    width: 160px;
    height: auto;
    object-fit: contain;
}

/* ========= FORMULARIO ========= */
.form-box {
    background: #ff7a00;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.form-box h2 {
    background: #BD5200;
    color: white;
    padding: 12px;
    border-radius: 12px;
    margin: 0 0 20px 0;
}

/* Inputs */
.form-box input,
.form-box select {
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    border-radius: 10px;
    border: none;
    background: #FFE2C4;
    font-size: 16px;
}

/* ========= CHECKBOX ESTILO LORENZO ========= */
.terminos {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin: 14px 0;
    font-size: 14px;
}

/* Checkbox redondo pequeño */
.terminos input[type="checkbox"] {
    appearance: none;
    width: 13px;          /* TAMAÑO PEQUEÑO REAL */
    height: 13px;
    border: 2px solid #888;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    background: transparent;
}

/* Punto pequeño seleccionado */
.terminos input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    width: 5px;  /* Punto pequeño */
    height: 5px;
    background: #555;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Subir comprobante */
.btn-upload {
    background: #ffb300;
    padding: 12px;
    display: block;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 12px;
    font-weight: bold;
}
.btn-upload input { display: none; }

/* Cuando el comprobante ya fue subido (cambiado desde JS) */
.btn-upload.subido {
    background: #2ecc71 !important;  /* Verde */
    color: white !important;
    border: 2px solid #27ae60;
}

/* Botón enviar */
.btn-enviar {
    width: 100%;
    padding: 16px;
    margin-top: 15px;
    background: #ff007b;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
}

/* Nota final */
.nota {
    margin-top: 15px;
    font-size: 13px;
    color: #333;
}

/* ========= BARRA MORADA ========= */
.barra-morada {
    background: #582f8f;
    padding: 10px 0;
    color: white;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
}

/* ========= MENÚ DE ICONOS ========= */
.menu-iconos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #FFECCF;
    padding: 15px 0;
}

.menu-iconos a {
    text-align: center;
    color: #ff7a00;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

.menu-iconos img {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto 5px;
}

@media (max-width: 600px) {
    .menu-iconos {
        gap: 25px;
    }
    .menu-iconos img {
        width: 28px;
    }
    .menu-iconos a span {
        font-size: 13px;
    }
}



/* === BUSQUEDA POR DNI (ESTILO PREMIO LORENZO) === */
.dni-busqueda {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.dni-busqueda input {
    width: 60%;
    padding: 14px;
    border-radius: 20px;
    border: none;
    background: #fde7c8;
    font-size: 16px;
}

.btn-buscar {
    background: #5d2cff;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

.btn-buscar:hover {
    background: #4d23d3;
}

.icono-user {
    width: 18px;
}



/* ===== TARJETA QR ===== */
.qr-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.qr-box {
    background: #5a1a99;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    width: 330px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 3px solid white;
}

.qr-image {
    width: 100%;
    border-radius: 15px;
}

.qr-titulo {
    color: white;
    margin-top: 12px;
    font-size: 16px;
    font-weight: bold;
}

.btn-captura {
    margin-top: 15px;
    background: #ff7f00;
    color: white;
    padding: 12px 18px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.btn-captura:hover {
    background: #e06900;
}

/* ===== CONTADOR ===== */
.contador-seccion {
    background: #31a336;
    margin-top: 30px;
    padding: 18px;
    text-align: center;
    color: white;
    font-weight: bold;
}

.contador {
    font-size: 26px;
    margin-top: 6px;
}

/* ===== FOOTER ===== */
.footer {
    background: #432179;
    padding: 35px 20px;
    margin-top: 0;
}

.footer-content {
    text-align: center;
}

.footer-personaje {
    width: 120px;
    margin-bottom: 10px;
}

.footer-redes img {
    width: 40px;
    margin: 0 10px;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #f1cfff;
    font-size: 14px;
    text-decoration: none;
    display: block;
    margin-top: 4px;
}


/* ======================================
   PÁGINA DE PREMIOS
====================================== */

.premios-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
}

.premios-box {
    background: white;
    padding: 12px;
    border-radius: 22px;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.25);
    border: 4px solid #5a1a99;
    width: 420px;        /* Aumentado */
    max-width: 90%;      /* Responsive */
}


.premios-img {
    width: 100%;
    border-radius: 15px;
}

.premios-btn-container {
    margin-top: 25px;
}

.premios-btn {
    background: #ff7a00;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0px 8px 15px rgba(0,0,0,0.25);
}

.premios-btn:hover {
    background: #d96300;
}

@media (max-width: 420px) {
    .premios-box {
        width: 88%;
    }
    .premios-btn {
        padding: 12px 25px;
        font-size: 16px;
    }
}
