html, body { margin: 0; padding: 0; height: 100%; }

.mainForm {
    padding: 2rem; margin: auto;
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 2rem;
    min-height: calc(100vh - 60px);
    box-sizing: border-box;
}

.form {
    background-color: rgb(46,46,46);
    padding: 2rem; border-radius: 0.75rem;
    color: #f0f0f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    min-width: 320px; max-width: 420px; width: 100%;
}

.titre {
    font-size: 1.4rem; font-weight: 600;
    display: block; margin-bottom: 0.25rem;
}

.informations {
    display: flex; flex-direction: column;
    gap: 1rem; margin-top: 1.5rem;
}

input, select, textarea {
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid transparent;
    background: #f3f3f3; color: #222;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem; width: 100%;
    transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: #578040;
    box-shadow: 0 0 0 2px rgba(87,128,64,0.35);
}

textarea { resize: vertical; min-height: 80px; }

button { margin-top: 0.5rem; width: 100%; }

.message { font-size: 0.85rem; color: #aaa; margin-top: 1rem; }
a { color: rgb(134,184,106); }
a:hover { color: #86b86a; }
a:focus-visible { outline: 2px solid #86b86a; border-radius: 2px; }

.separateur {
    border: none; border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0.5rem 0;
}
