:root {
  --primary-color: #5E80BF;
  --secondary-color: #668FDC;
  --bg-light-color: #fbfcfc;
  --bg-dark-color: #141721;
  --dark-mode-icon-color: #ddd;
  --filter-range-span-color: #666666;
  --hr-border-color: #E0E5EB;
}

@font-face {
    font-family: 'Roboto';
    src: url('./font/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


.primary-color {
  color: var(--primary-color) !important;
}

.secondary-color {
  color: var(--secondary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}


a {
  text-decoration: none !important; /* Usunięcie podkreślenia */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto';
  overflow-x: hidden;
}

.nav-link {
color: black;
}

.nav-link:hover {
  background-color: #2C3E50 !important;
  color: #A8E6CF !important;
  border-radius: 20px;
}

.nav-link.active,
.card-header-1,
.card-header-2,
.card-header-3,
.card-style-1,
.card-style-2,
.card-style-3,
.back-to-top {
  background-color: #A8E6CF !important;
  color: black !important;
  border-radius: 20px;
}

@media (max-width: 991.98px) {
  .navbar-collapse-custom {
      position: absolute;
      top: 80px;            /* tuż pod navbar */
      left: 0;
      right: 0;
      width: 100vw;         /* pełna szerokość viewportu */
      background-color: white;
      z-index: 1050;        /* wyżej niż pozostałe elementy */
      padding: 10px;        /* opcjonalne odstępy wewnętrzne */
  }
}

@media (min-width: 992px) {
  .navbar-collapse-custom {
      position: static;
      width: auto;
      background-color: transparent;
      padding: 0;
  }
}

.bg-primary
 {
  background-color: var(--bg-light-color) !important;
}


.rc-slider-track,
.rc-slider-handle,
.rc-slider-handle:hover {
  background-color: var(--primary-color) !important;
}

.bg-light,
.ag-row-selected {
  background-color: var(--bg-light-color) !important;
  color: black;
}

.bg-dark {
  background-color: var(--bg-dark-color) !important;
  color: #fff;
}

.gNzOJJ {
  background: var(--secondary-color)  !important;
}
.form-check-input:checked {
  background-color: ar(--secondary-color);
  border-color: ar(--secondary-color);
}

.content-container {
  min-height: 85.2vh;
  overflow-y: auto;
  padding: 50px;
}

.toolbars-navbar {
  position: fixed;
  top: 80px;
  width: 100%;
  left: 0;
}

.home-card-info,
.card-body-style,
.bulletin-switch {
  padding: 10px;
}

.card-body-style {
  padding: 12px;
}

.mr-2 {
  margin-right: 20px;
}

.ml-2 {
  font-weight: 700;
}

.grid {
  display: grid;
  grid-gap: 5px;
  grid-template-columns: 20% 50% 30%;
  grid-template-rows: auto;
  text-align: center;
  width: 99%;
  height: 87vh;
}

.dark-mode-icons,
.lang-switch-btn {
  color: var(--dark-mode-icon-color);
}

.lang-switch-btn {
  background-color: transparent;
  border: none;
  border-radius: 7px;
  padding: 8px;
  color: black;
}

.filter-range-slider {
  width: 250px;
}

.filter-range-span {
  position: relative;
  left: -30px;
  font-size: 13px;
  color: var(--filter-range-span-color);
}

.about-section-header-left,
.coop-section-header-left {
  display: block;
  text-align: right;
  font-weight: 500;
  margin-right: 50px;
}

.about-section-header-right,
.coop-section-header-right {
  display: inline;
  left: 50px;
  position: relative;
  font-weight: 500;
}

.about-section-class,
.coop-section-class {
  padding: 0px 50px;
  font-size: 1.2rem;
  line-height: 2.5rem;
  justify-content: center;
  display: inline-block;
  text-align: justify;
}



.hr-right,
.hr-left {
  width: 40%;
  border-top: 3px solid var(--hr-border-color);
}

.hr-right {
  position: relative;
  left: 50px;
}

.hr-left {
  float: right;
  margin-right: 50px;
}

.back-to-top,
 .coop-back-to-top{
  display: block;
  position: fixed;
  bottom: 40px;
  right: 20px;
  padding: 15px 20px;
  font-size: 14px;
  text-align: center;
  border-radius: 50px;
  text-decoration: none;
  z-index: 1000;
}

.back-to-top:hover,
 .coop-back-to-top:hover{
  background-color: #0056b3;
}

#toolbar-toggler > .navbar-toggler-icon {
  width: 2.5em;
  height: 1.5em;
  background-image: none;
}

#toolbar-toggler > .navbar-toggler-icon:before {
  content: "Filter";
  font-size: .8rem;
}

.vertical-line {
  border-left: 3px solid #666;
  height: 100%;
  position: relative;
  left: 50%;
  top: 0;
}

.tooltip-inner {
background-color: var(--primary-color) !important;
border: 2px solid #fff;
border-radius: 10px;
}

.modebar-group {
  background-color: rgba(0, 0, 0, 0) !important;
}

.modebar {
color: black;
}

.download-btn-style {
border: 1px solid #E0E5EB;
  padding: 5px 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
}


.home-download-btn-style {
background-color: transparent;
  border: none;
  width: 100%;
  height: 100%;
}

.jjZFEi{
font-size: 23px !important;
}

.cQuwGN,
.daeZFP
{
background:transparent !important;
}

/* Mobile: ułóż wartość i sparkline jeden pod drugim */
@media (max-width: 575.98px) {
  .insight-card-body {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Przy dużym powiększeniu (często zbliżone do sytuacji 200%) też przechodzimy w kolumnę.
   480px to bezpieczna granica, możesz dać 520/560 zależnie od designu. */
@media (max-width: 480px) {
  .insight-card-body {
    flex-direction: column;
    align-items: stretch;
  }
}

.insight-line{
  display:flex;
  align-items:center;
  gap: 0.9rem;
  flex-wrap: nowrap;        /* ZAWSZE jedna linia */
}

/* liczba ma priorytet */
.insight-value{
  flex: 0 0 auto;
  white-space: nowrap;
}

/* sparkline ma się kurczyć */
.insight-spark{
  flex: 1 1 auto;
  min-width: 4.5rem;
  max-width: 100%;
}

/* MOBILE: sparkline niższy */
@media (max-width: 576px){
  .insight-spark svg{
    height: 28px !important;
  }
}

/* Przy bardzo małej szerokości / 200% zoom */
@media (max-width: 420px){
  .insight-line{ gap: 0.6rem; }
  .insight-spark{ min-width: 3.8rem; }
}



.dmc-indicator {
  width: 30px;
  height: 20px;
  background-color: #E0E5EB;
  transition: width 250ms ease;

  &[data-active] {
    background-color: #A8E6CF;
    width: 80px;
  }
}