* {
    box-sizing: border-box;
    --app-safariaddress-bar-margin: 36px
}

body {
    background-color: #FEFCF5;
    margin: 0;

}

.container {
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: start;
    align-items: start;
}

.left {
    background-color: #FC7044;
    height: 100%;
    padding: 60px 64px;
    min-width: 360px;
    width: fit-content;

    .mobile_header {
        display: none;
    }

    &>.logo {
        margin-bottom: 25dvh;
    }

    h2 {
        color: white;
        font-family: Noto Sans TC;
        font-size: 36px;
        font-weight: 700;
        line-height: 64.8px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        margin-bottom: 33px;
    }

    .steps {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 24px;

        .step {
            display: flex;
            justify-content: start;
            align-items: center;
            gap: 12px;

            &.active {
                .step-number {
                    color: #FC7044;
                    background-color: #fff;


                }

            }

            &.done {
                .step-number {
                    color: #FC7044;
                    background-color: #fff;

                    span:not(:has(svg)) {
                        display: none;
                    }

                    span:has(svg) {
                        display: block;
                    }
                }
            }

            .step-number {
                width: 40px;
                height: 40px;
                border-radius: 100%;
                padding: 10px;
                aspect-ratio: 1;
                color: #fff;
                border: 2px solid #fff;
                position: relative;
                font-family: Noto Sans TC;
                font-size: 24px;
                font-weight: 700;
                line-height: 0px;

                span {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);

                    &:has(svg) {
                        display: none;
                    }

                }
            }

            .step-title {
                color: #fff;
                font-family: Noto Sans TC;
                font-size: 24px;
                font-weight: 700;
                line-height: 38.4px;
                letter-spacing: 0.05em;
                text-align: left;
                text-underline-position: from-font;
                text-decoration-skip-ink: none;
            }
        }
    }
}


.main {
    position: relative;
    width: 100%;
    height: 100%;
    /* border: 5px solid red; */
    display: flex;
    justify-content: center;
    align-items: center;

    .main-content {
        max-width: 800px;
        height: 50%;
        width: 50%;
        display: flex;
        justify-content: start;
        align-items: start;
        flex-direction: column;

        h3 {
            color: #FC7044;
            font-family: Noto Sans TC;
            font-size: 50px;
            font-weight: 700;
            line-height: 90px;
            text-align: left;
            margin: 0;
            margin-bottom: 16px;
        }

        .input-group {
            width: 100%;
            margin-bottom: 16px;

            &:last-of-type {
                margin-bottom: 0;

            }

            label {
                width: 100%;
                display: block;
                color: #FC7044;
                font-family: Noto Sans TC;
                font-size: 24px;
                font-weight: 700;
                line-height: 38.4px;
                letter-spacing: 0.05em;
                text-align: left;
                text-underline-position: from-font;
                text-decoration-skip-ink: none;
                margin-bottom: 10px;
            }

            input {
                width: 100%;
                padding: 15px 36px;
                border-radius: 9999px;
                border: 3px solid #FC7044;
                font-family: Noto Sans;
                font-size: 24px;
                font-weight: 500;
                line-height: 38.4px;
                letter-spacing: 0.03em;
                text-align: left;


                &::placeholder {
                    color: #A6A6A6;
                }
            }

            .already-has-account {
                display: flex;
                justify-content: end;
                align-items: center;
                font-family: Noto Sans TC;
                font-size: 24px;
                font-weight: 500;
                line-height: 38.4px;
                letter-spacing: 0.05em;

                button {
                    color: #FC7044;
                }

            }

        }

        .already-has-account {


            width: 100%;
            display: flex;
            justify-content: end;
            align-items: center;
            font-family: Noto Sans TC;
            font-size: 24px;
            font-weight: 500;
            line-height: 38.4px;
            letter-spacing: 0.05em;

            button {
                font-family: Noto Sans TC;
                font-size: 24px;
                font-weight: 500;
                line-height: 38.4px;
                letter-spacing: 0.05em;
                border: none;
                background-color: transparent;
                color: #FC7044;
            }

        }

        .confirm {
            position: relative;
            display: block;
            width: 100%;
            border-radius: 9999px;
            background-color: #FC7044;
            padding: 16px;
            border: none;
            color: #FFFFFF;
            font-family: Noto Sans;
            font-size: 24px;
            font-weight: 700;
            line-height: 38.4px;
            text-align: center;
            text-underline-position: from-font;
            text-decoration-skip-ink: none;
            margin-top: 80px;

            &.disabled {
                background-color: #A6A6A6;
            }

            svg {
                position: absolute;
                right: 3%;
                top: 50%;
                transform: translateY(-50%);
            }
        }

        &>p {
            color: #FC7044;
            font-family: Noto Sans TC;
            font-size: 24px;
            font-weight: 700;
            line-height: 38.4px;
            letter-spacing: 0.05em;
            text-align: left;
            text-underline-position: from-font;
            text-decoration-skip-ink: none;
            margin: 0;
            margin-bottom: 12px;
        }

        .not-get-mail {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 180px;

            p {
                margin: 0;
                color: #7EA3FF;
                font-family: Noto Sans TC;
                font-size: 24px;
                font-weight: 500;
                line-height: 38.4px;
                letter-spacing: 0.05em;
                text-align: left;
                text-underline-position: from-font;
                text-decoration-skip-ink: none;
            }

            button {
                border-radius: 9999px;
                padding: 12px 40px;
                color: white;
                background-color: #7EA3FF;
                font-family: Noto Sans;
                font-size: 20px;
                font-weight: 700;
                line-height: var(--app-safariaddress-bar-margin);
                letter-spacing: 0.05em;
                text-align: left;
                border: none;
            }
        }

        .name-n-gender {
            width: 100%;
            display: flex;
            justify-content: start;
            align-items: start;
            gap: 24px;

            >* {
                flex: 1;

            }

            .select {
                position: relative;

                select {

                    width: 100%;
                    padding: 15px 36px;
                    border-radius: 9999px;
                    border: 3px solid #FC7044;
                    color: #FC7044;
                    font-family: Noto Sans;
                    font-size: 24px;
                    font-weight: 500;
                    line-height: 38.4px;
                    letter-spacing: 0.03em;
                    text-align: left;
                    -moz-appearance: none;
                    /* Firefox */
                    -webkit-appearance: none;
                    /* Safari and Chrome */
                    appearance: none;

                    &::placeholder {
                        color: #A6A6A6;
                    }

                }

                svg {
                    position: absolute;
                    right: 5%;
                    top: 50%;
                    transform: translateY(-50%);
                }
            }

        }
    }
}


.birthday {
    .inputs {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 24px;
        margin-bottom: 16px;
    }
}



.register-success {
    position: relative;
    padding-top: 60dvh;

    svg {
        position: absolute;
        top: -9%;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
    }

    .content {
        display: flex;
        flex-direction: column;
        justify-content: center;

        * {
            text-align: center;
        }

        h3 {
            color: #FC7044;
            font-family: Noto Sans TC;
            font-size: 50px;
            font-weight: 700;
            line-height: 90px;
            margin: 0;
            margin-bottom: 16px;
        }

        .not-refresh {
            color: #453E3E;
            font-family: Noto Sans TC;
            font-size: 24px;
            font-weight: 500;
            line-height: 38.4px;
            letter-spacing: 0.05em;
            text-align: center;
            text-underline-position: from-font;
            text-decoration-skip-ink: none;
            margin: 0;
            margin-bottom: 4px;
        }

        .refresh {
            color: #A6A6A6;
            font-family: Noto Sans TC;
            font-size: 24px;
            font-weight: 500;
            line-height: 38.4px;
            letter-spacing: 0.05em;
            margin: 0;

            button {
                font-family: Noto Sans TC;
                font-size: 24px;
                font-weight: 500;
                line-height: 38.4px;
                letter-spacing: 0.05em;
                color: #FC7044;
                border: none;
                background-color: transparent;
            }
        }
    }
}


@media screen and (max-width: 1000px) {
    .container {
        flex-direction: column;

        &>.left {
            width: 100%;
            max-width: auto;
            height: auto;
            padding: 0;

            >*:not(.mobile_header) {
                display: none;
            }
        }

        .mobile_header {
            position: relative;
            display: block;
            z-index: 1;

            .logo_bar {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 12px 20px;
                color: white;
                font-family: Noto Sans TC;
                font-size: 20px;
                font-weight: 700;
                line-height: 28.96px;
                letter-spacing: 0.6649160385131836px;
                text-align: left;
                text-underline-position: from-font;
                text-decoration-skip-ink: none;
            }

            .controls {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 8px 20px;

                .left {
                    min-width: auto;
                    padding: 0;
                    display: flex;
                    justify-content: start;
                    align-items: center;
                    gap: 8px;
                    color: white;
                    font-family: Noto Sans TC;
                    font-size: 16px;
                    font-weight: 700;
                    line-height: 22.4px;
                    letter-spacing: 0.05em;


                    .back {
                        background-color: transparent;
                        border: none
                    }
                }

                .steps {
                    flex-direction: row;
                    gap: 8px;

                    .step {
                        position: relative;
                        width: 24px;
                        height: 24px;
                        border-radius: 100%;
                        aspect-ratio: 1;
                        color: #fff;
                        border: 2px solid #fff;
                        font-family: Noto Sans;
                        font-size: 12px;
                        font-weight: 700;
                        line-height: 30px;


                        span {
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%, -50%);

                            &:has(svg) {
                                display: none;

                                svg {
                                    width: 10px;
                                    height: 10px;
                                }
                            }
                        }

                        &.active {

                            color: #FC7044;
                            background-color: #fff;




                        }

                        &.done {

                            color: #FC7044;
                            background-color: #fff;

                            span:not(:has(svg)) {
                                display: none;
                            }

                            span:has(svg) {
                                display: block;
                            }

                        }

                    }
                }
            }
        }

        .main {
            .main-content {
                width: 100%;
                height: 100%;
                padding: 28px 8dvw;


                h3 {
                    display: none;
                }

                .input-group {
                    label {

                        font-size: 14px;
                        font-weight: 700;
                        line-height: 22.4px;
                        letter-spacing: 0.03em;
                        text-align: left;
                        text-underline-position: from-font;
                        text-decoration-skip-ink: none;
                    }

                    input {
                        padding: 10px 20px;
                        font-size: 14px;
                        font-weight: 700;
                        line-height: 22.4px;
                        letter-spacing: 0.03em;
                        border-width: 1px;
                    }
                }

                .confirm {
                    padding: 12px;
                    font-size: 14px;
                    font-weight: 700;
                    line-height: 22.4px;
                    letter-spacing: 0.03em;

                    svg {
                        display: none;
                    }
                }

                &#enter-email {
                    .already-has-account {

                        font-size: 14px;
                        font-weight: 500;
                        line-height: 22.4px;
                        letter-spacing: 0.03em;

                        button {
                            font-size: 14px;
                            font-weight: 500;
                            line-height: 22.4px;
                            letter-spacing: 0.03em;
                            text-decoration: underline;
                        }
                    }
                }

                &#verify-email {
                    p {

                        font-size: 14px;
                        font-weight: 700;
                        line-height: 22.4px;
                        letter-spacing: 0.03em;
                    }

                    button {

                        font-size: 12px;
                        font-weight: 700;
                        line-height: 19.2px;
                        letter-spacing: 0.03em;

                    }
                }

                &#register-data {

                    /* background-color: red; */
                    select {
                        padding: 10px 20px;
                        font-size: 14px;
                        font-weight: 700;
                        line-height: 22.4px;
                        letter-spacing: 0.03em;
                        border-width: 1px;
                    }

                    .name-n-gender,
                    .birthday .inputs {
                        gap: 16px;
                    }
                }

            }

            &.register-success {
                /* padding-top: 40dvh; */
                overflow-x: hidden;

                svg {
                    width: 110%;
                    top: -5%;
                    z-index: -1;
                    left: 49%;
                    min-width: 670px;
                }

                h3 {
                    font-family: Noto Sans TC;
                    font-size: 20px;
                    font-weight: 700;
                    line-height: 36px;
                    letter-spacing: 0.05em;
                    text-align: center;
                    text-underline-position: from-font;
                    text-decoration-skip-ink: none;
                    margin-bottom: 12px;
                }

                p {
                    font-size: 14px;
                    font-weight: 400;
                    line-height: 22.4px;
                    letter-spacing: 0.03em;
                    text-align: center;

                    button {
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 22.4px;
                        letter-spacing: 0.03em;
                    }
                }
            }
        }
    }
}