@import '@/style/variable';
@import '@/style/color';

.c_ApplicationStart {

    .left-box-container {
        position: absolute;
        left: -36px;
        top: 40%;

        img {
            position: absolute;
            top: 50%;
            display: block;
        }
    }

    .upper-corner {
        top: $gap_2;
        left: $gap_2;
    }

    .right-box-container {
        position: absolute;
        top: $gap_5 * 2;
        right: 157px - 36px;

        img {
            position: absolute;
            top: 50%;
            display: block;
        }
    }

    .lower-box-container {
        position: absolute;
        left: $gap_3;
        bottom: 0;
        z-index: 0;

        .box {
            margin-left: 50px;
        }
        img {
            position: absolute;
            z-index: 1;
            bottom: 12.5px;
            left: 62.5px;
            width: 75px;
            height: 75px;
        }
    }
    .start-header,
    .start-selector {
        margin-bottom: $gap_3;
    }

    .start-header {
        position: relative;
        padding-top: $gap_3;
        padding-bottom: $gap_3;

        .start-project-title {
            font-size: 100px;
            text-transform: uppercase;
        }
        .start-welcome {
            z-index: 2;
            font-size: 24px;
            font-weight: bold;
            p {
                font-family: "Synthese", sans-serif;
            }
        }
        .strike-text {
            position: relative;
            display: inline-block;

            .strike-line {
                position: absolute;
                left: 0;
                top: 24px;
                width: 100%;
                height: 12px;
                background-color: #1DE9B6;
                opacity: 0.4;
                z-index: 0;
            }
            .strike-line:before {
                content: '';
                position: absolute;
                top: 0;
                left: -14px;
                width: 14px;
                height: 12px;
                background-color: #1DE9B6;
                z-index: 0;
            }
            .strike-line:after {
                content: '';
                position: absolute;
                top: 0;
                left: auto;
                right: -14px;
                width: 14px;
                height: 12px;
                background-color: #1DE9B6;
            }
            p {
                position: relative;
                z-index: 1;
                padding-bottom: 0;
            }
        }
    }

    .start-selector {
        .selector-item {
            text-align: center;
            .selector-combo {
                position: relative;
            }
            .selector-image {
                margin: 0 auto;
                cursor: pointer;
                width: 190px;
                height: auto;

                .selector-combo img {
                    margin-top: 20px;
                    margin-left: 0;
                }
            }
            .overlay-text {
                position: absolute;
                top: 20px;
                left: 0;
                right: 0;
                width: 100%;
                margin: 0 auto;
                color: white;
                font-size: 24px;
                line-height: 190px;
                word-break: break-word;
            }
            .selector-description {
                margin: 20px auto;
                width: 220px;
            }
            .selected .selector-image .selector-combo {
                img {
                    margin-top: 0;
                    margin-left: -20px;
                    width: 230px;
                    height: 230px;
                }
                .overlay-text {
                    color: $primary_color;
                }
            }
        }
    }

    .start-mode {
        margin-bottom: 36px;
        text-align: left;

        .mode-panel {
            margin: 0 $gap_4;
        }
        .label, .ant-form-item-label {
            text-transform: uppercase;
            font-size: 36px;
            color: black;
        }
        .ant-input.input-field {
            z-index: 1;
        }
        .input-field {
            width: 100%;
            margin-bottom: $gap_3;
        }
        .team-selector {
            width: 100%;
            margin-bottom: $gap_2;
            .ant-select-selection {
                height: 40px;

                .ant-select-arrow::before {
                    content: '';
                }
                .ant-select-arrow {
                    top: calc(50% - 7px);
                    width: 14px;
                    height: 27px;
                    margin-right: 4px;
                    transform: rotate(90deg);
                    background-size: contain;
                    background: url("/assets/images/arrow.svg") no-repeat;
                }
            }
        }
        .ant-select-selection-selected-value {
            line-height: 40px;
        }
        .d_taskCreateForm {
            margin: 0 $gap_4;
            .ant-form-item-label, .ant-form-item-control-wrapper {
                width: 100%;
                text-align: left;
            }
            .ant-form-item-required:before {
                display: none;
            }
            .ant-form-item-label label {
                line-height: 54px;
                font-size: 36px;
                letter-spacing: 0.1em;
                text-transform: uppercase;
                font-family: "komu-a", sans-serif;
                color: black;
            }
            .ant-select-selection__rendered {
                height: 40px;
            }
            .select-arrow {
                position: absolute;
                top: 11.5px;
                right: $gap_1;
                transform: rotate(90deg);
                width: 14px;
                height: 27px;
                background-size: contain;
                background: url("/assets/images/arrow.svg") no-repeat;
            }
            .form-item-tags {
                display: none;
            }
            #description {
                z-index: 1;
                margin-bottom: $gap_2;
            }
            li.ant-select-selection__choice {
                height: 100%;
                line-height: 40px;
            }
            li.ant-select-search {
                height: 100%;
            }
        }
    }

    .c_ApplicationConfirm {
        position: relative;
        padding-bottom: $gap_5;


        .left-box-container {
            position: absolute;
            left: -36px;
            top: 40%;

            img {
                position: absolute;
                top: 50%;
                display: block;
            }
        }
        .right-box-container {
            position: absolute;
            z-index: 0;
            top: $gap_4;
            right: $gap_2;

            .box {
                margin-left: 50px;
            }
            img {
                position: absolute;
                z-index: 1;
                top: 12.5px;
                left: 62.5px;
                width: 75px;
                height: 75px;
            }
        }
        .lower-box-container {
            position: absolute;
            left: $gap_3;
            bottom: $gap_4;

            img {
                position: absolute;
                top: 50%;
                display: block;
            }
        }
        .confirm-message {
            padding: $gap_4 0;
            font-size: 50px;
        }
        .confirm-actions {
            button {
                width: 40%;
                height: 50px;
                color: black;
                font-family: "komu-a", sans-serif;
                letter-spacing: 0.1em;
                font-weight: bold;
                font-size: 16px;
                text-transform: uppercase;
            }
        }
    }

    .ant-form {
        position: relative;
    }

    .small-box {
        width: 50px;
        height: 50px;
        background-color: #f1f4f7;
    }

    .box {
        width: 100px;
        height: 100px;
        background-color: #f1f4f7;
    }

    .d_btn {
        border-radius: 0;
        border-color: black;
        color: black;
        font-size: 24px;
        width: 140px;
        height: 50px;
        margin-bottom: $gap_2;
    }

    .ant-card {
        cursor: pointer;

        &.selected {
            background-color: $bg_blue;
        }
    }

    .ant-card-head-title {
        text-align: center;

        .ant-avatar {
            background-color: $primary_color;
        }
    }

    .ant-list-split .ant-list-item:last-child {
        border-bottom: none;
    }

    .team-selector,
    textarea {
        width: 332px;
    }

    .ant-select-selection-selected-value .ant-avatar {
        display: none;
    }
}