
/*
@import "font.css";
color 
vert fleyetrap: #3bbe68
rouge: #cc0000
new rouge : #e24d42
new orange : #f5a924
new vert : #69dc6c
new bleu : #69dc6c
*/
html.light-theme, body.light-theme {
	background: #121212;
	color: #aaa;
}

html.dark-theme, body.dark-theme {
	background: #1e1e1e;
	color: #e0e0e0;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	background: #121212;
	font-family: Arial, sans-serif;
	font-size: 14px;
	color: #aaa;
}

a {
	text-decoration: none !important;
	color: #aaa;
}

a:focus, button:focus {
	outline: 0;
}

p, .div-p {
	margin: 0;
	padding: 0;
	padding: 5px 0;
}

p.last {
	padding-bottom: 0;
}

input {
	color: #e0e0e0;
}

input, select, textarea {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

textarea {
	font-family: Arial;
	font-size: 12px;
	color: #e0e0e0;
}

ul, li {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1 {
	left: 400px;
	margin: 0;
	position: absolute;
	top: 4px;
	font-family: "OpenSansLight", "Trebuchet MS", Arial;
	color: #69dc6c;
	font-weight: normal;
}

h2 {
	color: #69dc6c;
	font-family: "OpenSansLight", "Trebuchet MS", Arial;
	font-weight: normal;
	margin: 0 0 30px 0; /* 30px en bas */
	font-size: 30px;
	text-align: center;
}

h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #69dc6c, #468a98);
	color: #1e1e1e;
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-weight: bold;
	font-size: 16px;
	padding: 10px 15px;
	margin: 25px 0 15px 0; /* espace au-dessus ET en dessous */
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

h3.current {
	background: #69dc6c;
}

h3 a {
	color: #1e1e1e;
}

h3.help {
	color: #e0e0e0;
	background: #1e1e1e url('../images/icons/icon-help.png') no-repeat 20px
		13px;
	padding-left: 50px;
}

h4 {
	font-family: "Trebuchet MS", Arial;
	font-size: 14px;
	margin-top: 0;
	margin-bottom: 10px;
}

h4 span {
	font-weight: normal;
	font-style: italic;
}

.content {
	margin: 0 auto;
	width: 1000px;
	position: relative;
}

/* CLASS */
.clear {
	clear: both;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

.loading, .form-loading {
	width: 16px;
	height: 16px;
	background: url('../images/loading-form.gif') no-repeat center center;
	margin-left: 10px;
	vertical-align: sub;
	display: none;
}

.form-loading.shown {
	display: inline-block;
}

.page-loading {
	background: #2c2c2c url('/images/loading-213e51e2f5368163f6307e24b7326cbb.gif') 50% 50% no-repeat;
	height: 100px;
	width: 100px;
	box-shadow: 0 0 100px #111;
	position: fixed;
	left: 48%;
	top: 48%;
	z-index: 10;
	display: none;
	border-radius: 50px;
}

.hidden {
	display: none;
}

.marg-left {
	margin-left: 10px;
}

.marg-right {
	margin-right: 10px;
}

.border-top {
	border-top: 1px solid #2c2c2c;
}

.ctn-2col .col {
	float: left;
	width: 50%;
}

a.link {
	color: #69dc6c;
}

a.url {
	color: #69dc6c;
	background: url('../images/icons/icon-arrow-right.png') no-repeat;
	padding-left: 12px;
}

div.link, p.link {
	color: #69dc6c;
	cursor: pointer;
}

.inp-date {
	width: 80px;
}

.inp-check {
	vertical-align: sub;
}

.ctn-row, .ctn-row-2col, .ctn-row-3col, .ctn-row-4col {
	clear: both;
}

.ctn-row .ctn-col, .ctn-row-2col .ctn-col {
	float: left;
	width: 50%;
}

.ctn-row-3col .ctn-col, .ctn-row-3col .ctn-col1-3 {
	float: left;
	width: 33%;
}

.ctn-row-3col .ctn-col2-3 {
	float: left;
	width: 66%;
}

.ctn-row-4col .ctn-col {
	float: left;
	width: 25%;
}

.warning {
	padding: 10px 10px 10px 40px;
	background: #1e1e1e url('../images/icons/icon-warning.png') no-repeat 10px
		50%;
	border: 2px solid #e0e0e0;
	margin-bottom: 20px;
	font-weight: bold;
	color: #aaa;
}

.warning span {
	font-weight: normal;
	font-style: italic;
	margin-left: 10px;
}

.simple-warning {
	background: url('../images/icons/icon-warning.png') no-repeat 0 50%;
	padding: 10px 0 10px 30px;
	font-style: italic;
}

body.waiting * {
	cursor: progress;
}

/* FORM, BUTTON */
.form-yes {
	width: 16px;
	height: 16px;
	background: url('../images/icons/icon-true.png') no-repeat center center;
	display: inline-block;
	margin-left: 10px;
	vertical-align: sub;
	display: none;
}

.form-no {
	width: 16px;
	height: 16px;
	background: url('../images/icons/icon-false.png') no-repeat center
		center;
	display: inline-block;
	margin-left: 10px;
	vertical-align: sub;
	display: none;
}

.button, .button-2nd, .big-button {
	color: #e0e0e0;
	padding: 0 10px;
	font-family: "Trebuchet MS", Verdana, Arial;
	font-size: 13px;
	border: 1px solid #2c2c2c;
	text-align: center;
	border-radius: 3px;
	cursor: pointer;
	background: #2a2a2a; /* Old browsers */
	background: -moz-linear-gradient(top, #1e1e1e 0%, #2a2a2a 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1e1e1e),
		color-stop(100%, #2a2a2a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #1e1e1e 0%, #2a2a2a 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #1e1e1e 0%, #2a2a2a 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #1e1e1e 0%, #2a2a2a 100%); /* IE10+ */
	background: linear-gradient(to bottom, #1e1e1e 0%, #2a2a2a 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e1e1e', endColorstr='#2a2a2a', GradientType=0); /* IE6-9 */
	display: inline-block;
	height: 24px;
	vertical-align: middle;
}

a.button, a.button-2nd {
	text-decoration: none;
	height: 22px;
	line-height: 22px;
}

.button-2nd, a.button-2nd {
	color: #aaa;
}

.big-button {
	text-decoration: none;
	height: 34px;
	font-size: 16px;
}

a.big-button {
	line-height: 34px;
}

.button.disabled, .big-button.disabled {
	color: #888;
	cursor: not-allowed;
}

.bt-margin {
	margin-left: 10px;
}

.ctn-bt-dropdown {
	display: inline-block;
	vertical-align: top;
}

ul.bt-dropdown-list {
	background: #1e1e1e;
	box-shadow: 0 0 5px #2c2c2c;
	display: none;
	text-align: left;
	position: absolute;
}

ul.bt-dropdown-list li {
	line-height: 20px;
}

ul.bt-dropdown-list li a {
	text-align: left;
	padding: 0 10px;
}

ul.bt-dropdown-list li a:hover {
	color: #69dc6c;
	background: none;
}

/*
.bt-dropdown{
    padding-right: 10px;
    background: url('../images/arrow_down_12.png') no-repeat center right;
}
*/
.bt-align-r {
	float: right;
}

.bt-back {
	position: absolute;
	bottom: 20px;
	right: 20px;
	color: #aaa;
}

.bt-search {
	background: url('../images/icon-search.png') no-repeat 5px 50%;
	padding-left: 22px;
}

.bt-big-search {
	background: url('../images/icon-big-search.png') no-repeat 5px 50%;
	padding-left: 35px;
}

.bt-home {
	background: url('../images/icon-home-violet.png') no-repeat 50%;
	padding: 0 20px;
}

.bt-help {
	width: 16px;
	height: 16px;
	background: url('../images/icons/icon-help.png') no-repeat;
	cursor: pointer;
}

.success {
	color: #69dc6c;
	font-weight: bold;
}

.error {
	color: #cc0000;
	font-weight: bold;
}

.form-error {
	color: #cc0000;
	padding-left: 5px;
}

label.form-error {
	padding-left: 30px;
}

div.form-error {
	font-size: 11px;
}

input.form-error, select.form-error {
	color: #e0e0e0;
	text-transform: none;
	border: 1px solid red;
}

.form-icon-valid {
	padding-left: 5px;
}

.form-icon-valid img {
	vertical-align: middle;
}

form .field-note, .note {
	font-style: italic;
	font-size: 11px;
}

form .field-readonly {
	min-height: 22px;
	width: 250px;
	padding: 2px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border: 1px solid #2c2c2c;
	background: #f3f3f3;
	color: #aaa;
}

.ctn-msg {
	min-height: 20px;
}

.ctn-msg .error, .ctn-msg .success {
	display: none;
}

.ctn-top-right {
	position: absolute;
	top: 0;
	right: 0;
}

/* HEADER SEARCH */
.form-search input, .form-search select, .form-filter input,
	.form-filter select {
	margin-right: 5px;
}

.form-search input.inp, .form-filter input.inp {
	width: 150px;
}

.form-search input[type="checkbox"], .form-filter input[type="checkbox"],
	.form-search input[type="radio"], .form-filter input[type="radio"] {
	vertical-align: sub;
}

.form-search .subtitle, .subtitle, .form-filter .subtitle {
	font-weight: bold;
}

.small-inp, .inp-small {
	width: 60px;
}

.medium-inp, .inp-medium {
	width: 120px;
}

.large-inp, .inp-large {
	width: 300px;
}

/* LAYOUT */
#main-content {
	width: 95%;
	margin: 0 auto;
}

.ctn-content {
	margin: 0 auto;
}

.admin-content, .admin-search-content, .box-content, .ctn-box {
	position: relative;
	margin: 10px auto;
	padding: 3px;
	background: #1e1e1e;
	box-shadow: 0 0 5px #2c2c2c;
	width: auto;
}

.ctn-box {
	width: auto;
	box-sizing: border-box;
}

.ctn-content.small, .ctn-box.small {
	width: 600px;
}

.ctn-content.medium, .ctn-box.medium {
	width: 800px;
}

.ctn-content.large, .ctn-box.large {
	width: 1000px;
}

.ctn-content.xlarge, .ctn-box.xlarge {
	width: 1200px;
}

.ctn-box.auto {
	width: auto;
}

.ctn-box h3 {
	margin: -20px -20px 20px -20px;
}

.ctn-box h3.title {
	margin: 0 0 20px 0;
}

.box-content {
	width: auto;
}

.admin-content.large {
	width: 1000px;
}

.admin-content h3, .box-content h3 {
	margin: -20px -20px 20px -20px;
}

/* HEADER */
#header {
	height: 50px;
	width: 100%;
	background: #1e1e1e;
	box-shadow: 0 0 5px #2c2c2c;
	margin-bottom: 10px;
	position: relative;
}

#wrapper-header {
	margin: 0 auto;
	width: 1000px;
	position: relative;
}

#logo {
	width: 150px;
	height: 42px;
	background: url('../images/logo-fleyetrap.png') 0 5px no-repeat;
}

#ctn-header-right {
	position: absolute;
	top: 0;
	right: 0;
}

#header-user {
	float: right;
	padding: 15px 0 0 10px;
}

#back-home {
	position: absolute;
	top: 15px;
	right: 10px;
}

#logout {
	float: right;
	margin: 10px 0 0 10px;
}

/* MENU */
#admin-menu {
	height: 40px;
	width: 90%;
	margin: 0 auto 20px;
	position: relative;
	z-index: 50;
}

#admin-menu ul {
	text-align: center;
}

#admin-menu a {
	text-decoration: none;
}

#admin-menu li.menu-item {
	display: inline-block;
	padding: 0 5px;
	position: relative;
	line-height: 40px;
}

#admin-menu li.menu-item a {
	font-size: 18px;
	font-weight: bold;
	padding: 12px 18px; /* plus d’espace cliquable */
}

#admin-menu li.menu-item a:hover, .admin-menu-hover {
	text-decoration: none;
	background: #1e1e1e;
}

#admin-menu li.menu-item a.current {
	background: #1e1e1e;
	font-weight: bold;
	box-shadow: 0 0 5px #2c2c2c;
}

#admin-menu ul.admin-submenu {
	background: #1e1e1e;
	/*border: 1px solid #2c2c2c;*/
	box-shadow: 0 0 5px #2c2c2c;
	width: 300px;
	position: absolute;
	z-index: 10;
	display: none;
	text-align: left;
	padding-left: 0px;
}

#admin-menu li.menu-item .admin-submenu li a {
	text-align: left;
	padding-left: 10px;
}

#admin-menu li.menu-item .admin-submenu li a:hover {
	color: #69dc6c;
	background: none;
}

.ctn-grid {
	margin: 40 auto;
	position: relative;
}

h2 {
	text-align: center
}

.success {
	color: #69dc6c;
	font-weight: bold;
}

.error {
	color: #cc0000;
	font-weight: bold;
}

.warn {
	color: orange;
	font-weight: bold;
}

/* css pour les menus*/
nav {
	position: fixed;
}

nav ul {
	padding: 10px;
	display: grid;
}

nav ul li a {
	color: #69dc6c;
}

/************ NOTIFICATIONS ****************/
.badge-carni-notification {
	vertical-align: text-top !important;
	font-size: 0.7em !important;
}

/**************     LES CONTRIBUTIONS   ********************/
.ctn-form-row-contrib {
	padding: 5px;
	text-align: center;
}

.ctn-form-row-contrib.odd {
	background: #1e1e1e;
}

.ctn-form-row-contrib.even {
	background: #222;
}

.ctn-form-label-contrib {
	width: 200px;
	float: left;
	height: 30px;
	line-height: 30px;
}

.ctn-form-field-contrib {
	width: 550px;
}

.ctn-form-field-contrib-type {
	width: 150px;
	height: 30px;
	margin: 5px;
}

.ctn-form-field-contrib-type-2 {
	width: 40%;
	height: 30px;
	margin: 5px;
}

.ctn-form-field-contrib-type-3 {
	width: 30%;
	height: 30px;
	margin: 5px;
}

.ctn-form-field-contrib select {
	width: 250px;
	height: 30px;
}

.ctn-form-field-contrib input[type="checkbox"], .ctn-form-field-contrib input[type="radio"]
	{
	width: auto;
	height: auto;
	vertical-align: sub;
}

.ctn-form-field-contrib input[type="file"] {
	width: 300px;
	height: 50px;
}

.ctn-form-field-contrib textarea {
	width: 250px;
	height: 40px;
	padding: 3px;
}

/****  SUGGESTIONS SUR texte nom de contribution cultivar  ***/
ul.jq-input-dropdown, ul.jq-input-dropdown li {
	margin: 0.75rem auto;
	padding: 0.75rem;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

ul.jq-input-dropdown {
	border: 1px solid #2c2c2c;
	list-style: none;
	display: none;
	z-index: 100;
	min-width: 400px;
}

ul.jq-input-dropdown li:hover {
	background-color: #222;
	color: #1e1e1e;
	cursor: pointer;
}

/****************   SPECIFIC ******/

/* FORM */
.ctn-form-row {
	padding: 5px;
	background: #69dc6c;
}

.ctn-form-row.odd {
	background: #1e1e1e;
}

.ctn-form-row.even {
	background: #222;
}

.ctn-form-label {
	float: left;
	height: 22px;
	line-height: 22px;
	color: #1e1e1e;
	font-family: "Trebuchet MS", Arial;
	font-size: 16px;
	font-weight: bold;
}

.ctn-form-field {
	float: right;
	color: #1e1e1e;
	font-family: "Trebuchet MS", Arial;
	font-size: 16px;
}

.ctn-form-field input, .ctn-form-field select {
	width: 250px;
	height: 22px;
}

.ctn-form-field input[type="checkbox"], .ctn-form-field input[type="radio"]
	{
	width: auto;
	height: auto;
	vertical-align: sub;
}

.ctn-form-field textarea {
	width: 250px;
	height: 40px;
	padding: 3px;
}

.form-submit-box {
	padding: 10px;
	background: #1e1e1e;
	border: 1px solid #2c2c2c;
}

.form-submit-box .button, .form-submit-box .button-2nd {
	margin-right: 10px;
}

.ctn-form-submit {
	text-align: center;
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px solid #2c2c2c;
}

.ctn-form-submit-validate-button {
	--bs-btn-color: #e0e0e0000;
	--bs-btn-bg: #198754 !important;
	--bs-btn-border-color: #198754;
	--bs-btn-hover-color: #e0e0e0000;
	--bs-btn-hover-bg: #198754;
	--bs-btn-hover-border-color: #198754;
	--bs-btn-focus-shadow-rgb: 60, 153, 110;
	--bs-btn-active-color: #e0e0e0000;
	--bs-btn-active-bg: #198754;
	--bs-btn-active-border-color: #198754;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #e0e0e0000;
	--bs-btn-disabled-bg: #198754;
	--bs-btn-disabled-border-color: #198754;
}

.ctn-form-submit-cancel-button {
	--bs-btn-color: #e0e0e0000;
	--bs-btn-bg: #198754 !important;
	--bs-btn-border-color: #198754;
	--bs-btn-hover-color: #e0e0e0000;
	--bs-btn-hover-bg: #198754;
	--bs-btn-hover-border-color: #198754;
	--bs-btn-focus-shadow-rgb: 60, 153, 110;
	--bs-btn-active-color: #e0e0e0000;
	--bs-btn-active-bg: #198754;
	--bs-btn-active-border-color: #198754;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #e0e0e0000;
	--bs-btn-disabled-bg: #198754;
	--bs-btn-disabled-border-color: #198754;
}

.input-note {
	margin: 0;
	padding: 0;
	font-size: 11px;
	font-style: italic;
	padding-left: 20px;
}

.form-label-icon {
	float: right;
	margin: 2px 5px 0 0;
	cursor: pointer;
	width: 16px;
	height: 16px;
}

/*****   Boutons pour types d'abstractTaxon *****/
.button-taxon {
	color: #4e9a06;
	border-color: #4e9a06;
	--bs-btn-color: #4e9a06;
	--bs-btn-bg: #198754 !important;
	--bs-btn-border-color: #4e9a06;
	--bs-btn-hover-color: #e0e0e0000;
	--bs-btn-hover-bg: #198754;
	--bs-btn-hover-border-color: #198754;
	--bs-btn-focus-shadow-rgb: 60, 153, 110;
	--bs-btn-active-color: #e0e0e0000;
	--bs-btn-active-bg: #198754;
	--bs-btn-active-border-color: #198754;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #e0e0e0000;
	--bs-btn-disabled-bg: #198754;
	--bs-btn-disabled-border-color: #198754;
	width: 100%;
	font-weight: bold !important;
}

.button-cultivar {
	color: #ef2929;
	border-color: #ef2929;
	--bs-btn-color: #ef2929;
	--bs-btn-bg: #198754 !important;
	--bs-btn-border-color: #ef2929;
	--bs-btn-hover-color: #e0e0e0000;
	--bs-btn-hover-bg: #198754;
	--bs-btn-hover-border-color: #198754;
	--bs-btn-focus-shadow-rgb: 60, 153, 110;
	--bs-btn-active-color: #e0e0e0000;
	--bs-btn-active-bg: #198754;
	--bs-btn-active-border-color: #198754;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #e0e0e0000;
	--bs-btn-disabled-bg: #198754;
	--bs-btn-disabled-border-color: #198754;
	width: 100%;
	font-weight: bold !important;
}

.button-hybride {
	color: #3465a4;
	border-color: #3465a4;
	--bs-btn-color: #3465a4;
	--bs-btn-bg: #198754 !important;
	--bs-btn-border-color: #3465a4;
	--bs-btn-hover-color: #e0e0e0000;
	--bs-btn-hover-bg: #198754;
	--bs-btn-hover-border-color: #198754;
	--bs-btn-focus-shadow-rgb: 60, 153, 110;
	--bs-btn-active-color: #e0e0e0000;
	--bs-btn-active-bg: #198754;
	--bs-btn-active-border-color: #198754;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #e0e0e0000;
	--bs-btn-disabled-bg: #198754;
	--bs-btn-disabled-border-color: #198754;
	width: 100%;
	font-weight: bold !important;
}

.header-contribution-name {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 25px;
	font-weight: bold;
}

.header-contribution-utilisateur {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 25px;
}

.header-contribution-key {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 20px;
	font-weight: bold;
}

.header-contribution-text {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 18px;
}

/*******   TABLEAUX   ******/
.tab-grid {
	width: 100%;
	border-spacing: 0;
	margin-bottom: 20px;
	font-size: 14px; /* texte plus grand */
}

.tab-grid th {
	background: #69dc6c !important;
	color: #1e1e1e !important;
	padding: 5px 2px 8px 2px;
	font-weight: bold !important;

	/*position: relative;*/
}

.tab-grid.header-white th {
	background: #1e1e1e;
	color: #424242;
}

.tab-grid th a {
	display: inline;
	width: 100%;
	color: #1e1e1e;
}

.tab-grid td {
  background: #1e1e1e;
  color: #e0e0e0;
  padding: 10px 12px;
  height: 24px;
  word-wrap: break-word;
  font-size: 14px;
}

.tab-grid tbody tr:hover td {
  background-color: #2a2a2a; /* ton sombre pour hover */
  cursor: pointer;
  transition: background 0.2s ease;
}

.tab-grid td:first-child {
	text-align: left;
	font-weight: 500;
}

.tab-grid td:last-child {
	text-align: right;
	font-weight: bold;
}

/****** Definitions  *****/
.card-definition-header {
	background-color: #69dc6c !important;
	color: white !important;
}

/****** Images contribution  *****/
.imageContrib {
	position: relative;
	top: 0;
	left: 0;
}

.imageContribDelete {
	position: relative;
	left: -50px;
	top: 52px;
	height: 30px !important;
	border: 1px solid #e0e0e0 !important;
	box-shadow: 0 0 0px 0px #2b2b2b !important;
	background-color: white;
}

/*** Current product ADMIN  **/
.header-currentproduct-name {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 25px;
	font-weight: bold;
}

.header-currentproduct-producer {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 20px;
	font-weight: bold;
}

.header-currentproduct-name a {
	color: inherit;
	text-decoration: none;
}

.header-currentproduct-variation {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 20px;
}

.header-currentproduct-taxon {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 22px;
}

.header-currentproduct-price {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 20px;
	text-align: center;
}

.header-currentproduct-blankrow {
	height: 15px;
}

.header-currentproduct-stock {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 20px;
	text-align: center;
}

.header-currentproduct-id {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 15px;
}

.header-currentproduct-text {
	color: #1e1e1e;
	background-color: #69dc6c;
	font-family: "Trebuchet MS", Arial;
	font-size: 18px;
}

/******* OPTIM  **************/

/* Boutons d’action modernisés */
.ctn-form-submit-validate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.4rem;
	font-size: 1rem;
	font-weight: bold;
	color: #1e1e1e !important;
	background: linear-gradient(135deg, #69dc6c, #468a98);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s
		ease;
	height: auto; /* supprime l’ancien height figé */
	line-height: normal; /* empêche le texte d’être écrasé */
}

/* Hover effect */
.ctn-form-submit-validate-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	background: linear-gradient(135deg, #25515e, #69dc6c);
}

/* Pour l’espacement entre plusieurs boutons */
.ctn-form-submit-validate-button+.ctn-form-submit-validate-button {
	margin-left: 0.75rem;
}

/*** abonnements ****/
.abonnement-container {
	width: 80%;
	margin: 2rem auto;
	text-align: center;
}

.abonnement-title {
	font-size: 2rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
}

.abonnement-subtitle {
	font-size: 1.2rem;
	color: #aaa;
	margin-bottom: 2rem;
}

.abonnement-card {
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.abonnement-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.15);
}

.abonnement-card-header {
	background: #69dc6c;
	color: white;
	padding: 1rem;
	border-radius: 12px 12px 0 0;
}

.abonnement-price {
	font-size: 1.3rem;
	margin: 0.5rem 0 0;
}

.feature-block {
	flex: 1;
	padding: 1rem;
	border-bottom: 1px solid #2c2c2c;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.feature-block h5 {
	font-weight: bold;
	margin-bottom: 0.5rem;
	color: #69dc6c;
}

.abonnement-feature-list {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: left;
}

.abonnement-feature-list li {
	margin: 0.3rem 0;
}

.abonnement-success {
	color: #69dc6c;
	margin-right: 5px;
}

.abonnement-error {
	color: red;
	margin-right: 5px;
}

.card-footer {
	background: transparent !important; /* enlève la bande blanche */
	border-top: none !important; /* supprime la ligne de séparation */
	padding: 0.8rem 1rem !important; /* réduit le padding (facultatif) */
}

.abonnement-card {
	position: relative; /* permet de positionner les éléments absolus */
}

.abonnement-badge-populaire {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 0.8rem;
	padding: 6px 10px;
	border-radius: 12px;
}

/** Page de creation de compte ***/
.register-container {
	max-width: 800px;
	margin: 3rem auto;
	background: #1e1e1e;
	padding: 2.5rem;
	border-radius: 1rem;
	box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.register-container-wide {
	width: 80%;
	max-width: 1400px;
	/* pour éviter que ça s’étale trop sur très grands écrans */
	margin: 3rem auto;
	background: #1e1e1e;
	padding: 2.5rem;
	border-radius: 1rem;
	box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.register-title {
	text-align: center;
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.register-subtitle {
	text-align: center;
	font-size: 1.1rem;
	color: #6c757d;
	margin-bottom: 2rem;
}

.register-message-error {
	color: red;
	text-align: center;
	font-weight: bold;
	margin-bottom: 1rem;
}

.register-card {
	background: #f1f9fc;
	padding: 1.5rem;
	border-radius: 0.75rem;
	margin-bottom: 2rem;
	text-align: center;
}

.register-card h3.register-subtitle {
	color: #1e1e1e; /* Blanc pour contraster */
}

.register-card h5 {
	font-weight: 600;
}

.register-form-label {
	font-weight: 600;
	margin-bottom: 0.3rem;
	display: block;
}

.register-form-input {
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	border: 1px solid #ced4da;
	font-size: 1rem;
	margin-bottom: 1rem;
	transition: border-color 0.2s ease-in-out;
}

.register-form-input:focus {
	border-color: #69dc6c;
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(49, 104, 121, 0.2);
}

.register-btn {
	padding: 0.75rem 1.5rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1.1rem;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease-in-out;
}

.register-btn-validate {
	background: #69dc6c;
	color: #1e1e1e;
}

.register-btn-validate:hover {
	background: #274f5d;
}

.register-btn-cancel {
	background: #1e1e1e;
	color: #aaa;
	margin-left: 1rem;
}

.register-btn-cancel:hover {
	background: #d6d6d6;
}

/* Style des champs readonly */
.readonly-field {
	background-color: #1e1e1e; /* gris clair Bootstrap-like */
	color: #6c757d; /* texte gris atténué */
	cursor: not-allowed; /* curseur interdit */
	font-style: italic;
	/* optionnel, pour montrer qu’on ne peut pas taper */
}

/* Grille responsive */
.contributions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

/* Carte contribution */
.contribution-card {
	background: #1e1e1e;
	border-radius: 1rem;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contribution-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Nom en haut */
.contribution-title {
	font-size: 1.2rem;
	font-weight: bold;
	color: #69dc6c;
	padding: 1rem;
	text-align: center;
	border-bottom: 1px solid #2c2c2c;
	min-height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Image */
.contribution-img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

/* Utilisateur */
.contribution-user {
	font-size: 0.95rem;
	color: #bbb;
	text-align: center;
	margin-top: 0.8rem;
	font-style: italic;
}

/* Date en bas */
.contribution-date {
	font-size: 0.9rem;
	color: #888;
	padding: 1rem;
	text-align: center;
	border-top: 1px solid #2a2a2a;
	margin-top: auto;
	background: #1a1a1a;
}

.contribution-genre-btn {
	padding: 0.5rem 1rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1rem;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease-in-out;
}

.contribution-active-genre {
	background-color: #3b7b3b;
	color: #1e1e1e;
	border-color: #2a5e2a;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.contribution-active-type {
	background-color: #2b72d6;
	color: #1e1e1e;
	border-color: #1e4c8f;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}



/***********************************************/
/*****  DETAILS CONTRIBUTION     *******************/
/***********************************************/
.contribution-details-container {
	background: #1e1e1e;
	padding: 2rem;
	border-radius: 1rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	margin: 2rem auto;
	max-width: 1000px;
}

.contribution-details-title {
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
	color: #2c3e50;
	margin-bottom: 2rem;
}

/* même logique que specimen-details-table */
.contribution-details-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

.contribution-details-table th, .contribution-details-table td {
	padding: 0.8rem;
	border: 1px solid #2c2c2c;
	text-align: center;
}

.contribution-details-table th {
	background-color: #f7f9fb;
	font-weight: bold;
	color: #34495e;
}

/* Informations utilisateur et type */
.contribution-details-meta {
	display: flex;
	justify-content: space-between;
	font-size: 1rem;
	color: #bbb;
	margin-bottom: 1rem;
}

.contribution-details-meta span {
	font-style: italic;
}

/* Grille des images */
.contribution-details-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1rem;
	margin: 2rem 0;
}

.contribution-details-gallery img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 0.75rem;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease;
}

.contribution-details-gallery img:hover {
	transform: scale(1.03);
}

/* Sections clés (Localisation, Clone, etc.) */
.contribution-details-section {
	margin: 1.5rem 0;
}

.contribution-details-key {
	font-weight: bold;
	font-size: 1.1rem;
	color: #69dc6c;
	text-align: center;
	margin-bottom: 0.5rem;
}

.contribution-details-value {
	text-align: center;
	font-size: 1rem;
	color: #aaa;
}

/* Actions (graph / signalement) */
.contribution-details-actions {
	display: flex;
	justify-content: space-between;
	margin: 1.5rem 0;
}

.contribution-details-actions img {
	height: 40px;
	transition: transform 0.2s ease;
	cursor: pointer;
}

.contribution-details-actions img:hover {
	transform: scale(1.1);
}

/***********************************************/
/*****        SPECIMENS      *******************/
/***********************************************/

/* Container spécifique aux spécimens */
.specimen-container {
	width: 90%;
	max-width: 1400px;
	margin: 2rem auto;
	background: #1e1e1e;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.specimen-container-wild {
	width: 110%;
	max-width: 2000px;
	margin: 2rem auto;
	background: #1e1e1e;
	padding: 2.5rem;
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.specimen-title {
	font-size: 1.4rem;
	font-weight: bold;
	color: #69dc6c;
	background: #f5f5f5;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	text-align: center;
}

/* Conteneur global (barre) */
.specimen-action-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	flex-wrap: wrap; /* ✅ évite le débordement sur mobile */
}

/* Groupe de boutons à droite */
.specimen-action-buttons {
	display: flex;
	gap: 0.5rem;
}

/* Boutons de la barre (héritent de .btn-action) */
.specimen-action-bar .btn-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #69dc6c, #468a98);
	color: #1e1e1e !important;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.45rem 1rem;
	border-radius: 6px;
	transition: all 0.2s ease;
	border: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hover animation */
.specimen-action-bar .btn-action:hover {
	background: linear-gradient(135deg, #25515e, #69dc6c);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	text-decoration: none;
}

/* Bouton retour spécifique */
.specimen-action-bar .btn-action.back {
	background: #1e1e1e;
	color: #69dc6c !important;
}

.specimen-action-bar .btn-action.back:hover {
	background: #d6d6d6;
	transform: none;
	box-shadow: none;
}

/* Responsive : les boutons passent en colonne sur mobile */
@media ( max-width : 700px) {
	.specimen-action-bar {
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
	}
	.specimen-action-buttons {
		justify-content: flex-end;
	}
	.specimen-action-bar .btn-action {
		width: 100%;
		text-align: center;
	}
}

/* Tableau large et lisible */
.table-specimens {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	text-align: center; /* centre par défaut */
}

.table-specimens th {
	background: #69dc6c;
	color: #1e1e1e;
	padding: 10px;
	white-space: nowrap;
	text-align: center; /* force le centrage */
}

.table-specimens td {
	padding: 8px 10px;
	vertical-align: middle;
	border-bottom: 1px solid #2c2c2c;
	text-align: center; /* centre toutes les valeurs */
}

.table-specimens tbody tr:hover {
	background: #f9f9f9;
}

.specimen-details-container {
	background: #1e1e1e;
	padding: 2rem;
	border-radius: 1rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	margin: 2rem auto;
	max-width: 1000px;
}

.specimen-details-title {
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
	color: #2c3e50;
	margin-bottom: 2rem;
}

.specimen-details-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

.specimen-details-table th, .specimen-details-table td {
	padding: 0.8rem;
	border: 1px solid #2c2c2c;
	text-align: center;
}

.specimen-details-table th {
	background-color: #f7f9fb;
	font-weight: bold;
	color: #34495e;
}

/* Galerie */
#specimen-details-gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

#specimen-details-gallery img {
	width: 200px;
	height: 200px;
	object-fit: cover;
	border-radius: 0.5rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease;
}

#specimen-details-gallery img:hover {
	transform: scale(1.05);
}

.specimen-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.specimen-navigation .btn-action {
  min-width: 120px;
  text-align: center;
}

/* ✅ Bouton fantôme pour garder la symétrie */
.btn-placeholder {
  display: inline-block;
  min-width: 120px;
  height: 38px; /* même hauteur qu’un bouton */
  visibility: hidden; /* invisible mais prend la place */
}

/****************************************/
/***** PRODUCT — DETAILS TABLE **********/
/****************************************/
.product-details-container {
	background: #1e1e1e;
	padding: 2rem;
	border-radius: 1rem;
	max-width: 1000px;
	margin: 2rem auto;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.product-details-title {
	font-size: 1.9rem;
	margin-bottom: 1rem;
	font-weight: 700;
	color: #2c3e50;
}

.product-details-title-producer {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	font-weight: 500;
	color: #2c3e50;
}

.product-details-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

.product-details-table th {
	background: #f5f7fa;
	padding: 10px;
	text-align: center;
	font-weight: bold;
	border: 1px solid #e4e4e4;
}

.product-details-table td {
	padding: 10px;
	text-align: center;
	border: 1px solid #2c2c2c;
}

/***********************************************/
/*****        ERREURS D'ASSO      *******************/
/***********************************************/

/* Tableau de signalement d'erreur d'association produit/plante */
.error-assoc-plante-table {
	margin-top: 1.5rem;
}

.error-assoc-plante-table th {
	text-align: center;
}

.error-assoc-suggestions-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 220px;
	overflow-y: auto;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #1e1e1e;
}

.error-assoc-suggestions-list li {
	padding: 6px 10px;
	cursor: pointer;
	border-bottom: 1px solid #2a2a2a;
}

.error-assoc-suggestions-list li:last-child {
	border-bottom: none;
}

.error-assoc-suggestions-list li:hover {
	background-color: #f0fdf4;
}

/****************************************/
/***** PRODUCERS — DETAILS TABLE **********/
/****************************************/
.producer-details-card {
	background: #1e1e1e;
	border-radius: 12px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
	padding: 1.5rem;
	margin-top: 1.5rem;
}

.producer-details-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.producer-details-name {
	font-size: 1.5rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.producer-details-buttons {
	display: flex;
	gap: 0.5rem;
}

.producer-details-info {
	margin-top: 1rem;
	line-height: 1.6;
}

.producer-details-info dt {
	font-weight: bold;
	color: #aaa;
}

.producer-details-info dd {
	margin: 0 0 0.8rem 0;
	color: #bbb;
}

.flag-icon {
	height: 0.8em;
	width: auto;
	border-radius: 3px;
}

/****************************************/
/***** MODERATION — PLANTE MANQUANTE *******/
/****************************************/
.moderate-plante-manquante-container {
	background: #1e1e1e;
	padding: 2rem;
	border-radius: 1rem;
	max-width: 1000px;
	margin: 2rem auto;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.moderate-plante-manquante-title {
	font-size: 1.9rem;
	margin-bottom: 1rem;
	font-weight: 700;
	color: #2c3e50;
	text-align: center;
}

.moderate-plante-manquante-subtitle {
	font-size: 1.2rem;
	text-align: center;
	color: #6c757d;
	margin-bottom: 2rem;
}

.moderate-plante-manquante-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

.moderate-plante-manquante-table th {
	background: #f5f7fa;
	padding: 10px;
	text-align: center;
	font-weight: bold;
	border: 1px solid #e4e4e4;
}

.moderate-plante-manquante-table td {
	padding: 10px;
	text-align: center;
	border: 1px solid #2c2c2c;
}

.moderate-plante-manquante-card {
	background: #1e1e1e;
	border-radius: 0.8rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	padding: 1.5rem;
	margin-bottom: 2rem;
}


.moderate-plante-manquante-card h3 {
	background: #69dc6c;
	color: #1e1e1e;
	padding: 0.8rem 1rem;
	border-radius: 0.5rem 0.5rem 0 0;
	margin: -1.5rem -1.5rem 1rem -1.5rem;
}

.moderate-plante-manquante-highlight {
	background: #f9fafb;
	border: 2px solid #e5e7eb;
	border-radius: 0.75rem;
	padding: 1rem;
	text-align: center;
	margin-top: 1.5rem;
}

.moderate-plante-manquante-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.moderate-plante-manquante-buttons .btn-validate {
	background: #69dc6c;
	color: #1e1e1e;
	padding: 0.8rem 1.5rem;
	border-radius: 50px;
	font-weight: bold;
	transition: all 0.2s ease;
}

.moderate-plante-manquante-buttons .btn-validate:hover {
	background: #274f5d;
}

.moderate-plante-manquante-buttons .btn-cancel {
	background: #1e1e1e;
	color: #aaa;
	padding: 0.8rem 1.5rem;
	border-radius: 50px;
}

.moderate-plante-manquante-buttons .btn-cancel:hover {
	background: #d6d6d6;
}

/* PROMO INDICATORS */
.promo-new {
	color: #0a8a0a;
	font-weight: 600;
}

.promo-end {
	color: #c70000;
	font-weight: 600;
}

/** Paiement abonnement **/
.offer-card-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin: 1.5rem 0;
}

.offer-card {
	flex: 1 1 240px;
	max-width: 280px;
	background: #f9f9f9;
	border: 2px solid transparent;
	border-radius: 12px;
	padding: 1rem;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
}

.offer-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.offer-card.selected {
	border-color: #198754;
	background-color: #e6f7ec;
	box-shadow: 0 0 8px rgba(25, 135, 84, 0.4);
}

.offer-title {
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 0.5rem;
	color: #e0e0e0;
}

.offer-price {
	font-size: 14px;
	color: #aaa;
}

.payment-options-container {
	display: flex;
	flex-wrap: nowrap; /* ✅ tout reste sur UNE SEULE ligne */
	justify-content: space-between;
	gap: 1rem;
	margin: 1.5rem 0;
}

.payment-method-card {
	flex: 1 1 0; /* ✅ chaque carte prend une largeur égale */
	text-align: center;
	padding: 1rem;
	background: #f9f9f9;
	border: 2px solid transparent;
	border-radius: 12px;
	transition: all 0.2s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0; /* empêche le débordement */
}

.payment-method-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.payment-method-card.selected {
	border-color: #0d6efd;
	background-color: #e7f1ff;
	box-shadow: 0 0 8px rgba(13, 110, 253, 0.4);
}

.payment-method-logo {
	max-height: 50px;
	margin-bottom: 10px;
	object-fit: contain;
}

.section-title {
	font-weight: 600;
	font-size: 1.1rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: #69dc6c;
	text-align: center;
}

.current-subscription-text {
	font-size: 1.2rem; /* ✅ plus grand */
	font-weight: 500;
	color: #69dc6c; /* ✅ cohérent avec ta charte */
	margin: 1rem 0;
}

.current-subscription-text strong {
	font-size: 1.3rem; /* ✅ met encore plus en valeur l’offre */
	font-weight: bold;
	color: #198754; /* vert succès */
}

style>.button-group {
	display: flex;
	justify-content: center;
	gap: 1rem; /* espace entre les boutons */
	margin-top: 1rem;
}

.btn-option {
	flex: 1;
	max-width: 150px;
	padding: 0.8rem 1rem;
	background-color: #f5f5f5;
	border: 1px solid #aaa;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
	font-size: 1rem;
	font-weight: 500;
	vertical-align: middle;
	line-height: 1.2rem;
	/* permet au texte de rester centré verticalement */
}

.btn-option:hover {
	background-color: #e1e1e1;
}

.register-btn.disabled {
	background-color: #2c2c2c !important;
	color: #aaa !important;
	cursor: not-allowed !important;
	opacity: 0.6;
	pointer-events: none; /* empêche le hover ou click */
}

/* Ligne de formulaire à 2 colonnes */
.register-form-row-2col {
	display: flex;
	gap: 20px; /* espace entre les deux colonnes */
	margin-bottom: 1rem;
}

.register-form-row-2col .col {
	flex: 1; /* chaque champ prend 50% */
	display: flex;
	flex-direction: column; /* label au-dessus de l’input */
}

.register-form-row-2col label {
	margin-bottom: 0.4rem; /* espace entre label et champ */
}

/* Encadré de mise en avant */
.highlight-box {
	background: #f9fafb;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	margin: 20px 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.highlight-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #111827;
}

/* Toggle switch */
.switch {
	position: relative;
	display: inline-block;
	width: 52px;
	height: 28px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #2c2c2c;
	transition: 0.4s;
	border-radius: 28px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 22px;
	width: 22px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}

input:checked+.slider {
	background-color: #2563eb;
}

input:checked+.slider:before {
	transform: translateX(24px);
}

.toggle-label {
	margin-left: 12px;
	font-weight: 500;
}

.pagination {
	display: flex;
	justify-content: center;
	margin: 1.5rem 0;
	gap: 0.4rem;
}

.pagination a, .pagination span {
	display: inline-block;
	padding: 0.5rem 0.9rem;
	border-radius: 8px;
	background: #2a2a2a;
	color: #aaa;
	font-weight: 500;
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.2s;
}

.pagination a:hover {
	background: #69dc6c;
	color: #1e1e1e;
}

.pagination .active {
	background: #69dc6c;
	color: #1e1e1e;
	font-weight: bold;
}

.pagination .ellipsis {
	background: none;
	color: #888;
	cursor: default;
}

/* Boutons toggle Valider/Rejeter */
.decision-options {
	display: flex;
	justify-content: center;
	gap: 1.2rem;
	margin: 1rem 0;
}

.decision-options input[type="radio"] {
	display: none;
}

.decision-btn {
	cursor: pointer;
	padding: 0.8rem 1.5rem;
	border-radius: 0.7rem;
	font-weight: bold;
	border: 2px solid transparent;
	transition: all 0.2s ease;
}

.decision-btn.approve {
	background: #e6f9f0;
	color: #28a745;
	border-color: #28a745;
}

.decision-btn.reject {
	background: #fcebea;
	color: #dc3545;
	border-color: #dc3545;
}

.decision-options input[type="radio"]:checked+.decision-btn {
	background: currentColor;
	color: white;
	transform: scale(1.05);
}

.decision-options input[type="radio"]:checked+.decision-btn.approve {
	background: #28a745; /* vert solide */
	color: #1e1e1e; /* texte blanc */
	transform: scale(1.05);
}

.decision-options input[type="radio"]:checked+.decision-btn.reject {
	background: #dc3545; /* rouge solide */
	color: #1e1e1e; /* texte blanc */
	transform: scale(1.05);
}

.decision-toggle {
	display: flex;
	justify-content: center;
	background: #2a2a2a;
	border-radius: 50px;
	padding: 0.3rem;
	gap: 0.3rem;
	max-width: 320px;
	margin: 1rem auto;
	flex-wrap: nowrap;
}

.decision-toggle input[type="radio"] {
	display: none;
}

.toggle-option {
	flex: 1;
	text-align: center;
	padding: 0.8rem 1.2rem;
	border-radius: 50px;
	cursor: pointer;
	font-weight: bold;
	font-size: 1rem;
	transition: all 0.25s ease;
}

/* État normal */
.toggle-option.approve {
	color: #28a745;
	background: #e6f9f0;
}

.toggle-option.reject {
	color: #dc3545;
	background: #fcebea;
}

/* État actif */
.decision-toggle input[type="radio"]:checked+.toggle-option.approve {
	background: #28a745;
	color: #1e1e1e;
	transform: scale(1.05);
}

.decision-toggle input[type="radio"]:checked+.toggle-option.reject {
	background: #dc3545;
	color: #1e1e1e;
	transform: scale(1.05);
}

/* ✅ Responsive :*



/* Zone commentaire */
.highlight-box {
	margin-top: 1rem;
	padding: 1rem;
	border: 2px dashed #2c2c2c;
	border-radius: 0.8rem;
	background: #1a1a1a;
}

.highlight-title {
	font-weight: bold;
	margin-bottom: 0.5rem;
	color: #aaa;
}

.highlight-box textarea {
	width: 100%;
	max-width: 600px;
	min-height: 100px;
	border-radius: 0.6rem;
	border: 1px solid #2c2c2c;
	padding: 0.6rem;
	font-size: 1rem;
}

.stats-container {
	max-width: 1100px;
	margin: 2rem auto;
	padding: 2rem;
	background: #1e1e1e;
	border-radius: 1rem;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.stats-title {
	text-align: center;
	font-size: 2rem;
	font-weight: bold;
	color: #69dc6c;
	margin-bottom: 0.5rem;
}

.stats-subtitle {
	text-align: center;
	font-size: 1.1rem;
	color: #aaa;
	margin-bottom: 2rem;
}

/* Cartes résumé */
.stats-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.stat-card {
	border-radius: 0.8rem;
	padding: 1.5rem;
	text-align: center;
	font-weight: bold;
	color: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease;
}

.stat-card:hover {
	transform: translateY(-5px);
}

.stat-card h3 {
	font-size: 1rem;
	margin-bottom: 0.8rem;
}

.stat-value {
	font-size: 2rem;
	font-weight: bold;
}

.stat-taxons {
	background: linear-gradient(135deg, #69dc6c, #69dc6c);
}

.stat-user {
	background: linear-gradient(135deg, #69dc6c, #3bbe68);
}

.stat-culture-partagees {
	background: linear-gradient(135deg, #69dc6c, #3bbe68);
}

.stat-cover {
	background: linear-gradient(135deg, #f5a924, #e68900);
}

.stat-money {
	background: linear-gradient(135deg, #e24d42, #cc0000);
}

/* === Mise en page côte à côte pour les stats === */
.stats-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 2rem;
}

.stats-row .card {
	flex: 1 1 48%;
}

/* Responsive mobile */
@media ( max-width : 900px) {
	.stats-row .card {
		flex: 1 1 100%;
	}
}

/* Cartes classiques */
.card {
	background: #1e1e1e;
	border-radius: 0.6rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	margin-bottom: 2rem;
	overflow: hidden;
}

/* ✅ Titres en blanc sur fond bleu */
.card-title {
	background: #69dc6c;
	color: #1e1e1e;
	margin: 0;
	font-size: 1.2rem;
	font-weight: bold;
	padding: 0.8rem 1rem;
	border-radius: 0.6rem 0.6rem 0 0;
}

.card-content {
	padding: 1rem 1.5rem;
}

/* Tableau */
.modern-table {
	width: 100%;
	border-collapse: collapse;
}

.modern-table th, .modern-table td {
	padding: 0.9rem;
	text-align: center;
	border-bottom: 1px solid #2c2c2c;
}

.modern-table th {
	background: #69dc6c;
	color: #1e1e1e;
	font-weight: bold;
}

.modern-table tbody tr:hover {
	background: #f9f9f9;
}

/**************  SPECIMEN UPLOAD IMAGES  **************/

/* Galerie des images */
#specimen-gallery {
	margin-top: 15px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Conteneur d’une miniature */
.specimen-img-container {
	position: relative;
	display: inline-block;
}

/* Miniature image */
.specimen-img-container img {
	max-width: 120px;
	max-height: 120px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	object-fit: cover;
}

/* Bouton de suppression (croix rouge) */
.specimen-img-container .specimen-remove-btn {
	position: absolute;
	top: 2px;
	right: 2px;
	background: #e24d42; /* rouge cohérent avec ta palette */
	color: #1e1e1e;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	width: 20px;
	height: 20px;
	line-height: 18px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: background 0.2s ease;
}

.specimen-img-container .specimen-remove-btn:hover {
	background: #cc0000; /* ancien rouge */
}

/* Section upload */
.specimen-photo-section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1rem;
}

/* Zone drag & drop */
.specimen-upload-box {
	border: 2px dashed #69dc6c;
	border-radius: 10px;
	padding: 2rem;
	text-align: center;
	cursor: pointer;
	background: #f9fafb;
	transition: background 0.3s, border-color 0.3s;
}

.specimen-upload-box:hover {
	background: #f0f6f8;
	border-color: #69dc6c;
}

.specimen-upload-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	font-weight: 600;
	color: #69dc6c;
}

.specimen-upload-icon {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

/* Champ URL + bouton groupés */
.specimen-url-box {
	display: flex;
	border: 1px solid #ced4da;
	border-radius: 8px;
	overflow: hidden;
}

.specimen-url-input {
	flex: 1;
	padding: 0.75rem 1rem;
	border: none;
	font-size: 1rem;
}

.specimen-url-input:focus {
	outline: none;
}

.specimen-url-btn {
	background: #69dc6c;
	color: #1e1e1e;
	border: none;
	padding: 0 1.5rem;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.3s;
}

.specimen-url-btn:hover {
	background: #25515e;
}

/* ✅ Header de carte produit */
.product-card-header {
	background: linear-gradient(135deg, #69dc6c, #468a98);
	color: #1e1e1e;
	font-size: 1.1rem;
	font-weight: bold;
	padding: 0.8rem 1rem;
	border-radius: 0.6rem 0.6rem 0 0;
	text-align: center;
}

.product-card-header a {
	color: #1e1e1e !important;
	text-decoration: none;
}

.product-card-header a:hover {
	text-decoration: underline;
}

.product-card-content {
	text-align: center; /* ✅ Centre tout le texte */
	display: flex; /* ✅ Flex pour aligner verticalement */
	flex-direction: column; /* ✅ Garde la logique verticale */
	align-items: center; /* ✅ Centre horizontalement */
	justify-content: center; /* ✅ Centre verticalement (si hauteur fixe) */
}

.product-card-footer {
	background: transparent !important;
	border-top: none !important;
	padding: 0.8rem 1rem !important;
	text-align: center; /* ✅ Centre le bouton */
}

/* Badges stylés pour types */
.badge-type {
	display: inline-block;
	padding: 0.35rem 0.9rem;
	border-radius: 30px;
	font-weight: 600;
	font-size: 0.95rem;
	text-align: center;
	transition: all 0.2s ease;
	cursor: default;
}

.badge-type.taxon {
	background: #e6f9f0;
	color: #28a745;
	border: 1px solid #28a745;
}

.badge-type.cultivar {
	background: #fcebea;
	color: #dc3545;
	border: 1px solid #dc3545;
}

.badge-type.hybride {
	background: #e7f3ff;
	color: #007bff;
	border: 1px solid #007bff;
}

/* Hover effet subtil */
.badge-type:hover {
	transform: scale(1.05);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Bouton d’action moderne */
.btn-action {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.2s ease;
	text-align: center;
}

/* ✅ Bouton désactivé (lien grisé non cliquable) */
.btn-action.btn-disabled {
	color: #888 !important;
	background-color: #e0e0e0 !important;
	border: 1px solid #2c2c2c !important;
	cursor: not-allowed;
	opacity: 0.7;
	text-decoration: none;
	pointer-events: auto;  /* 👈 active le survol */
}

.btn-action.btn-disabled:hover {
	pointer-events: auto;
}


.btn-action.delete {
	background: linear-gradient(135deg, #e24d42, #cc0000);
	color: #1e1e1e !important;
	border: none;
}

.btn-action.delete:hover {
	background: linear-gradient(135deg, #cc0000, #a80000);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Bouton désactivé */
.btn-action.delete.disabled {
	background: #2c2c2c !important;
	color: #aaa !important;
	cursor: not-allowed !important;
	opacity: 0.7;
	box-shadow: none;
	transform: none;
	pointer-events: auto; /* ✅ permet d'afficher le tooltip */
}

.suggestion-list {
	list-style: none;
	padding: 0;
	margin: 0.5rem auto 0;
	max-width: 600px;
	border: 1px solid #2c2c2c;
	border-radius: 6px;
	background: #1e1e1e;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	max-height: 200px;
	overflow-y: auto;
	text-align: left;
}

.suggestion-list li {
	padding: 0.6rem 1rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.suggestion-list li:hover {
	background: #e6f4f1;
}

/* Bouton retour petit format */
.btn-action.back.small {
	background: #1e1e1e;
	color: #69dc6c !important;
	padding: 0.4rem 1rem;
	font-size: 0.9rem;
	border-radius: 6px;
	font-weight: 600;
	transition: background 0.2s ease;
}

.btn-action.back.small:hover {
	background: #d6d6d6;
	text-decoration: none;
}

.dim-input {
	width: 100px !important; /* largeur fixe (~5 caractères) */
	text-align: center; /* texte centré */
	padding: 0.5rem; /* un peu de confort */
	margin-bottom: 0; /* évite le saut de ligne forcé */
}

/* Liste des mails */
.mail-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 1rem;
}

.mail-card {
	background: #1e1e1e;
	border-radius: 0.8rem;
	padding: 1.5rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	text-align: left;
	transition: transform 0.2s ease;
}

.mail-card:hover {
	transform: translateY(-3px);
}

.mail-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.9rem;
	color: #aaa;
	margin-bottom: 0.5rem;
}

.mail-from {
	font-weight: 500;
	color: #aaa;
}

.mail-date {
	margin-left: auto; /* pousse la date à droite */
	color: #888; /* gris clair (tu peux ajuster pour dark theme) */
	font-size: 0.85rem;
}
/* Badge date */
.mail-date.badge {
	background: #6c757d; /* gris neutre */
	color: #1e1e1e;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.badge {
	background: #007bff;
	color: white;
	padding: 0.2rem 0.6rem;
	border-radius: 0.5rem;
	font-size: 0.8rem;
}

/* Badge expéditeur : même style mais autre couleur */
.mail-from.badge {
	background: #69dc6c; /* gris sobre, couleur de header */
}

.mail-title {
	font-size: 1.2rem;
	font-weight: bold;
	margin: 0.5rem 0 0.2rem;
}

/* FrenchHeadline affiché seulement si différent */
.white-subtitle {
	font-size: 0.85rem;
	color: #1e1e1e;
	background: #aaa;
	display: inline-block;
	padding: 0.2rem 0.4rem;
	border-radius: 0.3rem;
	margin-bottom: 1rem;
}

.mail-desc, .mail-desc-fr {
	font-size: 0.95rem;
	margin: 0.2rem 0;
	color: #bbb;
}

.mail-promo {
	margin-top: 0.8rem;
	font-weight: bold;
	color: #28a745;
}

.mail-actions {
	margin-top: 1rem;
}

.mail-filter {
	margin: 1rem 0;
	color: #aaa; /* texte foncé lisible sur fond clair */
}

.mail-filter label {
	margin-right: 0.5rem;
}

.mail-filter select {
	background: #1e1e1e; /* fond blanc */
	color: #222; /* texte sombre */
	border: 1px solid #2c2c2c; /* bordure claire */
	padding: 0.4rem 0.6rem;
	border-radius: 0.4rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* léger relief */
}

.wrap {
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px;
}

.header {
	background: var(--bg-card); /* blanc clair */
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 16px 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.95rem;
}

.meta strong {
	color: #111;
}

.subject {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 10px;
}

.iframe-wrap {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: #1e1e1e;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.email-frame {
	width: 100%;
	border: 0;
	background: white;
	height: auto;
	display: block;
}

/* Pagination hint */
.hint {
	font-size: 12px;
	color: var(--text-muted);
	margin-top: 10px;
	text-align: right;
}

@media ( max-width : 800px) {
	.meta {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ✅ Correctif prioritaire pour les switches */
.switch {
	position: relative;
	display: inline-block;
	width: 52px;
	height: 28px;
}

.switch input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
	z-index: 2; /* met le vrai input par-dessus */
}

.switch .slider {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #2c2c2c;
	transition: 0.4s;
	border-radius: 28px;
}

.switch .slider:before {
	position: absolute;
	content: "";
	height: 22px;
	width: 22px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}

/* ✅ Quand coché */
.switch input:checked+.slider {
	background-color: #2563eb !important;
}

.switch input:checked+.slider:before {
	transform: translateX(24px) !important;
}

/* PRODUCTEURS coté ananymous Style tableau intégré au thème fleyetrap */
.producers-table-container {
	max-width: 1000px;
	margin: 3rem auto;
	background: #1e1e1e;
	padding: 2.5rem;
	border-radius: 1rem;
	box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.producers-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.producers-table th {
	text-align: left;
	padding: 0.75rem;
	background-color: var(--primary, #2d3e50);
	color: white;
	border-bottom: 2px solid var(--primary-dark, #1c2734);
}

.producers-table td {
	padding: 0.6rem 0.75rem;
	border-bottom: 1px solid #2c2c2c;
}

.producers-table tr:hover {
	background-color: #222;
}

/* === Boutons producteur (détails producteur) === */
.visit-btn, .products-btn {
	display: inline-block;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	color: #1e1e1e !important;
	transition: background 0.3s ease, transform 0.1s ease;
}

.visit-btn {
	background: #2563eb; /* bleu */
}

.visit-btn:hover {
	background: #1e4ecb;
	transform: translateY(-1px);
}

.products-btn {
	background: #10b981; /* vert */
}

.products-btn:hover {
	background: #059669;
	transform: translateY(-1px);
}

/* --- Styles de la bulle --- */
#help-bubble {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999;
	font-family: sans-serif;
}

#help-icon {
	background: #69dc6c;
	color: white;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	transition: background 0.3s;
}

#help-icon:hover {
	background: #274f5d;;
}

#help-content {
	display: none;
	position: absolute;
	bottom: 60px;
	right: 0;
	background: white;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	padding: 15px;
	width: 260px;
	font-size: 14px;
}

#help-content h4 {
	margin-top: 0;
}

/* Elements Genriques */
/* Barres d'action pour les details de objets */

/* Conteneur global (barre) */
.object-details-action-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	flex-wrap: wrap; /* ✅ évite le débordement sur mobile */
}

/* Groupe de boutons à droite */
.object-details-action-buttons {
	display: flex;
	gap: 0.5rem;
}

/* Boutons de la barre (héritent de .btn-action) */
.object-details-action-bar .btn-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #69dc6c, #468a98);
	color: #1e1e1e !important;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.45rem 1rem;
	border-radius: 6px;
	transition: all 0.2s ease;
	border: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hover animation */
.object-details-action-bar .btn-action:hover {
	background: linear-gradient(135deg, #25515e, #69dc6c);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	text-decoration: none;
}

/* Bouton retour spécifique */
.object-details-action-bar .btn-action.back {
	background: #1e1e1e;
	color: #69dc6c !important;
}

.object-details-action-bar .btn-action.back:hover {
	background: #d6d6d6;
	transform: none;
	box-shadow: none;
}

/* Responsive : les boutons passent en colonne sur mobile */
@media ( max-width : 700px) {
	.object-details-action-bar {
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
	}
	.object-details-action-buttons {
		justify-content: flex-end;
	}
	.object-details-action-bar .btn-action {
		width: 100%;
		text-align: center;
	}
}

/* BOITE D'INSTRUCTIONS */
.instructions-box {
	background-color: #ecfdf5;
	border: 1px solid #10b981;
	border-radius: 8px;
	padding: 1rem 1.2rem;
	margin-bottom: 1.5rem;
	color: #065f46;
	font-size: 1rem;
	line-height: 1.5;
}

.instructions-box h3 {
	margin-top: 0;
	color: white;
	text-align: center;
	margin-bottom: 0.5rem;
}


/* ✅ Bloc repliable */
.instructions-content {
	display: none;
	margin-top: 0.75rem;
	padding: 0.75rem 1rem;
	border-left: 4px solid #10b981;
	background: #f9fafb;
	border-radius: 6px;
	animation: fadeIn 0.3s ease;
}

.toggle-btn {
	background: #10b981;
	color: white;
	border: none;
	padding: 0.4rem 0.8rem;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.9rem;
	transition: background 0.2s;
}

.toggle-btn:hover {
	background: #059669;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-5px); }
	to { opacity: 1; transform: translateY(0); }
}

/* PROGRESS BAR */

    /* Animation d’attente */
    #progressOverlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(255, 255, 255, 0.95);
      z-index: 9999;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    .spinner {
      border: 8px solid #e5e7eb;
      border-top: 8px solid #2563eb;
      border-radius: 50%;
      width: 80px;
      height: 80px;
      animation: spin 1s linear infinite;
      margin-bottom: 20px;
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    #progressText {
      font-size: 1.2rem;
      font-weight: bold;
      margin-bottom: 20px;
    }

    #progressBarContainer {
      width: 60%;
      height: 15px;
      background: #e5e7eb;
      border-radius: 8px;
      margin: 0 auto;
    }

    #progressBar {
      height: 100%;
      width: 0%;
      background: #2563eb;
      border-radius: 8px;
      transition: width 0.3s ease;
    }
    

 .form-group { margin-bottom: 1.2rem; }
  .form-label { font-weight: bold; margin-bottom: 0.5rem; display: block; color: #aaa; }
  .form-input, .form-select, .form-textarea {
    width: 100%; padding: 0.8rem; border: 1px solid #2c2c2c; border-radius: 0.6rem;
    font-size: 1rem; transition: border-color 0.2s;
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #28a745; outline: none;
  }
  .form-actions {
    display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem;
  }
  
  /* Liste des producterus a selectionner dna sles resultats de recherche */
  
/* === Filtres vendeurs === */
.producer-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 10px;
}

#toggleProducers {
  background: linear-gradient(135deg, #69dc6c, #468a98);
  color: #1e1e1e;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

#toggleProducers:hover {
  background: linear-gradient(135deg, #25515e, #69dc6c);
  transform: translateY(-2px);
}

.producer-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  background: #1e1e1e;
  border: 1px solid #2c2c2c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 10px;
  display: none;
  max-height: 250px;
  overflow-y: auto;
  min-width: 200px;
}

.producer-list label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: #e0e0e0; /* ✅ texte noir */
}

.producer-list input[type="checkbox"] {
  transform: scale(1.1);
  cursor: pointer;
}

.multi-select {
  padding: 5px;
  border-radius: 6px;
  border: 1px solid #2c2c2c;
  min-width: 150px;
  background: white;
}

.filter-toggle-group {
  display: inline-flex;
  border: 1px solid #2c2c2c;
  border-radius: 8px;
  overflow: hidden;
}

.filter-toggle-group input[type="checkbox"] {
  display: none;
}

.filter-toggle-group label {
  color: #222; /* texte visible */
  background: #f4f4f4;
}

.filter-toggle-group label:hover {
  background: #e0e0e0;
}

.filter-toggle-group input[type="checkbox"]:checked + label {
  background: #2e6f84;
  color: #1e1e1e;
}

/* Carte des producteurs */

#map {
  height: 600px;
  width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  background: #1e1e1e;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

/* POPUP STYLING */
.map-popup-content { 
  text-align: left; 
  color: #e0e0e0;
}

.map-popup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  margin-bottom: 4px;
  color: #69dc6c;
}

.map-popup-header img { 
  height: 1em; 
  width: auto; 
}

/* TABLE CONTAINER */
.map-producers-table-container {
  margin-top: 2rem;
  background: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
}

/* TABLE */
.map-producers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: #e0e0e0;
}

.map-producers-table th {
  text-align: left;
  padding: 0.75rem;
  background-color: #69dc6c;
  color: #1e1e1e;
  border-bottom: 2px solid #2c2c2c;
}

.map-producers-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #2c2c2c;
  vertical-align: middle;
}

.map-producers-table tr:hover {
  background-color: #2a2a2a;
}

/* LINKS */
.map-link-producer {
  color: #69dc6c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.map-link-producer:hover {
  text-decoration: underline;
  color: #8ffb8f;
}

/* Arbre des taxons */

.tree-taxons-dark .graph-container {
  display: flex;
  justify-content: center;
}

.tree-taxons-dark #container svg {
  background: #1a1a1a; /* fond sombre uniforme */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  padding: 15px;
}

/* --- Liens et branches --- */
.tree-taxons-dark line,
.tree-taxons-dark path.link {
  stroke: #3a3a3a; /* gris neutre pour éviter les halos */
  stroke-width: 1.4px;
}

/* --- Nœuds --- */
.tree-taxons-dark circle {
  fill: #2a2a2a; /* fond du cercle très sombre */
  stroke: #69dc6c; /* contour vert clair */
  stroke-width: 2px;
}

/* --- Texte lisible --- */
.tree-taxons-dark text {
  fill: #f2f2f2; /* texte clair */
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  transition: all 0.15s ease-in-out;
}

/* --- Survol interactif --- */
.tree-taxons-dark text[cursor="pointer"]:hover {
  fill: #69dc6c;
  font-weight: bold;
  transform: scale(1.08);
}

.tree-taxons-dark a text:hover {
  fill: #8ffb8f;
  opacity: 1;
  transform: scale(1.08);
  transition: all 0.15s ease-in-out;
}

/* --- Titres --- */
.tree-taxons-dark .register-title {
  text-align: center;
  font-size: 1.8rem;
  color: #69dc6c;
  margin-bottom: 0.5rem;
}

.tree-taxons-dark .register-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #bbb;
}

/* --- Champ de recherche --- */
.tree-taxons-dark #searchTaxon {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #444;
  width: 250px;
  text-align: center;
  background: #1e1e1e;
  color: #f2f2f2;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tree-taxons-dark #searchTaxon:focus {
  border-color: #69dc6c;
  box-shadow: 0 0 6px rgba(105, 220, 108, 0.3);
  outline: none;
}

/* --- Bouton toggle --- */
.tree-taxons-dark #toggleUnofficialBtn {
  background: linear-gradient(135deg, #316879, #468a98);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.tree-taxons-dark #toggleUnofficialBtn:hover {
  background: linear-gradient(135deg, #25515e, #316879);
  transform: translateY(-2px);
}
