html, body {
    height: 90%;           /* Asegurar que ocupen toda la pantalla */
    overflow: hidden;       /* Ocultar scroll para que no aparezcan */
}

body {
    background-image: url('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;
}
h2 {
    font-size:2.2rem;
    font-weight:600;
    color:#333;
    margin:30px 0 20px;
}

/* ---- Caja principal ---- */
.caja-principal {
    background-color: #fff;
    border-radius: 40px;
    padding: 50px;
    max-width: 600px;
    
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
    text-align: center;
}


.titulo-principal {
    font-size: 3.2rem;
    font-weight: 600;
    color: #16022c;
    margin-bottom: 20px;
}

.acciones {
    margin-top: 10px; /* Baja los botones 20px */
}


/* ---- Menu Superior ---- */
/*.menu-superior {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-around;
    padding:15px 0;
    background-color:#007BFF;
    z-index: 1000;
}

.menu-superior a {
    color: #fff;
    font-size:1.1rem;
    font-weight:600;
    text-decoration:none;
}

.menu-superior a:hover {
    text-decoration: underline;
}
*/
/* ---- Resultado Subida ---- */
.id-subida {
    font-size:3rem;
    font-weight: bold;
    color:#007BFF;
    padding:20px;
    text-align: center;
}

.btn-copiar {
    font-size:1rem;
    padding:10px 20px;
    border-radius:5px;
    border:none;
    background-color:#28a745;
    color:#fff;
    cursor:pointer;
}

.btn-copiar:hover {
    background-color:#1e7e34;
}

/* ---- Acciones ---- */
.acciones {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:30px;
    margin:30px 0;
}

#btn-subir {
    font-size:1rem;
    cursor:pointer;
    padding:15px 30px;
    border-radius:8%;
    border:none;
    background-color:#007BFF;
    color:#fff;
    box-shadow:0px 4px 15px rgba(0,0,0,0.25);
}

#btn-subir:hover {
    background-color:#0056b3;
}

.btn-descargar {
    font-size:1rem;
    padding:15px 30px;
    border-radius:8px;
    border:none;
    background-color:#28a745;
    color:#fff;
    cursor:pointer;
    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:320px;
    box-shadow:0px 4px 25px rgba(0,0,0,0.25);
}

.modal-flotante {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999;
    display: flex; /* importante para centrar */
  }
  
  .modal-flotante .contenido {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 300px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
  }
  
  
.modal-content h3 {
    font-size:1.3rem;
    color:#333;
    margin-bottom:20px;
}

.modal-content input {
    padding:10px;
    font-size:1rem;
    width:80%;
    border-radius:5px;
    border:1px solid #ccc;
    margin-bottom:15px;
}

.modal-content .btn {
    margin:5px;
}

.close {
    position:absolute;
    top:10px;
    right:15px;
    font-size:1.5rem;
    font-weight: bold;
    cursor:pointer;
    color:#555;
}

.close:hover {
    color:#000;
}

/* ---- Responsive para Celulares ---- */
@media (max-width:768px) {
   /* .menu-superior {
        flex-direction: column;
        align-items: center;
        gap:15px;
    }

    .menu-superior a {
        font-size:1.3rem;
    }*/

    h2 {
        font-size:1.8rem;
    }

    .acciones {
        flex-direction: column;
        gap:20px;
    }

    #btn-subir,
    .btn-descargar {
        font-size:1.3rem;
        padding:18px 40px;
        border-radius:12px;
    }

    .btn-copiar {
        font-size:1.2rem;
        padding:12px 25px;
    }

    .id-subida {
        font-size:2.5rem;
    }

    .modal-content {
        width:90%;
    }
    .foto-usuario {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        object-fit: cover;
        margin-left: 8px;
        vertical-align: middle;
    }
    
    
}

