/* Ogólne ustawienia */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f9f9f9;
    font-size: 16px;
    text-align: left;
    transition: all 0.3s ease;
}

body.high-contrast {
    filter: invert(1) hue-rotate(180deg);
}

body.high-contrast img {
    filter: none !important;
}

a {
    color: inherit;
    /* Dziedziczenie koloru z otaczającego tekstu */
    text-decoration: none;
    /* Usunięcie podkreślenia */
}

header {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

header p {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: 300;
}



.accessibility-controls {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.language-controls {
    display: flex;
    gap: 10px;
}

header,
main,
.sidebar {
    transition: font-size 0.3s ease;
}

.hidden {
    display: none;
}

/* Styl przykładowego tekstu */
.example-text {
    font-size: 16px;
    /* Domyślny rozmiar czcionki */
    color: #2c3e50;
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    background: #ecf0f1;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: font-size 0.3s ease, background 0.3s ease;
}

.example-text:hover {
    background: #bdc3c7;
    /* Lekka zmiana koloru na hover */
}

/* Style dla przycisków */

/* Kontener przycisków dostępności */
.accessibility-container {
    position: fixed;
    /* Ustawienie kontenera w stałej pozycji względem okna */
    top: 20px;
    left: 20px;
    z-index: 9999;
    /* Najwyższy priorytet widoczności w aplikacji */
    transition: all 0.5s ease;
    /* Animacja dla płynnych zmian */
}

.accessibility-container.open .accessibility-controls {
    top: 30px;
    z-index: 10000;
    /* Jeszcze wyższy priorytet dla rozwiniętego menu */
    display: flex;
}

/* Styl przycisku otwierającego/zamykającego */
.toggle-accessibility {
    position: absolute;
    top: -10px;
    /* Umieszczamy przycisk nad kontenerem */
    left: 0;
    width: 50px;
    height: 50px;
    background: #032943;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    /* Na wierzchu kontenera */
}

.toggle-accessibility:hover {
    background: #2980b9;
    transform: scale(1.1);
}

/* Rozwinięty kontener */
.accessibility-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 1500 !important;
}

.accessibility-container.open .accessibility-controls {
    display: flex;
    /* Wyświetlenie przycisków */
}

/* Styl przycisków w kontenerze */
.accessibility-controls button,
.language-controls button {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #1abc9c;
    color: white;
    transition: background 0.3s ease;
}

.accessibility-controls button:hover,
.language-controls button:hover {
    background: #16a085;
}

/* Style pozostałych przycisków */

.accessibility-controls button,
.language-controls button {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    border-radius: 25px;
    background: #1abc9c;
    color: white;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accessibility-controls button:hover,
.language-controls button:hover {
    background: #16a085;
    transform: scale(1.05);
}

/* Mapa */
/* Styl kontenera mapy */
.map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    touch-action: none;
        /* Wyłączenie domyślnego przewijania dla gestów */
}

/* Styl mapy */
.map-image {
    width: 100%;
    height: auto;
    display: block;
    transform-origin: top left;
    transition: transform 0.3s ease;
}

/* Styl znaczników */
.marker {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: #e74c3c;
    border: 3px solid #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

/* Styl dla suwaka zoomu */
.zoom-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px;
    /* Zmniejszenie odstępu wewnętrznego */
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    /* Mniejsze zaokrąglenie */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 70%;
    /* Zmniejszenie szerokości */
    max-width: 300px;
    /* Maksymalna szerokość */
}

.zoom-label {
    font-size: 0.9rem;
    /* Zmniejszenie wielkości czcionki */
    color: #333;
    display: block;
    margin-bottom: 5px;
    /* Zmniejszenie odstępu pod etykietą */
}

#zoom-slider {
    width: 100%;
    height: 8px;
    /* Zmniejszenie wysokości suwaka */
    cursor: pointer;
    border-radius: 5px;
    /* Delikatne zaokrąglenie suwaka */
    background: #ddd;
    outline: none;
}

.marker:hover {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Dopasowanie znaczników na urządzeniach mobilnych */
@media (max-width: 768px) {
    .marker {
        width: 20px;
        /* Większe znaczniki dla lepszej widoczności */
        height: 20px;
    }


.marker:hover {
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }
}

.marker:focus {
    outline: 2px dashed #004080;
    outline-offset: 2px;
}

.map-display {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 90vw;
    /* 90% szerokości widoku */
    height: 90vh;
    /* 90% wysokości widoku */
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
    /* Ukrycie przewyższających elementów */
}

.map-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Dopasowanie mapy do kontenera bez przycinania */
    border-radius: 5px;
    display: block;
}

.map-display.hidden {
    display: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.map-display:not(.hidden) {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
}

/* Powiększenie przycisku zamykającego mapę */
.close-map {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    /* Zwiększono rozmiar czcionki */
    cursor: pointer;
    color: #333;
    width: 80px;
    /* Zwiększono szerokość przycisku */
    height: 80px;
    /* Zwiększono wysokość przycisku */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.2s ease;
}

.close-map:hover {
    color: #d9534f;
    background-color: rgba(0, 0, 0, 0.1);
    /* Dodano lekki podkład przy hoverze */
    transform: scale(1.4);
    /* Powiększenie przycisku przy hoverze */
}



/* Okno szczegółów */
.details-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 80%;
    max-width: 500px;
    max-height: 80%;
    overflow-y: auto;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}



/* Stylizowany scrollbar */
.details-box::-webkit-scrollbar {
    width: 10px;
    /* Szerokość pionowego scrollbara */
}

.details-box::-webkit-scrollbar-thumb {
    background: #2980b9;
    /* Kolor uchwytu scrollbara */
    border-radius: 5px;
    /* Zaokrąglony uchwyt */
    border: 2px solid #ecf0f1;
    /* Obwódka wokół uchwytu dla kontrastu */
    transition: background 0.3s ease;
}

.details-box::-webkit-scrollbar-thumb:hover {
    background: #3498db;
    /* Jaśniejszy kolor uchwytu przy hover */
}

.details-box::-webkit-scrollbar-track {
    background: #4981b6;
    /* Kolor toru scrollbara */
    border-radius: 5px;
    /* Zaokrąglenie toru */
    border: 1px solid #ccc;
    /* Obwódka toru */
}

.details-box.hidden {
    display: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.details-box:not(.hidden) {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.close-button {
    position: absolute;
    top: 10%;
    left: 85%;
    /* Przesunięcie przycisku na lewą stronę */
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Zaokrąglony przycisk */
    background-color: #e74c3c;
    /* Kolor przycisku */
    transition: background 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* Dodanie cienia */
    z-index: 1100;
}

.close-button:hover {
    background-color: #c0392b;
    /* Zmiana koloru przycisku przy hover */
    color: white;
}


#gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 10px 0;
}

#gallery img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

/* Galeria zdjęć */
#gallery {
    display: flex;
    padding: 10px;
    gap: 10px;
    overflow-x: hidden;
    /* Ukrywanie suwaków */
    margin: 10px 0;
}

#gallery img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 5px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: block;
    /* Zapobieganie wpływowi na układ */
}

#gallery img:hover {
    transform: scale(1.1);
    /* Delikatne powiększenie */
    box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
    /* Efekt unoszenia */
}

#gallery img:focus {
    outline: none;
    /* Usunięcie domyślnej obwódki */
}



/* Pełnoekranowy kontener galerii */
.fullscreen-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8);
    /* Początkowy stan */
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* Animacja pojawienia */
}

.fullscreen-gallery.active {
    opacity: 1;
    transform: scale(1);
    /* Docelowy stan */
}

.fullscreen-gallery img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100vw;
    max-height: 100vh;
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
    cursor: zoom-out;
    animation: zoom-in 0.5s ease forwards;
    /* Animacja powiększania zdjęcia */
}

@keyframes zoom-in {
    0% {
        transform: scale(0.8);
        /* Początkowy stan zdjęcia */
    }

    100% {
        transform: scale(1);
        /* Docelowy stan zdjęcia */
    }
}

.fullscreen-gallery.hidden {
    display: none;
}

/* Panel boczny */
.sidebar {
    position: fixed;
    right: -320px;
    top: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(to bottom, #0e60b2, #115ca7);
    padding: 2rem 1rem;
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.3);
    transition: right 0.5s ease;
    z-index: 100;
    color: white;
    font-size: 1rem;
}


.sidebar.open {
    right: 0;
}

.sidebar h2 {
    margin-top: 0;
    font-size: 1.4rem;
    color: #ecf0f1;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.sidebar li {
    margin-bottom: 1rem;
}

/* Style dla przycisków w sidebar */
.sidebar a,
.sidebar button {
    display: block;
    text-decoration: none;
    color: #ecf0f1;
    background: #2980b9;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Podświetlanie przycisków po najechaniu */
.sidebar a:hover,
.sidebar button:hover {
    background: #3498db;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.toggle-sidebar {
    position: absolute;
    top: 25%;
    left: -40px;
    background: #010c17;
    color: rgb(27, 63, 121);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    text-align: center;
    line-height: 30px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.toggle-sidebar:hover {
    background: #003d80;
}

/* Modal - Panel audioprzewodnika */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.5);
}

.modal:not(.hidden) {
    opacity: 1;
    transform: scale(1);
}

.modal-content {
    position: relative;
    color: #bdc3c7;
    background: rgb(51, 88, 128);
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(0.5);
    transition: transform 0.5s ease;
}

.modal-content:not(.hidden) {
    transform: scale(1);
}

.modal-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.modal-content button {
    margin: 10px;
    padding: 0.5rem 1rem;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-content button:hover {
    background-color: #004080;
}

.modal-content input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

.modal-content p#audio-time {
    font-size: 0.9rem;
    margin: 10px 0 0;
    color: #333;
    text-align: center;
}

#close-audio-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #333;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
}

#close-audio-modal:hover {
    background-color: #d9534f;
    color: white;
}

/* Stopka */
footer {
    background: linear-gradient(to right, #2980b9, #3498db);
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
}

footer h5 {
    text-align: right;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: #ecf0f1;
}

.heritage-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 80%;
    height: 80%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.heritage-scrollable {
    flex: 1;
    overflow-y: auto;
    /* Dodaje przewijanie w pionie */
    overflow-x: hidden;
    /* Wyłącza przewijanie w poziomie */
}

.heritage-columns {
    display: flex;
    position: relative;
}

.heritage-column {
    flex: 1;
    min-width: 100px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
    transition: width 0.2s ease;
}

.resizer {
    width: 10px;
    background: #ddd;
    cursor: col-resize;
    position: relative;
    z-index: 1;
}

.heritage-content.hidden {
    display: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.heritage-content:not(.hidden) {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.close-heritage {
    position: fixed;
    /* Pozycjonowanie zawsze widoczne */
    top: 20px;
    /* Odległość od góry ekranu */
    right: 20px;
    /* Odległość od prawej krawędzi */
    background: #e74c3c;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 1100;
    /* Zapewnienie widoczności nad innymi elementami */
}


.close-heritage:hover {
    background: #c0392b;
    transform: scale(1.1);
    /* Efekt wizualny */
}

.heritage-descriptions {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.description {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: calc(100% - 50px);
}

.description h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.description p {
    font-size: 1rem;
    line-height: 1.6;
}

.scroll-to-top {
    position: absolute;
    /* Pozycjonowanie względem heritage-content */
    bottom: 25%;
    /* 25% od dołu */
    left: 50%;
    /* Wyśrodkowanie w poziomie */
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    /* Przyciski zaokrąglone */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 24px;
    display: none;
    /* Ukryty domyślnie */
    justify-content: center;
    /* Wyrównanie poziome */
    align-items: center;
    /* Wyrównanie pionowe */
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #2980b9;
    /* Ciemniejszy kolor na hover */
    transform: translateX(-50%) scale(1.1);
    /* Powiększenie przy hover */
}

.scroll-to-top.show {
    display: flex;
    /* Wyświetl jako flexbox dla wyrównania */
    opacity: 1;
}

.scroll-to-top.hidden {
    display: none;
    /* Ukrycie */
    opacity: 0;
}

@media (max-width: 768px) {
    .zoom-controls {
        width: 50%;
        /* Zmniejszenie szerokości suwaka o połowę */
        max-width: 150px;
        /* Dodatkowy limit szerokości */
        padding: 3px;
        /* Zmniejszenie odstępu wewnętrznego */
    }

    .zoom-label {
        font-size: 0.8rem;
        /* Zmniejszenie rozmiaru czcionki */
        margin-bottom: 3px;
        /* Zmniejszenie odstępu pod etykietą */
    }

    #zoom-slider {
        height: 6px;
        /* Zmniejszenie wysokości suwaka */
    }
}

.center-map-btn {
    display: inline-block;
    margin-left: 10px;
    padding: 5px 10px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.center-map-btn:hover {
    background: #004080;
}


.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .tooltip {
        visibility: hidden !important;
        /* Ukrycie tooltipów na telefonach */
    }
}

#marker-list {
    position: absolute;
    /* Pozycjonowanie względem okna */
    top: 0;
    /* Od góry strony */
    right: 320px;
    /* Obok sidebaru (sidebar ma szerokość 300px + margines) */
    width: 300px;
    /* Szerokość listy dopasowana do sidebaru */
    max-height: 100vh;
    /* Maksymalna wysokość ekranu */
    overflow-y: auto;
    /* Przewijanie w pionie */
    background: #d6eaf8;
    /* Jasnoniebieskie tło */
    border: 1px solid #ddd;
    border-radius: 10px;
    /* Zaokrąglenie krawędzi */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    /* Delikatny cień */
    z-index: 1100;
    /* Widoczność ponad sidebar */
    display: none;
    /* Domyślnie ukryta */
    animation: fadeIn 0.3s ease-out;
    /* Animacja pojawienia */
}

#marker-list.visible {
    display: block;
    /* Pokaż listę */
}

#marker-list li {
    margin: 0;
    padding: 0;
}

#marker-list button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    color: #154360;
    /* Kolor tekstu */
    font-weight: bold;
    /* Pogrubienie tekstu */
    border: none;
    border-bottom: 1px solid #b3cde0;
    /* Linia oddzielająca */
    padding: 0.8rem 1rem;
    /* Wygodny odstęp */
    font-size: 1rem;
    /* Rozmiar czcionki */
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    /* Animacja hover */
}

#marker-list button:last-child {
    border-bottom: none;
    /* Usuń linię w ostatnim elemencie */
}

#marker-list button:hover {
    background: #aed6f1;
    /* Jaśniejszy niebieski */
    color: #1a5276;
    /* Kontrastowy tekst */
    transform: scale(1.02);
    /* Subtelne powiększenie */
}

#marker-list::-webkit-scrollbar {
    width: 8px;
    /* Wąski scrollbar */
}

#marker-list::-webkit-scrollbar-thumb {
    background: #aeb6bf;
    border-radius: 5px;
    /* Zaokrąglenie */
}

#marker-list::-webkit-scrollbar-thumb:hover {
    background: #7f8c8d;
    /* Hover dla scrollbara */
}

/* Animacja pojawienia */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Styl dla listy znaczników na małych ekranach */
@media (max-width: 768px) {
    #marker-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        /* Zajmuje całą szerokość ekranu */
        height: 100vh;
        /* Zajmuje całą wysokość ekranu */
        background: #d6eaf8;
        /* Jasnoniebieskie tło */
        border: none;
        border-radius: 0;
        /* Usuń zaokrąglenia */
        z-index: 1200;
        /* Wyższy z-index, aby zasłaniała sidebar */
        overflow-y: auto;
        box-shadow: none;
    }

    #marker-list.visible {
        display: block;
    }
}

.funding-info {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    font-weight: 300;
}