/* Tipografía general */
body, input, button {
    font-family: 'Comic Neue', cursive;
}

/* Info del archivo */
#file-info {
    margin: 10px 0;
    font-weight: bold;
    color: #333;
}

/* Botón Subir estilo igual al de Descargar */
button.btn, label.btn {
    background-color: #4CAF50;
    border: none;
    padding: 12px 25px;
    color: white;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}
button.btn:hover, label.btn:hover {
    background-color: #45a049;
}

/* Progreso circular */
.progress-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
}
.progress-circle {
    width: 100px;
    height: 100px;
    border: 8px solid #eee;
    border-top: 8px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estrellas animadas al finalizar */
.stars {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: visible;
}
.star {
    position: absolute;
    width: 10px;
    height: 10px;
    background: gold;
    border-radius: 50%;
    animation: explode 1s ease-out forwards;
}
@keyframes explode {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: scale(0.5) translate(var(--x), var(--y));
        opacity: 0;
    }
}
.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);
}
