
.box-step{
    box-shadow: 0px 3px 20px 0px #00000040;
    border-radius: 20px;
    height: 630px;
    padding: 20px;
}
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
}

.circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #e4e4e4;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
}

.step p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #6F7D95;
}

.step.step-active .circle {
    background-color: #4f46e5;
    color: #fff;
}

.step.step-active p {
    font-size: 12px;
    font-weight: 700;
    color: #002F7B;
}

.step .circle {
    background-color: #e4e4e4;
}

.step + .step::before {
    content: '';
    position: absolute;
    top: 20%;
    height: 3px;
    width: calc(70% / 4);
    background-color: #e4e4e4;
    margin-right: 28%;
}

.step + .step.step-active::before {
    background-color: #4D63FF;
}

#floatingButton {
    position: fixed;
    display: flex;
    justify-content: space-between;
    padding: 10px 10%;
    bottom: 0px;
    left: 0px;
    background: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0px -3px 12px 0px #00000029;
    width: 100%;
    height: 65px;
    border-top-left-radius:20px;
    border-top-right-radius:20px;
}

#floatingButton button {
    background: white;
    border: none;
    width: 140px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    color: #0073e6;
    border-radius: 100px;
    border: 2px solid #4D63FF;
}

#floatingButton button:disabled {
    border: 2px solid #D1D0DB;
    color: #D1D0DB;
}

.img-arrow {
    transform: rotate(180deg);
}

#prevButton {
    background: white;
    border: none;
    width: 120px;
    font-size: 16px;
    font-weight: 500;
    color: #0073e6;
    position: absolute;
    top: -60px;
    display: flex;
    align-items: center;
}

#prevButton:disabled {
    color: #949495;
}

.step-content{
    margin-top: 44px;
}

.buttons_lenses{
    background-color: #FFFFFF;
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    width: 80%;
    border: 2px solid #D1D0DB;
    border-radius: 10px;
    padding: 8px;
    gap: 20px;
    cursor: pointer;
}

.buttons_lenses_selected{
    border-color: #004DC8;
}

.buttons_formula{
    background-color: #FFFFFF;
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    width: 80%;
    border: 2px solid #D1D0DB;
    border-radius: 10px;
    padding: 8px;
    gap: 20px;
    cursor: pointer;
}

.lenses_title{
    font-size: 16px;
    font-weight: 700;
}

.resalt-text{
    color: #4D63FF;
}

.lenses_description{
    font-size: 10px;
    font-weight: 500;
}

/* Estilos del Overlay */
.drawer-overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Oscurece el fondo */
    z-index: 999;
    display: none; /* Oculto por defecto */
}

/* Estilos del Drawer */
.drawer-overlay {
    position: fixed;
    top: 0;
    right: -400px; /* Oculto inicialmente */
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

/* Clases activas */
.drawer-overlay.open {
    right: 0; /* Muestra el drawer */
}

.drawer-overlay-bg.open {
    display: block; /* Muestra el overlay */
}

/* Contenido del Drawer */
.drawer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

#closeDrawer {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
}

/* Modal Overlay */
.modal-product-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fondo oscurecido */
    z-index: 1000;
}

/* Modal */
.modal-product {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

/* Contenido de la Modal */
.modal-product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-product-info{
    font-weight: 500; 
    font-family: Poppins; 
    color: #001A45; 
    font-size: 14px;
}

/* Botón de cierre */
#closeModal {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
}

.recommended-lenses{
    display: flex;
    flex-direction: row-reverse;
    right: -50px;
    position: relative;
    color: #4D63FF;
    font-size: 10px;
    font-weight: 700;
    top: -5px;
}

.lenses-button-drawer{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lenses-drawer{
    display: flex;
    justify-content: space-between;
    background: white;
    border: 2px solid #D1D0DB;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    height: 110px;
}

.lenses-drawer-active{
    border: 2px solid #004DC8;
}

.lenses-drawer-check{
    display: flex;
    align-items: center;
    height: 100%;
}

.lenses-drawer-check-icon{
    width: 15px;
    height: 15px;
    background: #24D0A8;
    border-radius: 100%;
    color: #ffffff;
}

.lenses-drawer-not-check{
    border: 1px solid #6F7D95;
    width: 15px;
    height: 15px;
    border-radius: 100%;
}

.lenses-drawer-not-check > span{
    display: none
}

.confirm-drawer{
    background: #4D63FF; 
    width: 200px; 
    height: 40px; 
    border-radius: 28px; 
    padding: 8px 20px; 
    color: #FFFFFF; 
    font-size: 16px; 
    font-weight: 700; 
    cursor: pointer; 
    border: none;
}

.confirm-drawer:disabled{
    background: #D1D0DB;
    color: #FFFFFF;
}

.box-step-content{
    display: flex; 
    justify-content: center;
}


/* Modal Overlay */
.modal-formula-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fondo oscurecido */
    z-index: 1000;
    display: none;
}

/* Modal */
.modal-formula {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: none;
}

/* Contenido de la Modal */
.modal-formula-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-formula-info{
    font-weight: 500; 
    font-family: Poppins; 
    color: #001A45; 
    font-size: 14px;
    text-align: center;
}

/* Botón de cierre */
#closeModalFormula {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
}

.plants-target{
    min-width: 165px;
    height: 385px;
    border-radius: 12px;
    padding: 12px 10px;
    box-shadow: 0px 3px 20px 0px #84829D40;
    background-color: #FFFFFF;
    position: relative;
    border: 2px solid #FFFFFF;
}

.plants-target-content{
    display: flex; 
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.plants-title{
    font-size: 14px;
    font-weight: 700;
    color: #002F7B;
    text-align: center;
}

.plants-img{
    width: 100%;
    height: 106px;
    margin-bottom: 6px;
}

.plants-target-info{
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.plants-description{
    font-size: 10px;
    font-weight: 500;
    color: #001A45;
}

.plants-selected{
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    border: 1px solid #4D63FF;
    border-radius: 100px;
    width: calc(100% - 20px);
    padding: 4px 10px;
    background-color: #FFFFFF;
    color: #4D63FF;
    font-size: 8px;
    font-weight: 700;
}

.plants-target-box{
    display: flex; 
    flex-direction: column; 
    border-bottom: 1px solid #E9E9EF; 
    padding-bottom: 6px;
    min-height: 42%;
}

.plants-price{
    font-size: 18px;
    font-weight: 700;
    color: #4D63FF;
    text-align: center;
    margin-top: 10px;
}

.plants-selected-change{
    background-color: #4D63FF;
    color: #FFFFFF;
}

.plants-target-selected{
    border: 2px solid #4D63FF;
}

.buttons_filters{
    background-color: #FFFFFF;
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    width: 80%;
    border: 2px solid #D1D0DB;
    border-radius: 10px;
    padding: 8px;
    gap: 20px;
    cursor: pointer;
}

.lenses-filters-check{
    display: flex;
    align-items: center;
    height: 100%;
}

.lenses-filters-check-icon{
    width: 15px;
    height: 15px;
    background: #24D0A8;
    border-radius: 100%;
    color: #ffffff;
}

.lenses-filters-not-check{
    border: 1px solid #6F7D95;
    width: 15px;
    height: 15px;
    border-radius: 100%;
}

.lenses-filters-not-check > span{
    display: none
}

.lenses-filters-price{
    color: #4D63FF; 
    font-weight: 700; 
    font-family: Poppins; 
    font-size: 12px;
}

.step-title {
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    color: #4D63FF;
    margin-bottom: 30px;
}

.lenses-price-drawer{
    color: #4D63FF; 
    font-weight: 700; 
    font-family: Poppins; 
    font-size: 18px;
}

.lenses-total{
    font-size: 24px;
    padding-left: 10px;
    padding-top: 3px;
}

@media screen and (max-width: 768px){

    .modal-product {
        width: 90%;
    }

    .modal-formula {
        width: 90%;
    }

    .buttons_lenses{
        width: 100%;
    }

    .buttons_formula{
        width: 100%;
    }
    
    .box-step-content{
        justify-content: flex-start;
    }

    .step{
        min-width: 32%;
    }

    .step + .step::before {
        width: calc(90% / 4);
        margin-right: 32%;
    }

    .modal-product-info{
        text-align: center;
    }

    #floatingButton {
        padding: 10px 5%;
    }

    .plants-target-content{
        display: flex; 
        gap: 16px; 
        overflow-x: scroll; 
        padding: 16px;
        width: 100%;
        justify-content: normal;
    }
    
    .plants-target-content::-webkit-scrollbar {
        display: none;
        height: 0px;
    }
    
    .buttons_filters{
        width: 100%;
    }

    .box-step{
        padding: 0;
        box-shadow: none;
    }
}