﻿html, body, #map {
    height: 100vh;
    margin: 0;
    padding: 0;
    --marker-yellow: #ffa724;
    --marker-green: #00c853;
    --marker-blue: #1e90ff;
    --marker-black: #454545;
}

#map {
    width: 100%;
    height: 75vh; /* 100% of the viewport height */
}

.leaflet-popup {
    margin-bottom:55px;
}
.custom-carousel {
    width: auto;
    height: 80vh;
    margin: 0 auto; /* Center horizontally */
}

.login-background {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 93vh;
    background-image: url('https://lfxgit.github.io/images/fleet-building.jpg');
    background-size: cover;
    background-position: center;
}

.legend-input-field input {
    padding: 6px !important;
    width: 30px !important;
}

@media (max-width: 600px) {
    .fixed-card-header {
        min-height: 3rem; /* Smaller height for mobile screens */
    }
}

@media (min-width: 601px) {
    .fixed-card-header {
        min-height: 6rem; /* Larger height for tablets and desktops */
    }
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 36px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

/* Marker styles */
.custom-div-icon .marker-pin {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--marker-color); /* Placeholder for dynamic color */
}

/* Popup styles */
.map-popup {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}

.map-popup a {
    display: flex;
    align-items: center;
    margin: 8px;
    text-decoration: none;
    color: inherit;
}

.map-popup i.material-icons {
    font-size: 28px;
}

.map-popup .px-2 {
    padding-left: 8px;
}

.phoneHover {
    font-size:24px;
}

.mud-table-toolbar {
    flex-wrap: wrap;
    height: inherit;
}