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

.dash__modal {
    background: rgba(0,0,0,.89);
    position: absolute;
    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: #FCFCFC;
        max-width: 500px;
        margin: 0 auto;
        color: #000;
        padding: 2rem;
        border-radius: 10px;
        position: relative;

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

        &--details {
            &--header{
                &--helper {
                    background: variables.$col-primary-btn;
                    margin-bottom: 1rem;
                    max-width: 40%;
                    padding: .2rem .3rem;
                    border-radius: 50px;
                    color: #000;
                    font-size: .8rem;
                    font-weight: 600;
                    text-align: center;
                }
                h2{
                    font-weight: 700;
                    font-size: 1.2rem;
                }
                p{
                    font-size: .82rem;
                    padding-top: .3rem;
                    font-size: .85rem;
                    opacity: .8;
                    font-weight: 600;
                    line-height: 2;
                }
            }
        &--transaction {
            margin-top: 1.4rem;
            small {
                margin-top: .5rem !important;
                font-weight: 600;
                font-size: .83rem;
                line-height: 1.1;
            }
            h6{
                font-weight: 600;
                line-height: 3;
                color: #000;
                border-bottom: 1px solid #ebebeb;
                font-size: .8rem;

                span {
                    background: variables.$col-primary-btn;
                    padding: .5rem .8rem;
                    color: #000 !important;
                    border-radius: 10px;
                    font-size: .8rem;
                }
            }
        }
        &--instruction {
            background: #f4f4f4;
            margin-top: 1.5rem;
            padding: 1.5rem;
            border-radius: 6px;
            p{
                font-size: .85rem;
                font-weight: 600;
                line-height: 1.7;
                color: #000;
            }
        }
        }
    }

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