/* Style général */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative; /* Pour le bouton retour */
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

h2 {
    color: #666;
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    background-color: #fafafa;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.thumbnail {
    max-width: 100px;
    max-height: 75px;
    margin: 0 15px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.file-info {
    font-style: italic;
    color: #888;
    margin: 10px 0;
}

.file-link {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.file-link:hover {
    text-decoration: underline;
}

.file-extension {
    font-style: italic;
    color: #888;
    margin: 10px 0;
    text-transform: uppercase; /* Convertir l'extension en majuscules */
}

button {
    background-color: #4CAF50;
    border: 2px solid #4CAF50;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
    border-color: #45a049;
}

button:active {
    background-color: #388e3c;
    border-color: #388e3c;
}

.notification {
    display: none;
    margin-left: 10px;
    padding: 5px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap; /* Ne pas couper le texte */
}

.notification.show {
    display: inline;
}

/* Style du bouton retour */
.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 15px;
    background-color: #ff6f61;
    color: white;
    border: 2px solid #ff6f61;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.back-button:hover {
    background-color: #e55e50;
    border-color: #e55e50;
}

.back-button:active {
    background-color: #d45243;
    border-color: #d45243;
}

/* Style des boutons de téléchargement */
.download-btn {
    background-color: #00bcd4;
    border: 2px solid #00bcd4;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.download-btn:hover {
    background-color: #0097a7;
    border-color: #0097a7;
}

.download-btn:active {
    background-color: #00838f;
    border-color: #00838f;
}

.folder-list {
    margin: 0;
    padding: 0;
}

.folder-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
