@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&family=Leckerli+One&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&family=Send+Flowers&display=swap');

:root{
    --background-main: #faf9f6;
    --background-sec: #F0F2F5;
    --background-third: #F7F6F3;
    --accent-black: #121212;
    --accent-gold: #CCac00;
    --box-shadow: 0px 8px 15px rgba(0.1, 0.1, 0.1, 0.1);

    --text-regular1: Roboto;
    --text-regular2: Open Sans;
    --text-bold: Cal Sans;
    --text-stylish: Leckerli One;
}


main{
    .windows-container{
        .sign-up-window{
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding-top: 20px;
            color: var(--background-third);
            font-family: var(--text-regular1);
            overflow-y: scroll;
            scrollbar-width: none;
            -webkit-scrollbar-width: none;

            .close-button{
                position: absolute;
                top: 2%;
                right: 1%;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 15px 15px;
                background: rgba(87, 94, 85, .4);
                backdrop-filter: blur(10px);
                color: var(--background-third);
                box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
                border: 1px solid rgba(255, 255, 255, .15);
                border-radius: 100%;
                cursor: pointer;
                transition: all .4s ease-in-out;
                svg{
                    fill:  var(--background-third);
                    transform: rotate(45deg);
                }
                &:hover{
                    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.35),
                    -0px -.1px 2px rgba(0, 0, 0, 0.15);
                }
            }

            .content{
                display: flex;
                align-items: center;
                justify-content: center;
                height: 100%;
                .form-container{
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 10%;
                    height: 550px;

                    .message{
                        font-size: 1.3rem;
                        font-family: var(--text-bold);
                        text-align: center;
                        p{
                            &:nth-child(1){
                                font-size: 2rem;
                                margin-bottom: 5px;
                            }
                        }
                    }

                    .form{
                        display: flex;
                        flex-direction: column;
                        align-items: center;

                        input{
                            padding: 0 15px;
                            min-height: 50px;
                            width: 100%;
                            color: var(--background-third);
                            font-family: var(--text-regular1);
                            font-size: 16px;
                            text-align: center;
                            background: rgba(0, 0, 0, 0.2);
                            border-radius: 15px;
                            border: none;

                            &::placeholder{
                                text-align: center;
                                color: var(--background-third);
                            }
                            &:focus{
                                border: .09px solid rgba(255, 255, 255, 1);
                                outline: none;

                            }
                            &:-webkit-autofill {
                                -webkit-text-fill-color: var(--background-third) !important;
                                transition: background-color 5000s ease-in-out 0s;
                            }
                        }
                        div{
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            gap: 10px;
                            margin-top: 10px;
                            height: 20px;
                        }
                    }
                    .sign-up-btn{
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 5px;
                        width: 200px;
                        height: 50px;
                        color: var(--background-fourth);
                        white-space: nowrap;
                        font-size: .8rem;
                        background: var(--background-third);
                        backdrop-filter: blur(10px);
                        -webkit-backdrop-filter: blur(10px);
                        border-radius: 20px;
                        border: 1px solid rgba(255, 255, 255, 0.2);
                        box-shadow: var(--box-shadow);
                        transition: all .4s ease-in-out;
                        cursor: pointer;

                        &:hover{
                            color: var(--background-third);
                            background: rgba(255, 255, 255, 0.35);
                            box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.15),
                            -0px -.1px 3px rgba(0, 0, 0, 0.15);
                        }
                    }
                }

                .account-management{
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    height: 100%;

                    p{
                        margin-bottom: 20px;
                        font-size: 2.5rem;
                        font-family: var(--text-bold);
                        text-align: center;
                    }

                    .profile{
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        margin-bottom: 35px;
                        gap: 5%;
                        img{
                            width: 120px;
                            height: 120px;
                            object-fit: cover;
                            border-radius: 50%;
                        }
                        span{
                            margin-top: 5px;
                            font-size: 1.3rem;
                            white-space: nowrap;
                        }
                    }

                    .activity{
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        gap: 15px;
                        padding: 20px ;
                        height: fit-content;
                        width: 290px;
                        background: rgba(87, 94, 85, .2);
                        border-radius: 18px;
                        backdrop-filter: blur(10px);
                        .user-product-stats{
                            display: flex;
                            gap: 10px;
                            .stat{
                                display: flex;
                                flex-direction: column;
                                align-items: center;
                                justify-content: center;
                                white-space: nowrap;
                                font-size: .7rem;
                                span{
                                    font-size: 2rem;
                                    font-family: var(--text-bold);
                                }
                            }
                        }
                        .product-interest-info{
                            display: flex;
                            flex-direction: column;
                            text-align: center;
                            span{
                                &:nth-child(1){
                                    font-size: .9rem;
                                }
                                &:nth-child(2){
                                    font-size: 1.2rem;
                                    font-family: var(--text-bold);
                                }
                            }
                        }
                        .management-options-container{
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            gap: 15px;
                            margin-top: 20px;
                            width: 90%;
                            border-top: var(--background-third);
                            .option-container{
                                width: 80%;
                                a{
                                    display: flex;
                                    align-items: center;
                                    color: var(--background-main);
                                    text-decoration: none;
                                    svg{
                                        margin-right: 5px;
                                    }
                                }
                                svg{
                                    flex-shrink: 0;
                                    margin-right: 5px;
                                    fill: var(--background-main);
                                    transition: all .4s ease-in-out;
                                }
                                button{
                                    padding: 0 100px;
                                    height: 40px;
                                    border-radius: 15px;
                                    svg{
                                        fill: var(--accent-black);
                                    }
                                    &:hover{
                                        svg{
                                            fill: var(--background-main);
                                        }
                                    }
                                }
                            }
                        }
                    }

                    button{
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-shrink: 0;
                        gap: 5px;
                        width: 200px;
                        height: 50px;
                        color: var(--background-fourth);
                        white-space: nowrap;
                        font-size: .8rem;
                        background: var(--background-third);
                        backdrop-filter: blur(10px);
                        -webkit-backdrop-filter: blur(10px);
                        border-radius: 20px;
                        border: 1px solid rgba(255, 255, 255, 0.2);
                        box-shadow: var(--box-shadow);
                        transition: all .4s ease-in-out;
                        cursor: pointer;
                        &:hover{
                            color: var(--background-third);
                            background: rgba(255, 255, 255, 0.35);
                            box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.15),
                            -0px -.1px 3px rgba(0, 0, 0, 0.15);
                        }
                    }
                    .remove-account-btn{
                        margin: 50px 0;
                    }
                }
            }
        }
    }
}

@media (max-width: 850px){
    main{
        .windows-container{
            .sign-up-window{
                .close-button{
                    top: 1%;
                    right: 2%;
                    padding: 15px 15px;
                }
                .content{
                    .form-container{
                        height: 750px;
                    }
                }
            }
        }
    }
}
