body {
     font-family: Arial, sans-serif;
     margin: 0;
     padding: 0;
     height: 100vh;
 }

.uzletek-terkep-kontener {
     display: flex;
     height: 100vh;
}

.uzletek-terkep-kontener.sotet-mod {
    background-color: #121212;
    color: #e0e0e0;
}

.uzletek-oszlop {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.terkep-oszlop {
    flex: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.uzlet-lista-kontener {
    flex-grow: 1;
    overflow-y: auto;
    border-radius: 5px;
    padding: 10px;
}

.sotet-terkep-kontener {
    height: 100%;
}

.sotet-mod .sotet-terkep-kontener .leaflet-popup-content-wrapper {
    background-color: rgba(30, 30, 30, 0.9);
    color: #e0e0e0;
}

.sotet-mod .sotet-terkep-kontener .leaflet-popup-tip {
    background-color: rgba(30, 30, 30, 0.9);
}

.sotet-mod .sotet-terkep-kontener .leaflet-popup-content b {
    color: #55a49c;
}

#uzletLista {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sotet-mod .uzlet-lista li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #1e1e1e;
    border-radius: 5px;
    color: #e0e0e0;
    border-left: 3px solid #55a49c;
    border-right: 2px solid #1e1e1e;
    border-top: 2px solid #1e1e1e;
    border-bottom: 2px solid #1e1e1e;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sotet-mod .uzlet-lista li:hover {
    border-right: 2px solid #55a49c;
    border-top: 2px solid #55a49c;
    border-bottom: 2px solid #55a49c;
}

.sotet-mod .uzlet-lista li.active {
    background-color: #2a2a2a;
    border-right: 2px solid #55a49c;
    border-top: 2px solid #55a49c;
    border-bottom: 2px solid #55a49c;
}

h3 {
     margin: 0 0 10px 0;
 }
 
 p {
     margin: 5px 0;
 }
 
 .leaflet-popup-content-wrapper {
     background-color: rgba(0, 0, 0, 0.8);
     color: #fff;
 }

.leaflet-popup-tip {
    background-color: rgba(0, 0, 0, 0.8);
}

.leaflet-popup-content b {
    color: #ffd700;
}

.sotet-terkep .leaflet-popup-content-wrapper {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.sotet-terkep .leaflet-popup-tip {
    background-color: rgba(0, 0, 0, 0.8);
}

.sotet-terkep .leaflet-popup-content b {
    color: #ffd700;
}

.sotet-mod h2 {
    color: #55a49c;
    margin-top: 0;
}

/* Scrollbar styles for webkit browsers */
.uzlet-lista-kontener::-webkit-scrollbar {
    width: 10px;
}

.uzlet-lista-kontener::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.uzlet-lista-kontener::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 5px;
}

.uzlet-lista-kontener::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Kiemelések */
.sotet-mod a {
    color: #55a49c;
    text-decoration: none;
}

.sotet-mod a:hover {
    text-decoration: underline;
}

.sotet-mod .uzlet-lista li h3 {
    color: #55a49c;
    margin-top: 0;
}

.sotet-mod .leaflet-control-zoom a {
    background-color: #1e1e1e;
    color: #55a49c;
}

.sotet-mod .leaflet-control-zoom a:hover {
    background-color: #55a49c;
    color: #1e1e1e;
}

.custom-popup-wrapper {
    background: transparent;
    box-shadow: none;
    border: none;
}

.custom-popup {
    background-color: rgba(18, 18, 18, 0.9);
    color: #e0e0e0;
    border: 1px solid #55a49c;
    border-radius: 5px;
    padding: 15px;
    font-family: Arial, sans-serif;
    max-width: 250px;
}

.custom-popup h3 {
    color: #55a49c;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.custom-popup p {
    margin: 5px 0;
    font-size: 14px;
}

.leaflet-popup-content-wrapper {
    background: transparent;
    box-shadow: none;
}

.leaflet-popup-tip {
    background: #55a49c;
}

.details-button {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #55a49c;
    color: #ffffff !important; /* Hozzáadtuk az !important szabályt */
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.details-button:hover {
    background-color: #4a8f88;
    color: #ffffff !important; /* Itt is hozzáadtuk az !important szabályt */
}

.custom-svg-marker {
    background: none;
    border: none;
}

.custom-svg-marker svg {
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.3));
}

.leaflet-control-attribution.leaflet-control {
    background-color: black;
    color: white;
}

@media (max-width: 768px) {
    .uzletek-terkep-kontener {
        flex-direction: column-reverse;
        height: 100vh;
    }

    .terkep-oszlop {
        flex: 1;
        min-height: 0;
    }

    .sotet-terkep-kontener {
        height: 100%;
    }

    .uzletek-oszlop {
        flex: 0 0 auto;
        max-height: 250px;
        overflow-y: auto;
    }

    .uzlet-lista-kontener {
        max-height: calc(250px - 40px); /* Accounting for padding and h2 */
        overflow-y: auto;
    }
}