/* 🔹 Reset et style global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000; /* fond noir */
    color: #fff;
}

/* 🔹 Container principal */
.main {
    position: relative;
    height: 85vh;
    width: 60%;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
}

/* 🔹 Barre du haut */
.top_bar {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.top_bar a {
    color: #fff;
    font-size: 1.7em;
    cursor: pointer;
    transition: 0.3s;
}
.top_bar a:hover {
    color: #28B463;
}
.top_bar p {
    color: #ddd;
    font-size: 1.4em;
    font-weight: 500;
}

/* 🔹 Formulaire */
.main form {
    width: 80%;
    display: flex;
    flex-direction: column;
    margin-top: 2em;
}

/* 🔹 Champs */
form input[type="file"] {
    background: rgba(255,255,255,0.1);
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    font-size: 1em;
    color: #eee;
    cursor: pointer;
    transition: 0.3s;
}
form input[type="file"]:hover {
    border-color: #28B463;
}

/* 🔹 Bouton */
form input[type="submit"] {
    background: #28B463;
    border: none;
    border-radius: 6px;
    font-size: 1.2em;
    cursor: pointer;
    margin-top: 30px;
    padding: 12px;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
}
form input[type="submit"]:hover {
    background: #1e8449;
    transform: translateY(-2px);
}

/* 🔹 Message alerte */
.alert {
    margin: 15px 0;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.95em;
}
.alert-success {
    background: rgba(40, 180, 99, 0.2);
    border: 1px solid #28B463;
    color: #28B463;
}
.alert-error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid #E74C3C;
    color: #E74C3C;
}
