:root {
    --primary-color: #F7C31D; /* Nouveau Jaune */
    --primary-hover: #dcb122; /* Jaune légèrement plus foncé pour le survol */
    --secondary-color: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #e9ecef;
    --success-color: #F7C31D; /* Le succès est aussi en jaune */
    --error-color: #dc3545;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    /* Dégradé plus chaud pour aller avec le jaune */
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    color: var(--text-dark);
}

.logo-container {
    margin-bottom: 2rem;
    text-align: center;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));
}

.main-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.main-card:hover {
    transform: translateY(-2px);
}

.card-header {
    background: var(--secondary-color);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,.05);
    text-align: center;
}

.card-header h2 {
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.card-body {
    padding: 2rem;
}

/* --- Zone de Drop --- */
.drop-zone {
    border: 2px dashed #ced4da;
    border-radius: 0.75rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fcfcfc;
    position: relative;
    overflow: hidden;
}

.drop-zone:hover {
    background: var(--bg-light);
    border-color: var(--text-muted);
}

.drop-zone--over {
    border-color: var(--primary-color);
    background: #fff9e6; /* Fond légèrement jaune au survol */
}

.drop-zone__input {
    display: none;
}

.drop-zone__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    fill: var(--text-muted);
    transition: fill 0.3s;
}

.drop-zone:hover .drop-zone__icon,
.drop-zone--over .drop-zone__icon {
    fill: var(--primary-color); /* L'icône devient jaune */
}

.drop-zone__prompt {
    font-weight: 500;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.drop-zone__prompt-small {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* --- Info Fichier --- */
.file-info {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    min-height: 1.4em;
}

/* --- Formulaire --- */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(247, 195, 29, 0.25); /* Ombre jaune */
}

/* --- Bouton Upload --- */
.btn-upload {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000; /* Texte noir sur fond jaune pour le contraste */
    background-color: var(--primary-color);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-upload:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-upload:disabled {
    background-color: #e9ecef;
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- Messages et Progrès --- */
.status-message {
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 1.5em;
}

.status-success {
    color: #d69e00; /* Un jaune/orange foncé pour le texte de succès */
}

.status-error {
    color: var(--error-color);
}

.progress-container {
    margin-top: 1rem;
    display: none; /* Caché par défaut */
}

.progress-bar {
    width: 100%;
    height: 0.6rem;
    background-color: #e9ecef;
    border-radius: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color); /* Barre jaune */
    transition: width 0.3s ease;
}