@import "default.css";

.error
{
    color: var(--red);
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
}
.header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    height: 60px;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--grey);
    align-items: center;
    position: fixed;
    z-index: 9;
    top: 0px;
    width: 100%;
    background-color: #ffffffde;
    & .logo {
        height: 100%;
        & img {
            height: 100%;
        }
    }
    & .pages
    {
        display: flex;
        gap: 20px;
        justify-content: space-evenly;
        padding-right: 20px;
    }
    & div{
        margin: 10px;
    }
}
.gap {
    height: 80px;
}

.sidebar{
    display: flex;
    flex-direction: column;
}
.indexpage
{
    height: 95vh;
    gap: 30px;
    display: grid;
    place-content: center;
    & h1{
        color: var(--c2);
        text-align: center;
    }
    & .formtypes
    {
        display: flex;
        background-color: var(--c3);
        padding: 70px;
        justify-content: center;
        gap: 10px;

        justify-self: center;
        
        & .type{
            display: grid;
            padding: 10px;
            gap: 10px;
            justify-content: center;
            text-align: center;
            background-color: white;
            & svg {
                height: 100px;
                fill: var(--c3);
                aspect-ratio: 1/1;
                background-color: var(--c1);
                padding: 10px;
            }
        }
        & .type:hover {
            background-color: var(--c2);
            scale: 1.5;
            z-index: 9;
            & p{
                color: var(--white) ;
            }
        }
    }
}
.container {
    display: flex;
    flex-direction: column;
    place-items: center;
    width: 90%;
    place-self: center;

    & h1 {
        margin-top: 20px;
    }
    & p {
        margin-bottom: 20px;
    }
    & form {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-evenly;;

        & .step {
            max-width: 800px;
            display: none;
            padding: 15px;
            border: 1px solid var(--c3);
            gap: 15px;
            background-color: var(--c1);
            box-shadow: 0px 0px 10px -2px #00000080 inset;
            filter: drop-shadow(0px 0px);

            & .btns {
                display: flex;
                gap: 15px;
                justify-content: space-between;

                & .btn {
                    padding: 10px;
                    font-weight: 600;
                    border: 1px solid transparent;
                    cursor: default;
                    text-align: center;
                    width: 100%;
                    color: var(--white);
                    background-color: var(--c2);

                }

                & .btn:hover {
                    background-color: var(--c3);
                    cursor: pointer;
                }
            }

            & .heading {
                align-self: center;
            }

            & .inpset {
                display: grid;
                gap: 15px;
                border: 1px solid var(--c3);
                padding: 15px;
                background-color: var(--white);

                & .inpbox {
                    display: grid;
                    align-items: center;
                    position: relative;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 10px;
                    & .inps {
                        display: flex;
                        justify-content: space-between;
                        border: 1px dashed var(--c3);
                        padding: 8px;
                        color: var(--black);
                        & #user_img
                        {
                            border: none;
                            opacity: 0;
                            width: 155px;
                        }
                        & label {
                            flex: 1;
                            text-align: center;
                        }
                    }
                    & input,
                    select {
                        padding: 6px;
                        border: 1px dashed var(--c3);
                    }
                    & .imgbtn{
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        padding: 0;
                        & .icon {
                            gap: 6px;
                            position: absolute;
                            display: flex;
                            align-items: center;
                            & svg {
                                width: 18px;
                                height: 18px;   
                            }   
                        }
                        
                    }
                }
            }
        }

        & .step:hover {
            filter: drop-shadow(10px 10px var(--c3));
        }

        & .laststep 
         {
            & .inpset > .optional
            {
                display: none;
            }
            & .inpset2 {
            display: grid;
            gap: 20px;
            & *
            {
                font-family: monospace !important;
            }
            & .inpbox {
                display: flex;
                gap: 10px;
                & a{
                    color: var(--c2);
                }
            }
        }
    }
    }
}
@media (max-width: 768px) {
    .container
    {
        margin: 20px 0;
        & form {    
            width: -webkit-fill-available;
            & .step {
                width: 100%;
                & .inpbox {
                    gap: 2px;
                    grid-template-columns: repeat(1, 1fr) !important;
                }
            }
        }
    }
    .type {
        & svg {
            height: 50px !important;
        }
    }
}