/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
 */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.\!container {
  width: 100% !important;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {

  .\!container {
    max-width: 640px !important;
  }

  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {

  .\!container {
    max-width: 768px !important;
  }

  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {

  .\!container {
    max-width: 1024px !important;
  }

  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {

  .\!container {
    max-width: 1280px !important;
  }

  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {

  .\!container {
    max-width: 1536px !important;
  }

  .container {
    max-width: 1536px;
  }
}
.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.\!absolute {
  position: absolute !important;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.\!block {
  display: block !important;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.\!table {
  display: table !important;
}
.table {
  display: table;
}
.table-row {
  display: table-row;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.border-collapse {
  border-collapse: collapse;
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.resize {
  resize: both;
}
.flex-wrap {
  flex-wrap: wrap;
}
.rounded {
  border-radius: 0.25rem;
}
.border {
  border-width: 1px;
}
.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.p-8 {
  padding: 2rem;
}
.text-center {
  text-align: center;
}
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.capitalize {
  text-transform: capitalize;
}
.italic {
  font-style: italic;
}
.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.overline {
  text-decoration-line: overline;
}
.line-through {
  text-decoration-line: line-through;
}
.outline {
  outline-style: solid;
}
.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-filter {
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.wp-block-cnr-blocks-graph {
  padding: 1rem;
}

.cnr-content-wrapper {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 72rem;
}

.cnr-content-wrapper > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.cnr-content-wrapper {
  overflow: hidden;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.cnr-header-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  padding: 1.5rem;
}

.cnr-graph-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(0 114 188 / var(--tw-text-opacity, 1));
}

.cnr-view-toggle {
  display: flex;
  gap: 0.25rem;
  min-width: 200px;
}

.cnr-toggle-btn {
  cursor: pointer;
  border-radius: 0.375rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(0 114 188 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(0 114 188 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.cnr-toggle-btn:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}

.cnr-toggle-btn.active {
  --tw-border-opacity: 1;
  border-color: rgb(0 114 188 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(0 114 188 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.cnr-toggle-btn:first-child {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-right-width: 0px;
}

.cnr-toggle-btn:last-child {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.cnr-content-container {
  width: 100%;
  padding: 1.5rem;
}

.cnr-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.cnr-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.cnr-data-table th {
  white-space: nowrap;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  background-color: #f8fafc;
}

.cnr-data-table td {
  white-space: nowrap;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.cnr-data-table tr td:first-child {
  text-align: left;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(0 114 188 / var(--tw-text-opacity, 1));
}

/* Add section title style */
.indices-section-title {
  border-top-width: 1px;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

/* Selected row style */
.cnr-data-table tr.selected td {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}

/* Add these styles for the pie chart */
.chart-container {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: center;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  min-height: 500px;
}

.pie-chart-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  /* Increased max-width for better label spacing */
}

/* Add styles for the labels */
.chart-label {
  pointer-events: none;
  position: absolute;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(0 114 188 / var(--tw-text-opacity, 1));
  white-space: nowrap;
}

.chart-label::before {
  content: '';
  position: absolute;
  height: 1px;
  width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(0 114 188 / var(--tw-bg-opacity, 1));
}

/* Trinome Calculator Styles */
.trinome-title {
  margin-bottom: 1rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(0 114 188 / var(--tw-text-opacity, 1));
}

.trinome-description {
  margin-bottom: 2rem;
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.trinome-description-list {
  margin-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.trinome-description-list > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.trinome-description-list li {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.trinome-calculator {
  overflow: hidden;
  border-radius: 0.5rem;
}

.calculator-header {
  display: flex;
  flex-direction: row;
  text-align: center;
}

.header-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  background-color: var(--header-bg, #003366);
  border-radius: 5px;
  width: 30%;
}

.header-section:first-child {
  width: 40%;
}

.calculator-body > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
  --tw-divide-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-divide-opacity, 1));
}

.terme-row {
  /*@apply grid grid-cols-[2fr_1fr_1fr_1fr] p-4 items-center gap-4;*/
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 16px;
  padding-bottom: 16px;
  background-color: var(--row-bg, transparent);
  border: none;
}

.terme-info > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.terme-info {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.terme-label {
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(0 114 188 / var(--tw-text-opacity, 1));
}

.terme-sublabel {
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.terme-price {
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.terme-input {
  position: relative;
  display: flex;
  align-items: center;
  width: 30%;
}

.terme-input input {
  width: 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: right;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 2px dotted #0072bc !important;
  background: transparent;
}

.terme-input input:hover {
  background-color: rgb(239 246 255 / 0.3);
}

.terme-input input:focus {
  --tw-border-opacity: 1;
  border-color: rgb(0 114 188 / var(--tw-border-opacity, 1));
  background-color: rgb(239 246 255 / 0.5);
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  border-bottom-style: solid;
}

.unit-label {
  margin-left: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(0 114 188 / var(--tw-text-opacity, 1));
  position: absolute;
  right: 10px;
}

.terme-result {
  text-align: right;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(0 114 188 / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  min-width: 80px;
  width: 30%;
}

.terme-result.updating {
  opacity: 0.5;
}

.calculator-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: var(--footer-bg, #003366);
  width: 60%;
  border-radius: 5px;
  float: right;
}

.total-label {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  width: 50%;
  text-align: center;
}

.total-result {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  min-width: 100px;
  width: 50%;
  text-align: center;
}

.autres-couts {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

/* Improve number input appearance */
.terme-input input::-webkit-outer-spin-button,
.terme-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.terme-input input[type=number] {
  -moz-appearance: textfield;
}

.cnr-table-container {
  overflow-x: auto;
}

/* Add utility class for visibility */
.hidden {
  display: none !important;
}

/* Calculator input styles */
.terme-input input[type="number"] {
  width: 100%;
  border-bottom-width: 2px;
  border-style: dotted;
  --tw-border-opacity: 1;
  border-color: rgb(0 114 188 / var(--tw-border-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: right;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}
.terme-input input[type="number"]:hover {
  background-color: rgb(239 246 255 / 0.3);
}
.terme-input input[type="number"]:focus {
  border-style: solid;
  background-color: rgb(239 246 255 / 0.5);
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.terme-input input[type="number"] {
  -moz-appearance: textfield;
  text-align: center !important;
}

.terme-input input[type="number"]::-webkit-outer-spin-button,
.terme-input input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Add animation classes */
.updating {
  opacity: 0.5;
}

.calculated {
  opacity: 1;
}

/* Add section styles */
.cnr-section {
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.cnr-section-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
}

.cnr-section-content-publications-accordeon {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  width: -moz-fit-content;
  width: fit-content;
}

/* Publications Block Styles */
.cnr-publications-title {
  margin-bottom: 2rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.cnr-publications-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 768px) {

  .cnr-publications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {

  .cnr-publications-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.publication-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 10px;
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.publication-date {
  margin-bottom: 1rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(0 114 188 / var(--tw-text-opacity, 1));
}

.day-month {
  font-size: 1.5rem;
  line-height: 2rem;
}

.publication-title {
  margin-bottom: 0.5rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.publication-subtitle {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.publication-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.btn-consult {
  border-radius: 0.375rem;
  --tw-bg-opacity: 1;
  background-color: rgb(0 51 102 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}


.btn-consult:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(0 34 68 / var(--tw-bg-opacity, 1));
}

.download-icon {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
}

.chart-toggle-switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  margin-left: 8px;
  vertical-align: middle;
}

.chart-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.chart-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #e5e7eb;
  border-radius: 18px;
  transition: background 0.2s;
}

.chart-toggle-switch input:checked+.chart-toggle-slider {
  background: #1e40af;
}

.chart-toggle-slider:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.chart-toggle-switch input:checked+.chart-toggle-slider:before {
  transform: translateX(14px);
}

.indices-list .indice-item {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Pour fixer les 3 dernières colonnes à droite */
.fuel-table th.sticky-right,
.fuel-table td.sticky-right,
.fuel-table th.sticky-first-column,
.fuel-table td.sticky-first-column {
  position: sticky;
  background: #fff;
  z-index: 2;
}

.fuel-table th.sticky-first-column,
.fuel-table td.sticky-first-column {
  left: 0;
}

.fuel-table th.sticky-right-1,
.fuel-table td.sticky-right-1 {
  right: 0;
}

.fuel-table th.sticky-right-2,
.fuel-table td.sticky-right-2 {
  right: 90px;
  /* largeur d'une colonne */
}

.fuel-table th.sticky-right-3,
.fuel-table td.sticky-right-3 {
  right: 180px;
  /* largeur de deux colonnes */
}

/*Publications Block Styles*/
@media (min-width: 1201px) {
  #publications .cnr-publications-grid-custom {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    position: relative;
    align-items: stretch;
    gap: 40px;
  }

  #publications .modal-download {
    position: absolute;
    top: calc((100% - 207px) / 2);
    left: calc((100% - 500px) / 2);
    width: 500px;
    height: 207px;
    background-color: #F8F9FB;
    z-index: 1000;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
  }

  #publications .modal-download-close {
    float: right;
    font-size: 24px;
    width: 20px;
    height: 20px;
    font-weight: 400;
    font-family: 'Oxygen', sans-serif;
    color: #fff;
    background-color: #879296;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5px;
  }



  #publications .publication-card-custom {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    flex-direction: column;
    height: 264px;
    display: flex;
  }

  #publications .publication-year-custom {
    display: none;
  }

  #publications .publication-card-custom:hover {
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 0px #FFE45A;
  }

  #publications .publication-date-custom {
    display: flex;
    width: -moz-fit-content;
    width: fit-content;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #publications .publication-date-custom .day {
    font-size: 40px;
    font-family: 'Oxygen', sans-serif;
    color: #26A1FF;
    line-height: 100%;
    font-weight: 600;
  }

  #publications .publication-date-custom .month {
    font-size: 16px;
    font-family: 'Oxygen', sans-serif;
    color: #26A1FF;
    font-weight: 700;
  }

  #publications .publication-content-custom {
    display: flex;
    flex-direction: column;
    font-family: 'Oxygen', sans-serif;
    font-size: 16px;
    color: #060606;
    height: 72%;
  }

  #publications .publication-title-custom {
    font-weight: 700;
    font-size: 16px;
    font-family: 'Oxygen', sans-serif;
    color: #060606;
    line-height: 1.4;
  }

  #publications .publication-subtitle-custom {
    font-weight: 400;
    font-size: 11px;
    font-family: 'Oxygen', sans-serif;
    color: #879296;
  }

  #publications .publication-actions-custom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  #publications .publication-actions-custom .btn-consult {
    border-radius: 0.375rem;
    --tw-bg-opacity: 1;
    background-color: rgb(0 63 116 / var(--tw-bg-opacity, 1));
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    font-family: 'Oxygen', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    border: none;
    line-height: 1;
  }

  #publications .publication-actions-custom .btn-download {
    border: none;
  }

  #publications .publication-actions-mobile {
    display: none;
  }

  #publications .js-mobile-truncate {
    display: none;
  }

  .publications-pagination {
    text-align: right;
    margin-top: 8px;
    margin-bottom: 16px;
  }

  .pagination-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
  }

  .pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #879296;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .pagination-arrow:hover:not(:disabled) {
    border-color: #003F74;
    color: #003F74;
  }

  .pagination-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #879296;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 10px;
    font-weight: 400;
    font-family: 'Oxygen', sans-serif;
  }

  .pagination-number:hover {
    border-color: #003F74;
    color: #003F74;
  }

  .pagination-number.active {
    background: #003F74;
    border-color: #003F74;
    color: #fff;
  }

  .pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #6b7280;
    font-size: 14px;
  }

  .pagination-dot {
    display: inline-block;
    width: 14px !important;
    height: 14px !important;
    margin: 0 6px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s;
    vertical-align: middle;
    border: 1px solid #003F74;
  }

  #publications .publications-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }


  #publications .publication-card-custom.modal-open:hover {
    transform: none !important;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  }

  #black-bg {
    display: none;
    position: fixed;
    z-index: 999;
    /* below modal, above everything else */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    /* or whatever opacity you want */
    cursor: not-allowed;
  }

  .publication-content-custom {
    justify-content: space-between;
  }

  .publication-subtitle-custom {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

}

.pagination-dot.active {
  background: #003F74;
}


@media (max-width: 1200px) {

  #publications .cnr-publications-grid-custom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
  }

  #publications .publication-content-custom {
    width: 100%;
  }

  #publications .publication-card-custom {
    flex-direction: row;
    gap: 0.5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    padding: 10px;
    display: flex;
    border-radius: 7px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  #publications .publication-date-custom {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
  }

  #publications .publication-card-custom-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 42px;
  }

  #publications .publication-date-custom .day {
    font-size: 24px;
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
    line-height: 100%;
  }

  #publications .publication-date-custom .month {
    font-size: 10px;
    line-height: 100%;
  }

  #publications .publication-year-custom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  #publications .year {
    font-size: 13px;
    text-align: center;
    line-height: 100%;
    font-family: 'Plus Jakarta Sans';
    color: #060606;
  }

  #publications .publication-date-custom .month {
    font-size: 13px;
    font-family: 'Oxygen';
    color: #FFE62E;
  }

  #publications .publication-date-custom {
    border-radius: 0.375rem;
    --tw-bg-opacity: 1;
    background-color: rgb(0 96 169 / var(--tw-bg-opacity, 1));
    padding: 8px;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

  #publications .publication-title-custom {
    display: none;
  }

  #publications .js-mobile-truncate {
    font-weight: 700;
    font-size: 15px;
    font-family: 'Oxygen', sans-serif;
    color: #060606;
    margin-block: 0 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #publications .publication-subtitle-custom {
    font-weight: 400;
    font-size: 10px;
    font-family: 'Oxygen', sans-serif;
    color: #879296;
    margin-block-end: 0px;
  }

  #publications .publication-actions-custom {
    display: none;
  }

  #publications .publication-actions-mobile {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
  }

  #publications .publication-actions-mobile .btn-consult {
    font-size: 14px;
    font-family: 'Oxygen', sans-serif;
    font-weight: 400;
    cursor: pointer;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
  }

  /*#publications .publication-actions-mobile .btn-consult,
  #publications .publication-actions-mobile .btn-download {
    @apply flex flex-row p-[7px] gap-2;
    border: 1px solid #003F74;
    background-color: transparent;
    color: #003F74;
    font-size: 10px;
    font-family: 'Oxygen', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    border-radius: 5px;
  }

  #publications .publication-actions-mobile .btn-consult-icon,
  #publications .publication-actions-mobile .btn-download-icon {
    @apply w-[10px] h-[18px];
  }

  #publications .publication-actions-mobile .btn-consult-text,
  #publications .publication-actions-mobile .btn-download-text {
    font-size: 8px;
  }*/

  .publications-pagination {
    text-align: right;
    margin-top: 8px;
    margin-bottom: 16px;
  }

  .pagination-dot {
    display: inline-block;
    width: 14px !important;
    height: 14px !important;
    margin: 0 6px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s;
    vertical-align: middle;
    border: 1px solid #003F74;
  }

  #publications .publications-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .publication-subtitle-custom {
    width: 92%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

}

@media (max-width: 591px) {
  .publication-subtitle-custom {
    width: 86%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* Trinome Block Styles */
#trinome .terme-price .terme-price-container {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  #trinome .calculator-header .header-section {
    font-size: 14px;
    font-family: 'Oxygen', sans-serif;
    color: #fff;
    font-weight: 700;
  }

  #trinome .calculator-header {
    gap: 10px;
  }

  #trinome .autres-couts .mobile-only {
    display: none;
  }

  #trinome .calculator-body .terme-info {
    padding: 0px 20px;
  }


  #trinome .terme-info .terme-label {
    font-size: 13px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 700;
  }

  #trinome .terme-info .terme-sublabel {
    font-size: 11px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 400;
    line-height: 1.2;
  }

  #trinome .terme-info .terme-price {
    font-size: 14px;
    font-family: 'Oxygen', sans-serif;
    color: #949494;
    font-weight: 700;
  }

  #trinome .terme-input .terme-value-input {
    font-size: 15px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 700;
  }

  #trinome .terme-input .unit-label {
    font-size: 14px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 700;
    bottom: 9px;
  }

  #trinome .autres-couts .terme-input .autres-couts-input {
    font-size: 15px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 700;
    border: none !important;
  }

  #trinome .terme-result {
    text-align: center;
    font-size: 15px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 700;
  }

  #trinome .calculator-footer .total-label {
    font-size: 14px;
    font-family: 'Oxygen', sans-serif;
    color: #fff;
    font-weight: 700;
  }

  #trinome .calculator-footer .total-result {
    font-size: 24px;
    font-family: 'Jakarta', sans-serif;
    color: #fff;
    font-weight: 700;
  }

  #trinome .terme-input.label-container .terme-sublabel {
    font-size: 10px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 400;
    margin-top: 5px;
  }

  #trinome .terme-input.label-container {
    display: flex;
    flex-direction: column;
  }

  #trinome .terme-input.label-container .terme-input-container {
    width: 100%;
    position: relative;
  }

  .switch-toggle {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 14px;
  }

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

  .switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 14px;
  }

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

  .switch-input:checked+.switch-slider {
    background-color: #003F74;
  }

  .switch-input:checked+.switch-slider:before {
    transform: translateX(11px);
  }

  #trinome .terme-price-percentage {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  #trinome .terme-price-percentage-value {
    font-size: 10px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 500;
  }

  #trinome [data-terme="termeHoraire"] .terme-result {
    margin-bottom: 20px;
  }

  #trinome [data-terme="termeJournalier"] .terme-result {
    margin-bottom: 18px;
  }

}

@media (max-width: 465px) {
  #trinome .terme-input .terme-sublabel {
    font-size: 6px !important;
  }
}

@media (max-width: 1023px) {
  #trinome .header-section:first-child {
    width: 48%;
  }

  #trinome .header-section {
    width: 26%;
  }

  #trinome .calculator-header .header-section {
    font-size: 12px;
    font-family: 'Oxygen', sans-serif;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    padding-inline: 0px !important;
  }

  #trinome .calculator-header {
    gap: 5px;
  }

  /*#trinome .trinome-calculator{
    width: 100vw;
    margin: 0vh 4.5vw;
  }*/

  #trinome .terme-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    min-height: 72px;
  }

  #trinome .calculator-body .terme-info {
    width: 48%;
    padding: 0px 5px;
  }

  #trinome .calculator-body .terme-input,
  #trinome .calculator-body .terme-result {
    width: 26%;
  }


  #trinome .terme-info .terme-label {
    font-size: 10px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 700;
  }

  #trinome .terme-info .terme-sublabel {
    font-size: 9px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 400;
    line-height: 1.2;
  }

  #trinome .terme-info .terme-price {
    font-size: 12px;
    font-family: 'Oxygen', sans-serif;
    color: #949494;
    font-weight: 700;
    text-align: left;
  }

  #trinome .terme-info .terme-price-container {
    line-height: 1.3;
  }

  #trinome .terme-input .terme-value-input {
    font-size: 14px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 700;
  }

  #trinome .terme-input .unit-label {
    font-size: 13px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 700;
    bottom: 9px;
  }

  #trinome .autres-couts .terme-label-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  #trinome .autres-couts .desktop-only {
    display: none;
  }

  #trinome .autres-couts .mobile-only {
    display: flex;
  }

  #trinome .autres-couts .terme-label-container .terme-label {
    font-size: 13px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 700;
  }

  #trinome .autres-couts .terme-input .autres-couts-input {
    font-size: 15px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 700;
    border: none !important;
  }

  #trinome .terme-result {
    text-align: center;
    font-size: 13px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 700;
  }

  #trinome .calculator-footer .total-label {
    font-size: 12px;
    font-family: 'Oxygen', sans-serif;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
  }

  #trinome .calculator-footer .total-result {
    font-size: 14px;
    font-family: 'Jakarta', sans-serif;
    color: #fff;
    font-weight: 700;
    text-align: center;
  }

  #trinome .terme-input.label-container .terme-sublabel {
    font-size: 8px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 400;
    margin-top: 0px;
  }

  #trinome .terme-input.label-container {
    display: flex;
    flex-direction: column;
  }

  #trinome .terme-input.label-container .terme-input-container {
    width: 100%;
    position: relative;
  }

  #trinome .calculator-footer {
    width: 52%;
    padding: 8px 8px;
  }

  .switch-toggle {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 10px;
  }

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

  .switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 9px;
  }

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

  .switch-input:checked+.switch-slider {
    background-color: #003F74;
  }

  .switch-input:checked+.switch-slider:before {
    transform: translateX(6px);
  }

  #trinome .terme-price-percentage {
    display: flex;
    align-items: center;
  }

  #trinome .terme-price-percentage-value {
    font-size: 10px;
    font-family: 'Oxygen', sans-serif;
    color: #003F74;
    font-weight: 500;
  }

  .info-bulle-wrapper {
    position: relative;
    display: inline-block;
  }

  .info-bulle-text {
    display: none;
    position: absolute;
    top: 24px;
    left: 0;
    background: #fff;
    color: #003F74;
    border: 1px solid #003F74;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    z-index: 10;
    box-shadow: 0 2px 8px #003F7422;
    white-space: nowrap;
  }

  .info-bulle-wrapper:hover .info-bulle-text {
    display: block;
  }

  #trinome [data-terme="termeHoraire"] .terme-result {
    margin-bottom: 20px;
  }

  #trinome [data-terme="termeJournalier"] .terme-result {
    margin-bottom: 18px;
  }



}

/* Responsive: disable sticky for table columns below 768px */
@media (max-width: 767px) {

  .cnr-indices-structure-table th,
  .cnr-indices-structure-table td,
  .fuel-table th.sticky-right,
  .fuel-table td.sticky-right,
  .fuel-table th.sticky-first-column,
  .fuel-table td.sticky-first-column,
  .fuel-table th.sticky-right-1,
  .fuel-table td.sticky-right-1,
  .fuel-table th.sticky-right-2,
  .fuel-table td.sticky-right-2,
  .fuel-table th.sticky-right-3,
  .fuel-table td.sticky-right-3 {
    position: static !important;
    left: unset !important;
    right: unset !important;
    z-index: auto !important;
    box-shadow: none !important;
  }
}

/* Affichage desktop : visible >=1024px */
.cnr-graph-desktop {
  display: block;
}

.cnr-graph-mobile {
  display: none;
}

/* Affichage mobile : visible <1024px */
/*@media (max-width: 1023px) {
  .cnr-graph-desktop {
    display: none !important;
  }

  .cnr-graph-mobile {
    display: block !important;
  }

  .fuel-table th.sticky-right,
  .fuel-table td.sticky-right,
  .fuel-table th.sticky-first-column,
  .fuel-table td.sticky-first-column,
  .fuel-table th.sticky-right-1,
  .fuel-table td.sticky-right-1,
  .fuel-table th.sticky-right-2,
  .fuel-table td.sticky-right-2,
  .fuel-table th.sticky-right-3,
  .fuel-table td.sticky-right-3 {
    position: static !important;
    left: unset !important;
    right: unset !important;
    z-index: auto !important;
    box-shadow: none !important;
  }

  .mobile-legend {
    flex-wrap: wrap;
  }

  .mt-mobile {
    margin-top: 10px;
  }

  .dashicons-update {
    margin-left: 0px !important;
  }

  .select-mobile {
    width: 72% !important;
    height: 32px !important;
    padding: 6px 12px !important;
  }

  .dashicons-lock {
    display: none;
  }
}*/

/* Fuel Ponderation Styles */
.switch-table-container {
  background: transparent;
  border-bottom: 1.5px solid #dbeafe;
  border-radius: 12px 12px 0 0;
  display: flex;
  gap: 0;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.switch-table-button {
  background: #fff;
  color: #2563eb;
  border: 1.5px solid #dbeafe;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
}

.switch-table-button.active {
  background: #2563eb;
  color: #fff;
  border: 1.5px solid #2563eb;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 2px 8px #2563eb22;
  z-index: 2;
}

.switch-table-button:not(.active) {
  z-index: 1;
}

/* Tableau */
.fuel-ponderation-table-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px #0001;
  background: #f8fafc;
  table-layout: auto;
  width: auto;
  min-width: 0;
}

.fuel-ponderation-table-header-cell,
.fuel-ponderation-table-row-cell,
.fuel-ponderation-table-row-header {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  border: none;
}

.fuel-ponderation-table-header-cell {
  background: #e6effc;
  color: #334155;
  text-align: center;
  border-bottom: 1px solid #dbeafe;
}

.fuel-ponderation-table-row-header {
  background: #fff;
  color: #2563eb;
  text-align: left;
  border-right: 1px solid #dbeafe;
  border-radius: 0 0 0 12px;
}

.fuel-ponderation-table-row-cell {
  background: #fff;
  color: #334155;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
}

.fuel-ponderation-table-table th:last-child,
.fuel-ponderation-table-table td:last-child {
  background: #e6effc;
  color: #334155;
  position: sticky;
  right: 0;
  z-index: 2;
  border-radius: 0 12px 12px 0;
}

.fuel-ponderation-table-table tr:last-child td {
  border-bottom: none;
}

.fuel-ponderation-table-table tfoot td {
  background: #e6effc;
  color: #334155;
  font-weight: 500;
  border-top: 1px solid #dbeafe;
  border-bottom: none;
  text-align: center;
  font-size: 13px;
  padding: 12px 18px;
  border-radius: 0 0 12px 12px;
}

/* Scrollbar */
.fuel-ponderation-table {
  overflow-x: auto;
  overflow-y: visible;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #2563eb #e6effc;
}

.fuel-ponderation-table::-webkit-scrollbar {
  height: 8px;
  background: #e6effc;
  border-radius: 8px;
}

.fuel-ponderation-table::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 8px;
}

/* Supprime les anciennes règles qui font doublon ou nuisent à ce design */
.fuel-ponderation-table-table th,
.fuel-ponderation-table-table td {
  width: -moz-fit-content;
  width: fit-content;
  white-space: nowrap;
}

.fuel-ponderation-table-table {
  background: unset;
  box-shadow: unset;
}

.fuel-ponderation-table-table th:first-child,
.fuel-ponderation-table-table td:first-child {
  min-width: 170px;
  max-width: 220px;
  white-space: normal;
  word-break: break-word;
  background: #fff;
  left: 0;
  z-index: 3;
  position: sticky;
}

/* Fuel Indicators Block Styles (migrated from save.js inline styles) */

.fuel-indicators-main {
  background: #f8fafc;
  padding: 24px;
  border-radius: 8px;
}

.fuel-indicators-title {
  color: #1e40af;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 16px;
}

.fuel-indicators-toggle-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.fuel-indicators-toggle {
  background: #bae6fd;
  color: #2563eb;
  border: 1px solid #bae6fd;
  border-bottom: 3px solid #2563eb;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 24px;
  box-shadow: 0 2px 6px 0 rgba(37, 99, 235, 0.08);
  outline: none;
  margin-right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  top: 2px;
}

.fuel-indicators-toggle.graph {
  background: #fff;
  color: #94a3b8;
  border: 1px solid #e5e7eb;
  border-bottom: 3px solid #e5e7eb;
  margin-left: -1px;
  z-index: 1;
}

.fuel-indicators-toggle .dashicons {
  font-size: 18px;
}

.fuel-indicators-toggle.active .dashicons {
  color: #2563eb;
}

.fuel-indicators-toggle.graph .dashicons {
  color: #94a3b8;
}

.fuel-indicators-view-container {
  /* No specific styles, but for structure */
}

.fuel-indicators-table-view {
  display: block;
}

.fuel-indicators-table-view.hidden {
  display: none;
}

.fuel-indicators-graph-view {
  display: block;
}

.fuel-indicators-graph-view.hidden {
  display: none;
}

.fuel-indicators-table-container {
  overflow-x: auto;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.fuel-table,
.fuel-indicators-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.fuel-indicators-th,
.fuel-table th {
  font-weight: 600;
  padding: 8px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  background: #f8fafc;
}

.fuel-indicators-th.first {
  min-width: 120px;
}

.fuel-indicators-th.other {
  min-width: 90px;
}

.fuel-indicators-td,
.fuel-table td {
  color: #1e293b;
  padding: 8px;
  border: 1px solid #e5e7eb;
  text-align: center;
  background: white;
}

.fuel-indicators-td.header {
  font-weight: 500;
  color: #334155;
  cursor: pointer;
}

.fuel-indicators-group-row {
  background: #e0e7ef;
  color: #1e40af;
  font-weight: 700;
  padding: 8px;
  border: 1px solid #e5e7eb;
}

.fuel-indicators-last-updated {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
}

.fuel-indicators-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 5px;
}

.fuel-indicators-footer .action-buttons {
  display: flex;
  gap: 8px;
}

.fuel-indicators-footer .validate-button {
  background: #1e40af;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 24px;
  font-weight: 600;
  margin-right: 8px;
}

.fuel-indicators-footer .reset-button {
  background: #e5e7eb;
  color: #1e40af;
  border: none;
  border-radius: 4px;
  padding: 8px 24px;
  font-weight: 600;
}

.fuel-indicators-footer .subscribe-button {
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 24px;
  font-weight: 600;
}

.fuel-indicators-graph-container {
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  min-height: 400px;
  max-height: 500px;
  padding: 24px;
  overflow-x: auto;
}

.fuel-indicators-canvas-wrapper {
  width: 100%;
  height: 400px;
}

.fuel-indicators-chart-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
}

.fuel-indicators-filter-buttons {
  display: flex;
  gap: 8px;
}

.fuel-indicators-filter-buttons .chart-filter-all,
.fuel-indicators-filter-buttons .chart-filter-none {
  color: #1e40af;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.fuel-indicators-indices-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.cnr-indice-cnr-container>div:first-of-type {
  scrollbar-width: thin;
  scrollbar-color: #0a3967 #f1f5f9;
}

/* Webkit (Chrome, Safari, Edge) */
.cnr-indice-cnr-container>div:first-of-type::-webkit-scrollbar {
  height: 8px;
  background: #f1f5f9;
}

.cnr-indice-cnr-container>div:first-of-type::-webkit-scrollbar-thumb {
  background: #0a3967;
  border-radius: 8px;
}

.cnr-indice-cnr-container>div:first-of-type::-webkit-scrollbar-button {
  height: 16px;
  width: 16px;
  background: transparent;
  background-image: radial-gradient(circle, blue 4px, transparent 4px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 8px;
}

div::-webkit-scrollbar-button {
  height: 16px;
  width: 16px;
  background: transparent;
  background-image: radial-gradient(circle, blue 4px, transparent 4px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 8px;
}

.cnr-indice-cnr-container>div:first-of-type::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 8px;
}

.cnr-indice-cnr-container>div:first-of-type::-webkit-scrollbar-corner {
  background: #f1f5f9;
}

/*graphique*/
@media (max-width: 768px) {
  .legend-item {
    width: 100% !important;
  }

  .cnr-chart-container canvas {
    width: 1191px !important;
    min-width: 1191px !important;
    max-width: 1191px !important;
    display: block;
  }

  .doughnut-chart-container canvas {
    width: 400px !important;
    height: 122px !important;
    display: block;
  }

  .y-axis-labels {
    min-width: 44px !important;
  }
}

/*europe-interactive-map*/
input[type='radio']:checked+label .custom-radio-icon {
  border: 2px solid #003366;
}

/*input[type='radio']:checked+label .custom-radio-icon::after {
  content: '✓';
  color: #003366;
  font-size: 12px;
}*/

.custom-radio-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #003366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.custom-radio-icon::after {
  content: '';
}

.block-container-map-euro {
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  min-height: -moz-fit-content;
  min-height: fit-content;
}

.block-header-map-euro {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.block-header-button-map-euro {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding-block: 10px;
}

.block-container-content-map-euro {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.block-left-data-selection-map-euro {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 345px;
}

.data-accordion-item-header-map-euro {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  color: #fff;
  background-color: #003F74;
  border-radius: 5px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  height: 35px;
  padding-inline: 10px;
}

.data-accordion-item-content-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.block-right-map-map-euro {
  width: 760px;
  overflow: hidden;
  height: 650px;
  position: relative;

}

.map-container-map-euro {
  border-radius: 5px;
  border: 1px solid #999999;
  height: 497px;
}

.zoom-controls-map-euro {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  top: 10px;
  left: 10px;
  z-index: 50;
}

.legend-container-inner-map-euro {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 19px;
}

.legend-container-inner-item-map-euro {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 121px;
}

.toggle-switch-map-euro {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  margin-left: 10px;
  vertical-align: middle;
}

.toggle-switch-map-euro input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch-map-euro .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 22px;
}

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

.toggle-switch-map-euro input:checked+.slider {
  background-color: #003F74;
}

.toggle-switch-map-euro input:checked+.slider:before {
  transform: translateX(18px);
}

/*europe-table*/
.table-container {
  display: flex;
  flex-direction: column;
  gap: 16px 20px;
  padding: 16px 20px;
}

.table-header {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.table-header-label {
  font-size: 13px;
  font-family: 'Plus Jakarta Sans';
  font-weight: 400;
  color: #5f5f5f;
}

.table-header-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.table-header-select select {
  background-color: transparent;
  color: #071336;
  font-size: 13px;
  width: 367px;
  font-family: 'Plus Jakarta Sans';
  font-weight: 700;
}

.table-content-header,
.table-content-body-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-block: 8px;
  border-bottom: 1px solid #C6D7E4;
  gap: 2px;
}

.table-content-header-item {
  font-weight: 600;
  color: #071336;

}

.table-content-header-item,
.table-content-body-row-item {
  font-family: 'Plus Jakarta Sans';
}

.table-content-header-item:first-child,
.table-content-body-row-item:first-child {
  width: 300px;
  padding-inline: 10px;
}

.table-content-header-item:nth-child(2),
.table-content-body-row-item:nth-child(2) {
  width: 500px;
  padding-inline: 10px;
}

.table-content-header-item:nth-child(3),
.table-content-body-row-item:nth-child(3) {
  width: 300px;
  padding-inline: 10px;
}

.table-content-header-item:nth-child(4),
.table-content-body-row-item:nth-child(4) {
  width: 170px;
  padding-inline: 10px;
}

/*gazole-table*/
.wp-core-ui select.cnr-gazole-table-select {
  background: #F9F9F9 url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDE2IDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNC42NTg5IDBMNy45OTIxOSA2LjQyODU3TDEuMzI1NTIgMEwtMC4wMDc4MTI1IDEuMjg1NzFMNy45OTIxOSA5TDE1Ljk5MjIgMS4yODU3MUwxNC42NTg5IDBaIiBmaWxsPSIjMDAzRjc0Ii8+Cjwvc3ZnPgo=) no-repeat right 15px center;
  background-size: 16px 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}

/*publication-accordeon*/
.cnr-publications-accordeon-container {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.cnr-publications-accordeon {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 16px;
  width: 725px;
}

.accordeon-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.right-accordeon-content {
  width: 515px;
}

.accordeon-item {
  display: flex;
  flex-direction: row;
  gap: 32px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.accordeon-filter-header {
  flex-direction: row;
  background-color: #003F74;
  border-radius: 7px;
  width: 350px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 10px;
}

.left-accordeon-date {
  width: -moz-fit-content;
  width: fit-content;
  flex-shrink: 0;
}

.day-and-month {
  padding: 8px;
  background-color: #0060A9;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  width: 100%;
}

.left-accordeon-date-month {
  font-size: 16px;
  font-family: "Oxygen";
  font-weight: 900;
  color: #FFE45A;
  line-height: 1;
}

.left-accordeon-date-day {
  font-size: 29px;
  font-family: "Oxygen";
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.left-accordeon-date-year {
  font-size: 18px;
  font-family: "Plus Jakarta Sans";
  font-weight: 600;
  color: #060606;
  line-height: 1;
  text-align: center;
  margin-top: 2px;
}

.right-accordeon-content {
  display: flex;
  flex-direction: column;
  position: relative;
}

.right-accordeon-content-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.right-accordeon-content-title.collapsed {
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  max-width: 515px !important;
}

.right-accordeon-content-title.expanded {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  max-width: none;
}

.right-accordeon-content-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.right-accordeon-content-title a:hover {
  color: #003F74;
  text-decoration: underline;
}

.right-accordeon-content-subtitle {
  font-size: 16px;
  font-family: "Manjari", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: #666;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.right-accordeon-content-subtitle.collapsed {
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  max-width: 515px !important;
  max-height: 1.3em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

.right-accordeon-content-subtitle.expanded {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  max-width: none;
  max-height: none;
  height: auto;
  display: block;
  -webkit-line-clamp: none;
}

.right-accordeon-content-subtitle p {
  margin-bottom: 5px;
}

.accordeon-toggle-icon {
  font-size: 18px;
  color: #003F74;
  transition: transform 0.3s ease;
  margin-left: 12px;
  flex-shrink: 0;
}

.accordeon-item.open .accordeon-toggle-icon {
  transform: rotate(180deg);
}

.accordeon-expanded-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 0;
}

.accordeon-item.open .accordeon-expanded-content {
  max-height: none;
  margin-top: 12px;
}

.pagination-btn.pagination-number.active {
  background-color: #003F74 !important;
  color: #fff !important;
}

.pagination-btn.pagination-number {
  background-color: transparent !important;
  border: none !important;
  font-size: 10px !important;
}

.pagination-btn.pagination-prev {
  background-color: transparent !important;
  border: none !important;
}

.accordeon-filter-content {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  background-color: #fff;
}

/*subscription*/

.wp-block-cnr-blocks-subscription {
  width: 100vw !important;
  max-width: 100vw !important;
}


.block-subscription {
  width: 100%;
  position: relative;
  padding-block: 40px;
}

.subscription-recapitulation {
  width: 920px;
}

.subscription-form {
  width: 100%;
}

.block-subscription p {
  margin-bottom: 0;
}

.subscription-form-checkbox-list-content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  max-height: 2278px;
  width: 740px;
}

.subscription-form-checkbox-list-item {
  width: 360px;
  height: -moz-fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 7px;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
}

.subscription-form-checkbox-list-item-title {
  background-color: #003F74;
  padding-block: 8px;
  padding-inline: 10px;
  line-height: 1;
  color: #fff;
  font-size: 16px;
  font-family: "Montserrat";
  font-weight: 900;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.subscription-form-checkbox-list-item-content-item {
  display: flex;
  gap: 10px;
  line-height: 1;
  font-size: 14px;
  font-family: "Plus Jakarta Sans";
  font-weight: 800;
  padding-block: 8px;
  padding-inline: 10px;
  align-items: center;
}

.subscription-form-checkbox-list-title-text {
  font-size: 25px;
  font-family: "Oxygen";
  font-weight: 800;
  margin-bottom: 24px;
}

/* Styles pour les accordéons de récapitulation */
.subscription-recapitulation {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  width: 740px;
}

.subscription-form-container {
  width: 100%;
  background-color: #E8F5FF;
  padding-block: 40px;
}

.subscription-form-checkbox-list,
.subscription-information,
.subscription-recapitulation-container {
  width: 1170px;
  margin: auto;
}

.subscription-recapitulation-container {
  position: relative;
}

.subscription-recapitulation-title-text {
  margin-bottom: 0px !important;
}

.subscription-information-title-text {
  margin-top: 24px !important;
}

.subscription-form-checkbox-list-title-text,
.subscription-information-title-text {
  font-size: 25px;
  font-family: "Oxygen";
  font-weight: 800;
  margin-bottom: 24px;
  color: #05233A;
}

.subscription-recapitulation-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #F4FAFF;
  border-radius: 7px;
  padding: 24px 30px;
}

.subscription-recapitulation-item {
  border-radius: 7px;
  overflow: hidden;
}

.subscription-recapitulation-item-title {
  padding: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  width: 100%;
  padding-block: 4px;
  margin-bottom: 8px;
}

.subscription-recapitulation-item-title h3 {
  font-size: 16px;
  font-family: "Montserrat";
  font-weight: 600;
  color: #353535;
  margin: 0;
  line-height: 1;
}

.subscription-recapitulation-item-title::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid #003F74;
  border-bottom: 2px solid #003F74;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.subscription-recapitulation-item-title.active::after {
  transform: rotate(-135deg);
}

.subscription-recapitulation-item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;

}

.subscription-recapitulation-item-content.active {
  max-height: 1000px;
  padding: 16px;
  padding-block: 0;
}

.subscription-recapitulation-item-content p {
  margin: 0;
  font-size: 16px;
  font-family: "Manjari";
  font-weight: 400;
  color: #353535;
  line-height: 1.5;
  padding-bottom: 16px;
  border-bottom: 1px solid #D9D9D9;
}

.subscription-recapitulation-item-content p:nth-child(1),
.subscription-recapitulation-item-content p:nth-child(2) {
  border-bottom: none;
}

.subscription-recapitulation-item.active:last-child .subscription-recapitulation-item-content p {
  border-bottom: none;
}


.subscription-recapitulation-item {
  overflow: hidden;
}

.subscription-recapitulation-item.active .subscription-recapitulation-item-title::after {
  transform: rotate(45deg);
}

.subscription-recapitulation-item-content {
  display: none;
}

.subscription-recapitulation-item.active .subscription-recapitulation-item-content {
  display: block;
}

/* Style des checkboxes */

.subscription-form-checkbox-list-item-content-item input[type="checkbox"] {
  width: 14px;
  height: 14px;
  border: 2px solid #0060A9;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 50%;
}

.subscription-form-checkbox-list-item-content-item input[type="checkbox"]:checked {
  background-color: #0060A9;
  border-color: #0060A9;
}

.subscription-form-checkbox-list-item-content-item input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 7px;
  font-weight: bold;
  line-height: 1;
}

.subscription-information-content {
  border: 1px solid #C1C5C8;
  width: 740px;
  padding: 16px 20px;
  gap: 40px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
}

.login-information,
.payment-information-society,
.payment-information-particulier,
.shipping-information-content {
  gap: 24px;
  display: flex;
  flex-direction: column;
}

.login-information input,
.payment-information input[type="text"],
.payment-information input[type="email"],
.payment-information input[type="tel"],
.payment-information select,
.shipping-information input[type="text"],
.shipping-information input[type="email"],
.shipping-information input[type="tel"],
.payment-information select,
.shipping-information select {
  width: 320px !important;
  height: 40px !important;
}

.login-information-item,
.payment-information-society-item,
.payment-information-particulier-item,
.shipping-information-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.paragraph-login {
  font-size: 14px;
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
  display: flex;
}

.paragraph-login a {
  color: #003F74;
  font-weight: 800;
  font-size: 15px;
  font-family: "Plus Jakarta Sans";
}

.login-information label,
.payment-information-society label,
.payment-information-particulier label,
.shipping-information label {
  font-size: 16px;
  font-family: "Plus Jakarta Sans";
  font-weight: 600;
  color: #3E4347;
}

.tab-button-container {
  border: 2px solid #0060A9;
  border-radius: 5px;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 24px;
}

.tab-button {
  color: #0060A9;
  font-size: 15px;
  font-family: "Montserrat";
  font-weight: 800;
  border: none;
  cursor: pointer;
  padding-block: 10px;
  padding-inline: 20px;
  width: 140px;
}

.tab-button.active {
  background-color: #0060A9;
  color: #fff;
}

.section-title {
  font-size: 20px;
  font-family: "Oxygen";
  font-weight: 800;
  color: #000;
  margin-bottom: 24px;
}

.accept-conditions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accept-conditions-use,
.accept-conditions-sell,
.use-same-address {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
  color: #717171;
}

.accept-conditions a {
  color: #428BC1;
  text-decoration: none;
}

.button-inscription {
  width: 276px;
  padding-block: 8px;
  line-height: 1 !important;
  color: #fff !important;
  background-color: #0060A9 !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  font-size: 24px !important;
  font-family: "Oxygen" !important;
  font-weight: 400 !important;
  border: none !important;
  margin: auto !important;
}

.subscription-form-checkbox-list-item-content-item label {
  font-size: 12px;
  font-family: "Montserrat";
  font-weight: 600;
  color: #003F74;
}

p.blue-text {
  color: #003F74 !important;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 0px !important;
}

.blue-text.link {
  text-decoration: underline;
}

.cart-recapitulation {
  padding: 40px 30px;
  display: flex;
  gap: 40px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  border-radius: 20px;
  width: 400px;
  position: absolute;
  left: 790px;
  top: 240px;
  background-color: #fff;
}

.cart-recapitulation-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-recapitulation-content-title,
.cart-recapitulation-list-title {
  font-size: 16px;
  font-family: "Oxygen";
  font-weight: 800;
  color: #000;
}

.cart-recapitulation-content-price-price {
  font-size: 32px;
  font-family: "Plus Jakarta Sans";
  font-weight: 800;
  color: #003F74;
}

.cart-recapitulation-content-price-price-unit {
  font-size: 16px;
  font-family: "Plus Jakarta Sans";
  font-weight: 800;
  color: #003F74;
}

.cart-recapitulation-content-date {
  font-size: 16px;
  font-family: "Plus Jakarta Sans";
  color: #3E4347;
}

.cart-recapitulation-content-date-date {
  font-weight: 800;
}

.cart-recapitulation-list-items-list {
  list-style: disc;
  padding-left: 25px;
  font-size: 16px;
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
}

#selected-indicators-list {
  max-height: 110px;
  overflow-y: scroll;
}

#selected-indicators-list::-webkit-scrollbar {
  background-color: transparent;
  width: 5px;
}

#selected-indicators-list::-webkit-scrollbar-thumb {
  background-color: #0060A9;
  border-radius: 5px;
}


/*simulator*/
.simulator-block {
  padding-block: 40px;
  background-color: #fff;
  padding: 40px;
}

.simulator-block-legend-button {
  border-radius: 5px;
  border: none;
  padding-block: 10px;
  padding-inline: 20px;
  cursor: pointer;
  line-height: 1;
  margin-top: 16px;
}

.simulator-block-form {
  padding-block: 24px;
}

.indicator-select-modal {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
  padding: 20px;
}

.simulator-block-legend {
  padding-bottom: 8px;
}

.simulator-block-form-date-range,
.simulator-block-legend,
.simulator-block-form-indexation-form,
.index-total-container,
.simulator-block-form-result {
  /*width: 1170px;*/
  margin: auto;
}

.simulator-block-form-date-range-header,
.simulator-block-form-indexation-form-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.simulator-block-form-indexation-form-header {
  margin-top: 24px;
}

.simulator-block-form-date-range-header h3 {
  margin: 0;
}

.simulator-block-form .monthPicker.flatpickr-mobile
{
  color: transparent; position: relative; z-index: 1; background-color: rgb(249, 249, 249); cursor: pointer; opacity: 0;
}

.tab-button-container-simulator {
  border: 2px solid #0060A9;
  border-radius: 5px;
  width: 284px;
  display: flex;
  flex-direction: row;
  height: 38px;
}

.tab-button-container-simulator button,
.simulator-block-form-indexation-form-header-button {
  width: 50%;
  font-size: 15px;
  font-family: "Montserrat";
  font-weight: 800;
  color: #0060A9;
  border: none;
  cursor: pointer;
  padding-inline: 20px;
  background-color: transparent;
}

.index-total-button-icon {
  display: flex;
}

[data-tab="moyenne"] {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.simulator-block-form-indexation-form-header-button {
  width: -moz-fit-content;
  width: fit-content;
  height: 38px;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.date-range-item-content {
  display: flex;
  gap: 10px;
  align-items: center;
}

.simulator-block-form-indexation-form-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.indicator-select-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.indicator-select-body {
  max-height: 60vh;
  overflow-y: auto;
}

.option-item-select {
  font-size: 12px;
  font-family: "Montserrat";
  font-weight: 600;
  color: #003F74;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 8px;
  padding-inline: 20px;
  position: relative;
}

.option-item-select.censored {
  background: repeating-linear-gradient(135deg, #fff 1px 3px, #e5e7eb 1px 5px);
  opacity: 0.7;
  pointer-events: all;
  cursor: not-allowed;
  border-radius: 5px;
}

.indicator-select-option-group-label {
  font-size: 16px;
  font-family: "Montserrat";
  font-weight: 800;
  color: #003F74;
}

.simulator-block-form-indexation-form-content-item {
  border: 2px solid #0060A9;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 47px;
}

.simulator-block-form-indexation-form-content-item-left,
.simulator-block-form-indexation-form-content-item-right {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.form-indexation-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 360px;
}

.error {
  color: #FF0000 !important;
}

.form-indexation-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.index-total-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  order: 99999;
  width: 100%;
}

.index-total-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  background-color: #0060A9;
  color: #fff;
  width: 140px;
  flex-direction: column;
}

.index-total-button p {
  text-align: center;
  line-height: 1.4;
  font-size: 14px;
  font-weight: 800;
  font-family: "Oxygen";
}

.total-index-value {
  font-size: 22px;
  font-family: "Montserrat";
  font-weight: 700;
}

.form-indexation-content-label {
  display: flex;
  gap: 5px;
  align-items: center;
}

.simulator-block-form-result-content {
  display: flex;
  padding: 16px;
  background-color: #626262;
  border-radius: 10px;
  justify-content: space-between;
  color: #fff;
}

.simulator-block-form-result-content-right {
  width: 150px;
  padding-left: 20px;
  border-left: 3px solid #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.stats-container-label {
  font-size: 20px;
  font-family: "Anybody";
  font-weight: 700;
  text-align: center;
}

.stats-container-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 24px;
  font-family: "Plus Jakarta Sans";
  font-weight: 800;
  justify-content: center;
}

.simulator-block-form-result-content-left-item {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.description-container {
  width: 420px;
  text-align: center;
}

.simulator-block-form-result-content-left {
  margin-inline: 80px auto;
  display: flex;
  flex-direction: column;
  width: 67%;
  gap: 24px;
}

@media screen and (max-width: 720px) {
  .wp-block-cnr-blocks-simulator
  {
    max-width: 100%;
    width: 100% !important;
    margin: 0 !important;
  }
  .simulator-block
  {
    padding-left: 20px;
    padding-right: 20px;
  }
  .form-indexation-content-label span
  {
    margin-left: 0 !important;
  }
  .simulator-block-form-result-content
  {
    flex-direction: column;
  }
  
  .simulator-block-form-result-content-left,
  .simulator-block-form-result-content-right
  {
    width: 100%;
  }

  .simulator-block .custom-select-trigger .selected-value
  {
    font-size: 12px;
  }
  
  .simulator-block-form-result-content-left
  {
    margin-left: 0;
  }

  .simulator-block-form-result-content-left .description-container,
  .simulator-block-form-result-content-left .stats-container
  {
    width: 100%;
  }  

  .simulator-block-form-result-content-left .simulator-block-form-result-content-left-item
  {
    flex-direction: column; 
    align-items: center;
  }

  .simulator-block-form-result-content-right
  {
    border-left: none;
    border-top: 3px solid #FFFFFF;
    padding-top: 20px;
    padding-left: 0;
  }
  .simulator-block-form-indexation-form-content-item,
  .simulator-block-form-date-range-header
  {
    flex-direction: column;
  }

  .mobile-mega-menu .mobile-menu-items
  {
    padding-left: 25px;
  }
}

.simulator-block-form-result-content-right-item svg {
  margin: auto;
}

.stats-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 23%;
}

.simulator-block-form-result-price-item {
  display: flex;
  gap: 5px;
  align-items: center;
}

.simulator-block-form-result-content-right-item-label {
  font-size: 15px;
  font-family: "Manjari";
  font-weight: 400;
  line-height: 1.1;
}

.simulator-block p,
.simulator-block h2,
.simulator-block h3,
.simulator-block h4,
.simulator-block label {
  margin-bottom: 0;
}

.date-range-item-start-title,
.date-range-item-end-title {
  font-size: 12px;
  font-family: "Plus Jakarta Sans";
  font-weight: 600;
}

.date-range-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.date-container {
  position: relative;
  display: inline-block;
}

.date-container input[type="month"] {
  padding-right: 30px;
  font-size: 16px;
}

.date-container .icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: gray;
  z-index: 1;
}

input[type="month"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

.monthPicker {
  width: 142px;
}

.custom-select-trigger,
.form-indexation-content input {
  height: 35px !important;
  background-color: #F9F9F9 !important;
  border: none !important;
  border-radius: 5px !important;
  font-size: 15px !important;
  font-family: "Plus Jakarta Sans" !important;
  color: #000 !important;
}

.form-indexation-content input {
  font-weight: 800 !important;
  width: 100px !important;
}

.form-indexation-content-label span {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 16px;
  font-size: 15px;
  font-family: "Plus Jakarta Sans";
  font-weight: 800;
  color: #000;
}

.descrition-title {
  font-size: 16px;
  font-family: "Oxygen";
  font-weight: 800;
}

.descrition-subtitle {
  font-size: 14px;
  font-family: "Plus Jakarta Sans";
  font-weight: 700;
}

.descrition-content {
  font-size: 14px;
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
}

.descrition-content .add {
  font-weight: 800;
}

.simulator-block-form-result-price-item {
  display: flex;
  gap: 10px;
}

.simulator-block-form-result-price-label {
  font-size: 16px;
  font-family: "Oxygen";
  font-weight: 500;
}

.indicator-select-title {
  font-size: 15px;
  font-family: "Montserrat";
  font-weight: 700;
}

.simulator-block-form-result-price {
  background-color: #fff !important;
  border-radius: 5px !important;
  color: #000 !important;
  font-size: 15px !important;
  font-family: "Plus Jakarta Sans" !important;
  font-weight: 800 !important;
  padding: 0px 20px !important;
  width: 100px !important;
  border: none !important;
  cursor: pointer !important;
  text-align: center !important;
}

.simulator-block-form-result-price-indexed {
  font-size: 32px;
  font-family: "Plus Jakarta Sans";
  font-weight: 800;
}

.wp-block-cnr-blocks-simulator {
  /*width: 100% !important;
  max-width: 100vw;*/
}

.not-free {
  opacity: 0.6;
  background: repeating-linear-gradient(135deg, #fff 1px 3px, #e5e7eb 1px 5px);
  border-radius: 5px;
  cursor: not-allowed;
}

.cnr-modal-header {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 0px !important;
}


/* Subscription Modal Styles */
.cnr-subscription-modal,
.cnr-subscription-modal-indice,
.cnr-subscription-modal-simulator,
.cnr-subscription-modal-graph {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: none;
  height: 100%;
  width: 100%;
}

.cnr-subscription-modal.active,
.cnr-subscription-modal-indice.active,
.cnr-subscription-modal-simulator.active,
.cnr-subscription-modal-graph.active {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.cnr-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.cnr-modal-content {
  position: relative;
  background: white;
  border-radius: 16px !important;
  padding: 20px 40px !important;
  max-width: 619px !important;
  width: 100% !important;
  max-height: 90vh !important;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
  margin: auto;
}

.cnr-modal-content h2 {
  font-weight: bold;
  text-align: center;
}

.cnr-modal-body {
  display: flex;
  flex-direction: column !important;
  gap: 32px !important;
  padding: 0px !important;
}

.cnr-modal-content h2,
.cnr-modal-body p {
  font-size: 16px;
  font-family: "Montserrat";
  color: #000;
  margin: 0px !important;
  padding: 0px !important;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.danger-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.cnr-modal-close {
  position: absolute;
  top: 0px;
  right: 0px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: #64748b;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cnr-modal-close:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.cnr-modal-footer {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.active a.cnr-modal-subscribe-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #003F74 0%, #0060A9 100%);
  color: white !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Inter', Arial, sans-serif;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 63, 116, 0.3);
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
}

a.cnr-modal-subscribe-btn {
  width: -moz-fit-content !important;
  width: fit-content !important;
  margin: auto !important;
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #003F74 0%, #0060A9 100%);
  color: white !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Inter', Arial, sans-serif;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 63, 116, 0.3);
}

.cnr-modal-subscribe-btn:hover {
  background: linear-gradient(135deg, #002a50 0%, #004987 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 63, 116, 0.4);
  color: white;
}

@media (max-width: 768px) {
  .cnr-modal-content {
    padding: 24px;
    width: 95%;
  }

  .cnr-modal-header h2 {
    font-size: 20px;
  }

  .cnr-modal-body p {
    font-size: 14px;
  }
}

/*formule trinome*/
@media (min-width: 999px) {
  .formule-trinome-container {
    width: 1170px;
    margin: auto;
  }

  .formule-trinome-selector-dropdown {
    cursor: pointer;
  }

  .formule-trinome-header {
    margin-bottom: 10px;
  }

  .formule-trinome-short-title {
    font-size: 25px;
    font-family: "Oxygen";
    font-weight: 800;
    color: #000;
    display: flex;
    align-items: center;
    width: -moz-fit-content;
    width: fit-content;
    position: relative;
  }

  .formule-trinome-short-title-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    gap: 16px;
  }

  .formule-trinome-last-update {
    font-size: 11px;
    font-family: "Anybody";
    font-weight: 400;
    color: #000;
  }

  .formule-trinome-header,
  .formule-trinome-body-row {
    display: flex;
    gap: 10px;
  }

  .formule-trinome-unit-price,
  .formule-trinome-price,
  .formule-trinome-result,
  .formule-trinome-body-price,
  .formule-trinome-body-result {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
  }

  .formule-trinome-body-unit-price {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
  }

  .formule-trinome-unit-price,
  .formule-trinome-body-unit-price {
    width: 510px;

  }

  .formule-trinome-price,
  .formule-trinome-result,
  .formule-trinome-body-price,
  .formule-trinome-body-result {
    width: 320px;
  }

  .formule-trinome-label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .formule-trinome-peage-container {
    line-height: 1.2;
  }

  .formule-trinome-peage-price {
    font-size: 14px;
    font-family: "Oxygen";
    font-weight: 800;
    color: #949494;
  }

  .formule-trinome-peage-toggle {
    font-size: 10px;
    font-family: "Oxygen";
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 24px;
  }

  .formule-trinome-peage-toggle .components-toggle-control {
    margin-bottom: 0;
  }

  /* Personnalisation du toggle */
  .formule-trinome-peage-toggle .components-form-toggle {
    width: 24px;
    height: 13px;
  }

  .formule-trinome-peage-toggle .components-form-toggle__track {
    width: 24px;
    height: 13px;
    border-radius: 10px;
  }

  .formule-trinome-peage-toggle .components-form-toggle__thumb {
    width: 10px;
    height: 10px;
    border-radius: 8px;
    top: 1px;
    left: 1px;
  }

  .formule-trinome-peage-toggle .components-form-toggle.is-checked .components-form-toggle__thumb {
    left: -3px;
  }

  .formule-trinome-body-price {
    border-bottom: 1px dotted #003F74;
    border-radius: 0;
    position: relative;
  }

  .other-costs .formule-trinome-body-price {
    /*border-bottom: none;*/
  }

  .formule-trinome-body-price:hover {
    border-bottom: 1px solid #003F74;
  }

  .other-costs .formule-trinome-body-price:hover {
    /*border-bottom: none;*/
  }

  .formule-trinome-body-price input {
    width: 100%;
    border: none !important;
    background-color: transparent !important;
    text-align: center;
    font-size: 13px !important;
    font-family: "Arial" !important;
    font-weight: 800 !important;
    color: #003F74 !important;
  }

  .formule-trinome-body-result {
    font-size: 15px;
    font-family: "Oxygen";
    font-weight: 800;
    color: #003F74;
  }

  .formule-trinome-body-total-footer {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
  }

  .formule-trinome-body-total-container {
    width: 650px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
  }

  .formule-trinome-body-total-result {
    font-size: 24px;
    font-family: "Plus Jakarta Sans";
    font-weight: 800;
    color: #fff;
  }

  .formule-trinome-body-total-label,
  .formule-trinome-body-total-result {
    text-align: center;
    width: 50%;
  }

  .formule-trinome-body-price-unit {
    position: absolute;
    right: 10px;
    font-size: 14px;
    font-family: "Oxygen";
    font-weight: 800;
    color: #003F74;
  }

  /* Toggle Switch pour Formule Trinôme */
  .formule-trinome-switch-toggle {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 14px;
    margin-left: 8px;
  }

  .formule-trinome-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .formule-trinome-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 14px;
  }

  .formule-trinome-switch-slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }

  .formule-trinome-switch-input:checked+.formule-trinome-switch-slider {
    background-color: #003F74;
  }

  .formule-trinome-switch-input:checked+.formule-trinome-switch-slider:before {
    transform: translateX(11px);
  }

  /* Toggle Switch pour Formule Trinôme - Version Mobile */
  .formule-trinome-switch-toggle {
    position: relative;
    display: inline-block;
    width: 19px;
    height: 12px;
    margin-left: 5px;
  }

  .formule-trinome-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .formule-trinome-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 9px;
  }

  .formule-trinome-switch-slider:before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }

  .formule-trinome-switch-input:checked+.formule-trinome-switch-slider {
    background-color: #003F74;
  }

  .formule-trinome-switch-input:checked+.formule-trinome-switch-slider:before {
    transform: translateX(8px);
  }

  .formule-trinome-body-price-helper {
    font-size: 10px;
    font-family: "Oxygen";
    font-weight: 200;
    color: #003F74;
    position: absolute;
    bottom: -16px;
  }
}

@media (max-width: 999px) {
  .formule-trinome-container {
    width: 100%;
    margin: auto;
  }

  .formule-trinome-header {
    margin-bottom: 10px;
  }

  .formule-trinome-header,
  .formule-trinome-body-row {
    display: flex;
    gap: 10px;
  }

  .formule-trinome-unit-price,
  .formule-trinome-price,
  .formule-trinome-result,
  .formule-trinome-body-price,
  .formule-trinome-body-result {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
  }

  .formule-trinome-body-unit-price {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 16px 20px;
  }

  .formule-trinome-unit-price,
  .formule-trinome-body-unit-price {
    width: 48%;

  }

  .formule-trinome-price,
  .formule-trinome-result,
  .formule-trinome-body-price,
  .formule-trinome-body-result {
    width: 26%;
  }

  .formule-trinome-label .formule-trinome-label-title {
    font-size: 12px !important;
  }

  .formule-trinome-label .formule-trinome-label-description {
    font-size: 10px !important;
  }

  .formule-trinome-label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .formule-trinome-peage-container {
    line-height: 1.2;
  }

  .formule-trinome-peage-price {
    font-size: 12px;
    font-family: "Oxygen";
    font-weight: 800;
    color: #949494;
  }

  .formule-trinome-peage-toggle {
    font-size: 10px;
    font-family: "Oxygen";
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 24px;
  }

  .formule-trinome-peage-toggle .components-toggle-control {
    margin-bottom: 0;
  }

  /* Personnalisation du toggle */
  .formule-trinome-peage-toggle .components-form-toggle {
    width: 24px;
    height: 13px;
  }

  .formule-trinome-peage-toggle .components-form-toggle__track {
    width: 24px;
    height: 13px;
    border-radius: 10px;
  }

  .formule-trinome-peage-toggle .components-form-toggle__thumb {
    width: 10px;
    height: 10px;
    border-radius: 8px;
    top: 1px;
    left: 1px;
  }

  .formule-trinome-peage-toggle .components-form-toggle.is-checked .components-form-toggle__thumb {
    left: -3px;
  }

  .formule-trinome-body-price {
    border-bottom: 1px dotted #003F74;
    border-radius: 0;
    position: relative;
  }

  .other-costs .formule-trinome-body-price {
    border-bottom: none;
  }

  .formule-trinome-body-price:hover {
    border-bottom: 1px solid #003F74;
  }

  .other-costs .formule-trinome-body-price:hover {
    border-bottom: none;
  }

  .formule-trinome-body-price input {
    width: 100%;
    border: none !important;
    background-color: transparent !important;
    text-align: center;
    font-size: 13px !important;
    font-family: "Arial" !important;
    font-weight: 800 !important;
    color: #003F74 !important;
  }

  .formule-trinome-body-result {
    font-size: 14px;
    font-family: "Oxygen";
    font-weight: 800;
    color: #003F74;
  }

  .formule-trinome-body-total-footer {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
  }

  .formule-trinome-body-total-container {
    width: 52%;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
  }

  .formule-trinome-body-total-result {
    font-size: 14px;
    font-family: "Plus Jakarta Sans";
    font-weight: 800;
    color: #fff;
  }

  .formule-trinome-body-total-label,
  .formule-trinome-body-total-result {
    text-align: center;
    width: 50%;
  }

  .formule-trinome-body-price-unit {
    position: absolute;
    right: 10px;
    font-size: 14px;
    font-family: "Oxygen";
    font-weight: 800;
    color: #003F74;
  }

  /* Toggle Switch pour Formule Trinôme */
  .formule-trinome-switch-toggle {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 14px;
    margin-left: 8px;
  }

  .formule-trinome-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .formule-trinome-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 14px;
  }

  .formule-trinome-switch-slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }

  .formule-trinome-switch-input:checked+.formule-trinome-switch-slider {
    background-color: #003F74;
  }

  .formule-trinome-switch-input:checked+.formule-trinome-switch-slider:before {
    transform: translateX(11px);
  }

  /* Toggle Switch pour Formule Trinôme - Version Mobile */
  .formule-trinome-switch-toggle {
    position: relative;
    display: inline-block;
    width: 19px;
    height: 12px;
    margin-left: 5px;
  }

  .formule-trinome-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .formule-trinome-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 9px;
  }

  .formule-trinome-switch-slider:before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }

  .formule-trinome-switch-input:checked+.formule-trinome-switch-slider {
    background-color: #003F74;
  }

  .formule-trinome-switch-input:checked+.formule-trinome-switch-slider:before {
    transform: translateX(8px);
  }

  .formule-trinome-body-price-helper {
    font-size: 10px;
    font-family: "Oxygen";
    font-weight: 200;
    color: #003F74;
    position: absolute;
    bottom: -16px;
  }

  .formule-trinome-body-total-label {
    padding-inline: 1%;
  }
}

@media (max-width: 580px) {

  .formule-trinome-header,
  .formule-trinome-body-row {
    gap: 5px;
  }

  .formule-trinome-body-unit-price {
    padding: 10px 10px;
  }

  .formule-trinome-unit-price,
  .formule-trinome-body-unit-price {
    width: 45%;
  }

  .formule-trinome-price,
  .formule-trinome-result,
  .formule-trinome-body-price,
  .formule-trinome-body-result {
    width: 29%;
  }

  .formule-trinome-body-price-helper {
    font-size: 8px;
    bottom: -14px;
  }
}

/* Modal de pondération CNR */
.ponderation-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.ponderation-modal-content {
  background: white;
  width: 700px;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 700px;
  max-height: 428px;
  position: relative;
  padding: 40px;
}

.ponderation-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ponderation-modal-header h3 {
  margin: 0;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: "Montserrat" !important;
  color: #111827 !important;
}

.ponderation-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  color: #6b7280;
  transition: all 0.2s;
}

.ponderation-modal-close:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.ponderation-modal-description {
  margin: 0 0 20px 0;
  color: #374151;
  font-size: 12px;
  line-height: 1.5;
  font-family: "Montserrat";
  font-weight: 400;
}

.ponderation-options {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}

.ponderation-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.ponderation-option input[type="radio"] {
  cursor: pointer;
  accent-color: #0060a9;
}

.ponderation-option label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  gap: 10px;
}

.ponderation-option label:hover {
  border-color: #0060a9;
  background-color: #f8fafc;
}

.ponderation-option input[type="radio"]:checked+label {
  border-color: #0060a9;
  background-color: #eff6ff;
}

.ponderation-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #003F74;

}

.ponderation-rate {
  font-size: 16px;
  font-weight: 600;
}

.ponderation-option input[type="radio"]:checked+label .ponderation-rate {
  background-color: #0060a9;
  color: white;
}

.ponderation-modal-cancel,
.ponderation-modal-validate {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.ponderation-modal-cancel {
  background-color: #f3f4f6;
  color: #374151;
}

.ponderation-modal-cancel:hover {
  background-color: #e5e7eb;
}

.ponderation-modal-validate {
  background-color: #0060a9;
  color: white;
}

.ponderation-modal-validate:hover {
  background-color: #004d8c;
}

.ponderation-modal-footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-indexation-content-input input {
  text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
  .ponderation-modal-content {
    width: 95%;
    margin: 20px;
  }

  .ponderation-modal-header,
  .ponderation-modal-body,
  .ponderation-modal-footer {
    padding: 16px;
  }

  .ponderation-modal-footer {
    flex-direction: column;
  }

  .ponderation-modal-cancel,
  .ponderation-modal-validate {
    width: 100%;
  }

  .ponderation-option label {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ponderation-rate {
    align-self: flex-end;
  }
}

.simulator-block-form-result-content-right-item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.incidence-formula-value {
  font-weight: 800;
}

/* Outils de comparaison des indicateurs */
.indicator-comparison-tabs {
  width: 1170px;
  margin: auto;
}

.indicator-comparison-tabs-header {
  display: flex;
  gap: 10px;
}

.indicator-comparison-tabs-header-button {
  display: flex;
  padding: 10px;
  border-top-left-radius: 5px !important;
  border-top-right-radius: 5px !important;
  min-width: 145px;
  border: 1px solid #E5E7EB !important;
  border-bottom: none !important;
}

.indicator-comparison-tabs-header-button.active {
  border: none !important;
  border-bottom: 3px solid #26A1FF !important;
}

.indicator-comparison-tabs-content {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.body-section {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
}

.content-section-right-side {
  width: 100%;
  overflow-x: scroll;
}

.indicator-comparison-tabs-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.date-range-selector {
  display: flex;
  gap: 20px;
}

.base-selector-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.date-range-selector-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Accordéon styles pour indicator-comparison */
.accordeon-section-left-side-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  padding: 8px 10px;
  border-radius: 5px;
}

.accordeon-section-left-side {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.accordeon-section-left-side-item-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #003f74;
  font-family: 'Oxygen', sans-serif;
}

.accordeon-toggle-icon {
  font-size: 12px;
  color: #003f74;
  transition: transform 0.3s ease;
  font-weight: bold;
}

.accordeon-section-left-side-item.open .accordeon-toggle-icon {
  transform: rotate(180deg);
}

.accordeon-section-left-side-item-content-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #fff;
  border-radius: 0 0 4px 4px;
}

.accordeon-section-left-side-item.open .accordeon-section-left-side-item-content-wrapper {
  max-height: 500px;
  padding: 8px 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordeon-section-left-side-item-content {
  display: flex;
  gap: 10px;
  cursor: pointer;
  padding: 8px 10px;
  padding-bottom: 0px;
}

.accordeon-label-base,
.accordeon-label-unit {
  font-size: 10px;
  font-weight: 400;
  font-family: 'Montserrat';
  color: #495057;
}

.accordeon-label {
  line-height: 1.3;
}

.show-accordeon-toggle {
  width: 212px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Montserrat';
  color: #003f74;
}

.date-range-selector-item {
  font-size: 12px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans';
  color: #9A9CAE;
}

.date-range-selector-item input[type="month"] {
  width: 118px;
  height: 40px;
  border-radius: 5px;
  background-color: #F9F9F9;
  border: none;
  padding-inline: 10px;
}

.base-selector-item {
  height: 40px;
  font-size: 11px;
  font-weight: 400;
  font-family: 'Oxygen';
}

.base-selector-item input[type="text"] {
  width: 80px;
  border-radius: 5px;
  height: 28px;
}

.accordeon-section-left-side-item {
  width: 300px;
}

/* Animation pour l'ouverture/fermeture */
.accordeon-section-left-side-item-content-wrapper {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Style pour l'état fermé par défaut */
.accordeon-section-left-side-item:not(.open) .accordeon-section-left-side-item-content-wrapper {
  max-height: 0;
  padding: 0;
}

.tab-content-table table {
  border-collapse: separate;
  border-spacing: 2px;
  border: none;
  margin-inline: 0px;
}

.tab-content-table .year-header,
.tab-content-table .table-header-title,
.tab-content-table .month-header {
  background-color: #E8F5FF;
  color: #071336;
  font-weight: bold;
  text-align: center;
  font-size: 12px;
  font-family: 'Plus Jakarta Sans';
  padding-block: 8px;
  border: none;
}

.tab-content-table .table-body-label,
.tab-content-table .table-body-base,
.tab-content-table .table-body-value {
  font-size: 12px;
  font-weight: 400;
  font-family: 'Plus Jakarta Sans';
  color: #071336;
  padding: 8px 10px;
  box-shadow: 1px 1px 2px 1px #E5E7EB;
  border: none;
}

.tab-content-table .table-body-base,
.tab-content-table .table-body-value {
  text-align: center;
}

.tab-content-table .table-header-base {
  background-color: #E8F5FF;
  color: #071336;
  font-weight: bold;
  text-align: center;
  font-size: 10px;
  font-family: 'Plus Jakarta Sans';
  padding-block: 8px;
  line-height: 1.2;
  border: none;
}

.tab-content-table th,
.tab-content-table td {
  border-radius: 5px;
}

.show-accordeon-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #003f74;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 13px;
}

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 11px;
  width: 11px;
  left: 1px;
  bottom: 1px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.toggle-slider {
  background-color: #003f74;
}

input:checked+.toggle-slider:before {
  transform: translateX(11px);
}

.content-section-right-side::-webkit-scrollbar {
  display: none;
}

.chart-container-compare {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #7FAFD4;
  border-radius: 2px;
  padding-top: 10px;
  position: relative;
}

.chart-header {
  transform: rotateZ(-90deg);
  font-size: 16px;
  font-weight: 800;
  font-family: 'Inter';
  color: #003f74;
  margin-bottom: 10px;
  position: absolute;
  top: 180px;
  left: -14px;
}

.custom-chart-legend {
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 48px;
}

.custom-chart-legend .legend-item {
  min-width: 200px;
}

.custom-chart-legend .legend-item span {
  font-size: 11px;
  font-weight: 600;
  font-family: 'Inter';
  color: #003f74 !important;
}

.convert-indice-container {
  height: 24px;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .indicator-comparison-tabs,
  .indicator-comparison-tabs .accordeon-section-left-side-item
  {
    width: 100%;
  }

  
  .indicator-comparison-tabs .body-section,
  .indicator-comparison-tabs-content-header,
  .indicator-comparison-tabs .date-range-selector
  {
    flex-direction: column;
  }
  
  .accordeon-section-left-side {
    width: 100%;
    margin-bottom: 20px;
  }

  .accordeon-section-left-side-item-header h4 {
    font-size: 12px;
  }

  .accordeon-section-left-side-item-content span {
    font-size: 12px;
  }
}

/* Block annual subscription */
.block-annual-subscription {
  position: relative;
  margin-block: 40px;
  width: 920px;
  margin: auto;
}

.cart-annual-subscription {
  padding: 40px 30px;
  display: flex;
  gap: 40px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  border-radius: 20px;
  width: 400px;
  position: absolute;
  left: 790px;
  background-color: #fff;
}

.cart-annual-subscription-title {
  font-size: 24px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans';
  color: #003f74;
  text-align: center;
}

.cart-annual-subscription-content-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans';
  margin-bottom: 16px;
  color: #3E4347;
}

.cart-annual-subscription-content-date input {
  width: 130px !important;
  border: none !important;
  background-color: #F9F9F9 !important;
  height: 32px !important;
  font-size: 12px !important;
}

.cart-annual-subscription-content-date-date {
  width: 130px !important;
  border: none !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  margin-bottom: -5px !important;
}

.cart-annual-subscription-list ul {
  list-style: disc;
  padding-left: 25px;
}

.accept-conditions-use p,
.accept-conditions-sell p,
.use-same-address p {
  margin-bottom: 0;
}

.required {
  color: #FF0000;
}

.login-information-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 5px;
  color: #0060A9 !important;
}

/* Block payment subscription */
.cart-payment-publication-content {
  display: flex;
  gap: 20px;
}

.cart-publication-month-day {
  display: flex;
  flex-direction: column;
  background-color: #0060A9;
  padding: 8px;
  border-radius: 5px;
}

.cart-publication-month-day-month {
  font-size: 16px;
  font-weight: 800;
  font-family: 'Oxygen';
  color: #fff;
  line-height: 1;
  margin-bottom: 0px;
}

.cart-publication-month-day-day {
  font-size: 40px;
  font-weight: 800;
  font-family: 'Oxygen';
  color: #fff;
  line-height: 1;
  margin-bottom: 0px;
}

.cart-publication-year {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans';
  line-height: 1;
  margin-bottom: 0px;
  text-align: center;
}

.cart-publication-title-text {
  font-size: 16px;
  font-weight: 800;
  font-family: 'Oxygen';
  line-height: 1.2;
  margin-bottom: 0px;
  color: #060606;
}

.cart-payment-publication-list-price-item {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.cart-payment-publication-list-price-item p {
  margin-bottom: 0px;
}

.cart-payment-publication-list-price-item-title {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans';
  color: #3E4347;
}

.cart-payment-publication-list-price-item-price {
  font-size: 24px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans';
  color: #0060A9;
}

.cart-payment-publication {
  padding: 40px 30px;
  display: flex;
  gap: 40px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  border-radius: 20px;
  width: 400px;
  position: absolute;
  top: 80px;
  left: 790px;
  background-color: #fff;
}

/* Search result */
.cnr-section-content-publications-search-result {
  max-width: 1170px;
  width: 100%;
  margin: auto;
}

.cnr-publications-accordeon-search-result {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.right-search-result-content-title {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  max-width: 770px;
}

.right-search-result-content-subtitle {
  font-size: 16px;
  font-family: "Manjari", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: #666;
  line-height: 1.4;
  transition: all 0.3s ease;
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  max-width: none;
  max-height: none;
  height: auto;
  display: block;
  -webkit-line-clamp: none;
}


/* Fichiers joints dans les résultats de recherche */
.right-accordeon-content-files a {
  max-width: 770px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.left-accordeon-date-container {
  display: flex;
  gap: 10px;
}

/* === GAZOLE PRICE BLOCK STYLES === */
.gazole-filters {
  border-radius: 5px;
}

.gazole-filter-form {
  margin: 0;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.filter-item select {
  border-radius: 5px;
  background-color: #F9F9F9;
  font-size: 12px;
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  height: 32px;
  border: 1px solid #0000001a;
  color: #003F74;
  padding-inline: 10px;

}

.filter-submit {
  background-color: #0060A9 !important;
  color: white;
  border: none !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  font-family: 'Montserrat' !important;
  height: 34px !important;
  min-height: 34px !important;
  width: 95px !important;
}

.filter-submit:hover {
  background-color: #005a87;
}

.filter-submit:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.65;
}

.active-filters {
  margin-top: 10px;
  padding: 10px;
  background-color: #e3f2fd;
  border-left: 4px solid #2196f3;
  font-size: 14px;
}

.clear-filters,
.clear-filters-ajax {
  color: #dc3545;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.clear-filters:hover,
.clear-filters-ajax:hover {
  text-decoration: underline;
}

.gazole-period-info {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
}

.gazole-period-info p {
  margin: 0;
  font-size: 14px;
}

.gazole-no-data {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  margin: 20px 0;
}

.gazole-price-table {
  width: 100%;
  border-collapse: collapse;
}

.gazole-price-table th,
.gazole-price-table td {
  text-align: center;
  border: none;
}

.gazole-price-table th {
  background-color: #E8F5FF;
  color: #071336;
  font-size: 12px;
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  border-radius: 5px;
  padding-block: 10px;
}

.gazole-price-table th:first-child {
  min-width: 140px;
}

.gazole-price-table th:last-child {
  border-top-right-radius: 0px !important;
}

.gazole-price-table td {
  height: 40px;
  font-size: 12px;
  font-family: 'Plus Jakarta Sans';
  font-weight: 400;
  padding-block: 10px;
  line-height: 1;
}

.country-name {
  font-weight: 600;
  color: #003F74;
}

.gazole-error {
  background: #ffebee;
  color: #c62828;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ef5350;
  border-radius: 4px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-item {
    width: 100%;
  }

  .filter-item select {
    min-width: 100%;
  }

  .gazole-price-table {
    font-size: 12px;
  }

  .gazole-price-table th,
  .gazole-price-table td {
    padding: 8px 4px;
  }
}

.gazole-filter-form .filter-group .filter-item {
  display: flex;
}

.filter-item label {
  white-space: nowrap;
  margin-bottom: 0px;
  line-height: 1;
  font-size: 12px;
  font-family: 'Plus Jakarta Sans';
  font-weight: 600;
  color: #626262;
}

.wp-block-cnr-blocks-gazole-price {
  width: 920px !important;
  margin: auto;
  padding: 16px 20px;
}

.gazole-price-table {
  border: none;
  border-collapse: separate;
  border-spacing: 2px;
}

#gazole_year {
  width: 90px;
}

#gazole_week {
  width: 131px;
}

.is-error {
  display: none;
}

/* Download ponderation */
.cnr-download-ponderation-btn,
.cnr-indice-download-trigger,
.cnr-download-indicator-btn,
.cnr-download-prix-gazole-btn,
.cnr-download-europe-btn {
  border: 1px solid #7FAFD4;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  padding-inline: 30px;
  color: #0060a9;
  font-weight: 700;
  position: absolute;
  top: 0px;
  right: 0;
  gap: 5px;
  padding-block: 7px;
  cursor: pointer;
}

.cnr-camembert-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

.cnr-camembert-chart {
  width: 100%;
  max-width: 100%;
  position: relative;
}

.cnr-camembert-chart svg {
  max-width: 100%;
  height: auto;
}

.cnr-camembert-chart>div {
  max-width: 100%;
}

.cnr-camembert-chart text {
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.cnr-camembert-header {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 999px) {

  .cnr-download-ponderation-btn-text,
  .cnr-indice-download-trigger-text,
  .cnr-download-indicator-btn-text,
  .cnr-download-prix-gazole-btn-text {
    display: none;
  }

  .cnr-download-ponderation-btn,
  .cnr-indice-download-trigger,
  .cnr-download-indicator-btn,
  .cnr-download-prix-gazole-btn {
    padding-inline: 15px;
    top: 1px;
  }

  .cnr-camembert-wrapper {
    padding: 5px;
  }

  .cnr-camembert-chart {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 250px !important;
    max-height: 350px !important;
    overflow: hidden;
  }

  .cnr-camembert-header {
    align-items: flex-start !important;
    gap: 10px !important;
    margin-left: 0 !important;
    padding: 0 15px !important;
  }

  .cnr-camembert-header h3 {
    font-size: 14px !important;
    line-height: 1.4 !important;
    width: 70%;
  }

  .cnr-camembert-year-select {
    width: 100% !important;
    max-width: 150px !important;
  }

  .cnr-camembert-chart canvas {
    max-width: 100% !important;
    height: auto !important;
  }

  .cnr-camembert-chart div[role="application"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  .cnr-camembert-chart svg text {
    font-size: 10px !important;
  }

  .cnr-camembert-chart g[role="button"] text {
    max-width: 180px;
  }

  .cnr-camembert-chart tspan {
    word-wrap: break-word;
    word-break: break-word;
  }

  .cnr-camembert-chart svg text[text-anchor="middle"] {
    font-size: 18px !important;
  }
}

@media (max-width: 599px) {
  .cnr-camembert-chart {
    min-height: 200px !important;
    max-height: 280px !important;
  }

  .cnr-camembert-header h3 {
    font-size: 12px !important;
  }

  .cnr-camembert-year-select {
    font-size: 12px !important;
    height: 30px !important;
    border-radius: 5px !important;
  }

  .cnr-camembert-chart svg text {
    font-size: 8px !important;
  }

  .cnr-camembert-wrapper {
    padding: 5px 0;
  }

  .cnr-camembert-header {
    padding: 0 10px !important;
  }

  .cnr-camembert-chart g[role="button"] text {
    max-width: 120px !important;
  }

  .cnr-camembert-chart tspan {
    word-wrap: break-word !important;
    word-break: break-word !important;
  }

  .cnr-camembert-chart svg text[text-anchor="middle"] {
    font-size: 14px !important;
  }

  .uagb-tabs__body-wrap button.mt-mobile {
    width: -moz-fit-content !important;
    width: fit-content !important;
  }
}

.uagb-tabs__body-wrap .mobile-legend button.mt-mobile {
  width: -moz-fit-content !important;
  width: fit-content !important;
}

.block-editor .cnr-camembert-wrapper {
  width: 100%;
  max-width: 100%;
}

.block-editor .cnr-camembert-chart {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 999px) {
  .block-editor .cnr-camembert-header {
    flex-wrap: wrap !important;
  }

  .block-editor .cnr-camembert-chart {
    min-height: 300px !important;
  }
}

/* Slider */
.wp-block-cnr-blocks-slider {
  width: 100% !important;
  max-width: 100%;
}

/* Indice CNR Graph */
.am5-logo-group,
.am5-logo,
.am5-branding {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

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

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

.cnr-base100-loading {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 1000 !important;
  border-radius: 8px !important;
}

.cnr-interactive-chart-indice {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  font-family: system-ui, -apple-system, sans-serif;
  min-height: 430px;
}

.slider-container {
  left: 9px;
  top: 24px;
  width: 12px;
  height: 345px;
  z-index: 0;
  background: rgba(173, 216, 230, 0.3);
  border-right: 1px solid #ddd;
  border-radius: 12px;
}

@media (max-width: 999px) {
  .slider-container {
    height: 320px;
  }

  .horizontal-slider-container {
    margin-top: 0px;
  }

  .cnr-chart-legend {
    margin-top: 0px !important;
  }

  .date-scale span:nth-child(2n) {
    display: none;
  }
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slider-line {
  position: absolute;
  left: 50%;
  top: 25%;
  bottom: 25%;
  width: 8px;
  background: #1f4e79;
  transform: translateX(-50%);
  z-index: 1;
}

.slider-handle-max {
  position: absolute;
  left: 50%;
  top: 25%;
  width: 16px;
  height: 16px;
  background: #1f4e79;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

.slider-handle-min {
  position: absolute;
  left: 50%;
  bottom: 25%;
  width: 16px;
  height: 16px;
  background: #1f4e79;
  border-radius: 50%;
  transform: translate(-50%, 50%);
  cursor: pointer;
  z-index: 2;
}

.cnr-chart-container {
  width: 100%;
  height: 400px;
}

.horizontal-slider-container {
  position: relative;
  width: 96%;
  margin: 0 auto;
  margin-top: 20px;
  height: 42px;
  background: #E5F2FF;
  border-radius: 4px;
  padding-block: 4px;
}

.horizontal-slider {
  position: relative;
  width: calc(100% - 60px);
  height: 8px;
  background: rgba(173, 216, 230, 0.3);
  border-top: 1px solid #ddd;
  margin: 0 30px;
  border-radius: 4px;
}

.horizontal-slider-line {
  position: absolute;
  left: 25%;
  right: 25%;
  top: 50%;
  height: 4px;
  background: #1f4e79;
  transform: translateY(-50%);
  z-index: 1;
}

.horizontal-slider-handle-min {
  position: absolute;
  left: 25%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #1f4e79;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

.horizontal-slider-handle-max {
  position: absolute;
  left: 75%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #1f4e79;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

.cnr-select-all {
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  margin-right: 40px;
  background: none;
  border: none;
  color: inherit;
}

.cnr-deselect-all {
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  margin-right: 40px;
  background: none;
  border: none;
  color: inherit;
}

.cnr-indices-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 42px;
  margin-inline: auto;
  margin-bottom: 12px;
  width: calc(100% - 50px);
}

.cnr-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  width: 320px;
}

.cnr-toggle-label {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 11px;
  cursor: pointer;
  margin-bottom: 0px;
  flex-shrink: 0;
}

.cnr-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cnr-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
  border-radius: 22px;
  border: 1px solid #2A3443;
}

.cnr-toggle-button {
  position: absolute;
  content: '';
  height: 8px;
  width: 8px;
  bottom: 6%;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
  border: 1px solid #2A3443;
}

.cnr-toggle-color {
  position: relative;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cnr-toggle-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cnr-chart-legend-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  justify-content: space-between;
  padding-inline: 25px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.mobile-legend {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  padding-block: 5px;
  flex-wrap: wrap;
  gap: 12px;
}

.mobile-legend-overlay {
  position: absolute;
  top: -5px;
  left: -15px;
  right: -15px;
  bottom: -5px;
  z-index: 10;
  background: repeating-linear-gradient(135deg, #fff 1px 3px, #e5e7eb 1px 5px);
  opacity: 0.7;
  pointer-events: all;
  cursor: not-allowed;
  border-radius: 5px;
  border: 2px solid #fff;
  gap: 12px;
}

.mobile-legend-text {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-family: 'Inter';
  font-weight: 500;
  min-width: 150px;
  color: #000;
}

.cnr-chart-container canvas {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: block;
  height: auto !important;
}

@media (max-width: 600px) {
  .cnr-chart-container {
    min-height: 350px;
    height: auto;
  }
}

/* Petrole popup */

@media (max-width: 890px) {
  .petrole-popup-image {
    max-width: 500px !important;
    max-height: 410px !important;
  }
}

@media (max-width: 550px) {
  .petrole-popup-image {
    max-width: 320px !important;
    max-height: 280px !important;
  }
}

@media (max-width: 400px) {
  .petrole-popup-image {
    max-width: 300px !important;
    max-height: 260px !important;
  }
}

@media (max-width: 320px) {
  .petrole-popup-image {
    max-width: 250px !important;
    max-height: 220px !important;
  }
}

.petrole-popup-block {
  max-width: 100%;
}

.petrole-popup-simulator-container-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.petrole-popup-simulator-container {
  width: 100%;
  height: 259px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #428BC1;
}

.petrole-gaz {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .petrole-popup-simulator-container {
    width: 100% !important;
  }
}

@media (max-width: 460px) {
  .petrole-popup-simulator-container {
    height: auto !important;
  }
}

@media (max-width: 1170px) {
  .petrole-gaz {
    padding-inline: 5% !important;
  }
}

/* Améliorations flatpickr month dropdown */
.flatpickr-monthSelect-months {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px 3%;
  gap: 5px 1%;
}

.flatpickr-monthSelect-month {
  width: 30%;
  padding: 5px 10px;
  box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans';
  cursor: pointer;
}

.flatpickr-monthSelect-month.selected {
  background-color: #0060A9;
  color: #fff;
}

.flatpickr-monthSelect-month.flatpickr-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: repeating-linear-gradient(135deg, #fff 1px 3px, #b1a1a1 1px 5px);
}
/* ===== CNR Accordeon Block Styles (Custom Block - Not Kadence) ===== */
/* These styles are scoped to prevent conflicts with Kadence Blocks plugin */

.wp-block-cnr-blocks-accordeon {
  width: 100%;
}

.wp-block-cnr-blocks-accordeon .cnr-accordeon {
  width: 100%;
  margin-bottom: 10px;
}

.wp-block-cnr-blocks-accordeon .cnr-accordeon-trigger {
  display: flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  border-width: 0px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.wp-block-cnr-blocks-accordeon .cnr-accordeon-trigger:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.wp-block-cnr-blocks-accordeon .cnr-accordeon-trigger:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
  --tw-ring-offset-width: 2px;
}

.wp-block-cnr-blocks-accordeon .cnr-accordeon-trigger:hover {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.wp-block-cnr-blocks-accordeon .cnr-accordeon-content {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.wp-block-cnr-blocks-accordeon .cnr-accordeon-icon {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

/* ===== CNR Accordeon Item Block Styles ===== */

.wp-block-cnr-blocks-accordeon-item {
  width: 100%;
}

.wp-block-cnr-blocks-accordeon-item .cnr-accordeon-item {
  margin-bottom: 0.5rem;
  width: 100%;
}

.wp-block-cnr-blocks-accordeon-item .cnr-accordeon-item-trigger {
  display: flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.wp-block-cnr-blocks-accordeon-item .cnr-accordeon-item-trigger:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1));
  --tw-ring-offset-width: 1px;
}

.wp-block-cnr-blocks-accordeon-item .cnr-accordeon-item-trigger:hover {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-brightness: brightness(.95);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.wp-block-cnr-blocks-accordeon-item .cnr-accordeon-item-content {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.wp-block-cnr-blocks-accordeon-item .cnr-accordeon-item-icon {
  font-size: 0.75rem;
  line-height: 1rem;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

/* ===== Edit mode styles (Block Editor only) ===== */

.cnr-accordeon-edit {
  width: 100%;
}

.cnr-accordeon-item-edit {
  width: 100%;
}

.cnr-accordeon-header {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
}

.cnr-accordeon-item-title {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
}

.mobile-submenu-title.no-children
{
  padding-left: 0;
}
