@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');
body, html {
    height: 100%;
    margin: 0;
    background-color: #1e1e1e;
    color: #7acbd7;
    overflow: hidden;
    display: flex;
    flex-direction: column;
	font-family:Orbitron;
	text-shadow: 0 0 8px #007295; 
}

#header {
    background-image: linear-gradient(to bottom, rgba(0, 65, 94, 1), rgba(0, 65, 94, 0));
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1002;
    width: 100%;
    position: relative;
}

#logo {
    max-width: 70px;
    margin-bottom: 10px;
}

#headline {
    font-size: 18px;
    color: #fff;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.sidebar {
    width: 400px;
    padding: 20px;
    z-index: 1001;
    overflow-y: auto;
    position: relative;
    top: 0px;
    left: 0;
    bottom: 0;
    box-sizing: border-box;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

/* For WebKit browsers (Chrome, Safari) */
.sidebar::-webkit-scrollbar {
    display: none;
}

.accordion {
    /*background-image: linear-gradient(to bottom, rgba(0, 61, 82, 1), rgba(0, 128, 168, 1));*/
	font-family:Orbitron;
	font-weight:bold;
	background-color: #0095ca;
	border:none;
    border-start-start-radius: 10px 10px;
    color: #fff;
    cursor: pointer;
    padding: 18px;
    margin-top: 16px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 18px;
    transition: 0.4s;
}
.accordion.active{

}

.accordion.disable {
    background-color: #222;
    cursor: not-allowed;
    opacity: 0.5;
}

.accordion:after {
    content: '\002B';
    color: #fff;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2212";
}

.panel {
    padding: 0 18px;
    background-image: linear-gradient(to bottom, rgba(0, 35, 55, 0.7), rgba(0, 35, 55, 0.7));
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
	border-left:1px dashed #001b2b;
	border-right:1px dashed #001b2b;

}

.form-group {
    box-sizing: border-box;
    margin-bottom: 8px;
    margin-top: 8px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group select, .form-group textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
	background:#003950;
	border:1px solid #00b3cd;
	color:#7acbd7;
	font-family:Orbitron;
	
}
.form-group input:focus-visible{
	outline:#007299;
	
}

.form-group button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color:#0094c6;
    color: #fff;
    cursor: pointer;
    margin-bottom: 8px;
    margin-top: 8px;
	height:50px;
	font-family:Orbitron;
	font-weight:bold;
	font-size:18px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 500;
    pointer-events: none;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1600;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #137dab;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content {
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.overlayModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
}
.leaflet-popup-content {
	color:#fff!important;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip{
	
	background:#0095ca!important;
}

#legend {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 65, 94, 1);
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1013; 
    color: #fff;
    font-family: Orbitron;
    display: flex;
    flex-direction: line;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-icon {
    width: 10px;
    margin-right: 10px;
	margin-left:10px;
}



.terms-modal {
    display: none;
    position: fixed;
    z-index: 1600;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #137dab;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    color: #fff;
    font-family: Orbitron;
}

.terms-modal-content {
    text-align: center;
}

.terms-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.terms-overlayModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
}


@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        bottom: auto;
        padding: 10px;
    }

    #header {
        padding: 10px;
    }

    .accordion {
        padding: 14px;
        font-size: 14px;
    }

    .form-group input, .form-group select, .form-group textarea {
        padding: 8px;
    }

    .form-group button {
        padding: 8px;
    }
	
	#legend {
        bottom: 0px;
        right: 0px;
        padding: 8px;
    }

    .legend-icon {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }

    .legend-item {
        font-size: 14px;
    }
}



@media (max-width: 480px) {
    #headline {
        font-size: 16px;
    }

    .accordion {
        padding: 12px;
        font-size: 13px;
    }

    .form-group input, .form-group select, .form-group textarea {
        padding: 6px;
    }

    .form-group button {
        padding: 6px;
    }

    #logo {
        max-width: 50px;
    }
	
	 #legend {
        bottom: 5px;
        right: 5px;
        padding: 5px;
    }

    .legend-icon {
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }

    .legend-item {
        font-size: 12px;
    }
}
