/* Custom styles pour les select avec flèches */
.custom-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Style pour le file input */
.file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.file-input::before {
    content: 'Parcourir...';
    display: inline-block;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 6px 12px;
    outline: none;
    white-space: nowrap;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
}

/* Style pour rendre la section contact sticky */
.contact-infos-sticky {
    position: sticky;
    top: 2rem;
    align-self: flex-start;
}

/* Responsive: désactiver sticky sur mobile pour éviter les problèmes d'espace */
@media (max-width: 1023px) {
    .contact-infos-sticky {
        position: static;
    }
}

/* Styles pour les messages d'erreur */
.error-message {
    color: #ef4444;
    /* red-500 de Tailwind */
    font-size: 0.875rem;
    /* text-sm de Tailwind */
    margin-top: 0.25rem;
    /* mt-1 de Tailwind */
}

.border-red-500 {
    border-color: #ef4444;
}