/* ----- Barra (DROPBAR) Indices ----- */
.barra-indice {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    bottom: 50px;
    z-index: 1001;
    width: 100%;
    height: 7.5vh;
    background-color: #fff;
    overflow: hidden;
    transform: translateY(300px);
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.barra-indice.show {
    transform: translateY(0px);
    opacity: 1;
}

.title-markers {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
    width: 15%;
    cursor: pointer;
    padding: 2.6% 0;

    &>.title-markers-text {
        margin-bottom: 0%;
        color: #1A1A1A;
        text-align: center;
        font-weight: 500;
        font-size: 15px;
        text-transform: uppercase;
    }

    &>.title-markers-icon {
        padding: 0 5%;
        height: 100%;
        font-size: 25px;
    }

    /* ----- Displays p/ Responsividade ----- */
    .title-markers-text {
        display: block;
    }

    .title-markers-icon {
        display: none;
    }
}

/* ---- SWIPER MARCADORES ---- */
.swiper {
    box-shadow: inset 2px 0px 5px 0px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: 7.5vh;
}

.swiper-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;

    &>.btn-marker {
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999;
        width: 100%;
        padding: 5% 0;
        cursor: pointer;

        &>#edit-marker {
            position: absolute;
            right: 7%;
            top: 5px;
            z-index: 1000;
            margin: 0;
            padding: 0;
            text-align: end;
            background-color: transparent;
            border: none;

            &>i {
                font-size: 20px;
            }
        }

        &>.text-marker {
            margin-bottom: 0 !important;
            border-bottom: 3px solid #000;
            color: #1A1A1A;
            font-size: 14px;
            text-align: center;
            font-weight: 500;
            text-transform: uppercase;
            cursor: pointer;
        }
    }
}

#marker-popup {
    display: none;
    justify-content: center;
    align-items: center;
    padding-top: 20%;
    position: absolute;
    z-index: 1002;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);

    &>.content-marker-popup {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5%;
        width: 90%;
        height: max-content;
        background-color: white;
        border-radius: 5px;

        &>p {
            margin: 0;
            font-size: 20px;
        }

        &>.marker-inputs {
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            gap: 1vw;
            margin: 5% 0;
            width: 100%;

            &>#marker-name {
                padding: 2% 5%;
                width: 100%;
                border: 1px solid #00000073;
                border-radius: 20px;
            }

            &>#marker-color {
                -webkit-appearance: none;
                -moz-appearance: none;
                appearance: none;
                background-color: transparent;
                max-width: 30px;
                min-width: 30px;
                border: none;
                cursor: pointer;

                &::-webkit-color-swatch {
                    border-radius: 50px;
                }

                &::-moz-color-swatch {
                    border-radius: 50px;
                }
            }
        }

        &>.marker-buttons {
            display: flex;
            justify-content: space-between;
            width: 100%;

            &>button {
                padding: 2% 5%;
                background-color: var(--cor-ciclo-primaria);
                border: none;
                border-radius: 5px;
                color: #fff;
                font-weight: 700;

                &:first-child {
                    background-color: rgb(189, 187, 187);
                }

                &:disabled {
                    opacity: .5;
                }
            }
        }
    }
}

.title-markers-text {
    display: none !important;
}

.title-markers-icon {
    display: block !important;
}

@media screen and (min-width: 475px) {
    /* ----- Barra (DROPBAR) Indices ----- */
    .barra-indice {
        top: 65px;
        z-index: 1000;
        height: 4vh;
        transform: translateY(-60px);
        transition: all 0.5s ease-in-out;
        opacity: 0;
    }

    .barra-indice.show {
        transform: translateY(0px);
        opacity: 1;
    }

    .swiper {
        height: 4vh;
    }

    #edit-marker {
        top: 0 !important;
    }

    #marker-popup {
        align-items: self-start;
        padding-top: 15%;

        &>.content-marker-popup {
            padding: 3%;
            width: 50%;
        }
    }

    .title-markers-text {
        font-size: 13px !important;
    }
}

@media screen and (min-width: 1025px) {
    #marker-popup {
        align-items: self-start;
        padding-top: 8%;

        &>.content-marker-popup {
            padding: 1.5%;
            width: 30%;
        }
    }
    /* ----- Barra (DROPBAR) Indices ----- */
    .barra-indice {
        z-index: 1000;
        height: 5vh;
        transform: translateY(-55px);
        transition: all 0.5s ease-in-out;
        opacity: 0;
    }

    .barra-indice.show {
        transform: translateY(0px);
        opacity: 1;
    }

    .swiper {
        height: 5vh;
    }

    #edit-marker {
        top: 0 !important;
    }
    
    .title-markers-text {
        display: block !important;
    }
    
    .title-markers-icon {
        display: none !important;
    }
}

@media screen and (max-width: 1440px) and (min-width: 1024px) {
    .lista-produtos {
        height: calc(100% - 30%) !important;
    }

    .container-rodape-itens {
        height: 22%;
    }
}