@use "../../../../styles/abstracts/variables";
@use "../../../../styles/abstracts/mixins";  

.plans{
    display: grid;
    @include mixins.dashPageComponent;

    @media only screen and (max-width: 1000px) {
        padding: 1.5rem 1.5rem;
    }

    //tab
    &__tab{
        background: variables.$col-active-btn-bg;
        border: 1px solid variables.$col-border-lining;
        border-radius: 6px;
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: space-between;
        width: 40%;
        padding: .5rem .7rem;
        align-items: center;
        font-size: .85rem;
        color: variables.$col-white;
        @media only screen and (max-width: 1000px) {
            width: 100%;
            padding: .5rem .6rem !important;
        }

        &--item{
            width: 50%;
            text-align: center;
            cursor: pointer;
            font-weight: 500;
            color: variables.$col-white;
            &--active{
                background: variables.$col-orange;
                color: variables.$col-dark;
                border-radius: 6px;
                padding: .4rem 1.5rem;
                cursor: pointer;
                font-size: .85rem;
                font-weight: 500;
                @media only screen and (max-width: 1000px) {
                    padding: .6rem 1.5rem;
                    font-size: .7rem;
                    font-weight: 600;
                }
            }
        }
    }

    //Grid
    &__grid{
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        width: auto;
        gap: 20px;
        // @media only screen and (max-width: 1000px) {
        //     background: red !important;
        // }
    }
}