* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #24322a;
    background: #f5f7f5;
}

header {
    padding: 28px 20px 24px;
    text-align: center;
    background: #ffffff;
}

header h1 {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    color: #234b34;
}

header p {
    max-width: 760px;
    margin: 0 auto;
    color: #55645b;
    line-height: 1.5;
}

.map-section {
    width: min(1400px, 100%);
    margin: 0 auto;
    padding: 0 18px 34px;
}

.map-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin: 20px 0 12px;
}

.map-heading h2 {
    margin: 0;
}

.map-heading p {
    margin: 0;
    color: #66736b;
}

/* =========================
   OZNACZENIA LAT
   ========================= */

.year-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;

    padding: 0 12px 6px;

    font-size: 17px;
    font-weight: bold;

    color: #365341;
}

/* =========================
   MAPA
   ========================= */

#map {
    position: relative;
    isolation: isolate;

    width: 100%;
    height: 72vh;
    min-height: 520px;

    border-radius: 14px;
    overflow: hidden;

    border: 1px solid #d8dfda;
    box-shadow: 0 8px 24px rgba(28, 54, 37, 0.12);

    background: #dfe7e1;
}

/* =========================
   SUWAK
   ========================= */

#swipe-handle {
    position: absolute;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 40px;

    transform: translateX(-50%);

    z-index: 1000;

    cursor: ew-resize;
    touch-action: none;
}

.swipe-line {
    position: absolute;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 3px;

    transform: translateX(-50%);

    background: white;

    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);

    pointer-events: none;
}

.swipe-button {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    font-weight: bold;

    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);

    pointer-events: none;
}

/* =========================
   PANEL WARSTW
   ========================= */

#layer-control {
    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 1100;

    font-family: Arial, Helvetica, sans-serif;
}

#layer-toggle {
    position: relative;

    z-index: 1101;

    border: 1px solid #cfd7d1;
    border-radius: 6px;

    background: white;
    color: #24322a;

    padding: 8px 12px;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;

    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

#layer-toggle:hover {
    background: #f3f5f3;
}

#layer-panel {
    display: none;

    margin-top: 6px;

    width: 220px;
    max-height: 70vh;

    overflow-y: auto;

    padding: 12px;

    background: white;

    border: 1px solid #cfd7d1;
    border-radius: 8px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);

    font-size: 14px;
}

#layer-panel.open {
    display: block;
}

#layer-panel label {
    display: flex;
    align-items: center;

    gap: 8px;

    padding: 5px 2px;

    cursor: pointer;
}

#layer-panel input[type="checkbox"] {
    width: 16px;
    height: 16px;

    margin: 0;

    cursor: pointer;
}

.layer-section-title {
    margin-top: 10px;
    margin-bottom: 4px;

    padding-bottom: 4px;

    border-bottom: 1px solid #e1e6e2;

    color: #365341;

    font-weight: bold;
}

.layer-section-title:first-child {
    margin-top: 0;
}

/* =========================
   PODZIAŁKA
   ========================= */

.leaflet-control-scale {
    margin-left: 10px !important;
    margin-bottom: 10px !important;
}

.leaflet-control-scale-line {
    background: rgba(255, 255, 255, 0.92);

    border: 1px solid #24322a;
    border-top: 3px solid #24322a;

    color: #24322a;

    font-size: 12px;
    font-weight: bold;

    line-height: 1.2;

    padding: 2px 6px;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

/* =========================
   STATUS
   ========================= */

.map-status {
    padding: 16px;
    font-weight: bold;
    color: #365341;
}

/* =========================
   STOPKA
   ========================= */

footer {
    padding: 24px 20px;

    text-align: center;

    background: #234b34;
    color: #ffffff;
}

/* =========================
   WYNIKI — NAJWAŻNIEJSZE ZMIANY
   ========================= */

.results-section {
    width: min(1400px, 100%);
    margin: 0 auto;
    padding: 10px 18px 50px;
}

.results-heading {
    margin-bottom: 22px;
}

.results-heading h2 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #234b34;
}

.results-heading p {
    margin: 0;
    color: #66736b;
    line-height: 1.5;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.result-card {
    padding: 22px;

    background: #ffffff;

    border: 1px solid #d8dfda;
    border-radius: 12px;

    box-shadow: 0 4px 14px rgba(28, 54, 37, 0.08);
}

.result-icon {
    font-size: 30px;
    margin-bottom: 8px;
}

.result-card h3 {
    margin: 0 0 14px;

    font-size: 19px;
    color: #234b34;
}

.result-values {
    margin-bottom: 10px;

    font-size: 15px;
    color: #24322a;
}

.result-values strong {
    display: block;
    line-height: 1.4;
}

.result-change {
    margin-bottom: 12px;

    font-size: 21px;
    font-weight: bold;
}

.result-change span {
    display: block;

    margin-top: 2px;

    font-size: 15px;
}

.result-change.increase {
    color: #39704a;
}

.result-change.decrease {
    color: #a0473c;
}

.result-card p {
    margin: 0;

    color: #66736b;

    font-size: 14px;
    line-height: 1.45;
}

.results-source {
    margin: 14px 0 0;

    font-size: 12px;
    color: #7a857e;
}


/* =========================
   WYNIKI — TABLETY
   ========================= */

@media (max-width: 1000px) {

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   WYNIKI — TELEFONY
   ========================= */

@media (max-width: 600px) {

    .results-section {
        padding: 10px 10px 35px;
    }

    .results-heading h2 {
        font-size: 24px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================
   WYKRES STRUKTURY UŻYTKOWANIA
   ========================= */

.chart-section {
    margin-top: 42px;
    padding: 28px;

    background: #ffffff;

    border: 1px solid #d8dfda;
    border-radius: 12px;

    box-shadow: 0 4px 14px rgba(28, 54, 37, 0.08);
}

.chart-heading {
    margin-bottom: 24px;
}

.chart-heading h3 {
    margin: 0 0 6px;
    font-size: 23px;
    color: #234b34;
}

.chart-heading p {
    margin: 0;
    color: #66736b;
    line-height: 1.5;
}

.chart-container {
    width: 100%;
}

.chart-bars {
    height: 360px;

    display: flex;
    align-items: flex-end;
    justify-content: space-around;

    gap: 28px;

    padding: 0 20px;

    border-bottom: 1px solid #cfd7d1;
}

.chart-column {
    height: 100%;
    flex: 1;

    max-width: 110px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    gap: 8px;

    font-size: 13px;
    font-weight: bold;

    color: #365341;
}

.chart-bar {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border-radius: 5px 5px 0 0;

    background: #edf1ee;
}

.chart-segment {
    width: 100%;
    flex-shrink: 0;
}

/* Kolory zgodne z mapą */

.chart-segment.rolne,
.legend-box.rolne {
    background: #f4dc72;
}

.chart-segment.las,
.legend-box.las {
    background: #69a85f;
}

.chart-segment.zielone,
.legend-box.zielone {
    background: #a8cf7a;
}

.chart-segment.zabudowa,
.legend-box.zabudowa {
    background: #d64b45;
}

.chart-segment.przemysl,
.legend-box.przemysl {
    background: #9770a8;
}

.chart-segment.wody,
.legend-box.wody {
    background: #73b7df;
}

.chart-segment.cmentarze,
.legend-box.cmentarze {
    background: #739b77;
}

.chart-segment.nieuzytki,
.legend-box.nieuzytki {
    background: #c8bca8;
}


/* =========================
   LEGENDA
   ========================= */

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 12px 20px;

    margin-top: 20px;

    font-size: 13px;

    color: #435148;
}

.chart-legend span {
    display: flex;
    align-items: center;

    gap: 6px;
}

.legend-box {
    display: inline-block;

    width: 13px;
    height: 13px;

    border-radius: 2px;
}


/* =========================
   OPIS POD WYKRESEM
   ========================= */

.chart-note {
    margin-top: 18px;
    padding-top: 14px;

    border-top: 1px solid #e1e6e2;

    font-size: 12px;

    line-height: 1.5;

    color: #7a857e;
}


/* =========================
   WYKRES — TELEFONY
   ========================= */

@media (max-width: 700px) {

    .chart-section {
        padding: 20px 14px;
    }

    .chart-bars {
        height: 300px;
        gap: 7px;
        padding: 0 3px;
    }

    .chart-column {
        max-width: none;
        font-size: 10px;
    }

    .chart-legend {
        justify-content: flex-start;
        gap: 9px 14px;
        font-size: 12px;
    }

}
/* ===== WSKAŹNIK LUCI ===== */

.luci-highlight {
    display: flex;
    align-items: center;
    gap: 30px;

    margin-top: 28px;
    padding: 30px 34px;

    background: #234b34 !important;
    color: white !important;

    border-radius: 12px;
    box-sizing: border-box;
}

.luci-number {
    flex-shrink: 0;

    font-size: 72px;
    line-height: 1;

    font-weight: 800;
    color: white !important;
}

.luci-content {
    flex: 1;
}

.luci-content h3 {
    margin: 0 0 8px;

    font-size: 24px;
    line-height: 1.25;

    color: white !important;
}

.luci-content > p {
    margin: 0;

    font-size: 16px;
    line-height: 1.5;

    color: #e7eee9 !important;
}

.luci-period {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 14px;

    font-size: 15px;
    font-weight: bold;

    color: white !important;
}

.luci-arrow {
    font-size: 20px;
    opacity: 0.8;
}

.luci-method {
    margin-top: 12px !important;

    font-size: 12px !important;
    line-height: 1.45 !important;

    color: #bfcfc4 !important;
}


/* telefon */

@media (max-width: 700px) {

    .luci-highlight {
        flex-direction: column;
        align-items: flex-start;

        gap: 16px;

        padding: 25px 22px;
    }

    .luci-number {
        font-size: 58px;
    }

    .luci-content h3 {
        font-size: 21px;
    }

}

    .luci-highlight {
        flex-direction: column;

        align-items: flex-start;

        gap: 16px;

        padding: 25px 22px;
    }

    .luci-number {
        font-size: 58px;
    }

    .luci-content h3 {
        font-size: 21px;
    }

}
/* =========================
   HISTORIA ZMIAN — OŚ CZASU
   ========================= */

.history-section {
    margin-top: 42px;
    padding: 30px;

    background: #ffffff;

    border: 1px solid #d8dfda;
    border-radius: 12px;

    box-shadow: 0 4px 14px rgba(28, 54, 37, 0.08);
}

.history-heading {
    margin-bottom: 34px;
}

.history-heading h3 {
    margin: 0 0 6px;

    font-size: 23px;

    color: #234b34;
}

.history-heading p {
    margin: 0;

    color: #66736b;

    line-height: 1.5;
}


/* =========================
   OŚ CZASU
   ========================= */

.history-timeline {
    position: relative;

    display: flex;
    justify-content: space-between;

    gap: 18px;

    padding: 0 8px;
}


/* pozioma linia */

.history-timeline::before {
    content: "";

    position: absolute;

    top: 22px;
    left: 8%;
    right: 8%;

    height: 2px;

    background: #d8dfda;

    z-index: 0;
}


/* =========================
   POSZCZEGÓLNE ELEMENTY
   ========================= */

.history-item {
    position: relative;

    flex: 1;

    min-width: 0;

    z-index: 1;
}

.history-year {
    height: 28px;

    text-align: center;

    font-size: 14px;

    font-weight: bold;

    color: #234b34;
}

.history-dot {
    width: 14px;
    height: 14px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #234b34;

    border: 3px solid #ffffff;

    box-shadow: 0 0 0 2px #234b34;
}


/* =========================
   KARTY
   ========================= */

.history-card {
    padding: 18px;

    min-height: 235px;

    background: #f8faf8;

    border: 1px solid #d8dfda;

    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(28, 54, 37, 0.06);
}

.history-card h4 {
    margin: 0 0 10px;

    font-size: 17px;

    line-height: 1.3;

    color: #234b34;
}

.history-card p {
    margin: 0 0 18px;

    font-size: 13px;

    line-height: 1.5;

    color: #66736b;
}


/* =========================
   LICZBA W KARCIE
   ========================= */

.history-stat {
    margin-top: auto;

    padding-top: 12px;

    border-top: 1px solid #dfe5e1;

    font-size: 12px;

    color: #7a857e;
}

.history-stat strong {
    display: block;

    margin-top: 3px;

    font-size: 17px;

    color: #39704a;
}


/* =========================
   UWAGA POD OSIĄ
   ========================= */

.history-note {
    margin-top: 24px;
    padding-top: 16px;

    border-top: 1px solid #e1e6e2;

    font-size: 12px;

    line-height: 1.5;

    color: #7a857e;
}


/* =========================
   HISTORIA — TABLETY
   ========================= */

@media (max-width: 1000px) {

    .history-timeline {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 24px;
    }

    .history-timeline::before {
        display: none;
    }

    .history-card {
        min-height: auto;
    }

}


/* =========================
   HISTORIA — TELEFONY
   ========================= */

@media (max-width: 600px) {

    .history-section {
        padding: 22px 16px;
    }

    .history-heading h3 {
        font-size: 21px;
    }

    .history-timeline {
        grid-template-columns: 1fr;

        gap: 18px;

        padding: 0;
    }

    .history-item {
        display: grid;

        grid-template-columns: 72px 18px 1fr;

        column-gap: 10px;

        align-items: start;
    }

    .history-year {
        height: auto;

        padding-top: 2px;

        text-align: right;

        font-size: 13px;
    }

    .history-dot {
        width: 12px;
        height: 12px;

        margin: 2px auto 0;
    }

    .history-card {
        padding: 16px;
    }

}
/* =========================
   HISTORIA ZMIAN — OŚ CZASU
   ========================= */

.history-section {
    margin-top: 42px;
    padding: 30px;

    background: #ffffff;

    border: 1px solid #d8dfda;
    border-radius: 12px;

    box-shadow: 0 4px 14px rgba(28, 54, 37, 0.08);
}

.history-heading {
    margin-bottom: 36px;
}

.history-heading h3 {
    margin: 0 0 6px;

    font-size: 23px;
    line-height: 1.3;

    color: #234b34;
}

.history-heading p {
    margin: 0;

    color: #66736b;

    line-height: 1.5;
}


/* =========================
   OŚ
   ========================= */

.history-timeline {
    position: relative;

    display: grid;
    grid-template-columns: repeat(6, 1fr);

    gap: 18px;

    padding: 0 8px;
}


/* pozioma linia osi */

.history-timeline::before {
    content: "";

    position: absolute;

    top: 31px;
    left: 8%;
    right: 8%;

    height: 2px;

    background: #d8dfda;

    z-index: 0;
}


/* =========================
   ELEMENT OSI
   ========================= */

.history-item {
    position: relative;

    z-index: 1;

    min-width: 0;
}

.history-year {
    height: 28px;

    text-align: center;

    font-size: 14px;
    font-weight: bold;

    color: #234b34;
}

.history-dot {
    width: 14px;
    height: 14px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #234b34;

    border: 3px solid #ffffff;

    box-shadow: 0 0 0 2px #234b34;
}


/* =========================
   KARTA
   ========================= */

.history-card {
    display: flex;
    flex-direction: column;

    min-height: 250px;

    padding: 18px;

    background: #f8faf8;

    border: 1px solid #d8dfda;
    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(28, 54, 37, 0.06);
}

.history-card h4 {
    margin: 0 0 10px;

    font-size: 17px;
    line-height: 1.3;

    color: #234b34;
}

.history-card p {
    margin: 0 0 18px;

    font-size: 13px;
    line-height: 1.5;

    color: #66736b;
}


/* =========================
   LICZBA W KARCIE
   ========================= */

.history-stat {
    margin-top: auto;

    padding-top: 12px;

    border-top: 1px solid #dfe5e1;

    font-size: 12px;

    color: #7a857e;
}

.history-stat strong {
    display: block;

    margin-top: 4px;

    font-size: 17px;

    color: #39704a;
}


/* =========================
   OPIS POD OSIĄ
   ========================= */

.history-note {
    margin-top: 26px;
    padding-top: 16px;

    border-top: 1px solid #e1e6e2;

    font-size: 12px;
    line-height: 1.5;

    color: #7a857e;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1100px) {

    .history-timeline {
        grid-template-columns: repeat(3, 1fr);

        gap: 24px 18px;
    }

    .history-timeline::before {
        display: none;
    }

    .history-card {
        min-height: 230px;
    }
}


/* =========================
   TELEFON
   ========================= */

@media (max-width: 650px) {

    .history-section {
        padding: 22px 16px;
    }

    .history-heading h3 {
        font-size: 21px;
    }

    .history-timeline {
        display: flex;
        flex-direction: column;

        gap: 18px;

        padding: 0;
    }

    .history-timeline::before {
        display: block;

        top: 0;
        bottom: 0;
        left: 35px;
        right: auto;

        width: 2px;
        height: auto;
    }

    .history-item {
        display: grid;

        grid-template-columns: 70px 18px 1fr;

        column-gap: 10px;

        align-items: start;
    }

    .history-year {
        height: auto;

        padding-top: 2px;

        text-align: right;

        font-size: 13px;
    }

    .history-dot {
        width: 12px;
        height: 12px;

        margin: 3px auto 0;
    }

    .history-card {
        min-height: auto;

        padding: 16px;
    }
}
/* =========================
   BILANS 91 LAT ZMIAN
   ========================= */

.change-balance {
    margin-top: 42px;
    padding: 30px;

    background: #ffffff;

    border: 1px solid #d8dfda;
    border-radius: 12px;

    box-shadow: 0 4px 14px rgba(28, 54, 37, 0.08);
}


/* =========================
   NAGŁÓWEK
   ========================= */

.change-balance-heading {
    margin-bottom: 30px;
}

.change-balance-heading h3 {
    margin: 0 0 6px;

    font-size: 23px;
    line-height: 1.3;

    color: #234b34;
}

.change-balance-heading p {
    max-width: 900px;

    margin: 0;

    color: #66736b;

    line-height: 1.5;
}


/* =========================
   DWIE KOLUMNY
   ========================= */

.change-balance-grid {
    display: grid;

    grid-template-columns: 1fr 1.5fr;

    gap: 28px;
}


/* =========================
   GRUPY
   ========================= */

.change-group {
    padding: 22px;

    border-radius: 10px;

    background: #f8faf8;

    border: 1px solid #d8dfda;
}

.change-group-title {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 24px;

    font-size: 17px;
    font-weight: bold;

    color: #234b34;
}

.change-symbol {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: #e9efea;

    font-size: 19px;
}


/* =========================
   POJEDYNCZA ZMIANA
   ========================= */

.change-item {
    margin-bottom: 24px;
}

.change-item:last-child {
    margin-bottom: 0;
}

.change-item-top {
    display: flex;

    justify-content: space-between;
    align-items: baseline;

    gap: 15px;

    margin-bottom: 8px;
}

.change-item-top strong {
    font-size: 15px;

    color: #24322a;
}

.change-item-top span {
    font-size: 12px;

    color: #7a857e;

    text-align: right;
}


/* =========================
   PASEK
   ========================= */

.change-bar {
    width: 100%;
    height: 9px;

    overflow: hidden;

    border-radius: 5px;

    background: #e6ebe7;
}

.change-bar-fill {
    height: 100%;

    border-radius: 5px;
}

.change-bar-fill.increase {
    background: #69a85f;
}

.change-bar-fill.decrease {
    background: #a0473c;
}


/* =========================
   WARTOŚĆ ZMIANY
   ========================= */

.change-item-value {
    margin-top: 7px;

    font-size: 18px;
    font-weight: bold;
}

.change-item-value.increase {
    color: #39704a;
}

.change-item-value.decrease {
    color: #a0473c;
}


/* =========================
   UWAGA METODOLOGICZNA
   ========================= */

.change-balance-note {
    margin-top: 28px;

    padding-top: 18px;

    border-top: 1px solid #e1e6e2;

    color: #66736b;

    font-size: 12px;

    line-height: 1.5;
}

.change-balance-note strong {
    display: block;

    margin-bottom: 4px;

    color: #365341;

    font-size: 13px;
}

.change-balance-note p {
    margin: 0;

    max-width: 1000px;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {

    .change-balance-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================
   TELEFON
   ========================= */

@media (max-width: 600px) {

    .change-balance {
        padding: 22px 16px;
    }

    .change-balance-heading h3 {
        font-size: 21px;
    }

    .change-group {
        padding: 18px;
    }

    .change-item-top {
        flex-direction: column;

        align-items: flex-start;

        gap: 3px;
    }

    .change-item-top span {
        text-align: left;
    }

}
/* =========================
   BILANS 91 LAT ZMIAN
   ========================= */

.change-balance {
    margin-top: 42px;
    padding: 30px;

    background: #ffffff;

    border: 1px solid #d8dfda;
    border-radius: 12px;

    box-shadow: 0 4px 14px rgba(28, 54, 37, 0.08);
}


/* =========================
   NAGŁÓWEK
   ========================= */

.change-balance-heading {
    margin-bottom: 30px;
}

.change-balance-heading h3 {
    margin: 0 0 6px;

    font-size: 23px;
    line-height: 1.3;

    color: #234b34;
}

.change-balance-heading p {
    max-width: 900px;

    margin: 0;

    color: #66736b;

    line-height: 1.5;
}


/* =========================
   DWIE KOLUMNY
   ========================= */

.change-balance-grid {
    display: grid;

    grid-template-columns: 1fr 1.5fr;

    gap: 28px;
}


/* =========================
   GRUPY
   ========================= */

.change-group {
    padding: 22px;

    border-radius: 10px;

    background: #f8faf8;

    border: 1px solid #d8dfda;
}

.change-group-title {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 24px;

    font-size: 17px;
    font-weight: bold;

    color: #234b34;
}

.change-symbol {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: #e9efea;

    font-size: 19px;
}


/* =========================
   POJEDYNCZA ZMIANA
   ========================= */

.change-item {
    margin-bottom: 24px;
}

.change-item:last-child {
    margin-bottom: 0;
}

.change-item-top {
    display: flex;

    justify-content: space-between;
    align-items: baseline;

    gap: 15px;

    margin-bottom: 8px;
}

.change-item-top strong {
    font-size: 15px;

    color: #24322a;
}

.change-item-top span {
    font-size: 12px;

    color: #7a857e;

    text-align: right;
}


/* =========================
   PASEK
   ========================= */

.change-bar {
    width: 100%;
    height: 9px;

    overflow: hidden;

    border-radius: 5px;

    background: #e6ebe7;
}

.change-bar-fill {
    height: 100%;

    border-radius: 5px;
}

.change-bar-fill.increase {
    background: #69a85f;
}

.change-bar-fill.decrease {
    background: #a0473c;
}


/* =========================
   WARTOŚĆ ZMIANY
   ========================= */

.change-item-value {
    margin-top: 7px;

    font-size: 18px;
    font-weight: bold;
}

.change-item-value.increase {
    color: #39704a;
}

.change-item-value.decrease {
    color: #a0473c;
}


/* =========================
   UWAGA METODOLOGICZNA
   ========================= */

.change-balance-note {
    margin-top: 28px;

    padding-top: 18px;

    border-top: 1px solid #e1e6e2;

    color: #66736b;

    font-size: 12px;

    line-height: 1.5;
}

.change-balance-note strong {
    display: block;

    margin-bottom: 4px;

    color: #365341;

    font-size: 13px;
}

.change-balance-note p {
    margin: 0;

    max-width: 1000px;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {

    .change-balance-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================
   TELEFON
   ========================= */

@media (max-width: 600px) {

    .change-balance {
        padding: 22px 16px;
    }

    .change-balance-heading h3 {
        font-size: 21px;
    }

    .change-group {
        padding: 18px;
    }

    .change-item-top {
        flex-direction: column;

        align-items: flex-start;

        gap: 3px;
    }

    .change-item-top span {
        text-align: left;
    }

}
