﻿.pothole {
    font-size: 16px;
}

.pothole-id {
    font-size: 12px;
}

.pothole-images-carousel img {
    border-radius: .25rem;
}

.leaflet-container a.leaflet-popup-close-button {
    width: 58px;
    height: 50px;
    font: 24px Tahoma, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leaflet-bar.leaflet-control-zoom {
    border: 0;
    margin: 0;
}

.leaflet-bar.leaflet-control-zoom a {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
}

.leaflet-bar.leaflet-control-zoom a:first-child {
    border-radius: 0;
}

.leaflet-bar.leaflet-control-zoom a:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: .25rem;
}

.pothole-images-carousel .carousel-inner {
    height: 0;
    padding-bottom: 100%;
}

.pothole-images-carousel .carousel-item {
    position: absolute !important; /* Bootstrap is insistent */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.pothole-images-carousel .carousel-item img {
    height: 100%; /* Bootstrap handles width already */
    object-fit: cover; /* or 'contain' if you want stretch instead of crop */
}