/* Boîte à idées (js/idees.js) */
body.idb-noscroll {
	overflow: hidden;
}
.idb-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.6);
}
.idb-overlay[hidden] {
	display: none;
}
.idb-dialog {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 24px;
	background: #fff;
	color: #212121;
	border-top: 5px solid #7aa93c;
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	text-align: left;
}
.idb-dialog h2 {
	margin: 0 0 8px;
	font-family: 'Raleway', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #212121;
}
.idb-dialog h2 img {
	vertical-align: -5px;
}
.idb-intro {
	margin: 0 0 16px;
	color: #484848;
}
.idb-close {
	position: absolute;
	top: 8px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	color: #888;
	cursor: pointer;
}
.idb-close:hover {
	color: #212121;
}
.idb-dialog label {
	display: block;
	margin: 0 0 12px;
	font-weight: 600;
}
.idb-dialog input,
.idb-dialog textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font: inherit;
	font-weight: 400;
	color: #212121;
	background: #fff;
}
.idb-dialog textarea {
	resize: vertical;
}
.idb-dialog input:focus,
.idb-dialog textarea:focus {
	outline: none;
	border-color: #7aa93c;
	box-shadow: 0 0 0 2px rgba(122, 169, 60, 0.25);
}
.idb-dialog input[name="captcha"] {
	width: 90px;
}
.idb-dialog small,
.idb-opt {
	font-weight: 400;
	color: #777;
}
.idb-hp {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.idb-privacy {
	margin: 0 0 12px;
	font-size: 12px;
	color: #777;
}
.idb-msg:empty {
	display: none;
}
.idb-msg {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 4px;
}
.idb-ok {
	background: #eef6e4;
	color: #4a6e1f;
}
.idb-err {
	background: #fdecea;
	color: #a12622;
}
.idb-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}
.idb-actions button {
	padding: 8px 18px;
	border-radius: 4px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.idb-cancel {
	border: 1px solid #ccc;
	background: #fff;
	color: #484848;
}
.idb-send {
	border: 1px solid #6f9a37;
	background: #7aa93c;
	color: #fff;
}
.idb-send:hover {
	background: #6f9a37;
}
.idb-send:disabled {
	opacity: 0.6;
	cursor: wait;
}
