body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #6e45e2, #88d3ce);
    margin: 0;
    padding: 20px;
    p{
        max-width: 60%;
    }
}
.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    max-width: 90%;
    width: 400px;
}
h1, p {
    color: #fff;
}
input[type="file"], input[type="text"], button {
    margin-top: 15px;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}
input[type="file"]:hover, input[type="text"]:hover, button:hover {
    background: #f1f1f1;
}
.error {
    color: red;
    font-size: 14px;
    display: none;
}
button:disabled {
    background: grey;
    cursor: not-allowed;
}
@media (max-width: 500px) {
    .container {
        width: 100%;
    }
}

.loader {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Animation des points */
.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.spinner div {
    width: 10px;
    height: 10px;
    margin: 3px;
    background-color: #fff;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.spinner div:nth-child(1) {
    animation-delay: -0.32s;
}

.spinner div:nth-child(2) {
    animation-delay: -0.16s;
}

.spinner div:nth-child(3) {
    animation-delay: 0;
}

/* Animation de rebond */
@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}


/* Clignotement */
@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 10000;
}

.toast.show {
    opacity: 1;
}
        
footer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    color: white;
    text-align: center;
    font-size: 14px;
    position: absolute;
    bottom: 10px;
}