// Dashboard Header Styles
#header {

    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
    width: calc(100% - 2px);
    margin: -20px -20px 0px -20px;
    height: 60px;

    .menuwrapper {
        display: flex;
        align-items: center;

        .toggleMenu {
            display: none;
            margin-left: 30px;
            background: transparent;
            border: none;
            font-size: 22px;
            align-items: center;

            @media screen and (max-width: 767px) {
                display: flex;
            }

            &>span {
                font-size: 16px;
                margin-left: 10px;
            }
        }
    }

    .header-right {
        display: flex;
        align-items: center;
        margin-left: 100px;

        a {
            margin-right: 25px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: $userType-bg;
            position: relative;
            text-decoration: none;

            &.active {
                background: $text-primary;
                border-radius: 10px;
                color: $white;
            }

            &.teams-ic {
                &>span {
                    position: absolute;
                    top: -5px;
                    right: -5px;
                    background-color: #E76165;
                    color: $white;
                    font-size: 6px;
                    width: 14px;
                    height: 14px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }
            }
        }

        .follower-popup {
            display: none;

            &.show {
                display: block;
                position: absolute;
                top: 50px;
                background: $white;
                min-width: 440px;
                @include box-shadow;
                z-index: 9;

                .pop-header {
                    padding: 0px 15px;

                    h3 {
                        margin-bottom: 5px;
                        font-size: 15px;
                    }

                    .follow-action {
                        display: flex;
                        justify-content: space-between;

                        p.selectall-wrap,
                        div.selectall-wrap {
                            display: flex;
                            align-items: center;
                            padding-left: 0px;
                            margin-top: 0;
                            margin-bottom: 0;

                            #selAll {
                                margin: 0 10px 0px 0px;
                                opacity: 0;
                                display: none;

                                &+label {
                                    font-size: $f13;
                                    color: rgba(0, 0, 0, 0.51);
                                    font-weight: bold;
                                    display: flex;
                                    align-items: center;
                                    cursor: pointer;

                                    &::before {
                                        content: "";
                                        width: 24px;
                                        height: 24px;
                                        border-radius: 5px;
                                        background-image: url(../assets/images/Checkbox.svg);
                                        background-repeat: no-repeat;
                                        display: inline-block;
                                        margin-right: 10px;
                                        background-size: contain;
                                        background-position: center;
                                    }
                                }

                                &:checked {
                                    &+label {
                                        &:before {
                                            content: "";
                                            background-image: url(../assets/images/checked.svg);
                                            width: 24px;
                                            height: 24px;
                                            background-repeat: no-repeat;
                                            display: inline-block;
                                            margin-right: 10px;
                                            background-size: 20px;
                                            background-position: center;
                                        }
                                    }
                                }
                            }
                        }

                        .viewall {
                            display: flex;
                            align-items: center;

                            button {
                                width: auto;
                                margin-right: 20px;
                                padding: 7px 10px;

                                &.btn-primary {
                                    padding: 5px 10px;
                                }
                            }

                            a {
                                white-space: nowrap;
                                color: $text-primary;
                                font-size: $f11;
                                text-transform: uppercase;
                                font-weight: bold;
                                text-decoration: none;
                            }
                        }
                    }
                }

                .pop-body {
                    .nwrap {
                        display: flex;
                        flex-direction: row;
                        padding: 12px 15px;
                        border-top: 1px solid $border-color;

                        .selwrap {
                            .selectallbox {
                                display: none;

                                &+label {
                                    font-size: $f13;
                                    color: rgba(0, 0, 0, 0.51);
                                    font-weight: bold;
                                    display: flex;
                                    align-items: center;
                                    cursor: pointer;

                                    &::before {
                                        content: "";
                                        width: 24px;
                                        height: 24px;
                                        border-radius: 5px;
                                        background-image: url(../assets/images/Checkbox.svg);
                                        background-repeat: no-repeat;
                                        display: inline-block;
                                        margin-right: 10px;
                                        background-size: contain;
                                        background-position: center;
                                    }
                                }

                                &:checked {
                                    &+label {
                                        &:before {
                                            content: "";
                                            background-image: url(../assets/images/checked.svg);
                                            width: 24px;
                                            height: 24px;
                                            background-repeat: no-repeat;
                                            display: inline-block;
                                            margin-right: 10px;
                                            background-size: 20px;
                                            background-position: center;
                                        }
                                    }
                                }
                            }

                        }

                        .nwrap-details {
                            .wrap {
                                display: flex;
                                align-items: flex-start;

                                img {
                                    margin-right: 10px;
                                }

                                p {
                                    margin: 0px 0px 5px;
                                    font-size: $f13;
                                    font-weight: bold;

                                    small {
                                        font-size: $f13;
                                        font-weight: normal;
                                    }
                                }

                                .btnwrap {
                                    margin-top: 15px;
                                    margin-bottom: 10px;

                                    button {
                                        margin-right: 15px;
                                        padding: 7px 10px;
                                        border-radius: 3px;
                                        font-size: $f13;
                                        outline: none;
                                        border: none;
                                        font-weight: bold;

                                        &.btn-green {
                                            background-color: $btn-green;
                                            color: $white;
                                        }

                                        &.btn-gray {
                                            background-color: $white;
                                            color: rgba(0, 0, 0, 0.39);
                                            border: 1px solid rgba(0, 0, 0, 0.39);
                                        }
                                    }

                                    &+p {
                                        color: $text-color-sec;
                                        font-weight: normal;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    .search {
        position: relative;
        color: $input-icon;
        font-size: $f16;
        ;
        display: inline-block;

        input {
            width: 400px;
            height: 32px;
            background: #FBFAFC;
            border: 1px solid $border-color;
            border-radius: 5px;
            text-indent: 15px;
            color: $text-black;
            background-image: url(../assets/images/Search.svg);
            background-repeat: no-repeat;
            background-position: center right 8px;

            &::placeholder {
                color: $input-ph-text;
                font-weight: 600;
            }
        }

        span {
            position: absolute;
            top: 10px;
            left: 10px;
            left: auto;
            right: 10px;
            color: $input-icon;
            display: none;
        }
    }

    .profile-sec {
        display: flex;
        align-items: center;
        cursor: pointer;


        &>a,
        .profile-wrap>a,
        .dropdown>li>a {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: $userType-bg;
            color: $text-primary;
            text-decoration: none;
        }

        .profile-wrap {
            display: flex;
            align-items: center;
            margin-left: 20px;
            font-weight: 600;
            font-size: $f14;

            &>span {
                @media screen and (max-width: 900px) {
                    display: none;
                }
            }

            &:after {
                content: "\f0d7";
                font-family: 'Font Awesome 6 Free';
                top: 0px;
                position: relative;
                left: 6px;
            }

            &>a {
                background-color: $userType-bg;
                width: 40px;
                height: 40px;
                border-radius: 10px;
                color: $text-primary;
                margin-right: 15px;

                img {
                    width: 40px;
                    height: 40px;
                }
            }
        }

        ul.dropdown {
            position: absolute;
            top: 59px;
            padding: 0;
            margin: 0;
            width: 200px;
            right: 10px;
            list-style-type: none;
            display: none;
            box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
            background-color: $white;
            z-index: 9;

            &.show {
                display: block;
            }

            li {
                text-align: left;

                a {
                    width: 100%;
                    height: auto;
                    border-radius: 0px;
                    padding: 10px 20px;
                    background-color: $white;
                    text-decoration: none;
                    display: block;

                    &:hover {
                        background-color: $userType-bg;
                    }

                    i {
                        margin-right: 10px;
                    }
                }
            }
        }

        .notification-popup {
            position: absolute;
            top: 50px;
            right: 40px;
            width: 440px;
            background-color: $white;
            z-index: 9;
            box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 25%);
            display: none;

            &.show {
                display: block;
            }

            .head {
                padding: 15px;
                border-bottom: 1px solid #F3F3F4;

                span {
                    font-size: $f15;
                    font-weight: bold;
                }
            }

            .body {
                ul {
                    list-style-type: none;
                    padding-left: 0px;
                    margin: 0;

                    li {
                        .postlist {
                            padding: 10px 15px;
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            border-bottom: 1px solid #F3F3F4;

                            .post-user {
                                display: flex;
                                align-items: center;
                                justify-content: flex-start;
                                gap: 10px;

                                img {
                                    width: 34px;
                                    height: 34px;
                                    border-radius: 50%;
                                }

                                p {
                                    span {
                                        display: block;

                                        &:first-child {
                                            font-size: $f13;
                                            padding-bottom: 5px;

                                            b {
                                                font-weight: bold;
                                            }
                                        }

                                        font-size: $f11;
                                    }
                                }
                            }

                            .btn-green {
                                min-width: 75px;
                                padding: 5px;
                                font-size: $f13;
                                text-align: center;

                                &:focus,
                                &:hover {
                                    color: $white;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

.invite_modal {
    .inner_scroll {
        text-align: center;
        padding-bottom: 0 !important;

        h3 {
            font-size: $f15;
            margin-top: -8px;
            margin-bottom: 10px;

            &+p {
                margin-bottom: 30px;
            }
        }

        p {
            font-size: $f13;

            &.text-left {
                text-align: left;
            }
        }

        .inputWrap {
            display: flex;

            &>input {
                flex: 0 0 calc(100% - 60px);
                padding: 0;
                margin-right: 10px;
                margin-bottom: 0;
            }
        }

        .social-share-btn {
            ul {
                display: flex;
                list-style-type: none;
                align-items: center;
                justify-content: center;
                padding: 0;

                li {
                    button {
                        border: none;
                        width: 43px;
                        height: 43px;
                        border-radius: 8px;
                        border: 1px solid #f3f3f4;
                        background: $white;
                        margin-right: 10px;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        img {
                            object-fit: contain;
                        }
                    }

                    &:last-child {
                        button {
                            margin-right: 0;
                        }
                    }
                }
            }
        }
    }
}