@import '../base.scss';
.ss-message-box-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2005;
    .ss-message-modal-box {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
        background-color: rgba(0, 0,0, 0.6);
    }
    .ss-message-box {
        position: relative;
        padding: 16px 16px 64px;
        position: fixed;
        left: 50%;
        top: 50%;
        z-index: 1000;
        min-width: 480px;
        min-height: inherit;
        max-width: 800px;
        max-height: 576px;
        transition: all .3s ease;
        box-shadow: 0px 8px 24px 0px rgba(164, 163, 163, 0.06), 0px 4px 16px -8px rgba(51, 51, 51, 0.08);
        border-radius: 4px;
        vertical-align: middle;
        backface-visibility: hidden;
        background: #fff;
        opacity: 0;
        &.is-no-btn {
          padding-bottom: 16px;
        }
        &:focus {
            background: #fff;
        }
        .ss-message-close{
            position: absolute;
            font-size: 24px;
            right: 14px;
            top: 14px;
            color: $decLight;
            cursor: pointer;
        }
    }
    .ss-message-box-main {
        display: flex;
    }
    .ss-message-box-content {
        flex: 1;
        overflow: hidden;
    }
    .content__title {
        margin-bottom: 8px;
        color: $dec;
        font-size: 16px;
        line-height: 22px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 500;
    }
    .content__message {
        line-height: 22px;
        font-size: 14px;
        color: $dec;
        padding-right: 8px;
    }
    .content__input {
        margin-top: 16px;
    }
    .ss-message-box__btn {
        position: absolute;
        display: flex;
        align-items: center;
        right: 24px;
        bottom: 16px;
        &.ss-button__center {
            right: auto;
            left: 50%;
            transform: translateX(-50%);
            bottom: 24px;
            .ss-button__disabled{
                opacity: 0.3;
                color: #fff;
                border: none;
                &.ss-button__warning{
                    background: $ec;
                }
                &.ss-button__default{
                    background: $mc;
                }
            }
        }
        &.ss-button__left {
            right: auto;
            left: 24px;
            bottom: 24px;
        }
        &.flex-row-reverse {
            display: flex;
            flex-direction:row-reverse;
            .ss-button:nth-child(2) {
                margin-right: 12px;
            }
        }
    }
    .ss-message-box-icon {
        flex-shrink: 0;
        margin-right: 8px;
        font-size: 20px;
        line-height: 22px;
    }


    .sense-icon-status__success {
        color: $sc;
    }
    .sense-icon-status__warning {
        color: $ec;
    }
    .sense-icon-status__error {
      color: $ec;
    }
    .sense-icon-status__primary {
        color: $mc;
    }
    .ss-input-inner {
        border-radius: 0;
    }
    .ss-message-box-big{

        text-align: center;
        padding: 40px;
        .ss-message-box-main{
            display: block;
            padding-bottom: 40px;
        }
        .ss-message-box-icon{
            margin-bottom: 16px;
        }

        .sense-icon-status__primary{
            font-size: 64px;
        }
        .sense-icon-status__success {
            font-size: 64px;
        }
        .sense-icon-status__warning {
            font-size: 64px;
        }
        .sense-icon-status__error {
          font-size: 64px;
        }
        .content__title{
            font-weight: bold;
        }
        .content__message{
            min-height: 40px;
            padding-bottom: 20px;
        }
        .ss-message-box__btn{
            transform: translateX(-50%);
            left: 50%;
            bottom: 40px;
            right: 0;
            display: block;
        }
    }
}
   .mask-fade-enter, .mask-fade-leave-to {
        opacity: 0.1;
        transition: opacity .2s ease;
   }
  .mask-fade-enter-active, .mask-fade-leave-active {
    transition: opacity .2s ease;
  }
  .mask-fade-enter-to, .mask-fade-leave{
    opacity: 0.4;
    transition: opacity .2s ease;
  }
