@import url(./searcher.css); /* barra de busqueda*/
@import url(./slider.css); /* superficie que aparece una vez checkeado una propiedad */


.side-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background: rgba(92, 92, 102, 0.70);
    backdrop-filter: blur(17.5px);
    border-radius: 0 16px 0 0px;
    box-shadow: 2px 0 16px rgba(0,0,0,0.08);
    width: calc(21.806vw + 44px);
    max-width: calc(21.806vw + 44px);
    padding: 80px 0 0 0; 
    height: 100vh;
    margin-left: 0;
    align-items: flex-start;

    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    transform: translateX(0);
}
.side-bar-container.hidden-slider {
    transform: translateX(-100%);
}

#sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
    border-radius: 16px;
    padding: 16px;
    align-self: stretch;
    max-height: 89vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.hide-sidebar {
    position: relative;
    align-self: flex-start;
    z-index: 10;
    top: 20px;
    order: 2;
}

.hide-sidebar button {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 0px 56px 56px 0px;
    background: rgba(92, 92, 102, 0.70);
    backdrop-filter: blur(17.5px);
}

.filter-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    width: 100%;
}

#disponibilidad-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    margin-top: 0;
}

.status-info,
.filter-section ul {
    display: flex;
    padding-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 3px !important;
    margin-top: 2px !important;
    list-style-type: none;
    width: 100%;
    max-height: 100%;
}

.status-info > li,
.filter-section li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 2px;
    width: 100%;
    gap: 6px;
}

label {
    color: #F6F6F6;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 2px 0;
    margin-left: 2px;
}

.count {
    color: #F6F6F6;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin-left: auto;
    margin-right: 8px;
}

.lands-color {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    align-self: stretch;
    width: 100%;
    border-radius: 0px 0px 16px 16px;
    background: rgba(92, 92, 102, 0.40);
    box-shadow: 0px -2px 8px 0px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(16px);
    left: 0px;
    position: fixed;
    bottom: 0;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    cursor: pointer;
    margin-right: 6px;
}
input[type="checkbox"]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: transparent;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    z-index: 1;
}
input[type="checkbox"]::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 11px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg) scale(0);
    top: 1px;
    left: 5px;
    transition: 120ms transform ease-in-out;
    z-index: 2;
}
input[type="checkbox"]:checked::before {
    background-color: #786EDF;
    transform: scale(1);
}
input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
}
input[type="checkbox"]:focus {
    outline: 1px solid #786EDF;
    outline-offset: 1px;
}

.lands-color label {
    display: flex;
    align-items: center;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 0;
    display: flex;
    align-items: center;
}

.dropdown-svg {
    position: absolute;
    right: 20px;
}

.title-filter {
    color: var(--White-White, #FFF);
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    margin:0;
}

.sidebar-subtitle {
    color: var(--Woodsmoke-50, #F6F6F6);
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
}

.more-filters {
    display: flex;
    height: 30px;
    padding: 4px 16px 4px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    margin-top: 15px;
    border-radius: 56px;
    background: rgba(92, 92, 102, 0.70);
}

.totals-lotes-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.totals-lotes-container .lotes-totales-label {
    color: #F6F6F6;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-right: auto;
}

.totals-lotes-container #special-count {
    margin-left: auto;
    color: #F6F6F6;
    font-family: Montserrat;
    font-size: 23px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.section-content {
    overflow: hidden;
    opacity: 1;
    height: auto;
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;
}

svg {
    vertical-align: middle;
}

#special-count {
    color: #F6F6F6;
    font-family: Montserrat;
    font-size: 23px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.lands-color .section-header {
    justify-content: center;
    width: 100%;
}

.lands-triggers {
    width: 100%;
}

.lands-color .toggle-btn {
    justify-content: center;
    text-align: center;
    width: 100%;
}

.prioridad-btn {
    border: 1px solid #ccc;
    background: transparent;
    border-radius: 56px;
    padding: 8px 16px;
    margin: 4px;
}

.prioridad-btn:hover {
    background: rgba(92, 92, 102, 0.80);
    backdrop-filter: blur(17.5px);
    border-color: #999;
}

.prioridad-text {
    color: var(--Woodsmoke-50, #F6F6F6);
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

@media (max-width: 550px) {
    .side-bar-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 0;
    }
    #sidebar {
        max-height: 100vh;
        border-radius: 0px;
        position: relative;
        padding-bottom: 80px;
    }
    .section-content {
        max-height: 95vh;
    }
    .apply-filters-container {
        display: flex;
        padding: 16px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        align-self: stretch;
        position: relative;
        background: rgba(92, 92, 102, 0.80);
        backdrop-filter: blur(17.5px);
    }
    .apply-filters {
        display: flex;
        height: 40px;
        padding: 4px 16px 4px 12px;
        justify-content: center;
        align-items: center;
        gap: 4px;
        align-self: stretch;
        border-radius: 56px;
        background: rgba(92, 92, 102, 0.70);
    }
    .mobile-close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 9999;
    }
    .section-content.mobile-expanded {
        height: auto !important;
        opacity: 1 !important;
        display: block !important;
    }
    .apply-filters > span {
        color: var(--Woodsmoke-50, #F6F6F6);
        font-family: Montserrat;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 120%;
    }
    .toggle-btn {
        margin-bottom: 0;
        width: 100%;
    }
    .lands-triggers > .btn-switch,
    .lands-triggers > lotes-totales-label {
        margin-top: 10px;
        margin-bottom: 16px;
    }
    #close-btn {
        position: absolute;
        right: 2%;
        background: transparent;
    }
    #close-btn > svg {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .operation {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }
    .trigger-lotes {
        position: relative;
        display: flex;
        justify-content: space-between;
        padding: 0 !important;
    }
    #toggleMobile-btn {
        display: flex;
        height: 40px;
        padding: 4px 16px 4px 12px;
        justify-content: center;
        align-items: center;
        gap: 4px;
        border-radius: 56px;
        border: 1px solid #FFF;
        background: rgba(92, 92, 102, 0.70);
        position: absolute;
        left: 16.045px;
        top: 73px;
    }
    #toggleMobile-btn > span {
        color: var(--Woodsmoke-50, #F6F6F6);
        font-family: Montserrat;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 120%;
    }
    .switch {
        position: absolute;
        display: inline-block;
        width: 39px;
        height: 20px;
        margin-right: 8px;
        right: 15px;
    }
    .section-content.mobile-expanded {
        height: auto !important;
        opacity: 1 !important;
        display: block !important;
    }

    /* ver resultados, mobile only */

    .results-container {
        display: flex;
        padding: 16px;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        align-self: stretch;
        position: relative;
        bottom: 80px;

        border-top: 1px solid #A4A4A4;
box-shadow: 0px -1px 8px 0px rgba(0, 0, 0, 0.36);
background-color: rgb(67, 67, 74);

    }

    .results-btn {
        display: flex;
        height: 40px;
        padding: 4px 12px 4px 8px;
        justify-content: center;
        align-items: center;
        gap: 4px;
        align-self: stretch;
        cursor: pointer;

        border-radius: 56px;
        background: var(--violet-50, #786EDF);
        border: none;
    }

    .results-btn:hover {
        background: var(--violet-100, #6D5ACF);
    }
    .results-title {
        color: #FFF;
        font-family: Montserrat;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 120%; /* 16.8px */
        margin-bottom: 4px;
        margin-top: 4px;
    }
    .results-btn > span {
        color: #FFF;
        font-family: Montserrat;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 120%; /* 16.8px */
    }
}


