.account {

    &-sidenav {
        &-rewards {
            padding: calc($size-sm / 2); 
            margin-bottom: $size-sm;         
            
            p {
                margin-bottom: 0;
                line-height: initial;
            }

            .progress {
                height: .5rem;
            }

        }

        ul {
            li {
                height: $size-sm;

                &:last-child {
                    @extend .pt-size-sm;

                    a {
                        @extend .text-sm;
                    }
                }

                a {
                    @extend .link, .text-medium;                    
                    
                    &.active {
                        @extend .text-bold;
                    }
                }
            }
        }
    }

    &-rewards {
        &-image {
            margin-bottom: $size-sm;

            img {
                width: 100%;
                height: auto;
                max-height: 75vh;
            }   
        }

        &-content {
            .account-card {
                h1, h2, h3, h4, h5, h6 {
                    @extend .mb-1;

                    &:not(:first-child) {
                        margin-top: $size-sm;
                        margin-bottom: 0;
                    }
                }   
            }
        }
    }
    
    &-card {
        background-color: #FFF;
        padding: calc($size-sm / 2);

        @include media-breakpoint-up(md) {
            padding: $size-sm;
        }

        p {
            margin: 0;
        }

        ul {
            @extend .list-default;
        }

        &-purshase {            
            table {
                margin-bottom: $size-sm; 

                thead,
                tbody {
                    tr {

                        th, td {
                            padding: 1rem .5rem;
                        }

                        th {
                            text-align: left;
                        }
                        
                        th:last-child,
                        td:last-child {
                            text-align: right;
                        }
                    }
                }

                tfoot {
                    position: relative;
                    z-index: 1;

                    &::before {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        z-index: -1;
                        background-color: $ultra-light-grey;
                    }

                    td {
                        text-align: right;
                        padding: .5rem;
                    }
                }
            }
        }
    }

    &-benefits {
        grid-gap: 15px 0;
        margin-bottom: $size-sm;

        &-item {
            @include transition(all, .25s, ease);

            &:hover {
                @include box-shadow(0, 0, 10px, $black-alpha)
            }

            .item-image {
                height: 200px;

                @include media-breakpoint-between(lg, xxl) {
                    height: 135px;
                }

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            .item-content {
                background-color: #FFF;
                padding: calc($size-sm / 2);

                h5 {
                    @extend .text-sm, .text-bold, .text-uppercase, .mb-2;
                }

                h3 {
                    min-height: $size-sm;

                    @include media-breakpoint-between(lg, xxl) {
                        font-size: 9pt;
                    }
                }

                p {
                    @extend .m-0;
                    color: $grey;
                }
            }
        }
    }

    &-purshases {
        &-item {
            background-color: #FFF;
            padding: $size-sm calc($size-sm / 2);
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: calc($size-sm / 2);
            @include transition(all, .25s, ease);

            @include media-breakpoint-up (lg) {
                padding: $size-sm;
            }

            &:hover {
                @include box-shadow(0, 0, 10px, $black-alpha)
            }

            h3, p {
                margin: 0;
                padding: 0;
            }

            small {
                color: $grey;
            }

            i {
                @extend .text-lg;
            }
        }
    }

    &-accordion {
        background-color: #FFF;

        .accordion-button,
        .accordion-body {
            padding: 2rem 1.25rem;
        }

        .accordion-button {
            display: flex;
            justify-content: space-between;

            &::after {
                position: absolute;
                right: 1.25rem;
            }

            p {
                margin: 0;

                &:last-child {
                    margin-right: $size-sm;
                }
            }
        }    
        
        .accordion-body {
            p {
                @extend .text-sm, .m-0;
            }

            i {
                @extend .text-xl, .pt-2, .pe-4;
            }
        }
    }
}