.canvas{
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.container{
    display: flex;
    height: 100dvh;
    width: 100%;
    flex-direction: row;
}
#map{
    height: 100%;
    width: 100%;
}
.leaflet-control-attribution{
    display: none;
}
.leaflet-control-container{
    position: absolute;
    bottom: 90px;
    left: auto;
    right: 52px;
    margin: 0;
    padding: 0;
}
.move2CurrentLoc{
    position: absolute;
    background: #f7f7f7;
    bottom: 85px;
    right: 10px;
    border: 1px solid #8d8d8d;
    display: flex;
    padding: 3px;
    z-index: 1000;
    height: 30px;
    width: 30px;
    border-radius: 50%;
}
.move2CurrentLoc img{
    width: 26px;
    filter: brightness(0) saturate(100%) invert(47%) sepia(62%) saturate(242%) hue-rotate(190deg) brightness(97%) contrast(87%);
}
.leaflet-routing-container{
    display: none !important;
}/*hide directios*/
/*POPUP MAP*/
.popup_map{
    width: 180px;
    height: fit-content;
}
.popup_map b{
    font-family: var(--titleFont);
}
.popup_map .popup_image{
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--cLow);
}
/*MENU*/
.menu_bar{
    position: absolute;
    z-index: 1000;
    bottom: 0;
    right: 0;
}
/*MAIN WINDOW*/
.box1, .box2 {
    width: 100%;
    height: 100%;
    flex-grow: 1;
    flex-shrink: 1;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    min-width: auto;
    min-height: 100%;
}
.divider{
    height: 100%;
    width: 3px;
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: e-resize;
}
.divider .grabber{
    width: 12px;
    min-width: 12px;
    height: 60px;
    background: var(--cStrong);
    display: block;
    border-radius: 10px;
    z-index: 1000;
    outline: 3px solid white;
}
#main_window{
    background: var(--cLight);
}
#main_window.opened{
    right: 0;
}
/*MENU*/
.menu_window{
    display: flex;
    height: 34px;
    background: var(--cLow);
    position: sticky;
    top: 0;
    display: flex;
    margin-bottom: 8px;
}
.menu_window button{
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: transparent;
    border-bottom: 2px solid transparent;
    font-family: var(--titleFont);
}
.menu_window button:hover{
    /*background: var(--cSoft);*/
    color: var(--cStrong);
    cursor: pointer;
}
.menu_window button.selected{
    font-weight: bold;
    color: var(--txtStrongNeg);
    border-bottom: 2px solid var(--cStrong);
    background: var(--cStrong);
}
#list_number{
    display: inline-block;
}
.anim_number{
    animation: animanumber 0.5s ease;
}
@keyframes animanumber {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; color:red;}
  100% { transform: scale(1); opacity: 1; }
}
/*BASE*/
.base_box{
    height: 100%;
    min-width: 320px;
}
/*ALL WINDOWS*/
.mWindow{
    display: none;
    height: calc(100% - 42px);
    overflow: overlay;
}
.mWindow.display{
    display: block;
}
/*WINDOW 1*/
.search_box{
    display: flex;
    height: 42px;
    padding: 4px 12px;
    border-radius: 30px;
    background: white;
    gap: 10px;
    z-index: 1000;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    margin: auto;
    min-width: 230px;
    width: fit-content;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
    max-width: 90%;
}
#range_bar{
    border: none;
}
#search_place{
    border: none;
    flex-grow: 1;
    min-width: 20px;
    outline: none;
}
#search_place:-internal-autofill-selected{
    background-clip: text;
}
#location-btn{
    border: none;
    background: transparent;
}
#range_results{
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 60px;
    left: 0;right: 0;
    margin: auto;
    z-index: 1000;
    max-width: 90%;
    background: white;
    border-radius: 6px;
}
#range_results.oculto{
    display: none;
}
#range_results li{
    padding: 8px;
    color: var(--txtSoft);
}
#range_results li:hover{
    background: var(--cLow);
    cursor: pointer;
}
.win_sections{
    justify-content: center;
    display: flex;
    background: var(--cLow);
    gap: 4px;
    margin: 0 0 8px 0;
}
.win_sections .sectionOption{
    background: transparent;
    border: none;
    height: 30px;
    flex-grow: 1;
    font-family: var(--titleFont);
}
.sectionOption.active{
    background: var(--cMid);
    color: white;
}
#locations-list{
    height: fit-content;
    list-style: none;
    padding: 0;
}
.location-item:nth-of-type(even) {
    background: var(--cLow);
}
.location-item{
    padding: 10px;
    margin: 5px 0;
    background: var(--colorBg);
    cursor: grab;
    display: flex;
    gap: 6px;
}
.info_column{
    width: 100%;
    flex-grow: 1;
}
.drag-handle{
    width: 20px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cLow);
}
.item_row1{
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.name_tags{
    width: 100%;
}
.name_tags input{
    width: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--cMid);
    font-size: 1rem;
    color: var(--txtStrong);
    background: transparent;
}
.item_tags{
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 4px;
    display: flex;
}
.item_tags span{
    padding: 4px 8px;
    white-space: nowrap;
    background: var(--cLow);
    border-radius: 16px;
    font-size: 14px;
    color: var(--txtSoft);
}
.item_row1 button{
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--cSoft);
    background: var(--cLow);
}
.item_row1 button:hover{
    background: var(--cDanger);
    border: 1px solid var(--cDanger);
    color: white;
}
.item_statistics{
    display: flex;
    gap: 16px;
    opacity: 0.8;
    margin-top: 8px;
}
.icon_box{
    display: flex;
    align-items: center;
    gap: 6px;
    height: 15px;
}
.icon_box.liked{
    filter: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(6493%) hue-rotate(226deg) brightness(80%) contrast(98%);
}
.icon_box img{
    height: 100%;
    width: 15px;
}
.category{
    padding: 4px 8px;
    white-space: nowrap;
    border-radius: 16px;
    font-size: 14px;
    color: white;
}
.category.tovisit{
    background: #1E40AF;
}
.category.foodanddrinks{
    background: #3F9C6C;
}
.category.lodging{
    background: #9F7AEA;
}
.category.transport{
    background: #0EA5E9;
}
.item_footer{
    display: flex;
    height: 22px;
    justify-content: space-between;
    margin-top: 8px;
}
.way2move{
    display: flex;
    gap: 8px;
}
.way2move input{
    height: 100%;
    max-height: 22px;
}
.way2move select{
    height: 100%;
    max-height: 22px;
}
.way2move button{
    height: 100%;
    max-height: 22px;
}
.way2move button img{
    height: 100%;
}
.item_footer .item_link{
    height: 100%;
    max-height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background: var(--cMid);
    padding: 6px 12px;
    text-decoration: none;
    font-size: 0.86rem;
    border-radius: 4px;
}
/*SUGGESTIONS*/
.suggestions{
    display: flex;
    flex-wrap: wrap;
}
.suggestion{
    display: flex;
    margin: 4px 8px;
    gap: 6px;
    flex-grow: 1;
    flex-basis: 280px;
}
.itemPhoto{
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    /*height: 100px;*/
    background: var(--cLow);
}
.itemPhoto img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.itemInfo{
    padding: 4px;
    flex-grow: 1;
}
.itemInfo h3{
    font-size: 1.04rem;
    font-family: var(--titleFont);
    font-weight: normal;
    color: var(--txtStrong);
}
.item_bottom{
    display: flex;
    margin-top: 8px;
    justify-content: space-between;
    gap: 10px;
}
.item_bottom button{
}
/*WINDOW 1*/
@media screen and (max-width: 664px){
    .container{
        flex-direction: column;
    }
    .box1, .box2{
        min-width: 100%;
        min-height: auto;
    }
    .divider {
        width: 100%;
        height: 3px;
        cursor: ns-resize;
    }
    .divider .grabber{
        height: 20px;
        min-height: 20px;
        width: 60px;
    }
}
/*ICONS ON MAP*/
.numbered-marker {
    background-image: url('../icons/location.svg'); /* o usa el icono que ya usabas */
    background-size: cover;
    width: 30px;
    height: 43px;
    position: relative;
    color: var(--cStrong);
    font-weight: bold;
    text-align: center;
    line-height: 32px;
    font-size: 16px;
    font-family: var(--titleFont);
}