:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --bg: #0f172a;
    --card: #1e293b;
    --border: #334155;
    --text: #f8fafc;
    --success: #10b981;
    --success-hover: #059669;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
}

h1 { 
    margin: 0; 
    font-size: 2.2rem; 
    letter-spacing: -1px; 
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    padding-top: 60px;
    min-height: 100vh;
}

.container {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    height: fit-content;
}

h1 { text-align: center; margin-bottom: 2rem; font-size: 2rem; letter-spacing: -1px; }

.drop-zone {
    width: 100%;
    height: 180px;
    border: 2px dashed var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    background: rgba(255,255,255,0.02);
}

.drop-zone:hover, .drop-zone--over {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

.drop-zone__input { display: none; }

.header-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.btn-reset {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
}

.file-item {
    background: #111827;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.file-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.file-name { font-size: 0.95rem; font-weight: 600; color: #e2e8f0; }
.file-status { font-size: 0.8rem; font-weight: bold; }

progress {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    appearance: none;
}
progress::-webkit-progress-bar { background: #1e293b; border-radius: 10px; }
progress::-webkit-progress-value { background: var(--primary); border-radius: 10px; transition: width 0.3s; }

.actions { margin-top: 2rem; }

#convertBtn, .btn-zip {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

#convertBtn {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

#convertBtn:disabled { background: #334155; box-shadow: none; cursor: not-allowed; }

.subtitle {
    margin-top: 0.5rem;
    color: #94a3b8; /* Correspond à --text-muted */
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-zip {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-zip:hover { background: var(--success-hover); }

.status-msg { text-align: center; margin-top: 1.5rem; color: #94a3b8; font-style: italic; }