@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;

    &__content {
        background: #141414;
        max-width: 420px;
        color: #000;
        padding: 1.5rem 2rem;
        border-radius: 10px;
        position: relative;
        margin-top: 4rem;
        margin-bottom: 4rem;
        right: 3rem;
        height: 71%;
        @media only screen and (max-width: 1000px) {
            right: 0 !important;
            margin: 0 auto;
            bottom: 0 !important;
            margin-bottom: 0 !important;
            height: 70%;
        }

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

        &--details {
            &--header{
                h2{
                    font-weight: 500;
                    font-size: .9rem;
                    border-bottom: 1px solid #ebebeb;
                    padding-bottom: .2rem;
                    color: variables.$col-white;
                }

                p{
                    font-size: .8rem !important;
                    padding-top: .5rem;
                    font-weight: 400;
                    color: variables.$col-white !important;
                    line-height: 1.6;
                    opacity: .95;
                }
            }
        &--summary {
          border: 1px solid #333;
          background: variables.$col-border-lining;
          margin-top: 1rem;
          padding: 1rem;
          border-radius: 10px;

          &--item {
            display: flex;
            justify-content: space-between;
            align-items: center !important;
            gap: 20px;
            line-height: 3.2;
            border-bottom: 1px solid #333;

            &--credit-type {
                background: variables.$col-success-bg;
                color: variables.$col-success-color !important;   
                padding: .3rem .8rem;
                border-radius: 50px;
                font-weight: 500;
                font-size: .82rem !important;
                display: inline-flex;
                justify-content: center;
                align-items: center;
                height: 1.7rem;
            }

            &--debit-type {
                background: variables.$col-danger-bg;
                color: variables.$col-danger-color !important;   
                padding: .3rem .8rem;
                border-radius: 50px;
                font-weight: 500;
                font-size: .82rem !important;
                display: inline-flex;
                justify-content: center;
                align-items: center;
                height: 1.7rem;
            }

            h6{
                font-weight: 500;
                font-size: .73rem;
                color: variables.$col-white;
            }
            p{
                font-weight: 500;
                font-size: .73rem !important;
                color: variables.$col-white !important;
                padding-top: 0 !important;
            }
          }
        }

        // &--instruction {
        //     background: variables.$col-primary-btn;
        //     margin-top: 1.2rem;
        //     padding: 1rem 1.5rem;
        //     border-radius: 6px;
        //     p{
        //         font-size: .75rem !important; 
        //         font-weight: 500;
        //         line-height: 1.65;
        //         color: variables.$col-white;
        //         padding-top: .2rem;
        //     }
        // }
        }
    }

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