@import '../../../scss/base';

.elementor-widget-rt-price-table {
    .elementor-widget-container {

        .rt-price-table {
            padding: 50px;
            background: #F1F1F1;
            border-radius: 8px;
            transition: 0.5s;
            &:hover {
                will-change: transform;
                transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
            }
        }

        .rt-pricing-table-badges {
            position: absolute;
            right: 0;
            width: 120px;
            height: 30px;
            top: 16px;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12% 50%);
            background: #141414;
            align-items: center;
            display: flex;
        }

        .rt-pricing-table-badge {
            font-weight: 700;
            font-size: 14px;
            line-height: 24px;
            margin: auto;
            color: #fff;
        }

        .rt-pricing-table-title {
            margin-bottom: 25px;
            color: var(--color-secondary);
            font-size: 18px;
            font-weight: 500;
            line-height: 26px;
            text-transform: uppercase;
            border: 1px solid #282828;
            max-width: max-content;
            border-radius: 4px;
            padding: 4px 14px;

        }

        .rt-pricing-table-header {
            p {
                padding-bottom: 10px;
                color: #777;
            }
        }

        .rt-pricing-table-price {            
            .rt-pricing-table-price-tag {
                margin-bottom: 23px;
                color: $titleColor;
                font-weight: 700;
                font-size: 40px;
                line-height: normal;
                position: relative;
                .rt-pricing-table-price-text {
                    font-weight: 700;
                    margin-left: -10px;
                }
            }

            .rt-pricing-table-period {
                color: var(--color-secondary);
                font-size: 18px;
                font-weight: 800;
                display: inline-block;
            }

            &.display-inline {
                .rt-pricing-table-period {
                    position: relative;
                    padding-left: 16px;
                    display: inline-block;

                    &:before {
                        position: absolute;
                        content: "";
                        height: 20px;
                        width: 2px;
                        position: absolute;
                        left: 0;
                        transform: rotate(20deg) translateY(-50%);
                        top: 50%;
                        background: #f2f2f2;
                    }
                }
            }
        }
        .rt-pricing-table-body {
            .rt-pricing-table-features-title {
                font-weight: 400;
                font-size: 16px;
                line-height: 26px;
                color: var(--color-secondary);
                margin: 0;
                max-width: 295px;
            }

            .rt-pricing-table-features-list {
                margin: 0;
                padding: 30px 0 0 0;
                list-style: none;
                
                li {
                    margin-bottom: 15px;
                    font-size: 16px;
                    line-height: 25px;
                    color: var(--color-secondary);
                    display: flex;
                    align-items: center;              
                    &.active{
                        i{
                            font-size: 18px;
                            color: var(--color-secondary);
                        }
                    }
                    &.deactive {
                        color: #5D666F;
                    }

                    i {
                        color: var(--color-secondary);
                        margin-right: 10px;
                        min-width: 15px;
                        font-size: 18px;
                    }
                }
            }
        }
        .btn-part {
            text-align: center;
            margin-top: 50px;
        }

        .rt-pricing-table-btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 4px;
            color: var(--color-secondary);
            border: 1px solid var(--color-secondary);
            font-size: 16px;
            transition: all .3s;
            line-height: 26px;
            font-weight: 700;
            text-transform: uppercase;
            text-align: center;
        }

        .rt-pricing-icon {
            position: relative;

            i {
                position: relative;
                transition: $transition;
                text-align: center;
            }
        }
        .rt-pricingt-style2{
            position: relative;
            .rt-pricing-table-price{
                background: $primaryColor;
                display: inline-block;
                position: absolute;
                top: -10%;
                left: 0;               
                padding: 18px 40px;
                text-align: right;
                animation: jump-1 5s linear infinite;
            }
            .rt-pricing-table-header{
                padding-top: 95px;
                p{
                    margin-bottom: 0;
                    padding-bottom: 0;
                }
                border-bottom: 1px solid #EAE2E2;
            }
            .rt-pricing-table-price .rt-pricing-table-price-tag .rt-pricing-table-price-text{
                margin:0
            }
            .rt-pricing-table-price-tag{
                margin-bottom: 0;
            }
            .rt-pricing-table-period{
                margin-top: 0;
            }
        }
        

    }
}