.dropdown-tabs{
    position: relative;
    .dropdown-tabs__header{
        font-size: 14px;
        font-weight: 600;
        margin: 0;
        padding: 10px 20px 10px 10px;
        border: 1px solid #001F56;
        border-radius: 20px;
        color: #001F56;
        position: relative;
        cursor: pointer;
        svg{
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
        }
    }
    .dropdown-tabs__body{
        position: absolute;
        left: 0;
        top: 100%;
        z-index: 3;
        overflow: hidden;
        max-height: 0;
        transition: all 0.3s ease;
        width: 100%;
        .dropdown-tabs__list{
            background-color: #fff;
            list-style: none;
            margin: 0;
            padding: 0;
            border: 1px solid #001F56;
            border-radius: 20px;
            overflow: hidden;
            .dropdown-tabs__item{
                .dropdown-tabs__link{
                    display: block;
                    padding: 5px 10px;
                    color: #001F56;
                    text-decoration: none;
                    font-size: 14px;
                    font-weight: 600;
                    transition: all 0.3s ease;
                    &:hover, &.active{
                        background-color: #001F56;
                        color: #fff;
                    }
                }
            }
        }
    }
    .dropdown-tabs__button-prev, .dropdown-tabs__button-next{
        display: none;
        background-color: transparent;
        border: none;
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3;
        color: #fff;
        background-color: #001F56;
        border-radius: 50%;
        padding: 5px;
        height: 25px;
        width: 25px;
        svg{
            width: 100%;
            height: 100%;
        }
    }
    .dropdown-tabs__button-prev{
        left: -20px;
        svg{
            transform: rotate(180deg);
        }
    }
    .dropdown-tabs__button-next{
        right: -20px;
    }
    &.open{
        .dropdown-tabs__header{
            svg{
                transform: translateY(-50%) rotate(180deg);
            }
        }
        .dropdown-tabs__body{
            max-height: 500px;
        }
    }
}
.dropdown-content{
    .dropdown-content__item{
        display: none;
        transition: all 0.3s ease;
        opacity: 0;
        padding-top: 20px;
        p, ul li, ol li, a {
            font-size: 14px;
            margin: 0;
        }
        a{
            width: fit-content;
        }
        ul, ol {
            padding-left: 20px;
            li{
                list-style: disc;
                line-height: normal;
            }
        }
        table{
            width: 100%;
            border-collapse: collapse;
            thead{
                background-color: #51575D;
                color: #fff;
                th{
                    border: 1px solid #cecece;
                    padding: 10px;
                }
            }
            tbody{
                tr{
                    td{
                        border: 1px solid #cecece;
                        padding: 10px;
                    }
                }
                tr:nth-child(odd){
                    background-color: #f0f0f0;
                }
            }
        }
        &.active{
            display: block;
            animation: fadeIn 0.5s ease forwards;
        }
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.lista-porcentaje{
    list-style: none;
    margin: 20px 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    gap: 20px 30px;
    li{
        list-style: none !important;
        span{
            display: flex;
            justify-content: center;
            align-items: center;
            width: 80px;
            height: 64px;
            background: url('../bg-h-red.png') no-repeat center center;
            background-size: contain;
            font-size: 22px;
            font-weight: 700;
            color: #fff;
            margin: auto;
        }
        p{
            text-align: center;
            margin: 10px 0 0 !important;
        }
    }
}
@media (min-width: 992px) {
    .dropdown-tabs{
        .dropdown-tabs__header{
            display: none;
        }
        .dropdown-tabs__body{
            position: initial;
            max-height: none;
            .dropdown-tabs__list{
                display: flex;
                align-items: center;
                flex-wrap: nowrap;
                position: relative;
                border: none;
                border-radius: 0;
                overflow-x: auto;
                .dropdown-tabs__item{
                    flex: 0 0 33.33333333333333%;
                    .dropdown-tabs__link{
                        text-align: center;
                        white-space: nowrap;
                        font-size: 16px;
                        border-bottom: 4px solid #1A64A17A;
                        font-weight: 400;
                        &:hover{
                            background-color: #1a64a127;
                            color: #001F56;
                        }
                        &.active{
                            background-color: transparent;
                            color: #001F56;
                            border-bottom: 4px solid #001F56;
                            cursor: default;
                            font-weight: 600;
                        }
                    }
                }
                &::-webkit-scrollbar{
                    display: none;
                }
            }
        }
        .dropdown-tabs__button-prev.is-visible,
        .dropdown-tabs__button-next.is-visible{
            display: block;
        }
    }
    .dropdown-content{
        .dropdown-content__item{
            p, ul li, ol li, a {
                font-size: 16px;
            }
        }
    }
    .lista-porcentaje{
        margin: 30px 0 !important;
        li{
            flex: 1;
            span{
                width: 100px;
                height: 80px;
                font-size: 25px;
            }
        }
    }
}

@media (min-width: 1200px) {
    .dropdown-tabs{
        .dropdown-tabs__body{
            .dropdown-tabs__list{
                .dropdown-tabs__item{
                    .dropdown-tabs__link{
                        font-size: 18px;
                        padding: 15px 10px;
                    }
                }
            }
        }
        .dropdown-tabs__button-prev{
            left: -25px;
        }
        .dropdown-tabs__button-next{
            right: -25px;
        }
    }
    .dropdown-content{
        .dropdown-content__item{
            p, ul li, ol li, a {
                font-size: 18px;
            }
        }
    }
}