:root, [data-theme] {
  --p: 133 30% 58% !important;
  --pf: 133 30% 48% !important;
  --pc: 0 0% 100% !important;
  --n: 133 30% 58% !important;
  --nf: 133 30% 48% !important;
  --nc: 0 0% 100% !important;
  --bc: 0 0% 13% !important;
}

/* Boutons remplis verts */
.base-button,
.submit-form-button,
download-button,
download-button.btn,
.completed-form-download-button {
  background-color: #6FB87D !important;
  border-color: #6FB87D !important;
  color: white !important;
}
.base-button:hover,
download-button:hover {
  background-color: #5da86b !important;
  border-color: #5da86b !important;
  color: white !important;
}

/* btn-neutral rempli - sauf dans les dropdowns */
.btn-neutral:not(.btn-outline):not(.dropdown-content .btn) {
  background-color: #6FB87D !important;
  border-color: #6FB87D !important;
  color: white !important;
}
.btn-neutral:not(.btn-outline):hover {
  background-color: #5da86b !important;
  border-color: #5da86b !important;
}

/* Boutons outline = bordure visible, texte noir */
.btn-outline {
  background-color: transparent !important;
  color: #222 !important;
  border-color: #d1d5db !important;
}
.btn-outline:hover {
  background-color: #f3f4f6 !important;
  color: #222 !important;
  border-color: #9ca3af !important;
}

/* Boutons ghost = texte noir */
.btn-ghost {
  color: #222 !important;
  background-color: transparent !important;
}
.btn-ghost:hover {
  background-color: rgba(0,0,0,0.05) !important;
}

/* White button */
.white-button {
  background-color: white !important;
  color: #222 !important;
  border-color: #d1d5db !important;
}
.white-button:hover {
  background-color: #f3f4f6 !important;
  color: #222 !important;
}

/* Dropdown menu - tout visible */
.dropdown-content a,
.dropdown-content button,
.dropdown-content span,
.dropdown-content label,
.dropdown-content li {
  color: #222 !important;
}
.dropdown-content svg {
  color: #222 !important;
  stroke: #222 !important;
}
.dropdown-content .btn {
  background-color: transparent !important;
  color: #222 !important;
  border-color: transparent !important;
}

/* Cercle profil = gris fonce avec initiales blanches */
label.bg-base-content.rounded-full,
.dropdown .bg-base-content.rounded-full {
  background-color: #374151 !important;
}
label.bg-base-content.rounded-full span,
.dropdown .bg-base-content.rounded-full span {
  display: inline !important;
  color: white !important;
}

/* Barre de progression verte */
.steps-progress-current,
button.bg-base-content:not(.rounded-full) {
  background-color: #6FB87D !important;
}

/* Badges lisibles */
.badge-success { color: #166534 !important; }
.badge-warning { color: #854d0e !important; }
.badge-info { color: #1e40af !important; }
.badge-neutral, .badge-outline { color: #222 !important; }
.border-neutral-700, .border-neutral-300 { color: #222 !important; }

/* Inputs noirs */
.base-input, input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="date"], textarea, select,
.base-textarea, .base-select, .whitespace-pre-wrap {
  color: #222 !important;
}

/* Cacher labels champs pour le client */
.field-name-label { display: none !important; }

/* Cacher elements DocuSeal */
a[href*="github.com/docusealco"],
a[href*="discord.gg"],
#support_channels,
.badge.badge-outline.badge-lg,
#app_tour_manager { display: none !important; }
a.btn-warning[href*="docuseal.com"] { display: none !important; }
span.border-r.border-base-content { display: none !important; }
li:has(a[href*="on_premises"]),
li:has(a[href*="console.docuseal"]) { display: none !important; }

/* Fix double logo - cacher le 2eme img dans le lien navbar */
a.text-2xl.font-bold img ~ img { display: none !important; }
a.text-2xl img + img { display: none !important; }
