body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", "Trebuchet MS", Helvetica, sans-serif;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.map-title {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.342);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    color:#ffffff;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.control-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: "Montserrat", "Trebuchet MS", Helvetica, sans-serif;
}

button {
    padding: 8px 12px;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Montserrat", "Trebuchet MS", Helvetica, sans-serif;
}

button i {
    font-size: 16px;
}

button#geolocate {
    background-color: #2196F3;
}

button#geolocate:hover {
    background-color: #0b7dda;
}

button#calculateRoutes {
    background-color: #FF9800;
}

button#calculateRoutes:hover {
    background-color: #F57C00;
}

button#toggleMetroLines {
    background-color: #9C27B0;
}

button#toggleMetroLines:hover {
    background-color: #7B1FA2;
}
button#toggleisocronas {
    background-color: #1eaca0;
}

button#toggleisocronas:hover {
    background-color: #30ac9b;
}
button#toggleSpoke {
    background-color: #4CAF50;
}

button#toggleSpoke:hover {
    background-color: #3e8e41;
}        

.mapboxgl-popup-content {
    background-color: rgba(0, 0, 0, 0.71) !important;
    color: #ffffff !important;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


.mapboxgl-popup-tip {
    background-color: rgba(0, 0, 0, 0.71) !important;
    border: none !important;
}

.mapboxgl-popup-content h3 {
    margin-top: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
}

.mapboxgl-popup-content p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #ffffff;
}

.mapboxgl-popup-close-button {
    color: #ff0b0b;
    font-size: 16px;
    padding: 4px 8px;
}

.mapboxgl-popup-close-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mapboxgl-popup-tip {
    border-top-color: #000000 !important;
    border-bottom-color: #000000 !important;
}

.mapboxgl-user-location-dot {
    background-color: #35c8ec;
}

.mapboxgl-user-location-dot::after {
    background-color: #1c6de6;
}
.center-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    width: 50px;
    height: 50px;
}

.map-logo {
    position: absolute;
    bottom: 40px;
    right: 20px;
    z-index: 1000; 
    opacity: 0.5; 
    transition: opacity 0.3s; 
}
.map-logo:hover {
    opacity: 0.9; 
}   
.map-logo img {
    width: 90px; 
    height: auto;
}
.autor{
    color:#ffffff;
    position: relative;
    left: 10px;
    bottom: 15px;
    font-family: Arial, sans-serif;
} 