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

.dash__modal {
    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: #FCFCFC;
        max-width: 500px;
        margin: 0 auto;
        color: #000;
        padding: 2rem;
        border-radius: 10px;
        position: relative;
        margin-top: 10rem;
        margin-bottom: 4rem;

        &--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;
                    text-transform: capitalize;
                }
                h2{
                    font-weight: 700;
                    font-size: 1.1rem;
                    border-bottom: 1px solid #ebebeb;
                    padding-bottom: .2rem;
                    color: variables.$col-heading-color;
                }
                p{
                    font-size: .85rem;
                    padding-top: .6rem;
                    opacity: .8;
                    font-weight: 600;
                    line-height: 2;
                    padding-bottom: 1rem;
                    color: variables.$col-text-color;
                }
                button {
                    background: variables.$col-danger-color;
                    padding: .85rem .5rem;
                    border-radius: 10px;
                    color: variables.$col-danger-bg;
                    font-size: .85rem;
                    font-weight: 600;
                    width: 100%;
                }
            }
        &--results {
            background: #F4F4F4;
            padding: 1rem 1.5rem;
            border-radius: 10px;

            p{
                padding-top: .5rem;
                font-size: .82rem;
                color: variables.$col-text-color;
                line-height: 1.7;
                font-weight: 600;
            }
        }
        &--transaction {
            // margin-top: 1.4rem;
            form {
                label {
                    @include mixins.formLabel;
                    color: variables.$col-secondary
                }
                select {
                    @include mixins.formSelect;
                    opacity: 1;
                    border: 1px solid variables.$col-secondary;
                }
                input {
                    @include mixins.formInput; 
                    opacity: 1;
                    border: 1px solid variables.$col-secondary
                }
                button {
                    @include mixins.formButton;
                    color: #FFF;
                }
            }
                &--win {
                    background: variables.$col-success-color !important;
                    color: variables.$col-success-bg !important;
                }
                &--loss {
                    background: variables.$col-danger-color !important;
                    color: variables.$col-danger-bg !important;
                }
            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;
                    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;
            }
        }
        &--btn {
            background: variables.$col-primary-btn;
            padding: .85rem .5rem;
            border-radius: 10px;
            color: variables.$col-danger-bg;
            font-size: .85rem;
            font-weight: 600;
            color: #000;
            width: 100%;
            text-align: center;
            margin-top: 1rem;
        }
        }
    }

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