@import "../../../../assets/scss/abstracts/variables";
@import "../../../../assets/scss/abstracts/mixins";

// Variables 

$header-bg-color: #0578d4;
$header-border-color: #39a3f7;
$btn-bg-color: #00bb08;
$btn-border-color: #68f96e ;
$gray: #f2f2f2;

.rdg-blocks .rdg-memberships {
    display: flex;
    justify-content: center;
    background-color: $color-primary-dark-light;
    padding: 20px 0; 

    .container.content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        .title p {
            padding-bottom: 20px;
            margin: 0;
            color: $color-white;
            font-size: 48px;
            text-align: center;
        }

        .column {
            width: 100%;
            display: flex;
            max-width: 1300px;
            gap: 17px;
            flex-wrap: wrap;
            justify-content: center;

            p {
                margin: 0;
            }

            .header {
                color: $color-white;
                font-weight: bold;
                font-size: 22px;
                border-top-right-radius: 10px;
                border-top-left-radius: 10px;
                background-color: $header-bg-color;
                text-align: center;
                padding: 10px 0;
                border-bottom: 4px solid $header-border-color
            }

            .body {
                padding: 15px 20px;
            }

            .first_pack,
            .second_pack,
            .third_pack,
            .fourth_pack {
                flex: 1;
                background-color: $color-white;
                border-radius: 10px;
                border-top-left-radius: 60px;
                border-top-right-radius: 60px;
                max-height: 270px;
                min-height: 270px;
                max-width: 312.25px;
                min-width: 312.25px;
            }

            .first_pack {
                .body {
                    .description {
                        font-size: 14px;
                        padding-bottom: 14px;
                    }
                    .footer {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        border-top: 2px solid $gray;
                        padding-top: 14px;
                        .price {
                            color: $color-primary-dark-light;
                            padding: 10px;
                            background-color: $gray;
                            font-size: 28px;
                            font-weight: bolder;
                            border-radius: 4px;
                            width: fit-content;
                        }
                        .btn a {
                            color: $color-white;
                            background-color: $btn-bg-color;
                            padding: 15px 50px;
                            text-decoration: none;
                            border-top: 2px solid $btn-border-color;
                            border-radius: 4px;
                            font-size: 16px;
                            font-weight: bold;
                        }
                    }
                }
            }

            .second_pack {
                .body {
                    .deal {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        height: 60px;

                        .price {
                            color: $color-primary-dark-light;
                            font-weight: bold;
                            font-size: 54px;
                        }

                        .list {
                            ul {
                                padding-left: 20px;
                                margin: 0;
                                list-style-position: inside;

                                li {
                                    font-weight: bold;
                                    font-size: 16px;
                                }
                            }
                        }
                    }
                    .description {
                        font-size: 14px;
                        padding: 12.5px 0;
                    }
                    .btn {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        a {
                            color: $color-white;
                            background-color: $btn-bg-color;
                            padding: 15px 50px;
                            text-decoration: none;
                            border-top: 2px solid $btn-border-color;
                            border-radius: 4px;
                            font-size: 16px;
                            font-weight: bold;
                        }
                    }
                }
            }

            .third_pack {
                .body {
                    display: flex;
                    height: 80%;

                    .left {
                        flex: 2;
                        padding-right: 19px;
                        height: 100%;

                        .description {
                            font-size: 14px;
                            text-align: justify;
                            padding-bottom: 5px;
                        }

                        .great_value {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                        }
                    }

                    .right {
                        flex: 1;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        padding-left: 19px;
                        border-left: 2px solid $gray;
                        height: 100%;

                        .price {
                            display: flex;
                            max-height: 60px;
                            align-items: center;

                            .dollar {
                                font-size: 32px;
                                font-weight: bold;
                                color: $color-primary-dark-light;
                            }

                            .amount {
                                font-size: 54px;
                                font-weight: bold;
                                color: $color-primary-dark-light;
                            }
                        }

                        .btn {
                            font-weight: bold;
                            font-size: 16px;
                            
                            display: flex;
                            text-align: center;
                            padding-top: 40px;

                            a {
                                border-radius: 15px;
                                background-color: $btn-bg-color;
                                color: $color-white;
                                border-top: 2px solid $btn-border-color;
                                max-width: 90px;
                                padding: 10px 14px;
                                text-decoration: none;
                            }
                        }
                    }
                }
            }

            .fourth_pack {
                .body {
                    .deal {
                        font-size: 30px;
                        font-weight: bold;
                        text-align: center;
                        justify-content: center;
                        display: flex;
                        gap: 4px;

                        .off {
                            color: $color-primary-dark-light;
                        }

                        .dot {
                            color: $btn-bg-color;
                        }

                        .best_deal {
                            color: $color-black;
                        }
                    }

                    .list {
                        width: 100%;
                        padding: 10px 0;

                        ul {
                            margin: 0;
                            list-style-position: inside;
                            display: flex;
                            justify-content: space-between;
                            flex-wrap: wrap;

                            li {
                                font-size: 13px;
                                flex-basis: 49%;
                                margin-bottom: 8px;
                            }
                        }
                    }

                    .btn {
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        a {
                            color: $color-white;
                            background-color: $btn-bg-color;
                            padding: 15px 50px;
                            text-decoration: none;
                            border-top: 2px solid $btn-border-color;
                            border-radius: 4px;
                            font-size: 16px;
                            font-weight: bold;
                        }
                    }
                }
            }
        }
    }
}
