html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}
.container-fluid {
    height: 100%;
}
#map {
    height: 100%;
    width: 100%;
}
#locations-table {
    height: 100%;
    overflow-y: auto;
}
.mapboxgl-popup-content {
    padding: 20px;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.location-price {
    font-weight: bold;
    color: #28a745;
    font-size: 1.3em;
    margin-bottom: 10px;
}
.marker {
    background-color: #007bff;
    border-radius: 10%;
    color: white;
    padding: 0.1em 0.3em;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.marker:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.location-image {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.location-images {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}
.location-images img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.location-images img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.table-responsive {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.btn-group-vertical {
    position: absolute;
    top: 70px;
    left: 10px;
    z-index: 1000;
}
.btn-group-vertical .btn {
    text-align: left;
    padding: 5px 10px;
    font-size: 0.85rem;
}
.btn {
    transition: all 0.3s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.modal-content {
    border-radius: 15px;
}
.modal-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

#viewLocationModalBody .location-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

#viewLocationModalBody .location-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#viewLocationModalBody .location-image:hover {
    transform: scale(1.05);
}

/* Center Icon on the Map */
.center-icon {
    transition: all 0.3s ease;
}

.center-icon:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Styles for the search form */
#search-form {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 300px;
    z-index: 1000;
}

#search-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#search-form button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Active Button */
#btn-group-vertical {
    top: 40px;
    left: 10px;
}