@import "../../../../styles/my-career-styles/variables";

.assessment-wrapper {
    background: #FAFCFD;
    min-height: 100vh;

    .assessment {

        &-body {


            &-question-wrapper {

                .question {

                    &-title, &-completed, &-tag {
                        color: $darkColor;
                        font-family: $bodyFont;
                        font-size: 18px;
                    }

                    &-title {
                        margin-bottom: 32px;
                    }

                    &-tag {
                        color: $white;
                        text-align: center;
                        font-weight: 600;
                        background: $primaryColor;
                        padding: 12px;
                        margin-bottom: 56px;
                        text-transform: uppercase;
                    }

                    &-completed {
                        position: absolute;
                        right: 24px;
                        top: 24px;
                    }
                }

                .answer-wrapper {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    span {
                        color: $darkColor;
                        font-family: $bodyFont;
                        font-size: 18px;
                        width: 250px;
                        max-width: 250px;
                    }

                    .extreme-label-left {
                        margin-right: 10px;
                    }

                    .extreme-label-right {
                        margin-left: 10px;
                        text-align: right;
                    }

                    .answer-options {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex: 1;

                        .option-value {
                            width: 40px;
                            height: 40px;
                            border: 1px solid $primaryColor;
                            border-radius: 3px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            transition: .3s;
                            font-weight: 600;
                            color: $darkColor;
                            cursor: pointer;

                            &:not(:last-child) {
                                margin-right: 23px;
                            }

                            &:hover, &.selected {
                                background: $primaryColor;
                                color: $white;
                            }
                        }
                    }
                }
            }
        }
    }
}





@media only screen and (max-width: 1024px) {

    .assessment-body {
        margin-top: 16px !important;


        &-question-wrapper {
            margin-top: 24px !important;

            .question-tag {
                text-transform: uppercase;
            }

            .answer-wrapper {
                display: block !important;

                .answer-option-labels {
                    display: flex;
                    justify-content: space-between;

                    .extreme-label-right, .extreme-label-left {
                        font-size: 12px !important;
                        font-family: $bodyFont;
                        flex: 0.8;
                        max-width: 140px;
                    }
                }

                .answer-options {
                    justify-content: space-between;
                    width: 100%;

                    .option-value {
                        width: unset;
                        height: unset;
                        border: none !important;
                        margin: 0 !important;

                        &:hover {
                            background: transparent;
                        }
                    }
                }
            }
        }
    }
}
