html, body {
    margin: 0 !important;
    padding: 0 !important;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: auto;
    background-color: #327bbf;
    padding: 12px 40px 14px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: hidden; overflow-y: hidden;
    overflow: visible;
    min-height: 0;
    box-sizing: border-box;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14),0 1px 10px 0 rgba(0,0,0,0.12),0 2px 4px -1px rgba(0,0,0,0.3);
}

.header > * {
    flex-shrink: 0;
}

.margin-left {
    margin-left: 0;
    margin-top: 0;
}

.border {
    border: #656b6f ;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    color: #327bbf;
}

.margin-line {
    margin-top: 1%;
}

.filter-title {
    font-size: 17px;
    font-weight: bold;
    color: white;
    margin-bottom: 0px;
    display: block;
}

.header label {
    font-size: 13px !important;
    color: white;
}

.header .Select-menu-outer,
.header .dropdown-menu,
.Select-menu-outer {
    z-index: 1001 !important;
    position: absolute !important;
}

.dropdown {
    font-size: 14px;
    padding: 0%;
}

.no-padding-div {
    margin-bottom: 0;
    margin-right: 20px;
    line-height: 1.1;
}

.arrows {
    color: #327bbf;
    font-size: 30px;
    text-align: center;
    vertical-align: middle;
    align-items: center;
    display: flex;
    justify-content: center;
}

.item-name {
    display: block;
    color: #193e60;
    font-style: italic;
    text-align: right;
}

.item-description {
    font-size: 12px;
}

.item-value {
    display: block;
    margin-top: 5px;
}

.item-additional-value > h6 {
    font-size: 12px;
    font-weight: normal;
    font-style: italic;
}

.table-border-bottom {
    border-bottom-style: solid !important;
    border-bottom-color: inherit !important;
}

.table-border-top {
    border-top-style: solid !important;
    border-top-color: inherit !important;
}

.table-no-border {
    border-style: hidden;
}

.modal-body {
    font-family: "Lato", sans-serif !important;
    font-size: 13px !important;
    color: #193e60;
}

.modal-footer > .btn {
    color: white !important;
    background-color: #327bbf !important;
    font-size: 13px !important;
}

.modal-button:hover, .modal-button:active, .modal-button {
    color: #327bbf !important;
    background: none !important;
    padding: 0px !important;
    border: none !important;
    font-size: 14px !important;
    font-family: "Lato", sans-serif !important;
    font-weight: bold !important;
    text-decoration: underline !important;
    display: inline-block;
}

.row-overflow {
    overflow: visible !important;
}

.logo {
    display: block;
    max-width: 100%;
    height: 20px;
    width: auto;
    object-fit: contain;
}

.footnote {
    display: block;
    position: relative;
    font-size: 12px;
    overflow: visible !important;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 22px;
    margin-left: 2% !important;
    padding-left: 0 !important;
    margin-bottom: 25px;
}

p {
    font-family: "Lato", sans-serif !important;
    color: #193e60 !important;
}

p {
    font-family: "Lato", sans-serif !important;
    color: #193e60 !important;
}

text {
    font-family: "Lato", sans-serif !important;
    color: #193e60;
}

a {
    font-family: "Lato", sans-serif;
    color: #01757d;
    font-style: italic;
}

.figure-text {
    font-family: "Lato", sans-serif;
    color: #01757d;
    font-weight: bold;
}

.xgrid {
    stroke: rgb(236, 239, 244) !important;
    stroke-opacity: 1 !important;
    stroke-width: 1px !important;
}

.ygrid {
    stroke: rgb(236, 239, 244) !important;
    stroke-opacity: 1 !important;
    stroke-width: 1px !important;
}

.small-label {
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.indicator-toggle {
    position: relative;
    display: inline-flex;
    background-color: #ffffff;
    border: 1px solid #01757d;
    border-radius: 4px;
    padding: 1px;
    gap: 0;
}

.indicator-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background-color: #01757d;
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    box-shadow: 0 2px 8px rgba(1, 117, 125, 0.4);
}

.indicator-slider.slid {
    transform: translateX(100%);
}

.indicator-btn {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    padding: 7px 20px;
    border: none;
    background-color: transparent;
    color: #01757d;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    user-select: none;
    min-width: 130px;
    text-align: center;
}

.indicator-btn.active {
    color: white;
    font-weight: 700;
}

/* ── Non-active € / % buttons: not bold ─────────────────────────────────── */
.indicator-btn:not(.active) {
    font-weight: 400;
}

/* ── indicator-base-filter dropdown: match toggle styling ────────────────── */
/* Scoped tightly to #indicator-base-filter so no other dropdown is affected  */

#indicator-base-filter .Select-control {
    border: 1px solid #01757d !important;
    border-radius: 4px !important;
}

#indicator-base-filter .Select-value-label,
#indicator-base-filter .Select-placeholder {
    color: #01757d !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

#indicator-base-filter .Select-arrow {
    border-top-color: #01757d !important;
}

#indicator-base-filter .Select-menu-outer {
    border: 1px solid #01757d !important;
    border-radius: 4px !important;
    font-size: 13px !important;
}

#indicator-base-filter .Select-option {
    color: #01757d !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 13px !important;
}

#indicator-base-filter .Select-option.is-focused {
    background-color: rgba(1, 117, 125, 0.1) !important;
}

#indicator-base-filter .Select-option.is-selected {
    background-color: #01757d !important;
    color: white !important;
}

.container-fluid, .row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.modern-dropdown .Select-control,
.modern-dropdown.Select.is-focused:not(.is-open) > .Select-control {
    border-radius: 30px !important;
    border: none !important;
    background-color: white !important;
    padding: 2px 12px !important;
    height: 42px !important;
    box-shadow: none !important;
}

.modern-dropdown .Select-value-label,
.modern-dropdown .Select-placeholder {
    line-height: 42px !important;
    font-weight: 600 !important;
    color: #1a2e44 !important;
    font-size: 14px !important;
}

.modern-dropdown .Select-arrow-zone {
    padding-right: 12px !important;
}

.modern-dropdown .Select-arrow {
    border-color: #1a2e44 transparent transparent !important;
}

.modern-dropdown .Select-menu-outer {
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    border: none !important;
}

.modern-dropdown input {
    caret-color: transparent;
}

.full-impl-btn {
    background-color: #1a2e44 !important;
    color: white !important;
    border: none !important;
    border-radius: 20px !important;

    height: 32px !important;
    padding: 0 14px !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: "Lato", sans-serif !important;
    cursor: pointer !important;
    white-space: nowrap !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.full-impl-btn:hover {
    background-color: #243d56 !important;
}

.phaseout-pill {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: white;
    border-radius: 30px;
    height: 42px;
    padding: 0 8px 0 14px;
    box-sizing: border-box;
    width: 100%;
    margin-top: 8px;
    overflow: visible !important;
}

.phaseout-pill .phaseout-slider {
    flex: 1;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
    height: 42px;
    display: flex;
    align-items: center;
}

.phaseout-pill .rc-slider {
    padding: 5px 0 !important;
    width: 100% !important;
    margin: 0 28px !important;
}

.phaseout-pill .rc-slider-rail {
    background-color: transparent !important;
    height: 4px !important;
    border-radius: 4px !important;
}

.phaseout-pill .rc-slider-track {
    background-color: transparent !important;
    height: 4px !important;
    border-radius: 4px !important;
}

.phaseout-pill .rc-slider-handle {
    background-color: #1a2e44 !important;
    border: none !important;

    width: auto !important;
    min-width: 56px !important;
    height: 28px !important;

    border-radius: 20px !important;
    margin-top: -12px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
    cursor: pointer !important;
    transform: translateX(-50%);
}

.phaseout-pill .rc-slider-handle::after {
    content: attr(aria-valuenow);
    color: white;
    font-size: 13px;
    font-weight: bold;
    font-family: "Lato", sans-serif;
    pointer-events: none;
}


.phaseout-pill .rc-slider-handle:hover,
.phaseout-pill .rc-slider-handle:active {
    border-color: #1a2e44 !important;
    box-shadow: 0 0 0 4px rgba(50, 123, 191, 0.2) !important;
}

.phaseout-pill .rc-slider-dot {
    display: none !important;
}

.phaseout-pill .rc-slider-dot-active {
    background-color: #327bbf !important;
}

.phaseout-pill .rc-slider-tooltip {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

#phaseout-year-display {
    flex-shrink: 0;
    background-color: #1a2e44;
    color: white;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 14px;
    margin-left: 8px;
    line-height: 1.4;
    white-space: nowrap;
}

.phaseout-pill {
    flex: 1;
}
