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

.dash__modal {
    background: rgba(0,0,0,.88);
    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;

    @media only screen and (max-width: 1000px){
        justify-content: center;
        // padding: 0 4rem;
        align-items: flex-end;
    }

    &__content {
        background: #FCFCFC;
        max-width: 450px;
        padding: 1.5rem 2rem;
        border-radius: 10px;
        position: relative;
        margin-top: 4rem;
        margin-bottom: 4rem;
        right: 3rem;

        @media only screen and (max-width: 1000px) {
            right: 0 !important;
            margin: 0 auto;
            margin-bottom: 0 !important;
            border-top-right-radius: 20px;
            border-top-left-radius: 20px;
            border-bottom-left-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }

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

        &--details {
            &--header{
                &--helper {
                    background: variables.$col-primary-btn;
                    margin-bottom: 1rem;
                    max-width: 35%;
                    padding: .4rem .3rem;
                    border-radius: 50px;
                    color: variables.$col-white;
                    font-size: .8rem;
                    font-weight: 500;
                    text-align: center;
                    text-transform: capitalize;
                }
                h2{
                    font-weight: 600;
                    font-size: 1rem;
                    border-bottom: 1px solid #ebebeb;
                    padding-bottom: .2rem;
                    color: variables.$col-secondary;
                }
                p{
                    font-size: .8rem !important;
                    padding-top: .6rem;
                    opacity: .8;
                    font-weight: 500;
                    line-height: 1.85;
                    padding-bottom: 1rem !important;
                    color: variables.$col-secondary !important;
                }

                label {
                    @include mixins.formLabel
                }

                input {
                    @include mixins.formInput;
                    color: variables.$col-secondary;
                    border: 2px solid variables.$col-primary-btn;
                }

                input::placeholder{
                    color: variables.$col-secondary;
                }

                button {
                    background: variables.$col-primary-btn;
                    padding: .85rem .5rem;
                    border-radius: 10px;
                    color: variables.$col-white;
                    font-size: .85rem;
                    font-weight: 600;
                    width: 100%;
                }
            }
   

        &--btn {
            background: variables.$col-primary-btn;
            padding: .8rem .5rem;
            border-radius: 10px;
            color: variables.$col-danger-bg;
            font-size: .8rem;
            font-weight: 500;
            color: variables.$col-white;
            width: 100%;
            text-align: center;
            margin-top: 1rem;
        }
        }
    }

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