body {
    font-family: 'Manrope', sans-serif;
    background-color: #003366; /* Dark Royal Blue */
}

body, html {
    height: 100%; /* Make sure the body takes full height */
    margin: 0;
    padding: 0;
}

#map {
    height: 100%; /* Make map take full height */
    width: 100%; /* Make map take full width */
    position: absolute;
    top: 0;
    left: 0;
}

.container-fluid {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #003366;
    z-index: 10; /* Higher z-index to make sure it's above the map */
}

/* Rest of your CSS */


.card {
    border-color: #B87333; /* Copper */
    cursor: pointer;
    background-color: #f2f2f2; /* Light Grey */
}

.card-title {
    color: #808080; /* Grey */
}

.card-text {
    color: #808080; /* Grey */
}

.card:hover {
    background-color: #87CEEB; /* Lighter Blue */
}

.login-container {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 30px; /* Add some space at the top */
}
.container {
    min-height: 100vh; /* Viewport Height */
}
.error {
    color: red;
    margin: 5px 0;
}

label, input, button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

input, button {
    padding: 10px;
}

button {
    background-color: #228B22; /* Forest Green */
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #1E7B1E; /* Darker Forest Green */
}

.server-errors {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030; /* High z-index to ensure it's above other elements */
}

.info-bar { min-height: 15vh; }

#mapControls {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5; /* Ensure the buttons are above the map */
}

#mapControls button {
    margin-bottom: 5px;
    background: #666666; /* Example background color */
    border: none;
    border-radius: 4px; /* Rounded corners */
    padding: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
}

#mapControls button:hover {
    background: #003366; /* Darker background on hover */
}

#mapControls svg {
    fill: #fff; /* SVG icon color (white) */
    width: 30px; /* Set width for the SVG */
    height: 30px; /* Set height for the SVG */
}


#mapControls button.auto-center-enabled {
    background: green;
    color: white;
}

#mapControls button.auto-center-disabled {
    background: #666666;
    color: white;
}

.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.unreadIcon {
    position: absolute;
    top: 85px; /* Adjust to position correctly */
    left: 70px; /* Adjust to position correctly */
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: smaller;
    /* Add additional styling for the unread message count */
}

#chatModal .modal-dialog {
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevents overflow outside the modal */
}

#chatModal .modal-header,
#chatModal .modal-footer {
    flex-shrink: 0; /* Prevents header and footer from shrinking */
}

#chatModal .modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#chatMessages {
    overflow-y: auto; /* Enables scrolling */
    max-height: calc(80vh - 200px); /* Adjust based on header/footer height */
}



