/* ----- STYLE GLOBAL ----- */
body {
    font-family: 'Jost', sans-serif;
    background: #ffffff;
    color: #333;
    margin: 0;
}

/* ----- TITRE ----- */
h1 {
    text-align: center;
    font-size: 42px;
    color: #15730d;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* ----- CONTAINER FORMULAIRE ----- */
.form-container {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    background: #d4edda;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ----- STRUCTURE DU FORMULAIRE ----- */
form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-size: 18px;
    font-weight: 600;
    color: #15730d;
}

/* ----- INPUTS ET TEXTAREA ----- */
input, textarea, select {
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid #cccccc;
    width: 100%;
    font-family: 'Jost', sans-serif;
    transition: border 0.2s;
}

input:focus,
textarea:focus,
select:focus {
    border: 1px solid #15730d;
    outline: none;
}

/* Taille du textarea */
textarea {
    min-height: 130px;
    resize: vertical;
}

/* ----- SUBMIT BUTTON ----- */
button[type="submit"] {
    background: #15730d;
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    width: 260px;
    margin: 20px auto 0;
    transition: background 0.2s;
}

button[type="submit"]:hover {
    background: #0e5609;
}

/* ----- DARK MODE (si utilisé) ----- */
body.dark {
    background: #0e0f10;
    color: white;
}

body.dark .form-container {
    background: #1b1c1e;
    color: white;
}

body.dark input,
body.dark textarea,
body.dark select {
    background: #2a2b2e;
    color: white;
    border: 1px solid #555;
}

body.dark button[type="submit"] {
    background: #1a8d14;
}
