﻿:root {
    --epd-green: #8EC74F;
}

.cesium-viewer-bottom {
    display: none;
}


#wetland-park-hk-info-btn-group {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/*
#epd-logo {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
}
*/

#fix-bottom-logo {
    position: fixed;
    right: 10em;
    bottom: .5em;
    pointer-events: none;
}

.wetland-url {
    color: #4da6ff;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

    .wetland-url::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0); /* Hidden by default */
        height: 2px;
        bottom: -2px;
        left: 0;
        background-color: #4da6ff;
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }

    .wetland-url:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

#wetland-park-hk-info-panel-collapse {
    position: absolute;
    left: 0.5em;
    top: 0.5em;
    min-width: 450px;
    max-width: 500px;
    min-height: 170px;
    max-height: 100vh;
    height: auto;
    overflow-y: scroll;
    border-left: 4px solid var(--epd-green);
    transition: width 0.1s ease;
}

#wetland-park-hk-info-panel {
    position:relative;
    display: block;
    transition: all 0.3s ease;
    background: rgba(0,20,40,0.6);
    color: white;
}

.container-scrollbar::-webkit-scrollbar {
    width: 4px;
}

/* 2. Fixed with double colons (::) */
.container-scrollbar::-webkit-scrollbar-track {
    background: transparent !important;
}

/* 3. Optional: Style the thumb so users can still see where to click/drag */
.container-scrollbar::-webkit-scrollbar-thumb {
    background: var(--epd-green);
    border-radius: 5px;
}

/* Hides the progress bar container/timeline on Chrome, Edge, and Safari */
/*
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}
*/

/* For Firefox (hides the progress scrubber panel) */
/*
video::-moz-media-controls-timeline {
    display: none !important;
}
    */

.info-btns,.site-btns {
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--epd-green) !important;
}

    .info-btns:hover,.site-btns:hover {
        color: var(--epd-green) !important;
    }

    .info-btns.active,.site-btns.active {
        background-color: var(--epd-green) !important;
        color: white !important;
    }

#wetland-park-hk-language-btn > i,
#wetland-park-hk-flight-path-play-btn > i{
    height: 32px;
    width: 32px;
    color: white;
}
/*
#monitor-window {
    width: inherit;
    height: inherit;
    background: rgba(5,15,25,0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--epd-green);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

  #monitor-node {
    width: 400px;
    height: 300px;
    pointer-events: auto;
    z-index: 50;
    display: none;
    will-change: transform;
    box-shadow: 2px 2px 0px rgba(142, 199, 79, 0.7);
}

#monitor-video-frame {
    height: 100%;
    width: 100%;
}


#monitor-anchor-pin {
    width: 8px;
    height: 8px;
    background: var(--epd-green);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 0 10px #03fc24;
}

#monitor-anchor-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--epd-green), transparent);
    margin: 0 auto;
}

#monitoring-docks {
    position: absolute;
    left: 42px;
    bottom: 25px;
}

.node-card {
    border: 2px solid var(--epd-green);
    min-width: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0,20,40,0.6);
    color: white;
}

    .node-card:hover {
        color: var(--epd-green);
    }
 */
/*
#monitor-video-live-sign {
    position: absolute;
    top: 0.2em;
    right: 1.1em;
}
    

#wetland-park-hk-video-panel {
    position: absolute;
    top: 0;
    left: 400px;
    height: 300px;
    width: 650px;
    transition: all 0.3s ease;
    background: rgba(0,20,40,0.6);
    color: white;
    border-radius: 4px;
    border: 2px solid var(--epd-green);
    display: flex;
    flex-direction: column;
    z-index: 51;
}

#wetland-park-hk-video-panel-close-btn {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
}
*/
#wetland-park-hk-ai-detected-video-timetable {
    overflow: scroll;
    height: 100%;
    width: 100%;
}

.schedule-table {
    width: 100%;
}


.schedule-header tr > th:nth-child(2)::before {
    content: '0';
}

.schedule-rows td {
    width: 50px;
    height: 30px;
    margin: 3px;
    padding: 5px;
    background: rgba(0,20,40,0.4);
    cursor: pointer;
}

    .schedule-rows td:first-child {
        background-color: transparent;
        text-align: right;
        position: relative;
        width: 4%;
    }

    .schedule-rows td:not(:first-child) {
        border: solid black 1px;
    }

#wetland-park-hk-info-latlng {
    color: var(--epd-green);
}

.sub-container {
    width: 100%;
    height: 250px;
    /*border: 2px solid var(--epd-green);*/
    border-radius: 8px;
    margin: 1em 0 0.5em 0;
}

.sub-headbar {
    height: 15%;
    background: rgb(0,20,40);
    display: flex;
    align-items: center; 
    justify-content: center;
}

.sub-body {
    position: relative;
    height: 85%;
    display: flex;
    flex-direction: column;
}

#wetland-park-hk-liveview-body {
    background-color: black;
}

#wetland-park-hk-liveview {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

#wetland-park-hk-liveview-container {
    position: relative;
}

#wetland-park-hk-live-view-sign {
    position: absolute;
    top: 0.2em;
    right: 1.1em;
}

.pulse-animation {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.75);
    }

    70% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.75);
    }
}

bodu.rbp-xs {
    position: relative;
}

body.rbp-xs #cesiumContainer {
    width: 100%;
}

body.rbp-xs #wetland-park-hk-info-panel-collapse {
    width: 90%;
    left: 0;
    min-width: 0;
    height: 65%;
    overflow: scroll;
}

body.rbp-xs #monitoring-docks {
    width: 100%;
    left: 0;
    padding-left: 2px;
    padding-right: 2px;
}

body.rbp-xs div.tab-content::before {
    /* Fallback string if variable isn't set yet */
    content: var(--scroll-down-content,"");
    color: var(--epd-green);
}

body.rbp-xs .cesium-viewer-toolbar {
    top: auto;
    bottom: 0;
}





