/* === FORM STYLES === */

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: 8px;
    max-width: 1100px;
    margin: 0 auto;
}

.form-zone-gauche,
.form-zone-droite {
    flex: 1;
    min-width: 300px;
}

.form-zone-gauche > div,
.form-zone-droite > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

/* reset et custom arrow pour select (Safari / Firefox) */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23666' d='M0 0l5 6 5-6z'/></svg>");
    padding-right: 30px; /* espace pour la flèche personnalisée */
}

input[type="text"],
input[type="email"],
textarea,
select {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    outline: none;
}

textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 9px;
}

label {
    display: flex;
    align-items: center;
    font-size: 16px;
}

input,
textarea {
    font-size: 16px;
    font-family: inherit;
}

.form-upload label,
.form-upload input {
    font-size: 15px;
}

.form-upload .info {
    font-size: 13px;
    color: #888;
}

.form-footer {
    flex-basis: 100%;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
}

.form-footer .info {
    font-size: 13px;
    color: #888;
    margin: 15px 0;
}

.form-footer .error {
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 10px;
}

.form-footer .success {
    color: green;
    font-weight: bold;
    margin-bottom: 10px;
}

.form-actions button {
    padding: 10px 20px;
    font-size: 18px;
    background: var(--color-primary);
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
}

.form-actions button:hover {
    background: var(--black-background);
    transition: background 0.3s ease;
}