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

body {
    font-family: Arial, sans-serif;
    background: url('../img/fond-form.png') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 100px 0;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 80vw;
    max-width: 1000px;
    min-width: 300px;
    margin: auto;
}

form h1 {
    text-align: center;
    color: #333;
}

form h2, form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="file"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    font: optional;
}

.form-group input:focus {
    border-color: #6f0505;
    outline: none;
    box-shadow: 0 0 5px rgba(207, 46, 46, 0.5);
}

.form-group input[type="checkbox"] {
    width: auto;
}

p {
    font-size: 12px;
    color: #6f0505;
}

.btn {
    width: 100%;
    padding: 15px;
    background-color: #6f0505;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.champ-obligatoire {
    margin-bottom: 20px;
    font-size: 14px;
}

.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group select:focus {
    border-color: #6f0505;
    outline: none;
    box-shadow: 0 0 5px rgba(207, 46, 46, 0.5);
}

.form-group input[type="file"]::file-selector-button {
    background-color: #6f0505;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

hr.hr-liste {
    border: 0;
    background-color: #6f0505;
    margin: 20px auto 20px auto;
    width: 90%;
    min-height: 2px;
}

.siret-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.siret-wrapper input {
    flex: 1;
    margin-right: 10px;
}

#siretCounter {
    white-space: nowrap;
    font-size: 14px;
    color: #666;
}

#mandat-description {
    resize: vertical;
    min-height: 100px;
    max-width: 100%;
}

.missions-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.missions-past,
.missions-future {
    flex: 1;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
}

.missions-past h3,
.missions-future h3 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}

.missions-past label,
.missions-future label {
    display: block;
    margin-bottom: 10px;
}

.align-right {
    text-align: right;
    margin-left: auto;
    margin-right: 130px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.align-right label {
    width: 70%;
    text-align: right;
}

.align-right h2 {
    margin-right: 10px;
    width: 90%;
}                     

@media (max-width: 600px) {
    .form-container {
        padding: 20px;
        width: 95vw;
    }

    .btn {
        padding: 12px;
    }
}