.btn-link:hover{
	background: #DDD;
}
.leaflet-marker-icon{
	border-radius:50%;
	-moz-border-radius:50%;
	-webkit-border-radius:50%;
	-moz-shadow:0px 5px 5px 2px #959595;
	-webkit-shadow:0px 5px 5px 2px #959595;
}
.leaflet-tooltip-custom {
    background-color: #f44336 !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 4px 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    border: none;
}
.leaflet-tooltip-background {
    background: none;
}
.custom-tooltip .tooltip-title {
    font-weight: bold;
}
.custom-tooltip .tooltip-price {
    font-size: 9px;
}
.leaflet-tooltip-custom .leaflet-tooltip {
    padding: 6px;
}
#map .leaflet-marker-icon,
#map-detail .leaflet-marker-icon:first-child {
	/* box-shadow:0px 5px 5px 2px #959595; */
}
#map {
    height: calc(100vh - 21.55px - 53.96px - 53.19px - 55px - 20px);
    width: 100%;
    border-radius: 6px;
}
.project-map .custom-label {
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
}
    /* Ẩn nút close của InfoWindow */
.project-map .gm-ui-hover-effect {
    display: none !important;
}
.project-map .box-router .router {
    list-style: none;
    flex-direction: column;
    padding-left: 0;
}
.project-map .box-router .router .item-router {
    cursor: pointer;
    background-color: #fff;
    padding: 10px 15px;
    border-bottom: 1px solid #DDD;
}
.project-map .box-router .router .item-router:hover {
    background-color: rgba(105, 108, 255, 0.16) !important
}
.project-map .box-router .router .item-router.active, {
    background-color: rgba(105, 108, 255, 0.16) !important;
}
.project-map .router .item-router.active {
    color: #696cff;
}
.project-map .box-router .box-location {
    max-height: calc(100vh - 21.55px - 53.96px - 53.19px - 55px);
    height: calc(100vh - 21.55px - 53.96px - 53.19px - 55px);
    background-color: #fff;
    padding: 11px 15px 15px 15px;
    overflow: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #DDD;
}
.project-map .box-router .box-location .item-location {
    font-weight: 600;
}
.project-map .router .item-router .image-project {
    width: 95px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.project-map .router .item-router .image-project img {
    width: 100px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.project-map .box-location {
    transition: max-height 0.5s ease;
}
.project-map .box-location.collapse-active {
    max-height: 50px;
    margin-bottom: 15px;
    overflow: hidden
}
.project-map .collapse-project {
        display: none;
        position: absolute;
        right: 10px;
        margin-top: -4px;
}
.project-map .header-page {
    flex-wrap: wrap;
}
.fh_AI,
.bottom-navbar,
.menu_plus {
    z-index: 1000 !important;
}
#map-detail {
    height: calc(100vh - 21.55px - 53.96px - 89.76px - 53.19px - 50px);
    /* height: 100%; */
    width: 100%;
    border-radius: 8px;
}
.ellipsis-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-map-detail .custom-label {
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
}
    /* Ẩn nút close của InfoWindow */
.project-map-detail .gm-ui-hover-effect {
    display: none !important;
}
.project-map-detail .box-menu-location .item-menu {
    padding-left: 0px;
}
.project-map-detail .box-menu-location .menu-location {
    list-style: none; 
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0 !important;
}
.project-map-detail .box-menu-location .item-menu .btn-action-map {
    border: 1px solid #e1e4e8;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    width: auto;
    white-space: nowrap;
}
.project-map-detail .box-menu-location .item-menu .btn-action-map i {
    font-size: 1.25rem;
    margin-right: 6px;
}
.project-map-detail .box-menu-location .item-menu.active .btn-action-map,
.project-map-detail .box-menu-location .item-menu .btn-action-map:hover {
    background-color: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 4px 10px rgba(105, 108, 255, 0.2);
}
.project-map-detail .box-router .box-location {
    height: 650px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #e1e4e8;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}
.project-map-detail .box-router .router {
    list-style: none;
    flex-direction: column;
    padding-left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    flex-grow: 1;
    max-height: 590px;
}
.project-map-detail .box-router .router .item-router {
    background-color: #fff;
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f2f4;
    transition: background-color 0.2s ease;
}
.project-map-detail .box-router .router .item-router:last-child {
    border-bottom: none;
}
.project-map-detail .box-router .router .item-router:hover {
    background-color: #f8f9fa !important;
}
.project-map-detail .box-router .router .item-router.active {
    background-color: rgba(105, 108, 255, 0.08) !important;
    border-left: 3px solid #696cff;
}
.project-map-detail .box-router .router .item-router .item-location {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.project-map-detail .box-router .router .item-router .item-location .group-info-location {
    max-width: 75%;
    padding: 0;
}
.project-map-detail .box-router .router .item-router .item-location .group-info-location .title-location {
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}
.project-map-detail .box-router .router .item-router .item-location .group-info-location span {
    font-size: 12px;
    color: #777;
    line-height: 1.3;
}
.project-map-detail .box-router .router .item-router .group-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.project-map-detail .box-router .router .item-router .group-info b {
    font-size: 13px;
    color: #696cff;
    background: rgba(105, 108, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}
.project-map-detail .box-map {
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}
.project-map-detail .group-search-location {
    max-width: 260px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
}
.project-map-detail .group-search-location input {
    padding: 10px 20px;
    box-shadow: none !important;
}
.project-map-detail .group-search-location button {
    padding: 10px 20px;
}
.project-map-detail .title-text {
    color: #495057;
}
.project-map-detail .map-container {
    width: 100%;
    height: 650px;
	z-index: 1
}
.project-map-detail .btn-center-map {
    bottom: 20px;
    right: 20px;
    z-index: 400;
}
.leaflet-routing-container {
  display: none !important;
}
@media (max-width: 1024px) { 
    #map-detail {
        height: calc(50vh);
        width: 100%;
    }
    .project-map-detail .box-menu-location .menu-location  {
        flex-direction: row;
        width: 100%;
        overflow: auto;
        flex-wrap: nowrap;
        /* justify-content: center; */
    }
    .project-map-detail .box-menu-location .item-menu .btn-action-map i {
        font-size: 1.15rem;
    }
    .project-map-detail .box-map {
        width: 100%;
        order: 1;
    }
    .project-map-detail .box-router {
        width: 100%;
        margin-top: 10px;
        order: 2;
    }
    .project-map-detail .box-menu-location .item-menu .btn-action-map {
        font-size: 12px;
        padding: 6px 10px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) { 
    .project-map .box-router,
    .project-map .box-map {
        width: 100%;
    }
    .project-map .collapse-project {
        display: block;
        right: 55px;
    }
    #map {
        height: calc(100vh - 21.55px - 53.96px - 53.19px - 77px - 39px - 1rem);
    }
}
@media (max-width: 768px) { 
    .project-map .collapse-project {
        display: block;
        right: 10px;
    }
    #map {
        height: calc(100vh - 21.55px - 53.96px - 53.19px - 100px - 39px - 1rem);
        width: 100%;
    }
	.project-map-detail .box-menu-location .item-menu {
		flex: 1 1 0;
	}
    .project-map-detail .box-menu-location .item-menu .btn-action-map {
        width: 100%;
    }
	.project-map-detail .group-search-location {
		max-width: 100%;
	}
	.project-map-detail .box-menu-location form {
		width: 100%;
	}
}