:root {
    /* Utilise une valeur Hexa pour une compatibilité à 100% */
    --infini-vert: #375f17; /* Remplace par ton code exact récupéré à la pipette */
    --infini-vert-hover: #1c2e12;
}

/* Base pour tous tes formulaires */
.input-form {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    padding: 0.5rem;
    outline: none;
    /* transition: ring 0.2s; n'existe pas en CSS standard, utilise plutôt transition: border 0.2s */
    transition: border 0.2s, box-shadow 0.2s;
}

.input-form:focus {
    border-color: var(--infini-vert);
    box-shadow: 0 0 0 2px var(--infini-vert);
}

/* Bouton d'action standardisé */
.btn-submit {
    width: 100%;
    background-color: var(--infini-vert);
    color: white;
    font-weight: bold;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: var(--infini-vert-hover);
}

/* Indispensable pour tes checkboxes */
.accent-infinipalm {
    accent-color: var(--infini-vert);
}

/* Supprime DEFINITIVEMENT les flèches par défaut du navigateur */
select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important; /* On enlève tout avant de remettre le nôtre */
}

/* Style Shadcn pour les dropdowns */
.select-field {
    width: 100%;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    border-radius: 1rem;
    background-color: white;
    font-size: 0.875rem;
    font-weight: 500;
    outline: none;
    /* On remet UNE SEULE flèche propre via SVG */
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 1rem center / 1.1em;
}

/* Force l'input à ne pas couper le texte et à être assez grand */
.input-plante {
    @apply w-full border border-gray-200 p-5 rounded-2xl bg-white text-base outline-none !important;
    min-height: 4rem; /* Plus haut pour être plus visible */
    line-height: 1.5;
}