// ✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦
//     Utilities
// ✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦
.flex {
    display: flex;
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.item-center {
    display: flex;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.flex-all-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

// ✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦
//     mixins
// ✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦✦
@mixin pos-absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.max-content {
    max-width: 140rem !important;
    width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
}

// ------------  [slider button]  ------------
.btn {
    width: 6rem;
    height: 6rem;
    border: 1px solid #fff;
    background-color: transparent;
    border-radius: 50px;

    i {
        font-size: 3.5rem;
        color: rgba(255, 255, 255, 0.447);
    }
}

.submit {
    width: 20rem;
    height: 7.9rem;
    background-color: $primary;
    color: $white;
    border-radius: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 9rem;
    margin-left: auto;
    

    span {
        font-weight: 700;
        font-size: 1.9rem;

    }

    i {
        font-size: 3rem;
    }

}

.btn-center {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 6rem;
    
}

.btn-toggle {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;


    &-yes {
        input {
            display: none;
        }

        label {
            width: 18rem !important;
            height: 8rem;
            color: $primary;
            border: 1px solid $primary;
            font-weight: 700;
            font-size: 1.9rem;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 13px;
            text-transform: uppercase;

        }
    }

    input[type='radio']:checked+label {
        background-color: $primary;
        color: $white;
    }



}

.mar-t {
    margin-top: 10rem;
}

.mt-2 {
    margin-top: 2rem;
}

// ------------  [face-only]  ------------
.cartoon-card {
    height: 70rem !important;
    margin-top: 25.5rem;
    width: 45rem !important;

    img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform: scale(1.1);
    }
}

// ------------  [colors]  ------------
.text-primary {
    color: $primary;
}

.approved__image {
    max-width: 65rem;
    height: 40rem;
    width: 100%;
    object-fit: contain;
 
}

.approved3__img {
    max-width: 40rem;
    width: 100%;
    height: 55rem;
    transform: translateY(4.3rem);

    img {
        width: 100%;

    }
}

.cartoon {
    filter: grayscale(100%);
}

.bottom_text {
    p {
        font-weight: 400;
        font-size: 1.7rem;
        line-height: 3rem;
        text-align: center;

    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.bg-white {
    background-color: $white;
}

.dashboard {
    &__body {
        .navbar {
            &__menu {
                &--content {

                    .bg-transparent {
                        background-color: transparent;
                        border: 1px solid $white;

                        input {
                            color: $white !important;

                            &::placeholder {
                                color: $white !important;
                            }
                        }

                    }
                }
            }

        }
    }
}

.name-white {
    color: $white !important;
}

.bg-gray {
    background-color: #f9f9f9 !important;
}

.bg-dark {
    background-color: #212121 !important;

}

// ------------  [dashboard-6]  ------------
.dashboard {
    &__sidebar {
        .list {
            margin-top: 3.6rem;
            
            @media only screen and (max-width: 1300px){
                padding-left: 2rem;
                padding-right: 2rem;
                white-space: nowrap;
                overflow: auto;
                width: 100vw;
            }

            li {
                display: flex;
                max-width: 20rem;
                margin: 0 auto;
                margin-bottom: 3rem;

                @media only screen and (max-width: 1300px){
                    display: inline-block;
                    margin-bottom: 1rem;

                    &:not(:last-child){
                        margin-right: 2rem;
                    }
                }
                
                a {
                    gap: 1.7rem ;
                    display: flex;
                    img {
                        fill: $primary;
                    }

                    .text {
                        font-family: Poppins;
                        font-weight: normal;
                        font-size: 2.2rem;
                        line-height: 6.5rem;
                        color: $white;

                    }
                }
            }
        }
    }
}

.identity__id-card{
    transform: scale(1.2) translateX(3rem) !important;
    
}  