       :root {
            --primary-color: #005f9e;
            --secondary-color: #0077c2;
            --text-color: #333333;
            --background-color: #f8f9fa;
            --shadow-color: rgba(0, 0, 0, 0.1);
        }

        body, html {
            height: 100%;
            margin: 0;
            padding: 0;
            font-family: 'Roboto', Arial, sans-serif;
            color: var(--text-color);
            background-color: var(--background-color);
            font-size: 16px;
            line-height: 1.5;
        }

        #map {
            height: 100vh;
            width: 100%;
        } 

        #distanceBox {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 30px;
            box-shadow: 0 4px 10px var(--shadow-color);
            font-size: 1.5rem;
            font-weight: 500;
            z-index: 1000;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            transition: all 0.3s ease;
            min-width: 200px;
            text-align: center;
        }

        .marker-cluster-custom {
            background-color: #006400;
            border-radius: 50%;
            font-weight: bold;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
        }

        .marker-cluster-custom div {
            width: 26px;
            height: 26px;
            text-align: center;
            border-radius: 13px;
            font-size: 14px;
            background-color: rgba(0, 100, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.4);
        }

        .modal-content {
            background-color: #fefefe;
            margin: 15% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 400px;
            border-radius: 10px;
            text-align: center;
        }

        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

        .modal-buttons {
            margin-top: 20px;
        }

        .modal-buttons button {
            margin: 0 10px;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        #mapButton {
            background-color: #4CAF50;
            color: white;
        }

        #continueButton {
            background-color: #4CAF50;
            color: white;
        }

        #cancelButton {
            background-color: #f44336;
            color: white;
        }

        .user-marker-icon {
            width: 20px;
            height: 20px;
            background-color: red;
            border-radius: 50%;
            border: 2px solid white;
        }

        .lochunt-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #ffffff;
            z-index: 2000;
            display: none;
            flex-direction: column;
            overflow-y: auto;
        }

        .custom-popup .leaflet-popup-content-wrapper {
            padding: 0;
            overflow: hidden;
            border-radius: 10px;
        }

        .custom-popup .leaflet-popup-content {
            margin: 0;
            width: 250px !important;
        }

        .popup-content {
            text-align: center;
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            width: 100%;
        }

        .location-image {
            width: 100%;
            height: auto;
            display: block;
        }

        .location-name {
            margin: 15px 0;
            font-size: 1.2rem;
            color: var(--text-color);
            padding: 0 15px;
        }

        .popup-buttons {
            display: flex;
            margin-top: 10px;
        }

        .button {
            flex: 1;
            padding: 12px 0;
            font-size: 1rem;
            font-weight: bold;
            color: white;
            border: none;
            cursor: pointer;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .route-button {
            background-color: #006400;
            width: 50%;
        }

        .summary-button {
            background-color: #0077c2;
            width: 50%;
        }

        .pin-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    border: 3px solid white;
    box-shadow: 0 0 5px var(--shadow-color);
    background-color: #191970;
    transition: all 0.3s ease;
    overflow: hidden; /* To ensure the inner circle doesn't overflow */
}

.pin-head:hover {
    transform: translateX(-50%) rotate(-45deg) scale(1.1);
    box-shadow: 0 0 15px var(--shadow-color);
}

.pin-head::after {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%) rotate(45deg);
   width: 12px;
   height: 12px;
   border-radius: 50%;
   border: 1px solid rgba(255, 255, 255, 0.8);
   background-color: rgba(245, 245, 245, 0.9); /* Dull off-white color */
   box-shadow: 0 0 2px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}
       
        .directions-link {
            display: inline-block;
            margin-top: 15px;
            padding: 10px 20px;
            background-color: #006400;
            color: white;
            border-radius: 25px;
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .directions-link:hover {
            background-color: #037f51;
            transform: translateY(-2px);
            box-shadow: 0 6px 8px var(--shadow-color);
        }

        .lochunt-content {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
        }

        .audio-player {
            width: 100%;
            max-width: 400px;
            margin: 20px auto;
        }

        .audio-progress {
            width: 100%;
            margin-bottom: 10px;
        }

        .progress {
            height: 8px;
            background-color: #d1d1d1;
            cursor: pointer;
            border-radius: 4px;
        }

        .progress-bar {
            background-color: var(--primary-color);
            border-radius: 4px;
        }

        .audio-time {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 10px;
        }

        .audio-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 1.5rem;
        }

        .audio-button {
            background-color: white;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            border-radius: 50%;
            width: 55px;
            height: 55px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1111;
        }

        .audio-button:hover {
            background-color: var(--secondary-color);
            color: white;
        }

        .additional-info-container {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 15px var(--shadow-color);
            border: 2px solid var(--primary-color);
            width: 90%;
            max-width: 600px;
            z-index: 2001;
            display: none;
            font-size: 20px;
        }

        .map-buttons {
            position: fixed;
            bottom: 30px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 25px;
            z-index: 1000;
        }

        .map-button {
            background-color: white;
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            border: 1px solid var(--primary-color);
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 10px var(--shadow-color);
            font-size: 2rem;
            color: var(--primary-color);
            transition: all 0.3s ease;
        }

        .map-button:hover {
            background-color: var(--primary-color);
            color: white;
            transform: scale(1.1);
        }

        .navigation-tips {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 20px var(--shadow-color);
            z-index: 2001;
            display: none;
            max-width: 90%;
            width: 400px;
        }

        .close-button {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--primary-color);
            transition: color 0.3s ease;
        }

        #congratulations {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.98);
            z-index: 3000;
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 30px;
            text-align: center;
        }

        #congratulations h2 {
            font-size: 32px;
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        #congratulations button {
            padding: 12px 24px;
            font-size: 18px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #congratulations button:hover {
            background-color: var(--hover-color);
        }

        @media (max-width: 768px) {
            body, html {
                font-size: 18px;
            }

            #distanceBox {
                font-size: 1.3rem;
                padding: 6px 10px;
                top: 10px;
                right: 10px;
            }

            .map-buttons {
                bottom: 20px;
            }

            .map-button {
                width: 50px;
                height: 50px;
                font-size: 1.7rem;
            }

            .navigation-tips {
                max-width: 95%;
                padding: 20px;
            }

            #congratulations h2 {
                font-size: 24px;
            }

            #congratulations button {
                font-size: 16px;
                padding: 10px 20px;
            }

            .audio-player {
                max-width: 100%;
            }

            .lochunt-container img {
                height: 30vh;
            }

            .additional-info-container {
                width: 95%;
                padding: 20px;
                font-size: 16px;
            }
        }
