body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #5c99e9; /* Fond uni */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden; /* Empêche les bulles de déborder */
}

/* Bulles animées */
.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: rise 15s infinite ease-in;
    pointer-events: none; /* Ne bloque pas les clics */
    filter: blur(2px); /* Léger flou pour un effet plus doux */
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) scale(0.5);
        opacity: 0;
    }
}

/* Contenu principal */
.container, .form-container {
    text-align: center;
    width: 90%;
    max-width: 300px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1; /* Passe au-dessus des bulles */
}

.form-container, #loader, #timer {
    display: none;
}

.container img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.btn-download {
    width: 100%;
    padding: 10px;
    background-color: #1f3bd9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-download:hover {
    background-color: #4589e2;
}

#loader {
    margin-top: 20px;
}

.loader {
    border-radius: 50%;
    height: 64px;
    width: 64px;
    border-top: 4px solid #ffffff;
    border-bottom: 4px solid #ffffff;
    margin: 20px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.input-container {
    position: relative;
    margin: 10px 0;
}

.input-container input {
    width: 80%;
    padding: 10px 10px 10px 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9rem;
}

.input-container .icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #ccc;
}

.btn {
    width: 100%;
    padding: 10px;
    background-color: #4499f0;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #90bff0;
}

.lost-password {
    display: block;
    margin-top: 15px;
    color: #48bda8;
    text-decoration: none;
    font-size: 0.75rem;
}

.lost-password:hover {
    text-decoration: underline;
}

.icons {
    margin-top: 15px;
}

.icons img {
    width: 18px;
    margin: 0 5px;
    cursor: pointer;
}

.file-name {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
}

.container .mt-2, .form-container .mt-2 {
    font-size: 0.75rem;
    color: #888;
}

.hidden {
    display: none;
}

.error {
    color: red;
    font-size: 0.8rem;
    margin-top: 5px;
}
