html, body {
    height: 100%;           /* Asegurar que ocupen toda la pantalla */
    overflow: hidden;       /* Ocultar scroll para que no aparezcan */
    overflow-y: auto; /* Activar scroll */
}
/*
body {
    background-image: url('mobile_playa_fond.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Comic Neue', cursive;

    display: flex;
    justify-content: center;
    align-items: center;

    height: 100vh;
    margin: 0;
    padding-top: 60px;
}*/
body {
    background-image: url('mobile_playa_fond.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Comic Neue', cursive;
    margin: 0;
    padding: 0; /* Quitar el padding-top aquí */
    overflow-x: hidden;
    overflow-y: auto;
}


h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 25px 0 15px;
    text-align: center;
}

/* ---- Caja principal ---- */
.caja-principal {
    background-color: #fff;
    border-radius: 20px;
    padding: 10px;
    max-width: 250px;
     
    margin-top: 60px;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
    text-align: center;
}


.titulo-principal {
    font-size: 2.2rem;
    font-weight: 600;
    color: #16022c;
    margin-bottom: 20px;
}

.acciones {
    margin-top: 10px; /* Baja los botones 20px */
}

/* ---- Menu Superior ---- */
/*.menu-superior {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    background-color: #007BFF;
    gap: 15px;
}

.menu-superior a {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.menu-superior a:hover {
    text-decoration: underline;
}*/

/* ---- Resultado Subida ---- */
.id-subida {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007BFF;
    padding: 20px;
    text-align: center;
}

.btn-copiar {
    font-size: 1.3rem;
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    background-color: #28a745;
    color: #fff;
    cursor: pointer;
}

.btn-copiar:hover {
    background-color: #1e7e34;
}

/* ---- Acciones ---- */
.acciones {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 30px 0;
}

#btn-subir,
.btn-descargar {
    font-size: 1.3rem;
    padding: 18px 40px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

#btn-subir {
    background-color: #007BFF;
    color: #fff;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.25);
}

#btn-subir:hover {
    background-color: #0056b3;
}

.btn-descargar {
    background-color: #28a745;
    color: #fff;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.25);
}

.btn-descargar:hover {
    background-color: #1e7e34;
}

/* ---- Modal ---- */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width:100%; 
    height:100%; 
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    width: 90%;
    box-shadow: 0px 4px 25px rgba(0,0,0,0.25);
}

.modal-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
}

.modal-content input {
    padding: 12px;
    font-size: 1.1rem;
    width: 85%;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.modal-content .btn {
    font-size: 1.1rem;
    padding: 12px 25px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    color: #555;
}

.close:hover {
    color: #000;
}
