/* Style de base pour le corps */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}

/* Style pour le conteneur */
.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 400px;
    text-align: center;
    border: #222 solid 1px;
}

/* Titre */
h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0582FF;
}

/* Bouton de téléchargement */
.transfere {
    background-color: #0582FF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
}

.transfere:hover {
    background-color: #45a049;
}

/* Style pour l'input file et drag and drop */
.drop-container {
    background-color: #fff;
    position: relative;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-top: 2.1875rem;
    border-radius: 10px;
    border: 2px dashed rgb(171, 202, 255);
    color: #444;
    cursor: pointer;
    transition: background .2s ease-in-out, border .2s ease-in-out;
    margin-bottom: 20px;
}

.dragging {
    background: rgba(0, 140, 255, 0.164);
    border-color: rgba(17, 17, 17, 0.616);
}

.drop-container:hover .drop-title {
    color: #222;
}

.drop-title {
    color: #444;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: color .2s ease-in-out;
}

#file-input {
    width: 350px;
    max-width: 100%;
    color: #444;
    padding: 2px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(8, 8, 8, 0.288);
}

#file-input::file-selector-button {
    margin-right: 20px;
    border: none;
    background: #084cdf;
    padding: 10px 20px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease-in-out;
}

#file-input::file-selector-button:hover {
    background: #0d45a5;
}

/* Style pour le conteneur de la barre de progression */
.progress-container {
    width: 100%;
    background-color: #ddd;
    border-radius: 5px;
    margin-top: 20px;
}

/* Style pour la barre de progression elle-même */
.progress-bar {
    width: 0%;
    height: 10px;
    background-color: #0582FF;
    border-radius: 5px;
    transition: width 0.2s;
}

.notif{
    position: fixed;
    bottom: 5px;
    justify-content: center;
    color: #fff;
    border: #333 solid 1px;
    padding: 15px;
    border-radius: 10px;
}

.erreur{
    background-color: red;
}

.succes{
    background-color: #11d11b;
}
