body {
    font-family: Arial, sans-serif;
    background-color: #e6f2ff; /* Fondo azul claro */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 90%;
    width: 350px; /* Más angosto */
    min-height: 80vh; /* Más alto */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    max-width: 150px;
    margin: 0 auto 1rem;
}

h1 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem; /* Tamaño de fuente más pequeño para móviles */
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem; /* Tamaño de fuente más pequeño para móviles */
}

input[type="file"] {
    margin-bottom: 1rem;
    width: 100%;
    max-width: 250px;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.8rem;
    }

    input[type="submit"] {
        font-size: 0.9rem;
    }
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

.file-input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.file-label {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 10px;
}

#file-input {
    display: none;
}

.file-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#file-name {
    margin-bottom: 5px;
}

.check-icon {
    color: transparent; /* Hace el icono invisible por defecto */
    transition: color 0.3s ease; /* Añade una transición suave */
}

.check-icon.visible {
    color: #4CAF50; /* Color verde cuando es visible */
}

.hidden {
    display: none;
}