/* html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
} */
html {
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
}
body {
    padding: 0px;
    margin: 0px;
    /* align-items: center;
    justify-content: center; */
    min-height: 100%;
    height: 100%;
}
.inactive-device-icon {
    opacity: 0.5;
    filter: grayscale(50%);
}
#map {
    height: 100vh;
    width: 100vw;
    background: #000;
}
.leaflet-popup-content {
    font-size: 16px;
}
.leaflet-popup-content-wrapper {
    border-radius: 0;
}
.leaflet-layer,
.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control-attribution {
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}
.popup-headline {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
}
.popup-content {
    max-height: 300px; /* Adjust as needed */
    overflow-y: hidden; /* Enable vertical scrolling */
}
#status-message {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: white;
    padding: 10px;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 10pt;
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
    animation: blinkBackground 3s infinite; /* Add blinking animation */
}
@keyframes blinkBackground {
    0% {
        background-color: white; /* Start with white */
    }
    50% {
        background-color: #ffcccc; /* Midway color (light red) */
    }
    100% {
        background-color: white; /* Return to white */
    }
}
.emoji-marker {
    font-size: 24px;
    text-align: center;
    line-height: 1;
}
.validation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 10px;
}
.validation-table th,
.validation-table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}
.validation-table th {
    background-color: #f2f2f2;
    position: sticky;
    top: 0; /* Make table headers sticky */
    z-index: 1; /* Ensure headers stay above the table body */
}
#login-form {
    display: none; /* Hide by default */
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 10pt;
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}
#login-form input {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 10pt;
    width: 150px;
}
#login-form button {
    padding: 3px 7px;
    cursor: pointer;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 10pt;
}
#user-info {
    display: none; /* Hide by default */
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 10pt;
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}
#user-info button {
    padding: 3px 7px;
    cursor: pointer;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 10pt;
}
.popup-form {
    padding: 10px;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}
.popup-content input {
    //display: block;
    margin-bottom: 5px;
    //padding: 5px;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 14px;
    width: 100px;
}
.popup-form input[readonly] {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 14px;
    width: 150px;
    cursor: not-allowed;
}
.popup-form button {
    padding: 3px 7px;
    cursor: pointer;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 14px;
}

a {
    text-decoration: none; /* Remove underline */
    color: #007BFF; /* Default link color (blue) */
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

a:hover {
    color: #0056b3; /* Darker blue on hover */
}

/* Overlay Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dimmed background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.overlay-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlay-circle svg {
    width: 100%;
    height: 100%;
}

.overlay-circle text {
    font-size: 4rem;
    font-weight: bold;
    fill: white;
}

.overlay-status {
    margin-top: 20px;
    font-size: 1.5rem;
    color: white;
    text-align: center;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}