/**
 * FDF Bridge — mode sombre : suit le thème (clair / sombre / auto).
 * La classe html.fdf-bridge--dark est posée par fdf-bridge-theme-dark-sync.js (wp_head).
 * Auto : data-theme (ou data-color-mode) auto|system|automatic + prefers-color-scheme.
 */

html.fdf-bridge--dark .fdf-carte--root {
	background: #12151c;
	color-scheme: dark;
}

html.fdf-bridge--dark .fdf-carte-toolbar__search,
html.fdf-bridge--dark .fdf-carte-toolbar__btn,
html.fdf-bridge--dark .fdf-signalement__basemap-btn,
html.fdf-bridge--dark .fdf-tracking__basemap-btn,
html.fdf-bridge--dark .fdf-risque-carte__basemap-btn {
	border-color: #3d4a5c;
	background: #1e2430;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-carte-toolbar__btn:hover,
html.fdf-bridge--dark .fdf-signalement__basemap-btn:hover,
html.fdf-bridge--dark .fdf-tracking__basemap-btn:hover,
html.fdf-bridge--dark .fdf-risque-carte__basemap-btn:hover {
	background: #252d3d;
}

html.fdf-bridge--dark .fdf-map-basemap-modal {
	background: #1a1f2a;
	box-shadow: 0 -4px 28px rgba(0, 0, 0, 0.45);
}

html.fdf-bridge--dark .fdf-map-basemap-modal__head {
	background: #1a1f2a;
}

html.fdf-bridge--dark .fdf-map-basemap-modal__title {
	color: #e8ecf1;
}

html.fdf-bridge--dark .fdf-map-basemap-modal__close {
	color: #b0bcc9;
}

html.fdf-bridge--dark .fdf-map-basemap-modal__close:hover {
	background: #2a3344;
	color: #e8ecf1;
}

html.fdf-bridge--dark .fdf-map-basemap-option__thumb {
	border-color: #3d4a5c;
	background-color: #252d3d;
}

html.fdf-bridge--dark .fdf-map-basemap-option__label {
	color: #c5ced9;
}

html.fdf-bridge--dark .maplibregl-ctrl-group.fdf-map-basemap-ctrl .fdf-map-basemap-ctrl__btn {
	color: #e4e8ed;
	background: #1e2430;
}

html.fdf-bridge--dark .maplibregl-ctrl-group.fdf-map-basemap-ctrl .fdf-map-basemap-ctrl__btn:hover {
	background: #2d3748;
}

html.fdf-bridge--dark .fdf-popup--maquette {
	color: #dce2ea;
}

html.fdf-bridge--dark .fdf-carte--root .maplibregl-popup-content {
	background: #1e2430;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-popup-title,
html.fdf-bridge--dark .fdf-popup-title .fdf-popup-title-link {
	color: #ff6b6b;
}

html.fdf-bridge--dark .fdf-popup-title .fdf-popup-title-link:hover {
	color: #ff8787;
}

html.fdf-bridge--dark .fdf-popup-meta {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-popup-description-box {
	background: #252d3d;
	border-color: #3d4a5c;
}

html.fdf-bridge--dark .fdf-popup-description-box .fdf-popup-description-text {
	color: #dce2ea !important;
}

html.fdf-bridge--dark .fdf-mc-direct__bar {
	border-bottom-color: rgba(255, 255, 255, 0.12);
}

html.fdf-bridge--dark .fdf-mc-direct__title {
	color: #f0f4f8;
}

html.fdf-bridge--dark .fdf-mc-direct__meta {
	color: #7eb8ea;
}

html.fdf-bridge--dark .fdf-mc-direct__filter-btn {
	border-color: #3d4a5c;
	background: #1e2430;
	color: #dce2ea;
}

html.fdf-bridge--dark .fdf-mc-direct__filter-btn:hover {
	border-color: #5a9fd4;
	color: #9dc8f0;
	background: rgba(90, 159, 212, 0.12);
}

html.fdf-bridge--dark .fdf-mc-direct__filter-btn.active {
	border-color: #5a9fd4;
	background: #2563b8;
	color: #fff;
}

html.fdf-bridge--dark .fdf-mc-direct__filter-badge {
	background: rgba(90, 159, 212, 0.22);
	color: #9dc8f0;
}

html.fdf-bridge--dark .fdf-mc-direct__filter-btn.active .fdf-mc-direct__filter-badge {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

html.fdf-bridge--dark .fdf-mc-entry-wrap__rule {
	background: #3d4a5c;
}

html.fdf-bridge--dark .fdf-mc-entry-wrap__time {
	color: #7eb8ea;
}

html.fdf-bridge--dark .fdf-mc-entry-card {
	border-color: #3d4a5c;
	background: #1e2430;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

html.fdf-bridge--dark .fdf-mc-entry-card__type-pill {
	border-color: #3d4a5c;
	background: #252d3d;
	color: #dce2ea;
}

html.fdf-bridge--dark .fdf-mc-entry-card__byline,
html.fdf-bridge--dark .fdf-mc-entry-card__internaute,
html.fdf-bridge--dark .fdf-mc-entry-card__stats {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-mc-entry-card__body {
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-mc-entry-card__media {
	background: #12151c;
}

html.fdf-bridge--dark .fdf-mc-weather-strip {
	background: #252d3d;
	border-top-color: #3d4a5c;
	color: #c5ced9;
}

html.fdf-bridge--dark .fdf-mc-weather-strip__sep {
	color: #7a8799;
}

html.fdf-bridge--dark .fdf-mc-entry-card__community-info {
	border-color: #5c6b7e;
	background: #1e2430;
	color: #c5ced9;
}

html.fdf-bridge--dark .fdf-mc-entry-card__community-info:hover,
html.fdf-bridge--dark .fdf-mc-entry-card__community-info:focus-visible {
	border-color: #8b9aac;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-mc-entry-card__sep {
	border-top-color: #3d4a5c;
}

html.fdf-bridge--dark .fdf-mc-reaction-pill {
	background: #252d3d;
	border-color: #3d4a5c;
	color: #dce2ea;
}

html.fdf-bridge--dark button.fdf-mc-reaction-pill--like:hover:not(:disabled) {
	background: #2f3a4d;
}

html.fdf-bridge--dark button.fdf-mc-reaction-pill--like.is-liked {
	background: rgba(34, 197, 94, 0.2);
	border-color: rgba(34, 197, 94, 0.45);
	color: #86efac;
}

html.fdf-bridge--dark .fdf-mc-entry-card__composer {
	border-top-color: #3d4a5c;
}

html.fdf-bridge--dark .fdf-mc-entry-card__composer-field {
	border-color: #3d4a5c;
	background: #12151c;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-mc-entry-card__composer-feedback {
	color: #86efac;
}

html.fdf-bridge--dark .fdf-mc-entry-card__composer-feedback--err {
	color: #fca5a5;
}

html.fdf-bridge--dark .fdf-mc-risk-pill {
	color: #9dc8f0;
	background: rgba(90, 159, 212, 0.18);
	border-color: rgba(90, 159, 212, 0.35);
}

html.fdf-bridge--dark .fdf-mc-entry-card__abuse {
	background: rgba(255, 193, 7, 0.22);
	color: #ffcc80;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

html.fdf-bridge--dark .fdf-mc-entry-card__abuse:hover {
	background: rgba(255, 193, 7, 0.38);
	color: #ffe082;
}

html.fdf-bridge--dark .fdf-mc-modal .fdf-message-section textarea#fdf-public-message {
	border-color: #3d4a5c;
	background: #1a1f2a;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-mc-modal .fdf-mc-modal__hint {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-mc-modal .fdf-mc-modal__file-label {
	color: #dce2ea;
}

html.fdf-bridge--dark .fdf-mc-modal .fdf-accordion-responsabilite {
	color: #c5ced9;
	background: #252d3d;
	border-color: #3d4a5c;
}

html.fdf-bridge--dark .fdf-mc-modal .fdf-public-loading {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-public-message-form:not(.fdf-popup-mc-cta):not(.fdf-confirm):not(.fdf-false-alert) {
	background-color: #252d3d;
	border-color: #3d4a5c;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-public-message-form:not(.fdf-popup-mc-cta):not(.fdf-confirm):not(.fdf-false-alert):hover {
	background-color: #2f3a4d;
}

html.fdf-bridge--dark .fdf-thank-you {
	color: #86efac !important;
}

html.fdf-bridge--dark .fdf-signalement-proximite {
	border-color: #3d4a5c;
	background: #1e2430;
}

html.fdf-bridge--dark .fdf-signalement-proximite__title {
	color: #f0f4f8;
}

html.fdf-bridge--dark .fdf-signalement-proximite__status,
html.fdf-bridge--dark .fdf-signalement-proximite__meta {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-signalement-proximite__item {
	border-bottom-color: #3d4a5c;
}

html.fdf-bridge--dark .fdf-signalement-proximite__nolink {
	color: #dce2ea;
}

html.fdf-bridge--dark .fdf-signalement-proximite__dist {
	color: #c5ced9;
}

html.fdf-bridge--dark .fdf-public-mc-form {
	border-color: #3d4a5c;
	background: #1e2430;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-public-mc-form__field,
html.fdf-bridge--dark .fdf-public-mc-form select {
	border-color: #3d4a5c;
	background: #12151c;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-public-mc-form__loading {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-public-mc-form__feedback--ok {
	background: rgba(34, 197, 94, 0.15);
	color: #86efac;
	border-color: rgba(34, 197, 94, 0.35);
}

html.fdf-bridge--dark .fdf-public-mc-form__feedback--error {
	background: rgba(239, 68, 68, 0.12);
	color: #fca5a5;
	border-color: rgba(239, 68, 68, 0.35);
}

html.fdf-bridge--dark .fdf-signalement--root .fdf-step-dots [data-fdf-dot] {
	background: rgba(255, 255, 255, 0.15);
}

html.fdf-bridge--dark .fdf-signalement--root .fdf-step-card {
	background: #1e2430;
	border-color: rgba(255, 255, 255, 0.12);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

html.fdf-bridge--dark .fdf-signalement--root .fdf-step-card__title {
	color: #f0f4f8;
}

html.fdf-bridge--dark .fdf-signalement--root .fdf-step-card__subtitle,
html.fdf-bridge--dark .fdf-signalement--root .fdf-step-card__hint,
html.fdf-bridge--dark .fdf-signalement--root .fdf-step-card__footnote,
html.fdf-bridge--dark .fdf-signalement--root .fdf-step-card__legal {
	color: #b8c2cf;
}

html.fdf-bridge--dark .fdf-signalement--root .fdf-step-card__bullets {
	color: #dce2ea;
}

html.fdf-bridge--dark .fdf-signalement--root .fdf-btn--outline-danger {
	border-color: rgba(255, 107, 107, 0.55);
	color: #ff8a8a;
}

html.fdf-bridge--dark .fdf-ops-dashboard__status {
	background: #1e2430;
	border-color: #3d4a5c;
}

html.fdf-bridge--dark .fdf-ops-dashboard__status-value {
	color: #f0f4f8;
}

html.fdf-bridge--dark .fdf-ops-dashboard__situation,
html.fdf-bridge--dark .fdf-ops-dashboard__surface-inner {
	background: #252d3d;
	border-color: #3d4a5c;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-ops-tile {
	background: #1e2430;
	border-color: #3d4a5c;
}

html.fdf-bridge--dark .fdf-ops-tile__lbl {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-main-courante-container .fdf-main-courante-header,
html.fdf-bridge--dark .fdf-main-courante-header {
	border-color: #3d4a5c;
}

html.fdf-bridge--dark .fdf-main-courante-title {
	color: #f0f4f8;
}

html.fdf-bridge--dark .fdf-main-courante-filters .fdf-filter-btn {
	border-color: #3d4a5c;
	background: #1e2430;
	color: #dce2ea;
}

html.fdf-bridge--dark .fdf-main-courante-filters .fdf-filter-btn.active {
	background: #2563b8;
	color: #fff;
	border-color: #2563b8;
}

html.fdf-bridge--dark .fdf-main-courante-container .fdf-main-courante-item {
	background: #1e2430 !important;
	border-color: #4a5568 !important;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-main-courante-container .fdf-main-courante-time {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-main-courante-action,
html.fdf-bridge--dark .fdf-main-courante-container .fdf-main-courante-action {
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-tabs-nav {
	background-color: #1e2430;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

html.fdf-bridge--dark .fdf-tab-link {
	color: #9aa5b5;
	background-color: #1e2430;
}

html.fdf-bridge--dark .fdf-tab-link:hover {
	background-color: #252d3d;
	color: #ff8a8a;
}

html.fdf-bridge--dark .fdf-tab-link.active {
	background-color: #252d3d;
	color: #ff8a8a;
	border-bottom-color: #d00000;
}

html.fdf-bridge--dark .fdf-popup p,
html.fdf-bridge--dark .fdf-popup span {
	color: #dce2ea !important;
}

html.fdf-bridge--dark .fdf-popup .fdf-popup-link a {
	color: #fff !important;
}

html.fdf-bridge--dark .fdf-popup p {
	color: #b8c2cf !important;
}

html.fdf-bridge--dark .fdf-popup strong {
	color: #f0f4f8 !important;
}

html.fdf-bridge--dark .fdf-popup-type,
html.fdf-bridge--dark .fdf-popup-description,
html.fdf-bridge--dark .fdf-popup-description-text {
	background-color: #252d3d !important;
	border-color: #3d4a5c;
	color: #dce2ea !important;
}

html.fdf-bridge--dark .fdf-popup-description strong {
	color: #f0f4f8 !important;
}

html.fdf-bridge--dark .fdf-popup-public-form {
	background-color: #252d3d;
	border-color: #3d4a5c;
}

html.fdf-bridge--dark .fdf-popup-public-form-button:hover {
	background-color: #2f3a4d;
}

html.fdf-bridge--dark .fdf-main-courante h3 {
	border-bottom-color: #3d4a5c;
	color: #f0f4f8;
}

html.fdf-bridge--dark .fdf-main-courante-title {
	color: #f0f4f8;
}

html.fdf-bridge--dark .fdf-last-update-label {
	color: #9aa5b5;
}

html.fdf-bridge--dark .refresh-link {
	color: #c5ced9;
}

html.fdf-bridge--dark .fdf-main-courante-item.priorite-1,
html.fdf-bridge--dark .fdf-main-courante-item.priorite-2,
html.fdf-bridge--dark .fdf-main-courante-item.priorite-3,
html.fdf-bridge--dark .fdf-main-courante-item.priorite-4 {
	background-color: #1e2430 !important;
	border-color: #5a6578 !important;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-main-courante-item.priorite-1 p,
html.fdf-bridge--dark .fdf-main-courante-item.priorite-2 p,
html.fdf-bridge--dark .fdf-main-courante-item.priorite-3 p,
html.fdf-bridge--dark .fdf-main-courante-item.priorite-4 p {
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-main-courante-action.priorite-1 p,
html.fdf-bridge--dark .fdf-main-courante-action.priorite-2 p,
html.fdf-bridge--dark .fdf-main-courante-action.priorite-3 p,
html.fdf-bridge--dark .fdf-main-courante-action.priorite-4 p {
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-main-courante-time {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-btn {
	border-color: #3d4a5c;
	background: #1e2430;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-type-card {
	border-color: #3d4a5c;
	background: #1e2430;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-textarea,
html.fdf-bridge--dark .fdf-mini-map,
html.fdf-bridge--dark .fdf-tracking__map {
	border-color: #3d4a5c;
}

html.fdf-bridge--dark .fdf-mc__list {
	border-color: #3d4a5c;
	background: #1a1f2a;
}

html.fdf-bridge--dark .fdf-mc__item {
	border-bottom-color: #3d4a5c;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-feux__card {
	border-color: #3d4a5c;
	background: #1e2430;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-meteo-risque {
	border-color: #3d4a5c;
	background: #1e2430;
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-meteo-risque__zone {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-text-footer,
html.fdf-bridge--dark .fdf-counter {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-thumbs__preview {
	background: #252d3d;
}

html.fdf-bridge--dark .fdf-thumbs__name {
	color: #c5ced9;
}

html.fdf-bridge--dark .fdf-step-dots [data-fdf-dot] {
	background: #3d4a5c;
}

html.fdf-bridge--dark .fdf-form-modal-content {
	background: #1e2430;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
	color: #e4e8ed;
}

html.fdf-bridge--dark .fdf-form-modal-header {
	border-bottom-color: #3d4a5c;
}

html.fdf-bridge--dark .fdf-form-modal-header h3 {
	color: #ff8a8a;
}

html.fdf-bridge--dark .fdf-form-modal-close {
	color: #c5ced9;
}

html.fdf-bridge--dark .fdf-form-modal-close:hover {
	background-color: #2f3a4d;
}

html.fdf-bridge--dark .fdf-form-loading {
	color: #9aa5b5;
}

html.fdf-bridge--dark .fdf-form-modal-body .fdf-success-message {
	background: rgba(34, 197, 94, 0.18) !important;
	color: #86efac !important;
}

html.fdf-bridge--dark .fdf-form-modal-body .fdf-error-message,
html.fdf-bridge--dark .fdf-form-modal-body .fdf-form-error {
	background: rgba(239, 68, 68, 0.15) !important;
	color: #fca5a5 !important;
}
