/* === STYLE GLOBAL === */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: "Segoe UI", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
    width: 90%;
    max-width: 600px;
    background: #1e1e1e;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

h1 {
    color: #E84A23;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

p {
    color: #bdbdbd;
    font-size: 0.95rem;
    line-height: 1.5;
    font-size: 18px;
}

/* === ZONE DE DÉPÔT === */
#drop-zone {
    border: 2px dashed #E84A23;
    background: #2a2a2a;
    border-radius: 10px;
    padding: 40px;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#drop-zone p {
    margin: 0;
    color: #ccc;
    font-size: 1rem;
    font-size: 18px;
}

#drop-zone:hover,
#drop-zone.dragover {
    background: #333;
    border-color: #E84A23;
}

/* === LISTE DE FICHIERS === */
#file-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    max-height: 250px;
    overflow-y: auto;
}

#file-list li {
    background: #2b2b2b;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #e0e0e0;
    font-size: 18px;
}

/* === BOUTONS DE SUPPRESSION ET TÉLÉCHARGEMENT === */
.delete-btn,
.download-btn {
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 0.9rem;
}

.delete-btn {
    background-color: #ff0000;
    color: #fff;
    font-size: 18px;
}

.delete-btn:hover {
    background-color: #c9302c;
}

.download-btn {
    background-color: #208800;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.download-btn:hover {
    background-color: #E84A23;
}

/* === SÉLECTEUR DE VERSION PDF === */
.version-select {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.version-select label {
    font-weight: bold;
    color: #e0e0e0;
}

.version-select select {
    background-color: #2a2a2a;
    color: #fff;
    border: 1px solid #E84A23;
    padding: 10px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 18px;
}

.version-select select:hover {
    border-color: #E84A23;
}

/* === BARRE DE PROGRESSION === */
.progress-container {
    width: 100%;
    background-color: #333;
    border-radius: 8px;
    height: 10px;
    margin-top: 20px;
    overflow: hidden;
    display: none;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background-color: #E84A23;
    transition: width 0.1s linear;
}

/* === BOUTON CONVERTIR === */
.convert-btn {
    margin-top: 25px;
    background-color: #E84A23;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
}

.convert-btn:hover {
    background-color: #E84A23;
    transform: scale(1.03);
}

.convert-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
