@use "../../../../../styles/abstracts/variables";
@use "../../../../../styles/abstracts/mixins";

.create {
    background: rgba(0,0,0,.9);
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: scroll;

    &__content {
        background: #141414;
        padding: 2rem;
        width: 90%;
        max-width: 460px;
        border-radius: 0.75rem;
        position: relative;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
        color: #fff;
        position: relative;
        margin-top: 10rem;
        margin-bottom: 4rem;

        @media only screen and (max-width: 1000px) {
            margin: 0 1.2rem;
            margin-top: 7rem;
            margin-bottom: 5rem;
        }

        &--close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: variables.$col-danger-bg;
            color: variables.$col-danger-color;
            padding: .3rem .5rem;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            font-size: .75rem;
        }

        &--details {
            &--header{
                &--helper {
                    background: variables.$col-orange;
                    margin-bottom: 1rem;
                    max-width: 20%;
                    padding: .4rem .3rem;
                    border-radius: 20px;
                    color: variables.$col-dark;
                    font-size: .7rem;
                    font-weight: 600;
                    text-align: center;
                    text-transform: capitalize;
                    @media only screen and (max-width: 1000px) {
                        max-width: 25%;
                    }
                }
                h2{
                    font-weight: 400;
                    font-size: 1rem;
                    border-bottom: 1px solid variables.$col-border-lining;
                    padding-bottom: .2rem;
                    color: variables.$col-white;
                }
                p{
                    font-size: .78rem !important;
                    padding-top: .2rem;
                    opacity: .8;
                    font-weight: 400 !important;
                    line-height: 1.8;
                    padding-bottom: 2rem !important;
                    color: variables.$col-white !important;
                }
                button {
                    background: variables.$col-primary-btn;
                    padding: .8rem .5rem;
                    border-radius: 10px;
                    color: variables.$col-white;
                    font-size: .85rem;
                    font-weight: 500;
                    width: 100%;
                }
            }

            form {
                label {
                    font-size: 0.8rem;
                    color: #ccc;
                    margin-bottom: 0.2rem;
                    display: inline-block;
                    font-weight: 400;
                  }

                input, select {
                    @include mixins.formInput;
                    width: 100%;
                    background: #1e1e1e;
                    border: 1px solid #333;
                    box-shadow: none !important;
                    border-radius: 0.5rem;
                    padding: 0.645rem 0.9rem;
                    font-size: 0.75rem;
                    height: 2.8rem;
                    color: #eee;
                    text-align: left;

                    &:focus {
                        outline: none;
                        border: 1px solid #333;
                    }

                    &::placeholder {
                        color: #777;
                        font-size: 0.9rem;
                    }
                }
                select {
                    font-size: .8rem;
                }
                
                input::placeholder, select::placeholder{
                    color: variables.$col-white;
                    font-size: .8rem;
                    opacity: .75;
                }

                button {
                    background: variables.$col-orange;
                    padding: .75rem .5rem;
                    border-radius: 10px;
                    color: variables.$col-dark;
                    font-size: .85rem;
                    font-weight: 500 !important;
                    width: 100%;
                    margin-top: .5rem;
                    transition: all ease-in-out .5s;
                    &:hover {
                        background-color: #e66a00;
                        box-shadow: 0 0 6px rgba(255, 122, 0, 0.4);
                    }
                }
            }
        }
    }

    &--results {
        background: #1b1b1b;
        padding: 1rem;
        border-radius: 6px;
        margin-top: 1rem;
        color: #FFF;
        font-size: .85rem;
        margin-bottom: 1rem;
        font-weight: 400 !important;
        line-height: 1.7;

        span {
            color: variables.$col-orange;
            font-weight: 500;
        }
    }

} ::-webkit-scrollbar{
    display: none !important;
}