@import '_mixins';
@import '_variables';
@import '_slider';
@import '_login';


@include font-face("Poppins", Poppins-Regular);
@include font-face("Poppins", Poppins-Medium);
@include font-face("Poppins", Poppins-Bold);
@include font-face("Poppins", Poppins-SemiBold);

@include font-face("mulish", Mulish-Regular);
@include font-face("mulish", Mulish-Medium);
@include font-face("mulish", Mulish-Bold);


body {
    margin: 0;
    padding: 0;
    font-family: $mulish-regular;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #D9D9D9;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #D9D9D9;
}

h1,
h2,
h3 {
    font-family: $font-regular;
}

button {
    font-family: $mulish-regular;
    cursor: pointer;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: $text-primary;
}

a {
    cursor: pointer;
}

a:focus {
    color: inherit;
}

.btn-primary {
    @include button-primary;
}

.btn-green {
    @include button-green;
}

.btn-gray {
    @include button-gray;
}

.btn-secondary {
    @include button-secondary;
}

.theme-1 {
    background-color: $theme1;

    .close-bt {
        color: $theme1;

        i {
            color: inherit;
        }
    }

    .box {
        background-color: $theme1;
        border: 1px solid $theme1;
    }
}

.theme-2 {
    background-color: $theme2;

    .close-bt {
        color: $theme2;

        i {
            color: inherit;
        }
    }

    .box {
        background-color: $theme2;
        border: 1px solid $theme2;
    }
}

.theme-3 {
    background-color: $theme3;

    .close-bt {
        color: $theme3;

        i {
            color: inherit;
        }
    }

    .box {
        background-color: $theme3;
        border: 1px solid $theme3;
    }
}

.theme-4 {
    background-color: $theme4;

    .close-bt {
        color: $theme4;

        i {
            color: inherit;
        }
    }

    .box {
        background-color: $theme4;
        border: 1px solid $theme4;
    }
}

.theme-5 {
    background-color: $theme5;

    .close-bt {
        color: $theme5;

        i {
            color: inherit;
        }
    }

    .box {
        background-color: $theme5;
        border: 1px solid $theme5;
    }
}

.theme-6 {
    background-color: $primary;

    .close-bt {
        color: $primary;

        i {
            color: inherit;
        }
    }

    .box {
        background-color: $primary;
        border: 1px solid $primary;
    }
}

.titleSec {
    a.btn-primary {
        margin-right: 20px;
        height: 40px;
        text-transform: capitalize;
        font-size: 13px;
        height: 22px;
        line-height: 22px;

        &:focus {
            color: $white;
        }

        &:last-child {
            margin-right: 0;
        }
    }
}

input.form-control,
select.form-control,
textarea.form-control {
    @include inputstyle;
    font-size: $f14;

    &::placeholder {
        /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: $input-ph-text;
        opacity: 1;
        /* Firefox */
    }

    &:-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        color: $input-ph-text;
    }

    &::-ms-input-placeholder {
        /* Microsoft Edge */
        color: $input-ph-text;
    }
}

/* Rounded sliders */
.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 22px;

    input {
        opacity: 0;
        width: 0;
        height: 0;

        &:checked {
            + {
                .slider {
                    background-color: $text-primary;

                    &:before {
                        -webkit-transform: translateX(23px);
                        -ms-transform: translateX(23px);
                        transform: translateX(23px);
                    }
                }
            }
        }

        &:focus {
            + {
                .slider {
                    box-shadow: 0 0 1px #0078F0;
                }
            }
        }
    }

    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: $text-primary;
        -webkit-transition: .4s;
        transition: .4s;

        &:before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 4px;
            bottom: 4px;
            background-color: $white;
            -webkit-transition: .4s;
            transition: .4s;
        }
    }

    .slider.round {
        border-radius: 34px;

        &:before {
            border-radius: 50%;
        }
    }
}



option:hover {
    background-color: $primary;
    color: $white;
}

.d-flex-jc-sp {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


#wrapper {
    display: inline-block;
    width: 100%;
    background: url('../assets/images/mergePoly.svg') no-repeat;
    background-position: -270px 220px;
    background-size: 40%;

    &:after {
        content: "";
        background: url('../assets/images/bottom_right_poly.svg') no-repeat;
        background-position: center;
        position: fixed;
        width: 203px;
        height: 228px;
        background-size: cover;
        bottom: 0;
        right: 0;
        z-index: -1;
        pointer-events: none;
    }

    &:before {
        content: "";
        background: url('../assets/images/top_right_poly.svg') no-repeat;
        background-position: center;
        position: fixed;
        width: 385px;
        height: 191px;
        top: 0;
        right: 0;
        background-size: cover;
        z-index: -1;
        pointer-events: none;
    }
}

// Select UserType
#userTypeBt {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    background: url('../assets/images/mergePoly.svg') no-repeat;
    background-position: 0px 100px;
    background-size: 30%;
    background-color: $white;

    @media screen and (max-width: 800px) {
        height: auto;

        ul {
            padding: 0px;

            li {
                margin-left: auto !important;
                margin-right: auto !important;
            }
        }
    }

    h1 {
        img {
            width: 200px;
        }

        margin-bottom: 0px;
    }

    h2 {
        margin-bottom: 30px;

        @media screen and (max-width: 800px) {
            padding-left: 30px;
            padding-right: 30px;
        }
    }

    ul {
        list-style: none;

        li {
            float: left;
            position: relative;

            @media screen and (max-width: 800px) {
                float: none;
                margin-left: auto !important;
                margin-right: auto !important;
                margin-bottom: 40px;
            }

            &:first-child {
                margin-right: 80px;
            }

            input {
                position: absolute;
                visibility: hidden;

                &[checked],
                &:checked {

                    &+label {
                        border: 1px solid #9080B1;

                        &:before {
                            content: "\f00c";
                            font-family: 'Font Awesome 6 Free';
                            font-weight: 900;
                            width: 30px;
                            height: 30px;
                            border-radius: 50%;
                            background: $userType-bg;
                            text-align: center;
                            line-height: 30px;
                            position: absolute;
                            top: -15px;
                            right: -15px;
                        }

                        b {
                            background: $primary;
                            color: #fff;
                        }
                    }
                }
            }

            label {
                width: 300px;
                height: 290px;
                padding: 1px;
                box-sizing: border-box;
                border: 1px solid $input-border;
                border-radius: 5px;
                display: flex;
                flex-direction: column;
                cursor: pointer;
                position: relative;

                &[checked] {
                    border: 1px solid $primary;
                }

                img {
                    max-width: 90%;
                    margin: auto;
                }

                b {
                    background: $userType-bg;
                    width: calc(100% - 20px);
                    padding: 15px 10px;
                    border-radius: 5px;
                    font-weight: normal;
                    text-align: center;
                    text-transform: uppercase;
                }
            }
        }
    }

    p small {
        max-width: 630px;
        margin: auto;
        display: inline-block;
        margin-top: 40px;
        text-align: center;
    }
}

// User Form 
#userForm {
    padding: 50px;
    width: auto;
    height: auto;

    @media screen and (max-width: 640px) {
        padding: 50px 20px;
    }

    .tl-logo {
        width: 180px;
        position: relative;
        margin: 0px auto 30px;


        img {
            width: 100%;
        }
    }

    .signupForm {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: 80%;
        height: 100%;
        margin: auto;
        padding: 20px 40px 40px;
        background-color: #FAFBFC;

        @media screen and (max-width: 1400px) {
            width: 90%;
        }

        p {
            margin-bottom: 8px;
            font-size: $f13;
            font-weight: bold;
        }

        @media screen and (max-width: 800px) {
            width: 100%;
        }

        @media screen and (max-width: 640px) {
            .form-group {
                .form-field {
                    min-width: 100% !important;
                    margin-right: 0px !important;
                }
            }
        }

        .form-group {
            display: flex;
            justify-content: flex-start;
            flex-wrap: wrap;

            .form-field {
                display: flex;
                min-width: 215px;
                margin-right: 30px;
                position: relative;
                margin-bottom: 15px;

                input {
                    margin-bottom: 0px;
                }

                .drop {
                    margin-bottom: 25px;

                    .drop-display {
                        background-color: transparent;

                        &:before {
                            content: attr(attr-label);
                            font-size: $f14;
                            position: absolute;
                            z-index: 9;
                            top: 10px;
                            left: 10px;
                            color: $input-ph-text;
                            pointer-events: none;
                        }

                        &>div:not(:empty) {
                            background: #FAFBFC;
                            position: relative;
                            z-index: 9;
                            border-radius: 5px;
                            margin-right: 1px;
                            margin-top: 1px;
                        }
                    }
                }

                input,
                select {
                    width: 100%;
                    margin-right: 0px;
                    padding: 0px 10px 0px 10px;
                    background-color: $white;

                    &.single-select-drop,
                    &.single-select-drop {
                        margin-bottom: 0;

                    }
                }

                .select2-container--default {
                    .select2-selection--single {
                        min-height: 40px;
                        height: auto;
                        line-height: 40px;
                        border: 1px solid $input-border;

                        .select2-selection__rendered {
                            height: 100%;
                            line-height: inherit;

                            // &[title="--Current Level--"],
                            // &[title="--Department--"],
                            // &[title="--Current Job Title--"],
                            // &[title="--Core Domain--"],
                            // &[title="--Core Area of Hiring--"],
                            // &[title="Reason"] {
                            //     color: $text-color-sec;
                            // }
                        }

                        .select2-selection__arrow {
                            height: 40px;

                            b {
                                border-color: $text-black transparent transparent transparent;
                            }
                        }
                    }

                    .select2-selection--multiple {
                        min-height: 40px;
                        display: flex;
                        align-items: center;
                        border: 1px solid $input-border;
                        border-radius: 5px;

                        .select2-selection__clear {
                            margin: 0;
                        }

                        ul {
                            position: relative;
                            border-radius: 5px;

                            li {
                                margin: 5px 5px 5px 0px;
                                display: flex;
                                flex-direction: row-reverse;
                                border-radius: 25px;
                                font-size: $f13;
                                padding: 3px 8px;
                                border: none;
                                position: relative;
                                z-index: 4;

                                &.select2-selection__choice {
                                    background: #E4E9F3;
                                }

                                &.select2-search {
                                    padding: 0px;
                                }

                                // &[title="--Functional Area of Hiring--"] {
                                //     background-color: transparent;
                                //     color: $input-ph-text;
                                //     z-index: -1;

                                //     .select2-selection__choice__remove {
                                //         display: none;

                                //     }
                                // }

                                .select2-selection__choice__remove {
                                    background: $text-black;
                                    color: $white;
                                    margin-left: 3px;
                                    margin-right: 0px;
                                    width: 12px;
                                    height: 12px;
                                    text-align: center;
                                    line-height: 11px;
                                    border-radius: 50%;
                                    font-size: 10px;
                                    position: relative;
                                    top: 3px;
                                    right: -2px;
                                }

                                input {
                                    padding: 0;
                                }

                                &:first-child {
                                    input {
                                        min-width: 215px;
                                        // height: 40px;
                                        padding: 0;
                                        margin: 0;
                                        padding-right: 0px;
                                        padding-left: 5px;
                                        color: $text-black;
                                        font-family: "Mulish-Regular";
                                        font-size: 14px;

                                        &::placeholder {
                                            /* Chrome, Firefox, Opera, Safari 10.1+ */
                                            color: $input-ph-text;
                                            opacity: 1;
                                            /* Firefox */
                                        }

                                        &:-ms-input-placeholder {
                                            /* Internet Explorer 10-11 */
                                            color: $input-ph-text;
                                        }

                                        &::-ms-input-placeholder {
                                            /* Microsoft Edge */
                                            color: $input-ph-text;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }

                select {
                    color: $input-ph-text;

                    &.multi-select-drop {
                        overflow: visible !important;
                        clip-path: none !important;
                        clip: auto !important;
                        pointer-events: none;
                        width: 100% !important;
                        height: 40px !important;

                        option:not(:first-child) {
                            visibility: hidden;
                            height: 0px;
                            padding: 0px;
                            margin: 0;
                            min-height: 0px;
                        }
                    }

                    option {
                        &:not(:first-of-type) {
                            color: #000;
                        }
                    }
                }
            }

            .btn-sm {
                width: auto;
                border-radius: 5px;
                padding: 12px 20px;
                border: none;
                min-width: 125px;
                margin-top: 40px;
                font-weight: 500;
                cursor: pointer;
                font-size: $f13;

                &.btn-secondary {
                    background: $userType-bg;
                }

                &:first-child {
                    margin-right: 10px;
                }
            }

        }

    }
}

.select2-results__option--highlighted {
    background-color: $text-primary !important;
}

label.btn-primary {
    font-size: inherit !important;
}



//Dashboard Styles added Here
@import 'header';
@import '_dashboard';
@import 'cv-search';
@import 'applicant';

.d-show {
    display: block !important;
    background: transparent;
}

.d-show.show {
    background: rgba(0, 0, 0, 0.4);
}