/* Ensure content doesn't get hidden behind fixed navbar */
body {
    padding-top: 80px !important;
}

.col-12.col-md-6 { will-change: transform; }

.tag-btn {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.875rem;
    background-color: #fff;
    color: #333;
    transition: all 0.2s;
}

.tag-btn:hover {
    background-color: #f8f9fa;
}

.tag-btn.active {
    /* background-color:  */
    color: black;
    border-color: #3b82f6; /* bootstrap blue-600 */
	border-radius: 20px;
	background-color: #e0edff; /* Light blue background */
}

.mensa-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
}

.mensa-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.mensa-banner {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.mensa-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}
.mensa-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mensa-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 1;
    color: white;
}
.mensa-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.mensa-distance {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
}
.banner-capacity {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
}
.rating-stars {
    color: #ffc107;
    font-size: 0.875rem;
}
.mensa-description {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}    
#map {
    height: calc(100vh - 80px); /* Full height minus fixed navbar */
    position: sticky;
    top: 80px; /* Account for fixed navbar */
    
}    
.mense-container {
    padding-bottom: 2rem; /* Reduced from 100vh to reasonable padding */
}
.filters-section {
    position: static;
    top: 0;
    background: white;
    z-index: 1;
}
.leaflet-popup-close-button {
    padding: 8px !important;
    font-size: 18px !important;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.leaflet-popup-close-button:hover {
    background-color: rgba(0,0,0,0.1);
}
.popup-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}
.leaflet-popup-content {
    margin: 10px;
    min-width: 200px;
}

.status-indicator {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-left: 10px;
	background-color: green;
	animation: pulse 1.5s infinite;
	vertical-align: middle;
	position: relative;
	top: -1.8px;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.5);
		opacity: 0.5;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.status-indicator.error {
	background-color: red;
	animation: none;
}

/* Wait time badge indicator */
.wait-time-indicator {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 12px;
	margin-right: 5px;
	vertical-align: middle;
	position: relative;
	top: -1px;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.5px;
	border: 1px solid transparent;
}

.wait-time-indicator.green {
	background-color: #28a745;
	color: white;
	border-color: #1e7e34;
}


.wait-time-indicator.yellow {
	background-color: #ffc107;
	color: white;
	border-color: #d39e00;
}



.wait-time-indicator.red {
	background-color: #dc3545;
	color: white;
	border-color: #c82333;
}


