@charset "utf-8";

.ui-mask {
    position: fixed;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    display: flex;
    width: 100%;
    height: 100%;
    pointer-events: none;
    padding: 20px;
}

.maskBg {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 10;
    opacity: 0;
}

.maskCon {
    position: absolute;
    display: flex;
    z-index: 100;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 5px 2px rgb(0 0 0 / 10%);
    pointer-events: auto;
    min-width: 300px;
    max-width: 640px;
    padding-right: 20px;
    padding-left: 20px;
    margin-top: -10px;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left:10px;
    margin-right:10px;
}

.maskCon.top {
    top: 20px;
    transform: none;
}

.maskCon.bottom {
    top: unset;
    bottom: 20px;
    transform: none;
}

.mask-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: #fff;
    border-radius: 10px;
    background-color: #838383;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.mask-content {
    padding-top: 20px;
    padding-bottom: 20px;

}

.mask-words {
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mask-title {
    font-weight: 700;
    color: #2B2F39;
}

.mask-text {
    color: #919399
}

.mask-btns {
    display: flex;
    margin-top: 10px;
}

.mask-btns button+button {
    margin-left: 10px;
}

.mask-btns button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42px;
    padding: 0 15px;
    background-color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    border: none;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
    min-width: 75px;
    white-space: nowrap;
}
.mask-btns button.clicked{
    pointer-events: none !important;
}
.mask-btns button.blue,
.mask-icon.blue {
    background-color: #3150EC;
    color: #fff;
}

.mask-btns button.green,
.mask-icon.green {
    background-color: #18AF93;
    color: #fff;
}

.mask-btns button.red,
.mask-icon.red {
    background-color: #D04D4D;
    color: #fff;
}

.mask-close {
    font-size: 24px;
    width: 40px;
    height: 40px;
    margin: 20px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: auto;
    color: #999;
    flex-shrink: 0;
    padding-left: 20px;
    box-sizing: content-box;
    transition: color 0.2s;
}

.mask-close:hover {
    color: #bdbdbd;
}

.mask-close::before {
    content: "\f00d";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
}

.mask-time {
    width: 40px;
    height: 40px;
    margin: 20px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
    padding-left: 20px;
    box-sizing: content-box;
}

.mask-close.pie::before {
    content: none;
}

.mask-close .pie {
    display: flex;
    width: 24px;
    height: 24px;

    flex-shrink: 0;
    box-sizing: content-box;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.mask-close .pie::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    margin-left: -8px;
    background-color: #fff;
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    border-radius: 50%;
}

.mask-close .pie .piel,
.mask-close .pie .pier {
    width: 12px;
    height: 24px;
    overflow: hidden;
    position: relative;
    background-color: #eee;
}

.mask-close .pie .piel .piepiel {
    width: 12px;
    height: 24px;
    background-color: #999;
    transform-origin: right center;
    transform: rotate(180deg)
}

.mask-close .pie .pier .piepier {
    position: absolute;
    width: 12px;
    height: 24px;
    background-color: #999;
    transform-origin: left center;
}

/* .mask-close .pie .piepie{
    display:block;
    width: 0;
    height: 0;
    margin-left:-2px;
    top:2px;
    left:50%;
    transform-origin: center bottom;
    border-bottom:solid 10px #999;
    border-right: 2px solid transparent;
    border-left: 2px solid transparent;
    position: absolute;
}
.mask-close .pie::after{
    content:'';
    display: block;
    position: absolute;
    margin:-3px 0 0 -3px;
    left:50%;
    top:50%;
    width: 6px;
    height: 6px;
    background:#999;
    border-radius: 50%;
} */

.maskLoading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #eee;
    font-size: 24px;
    border-radius: 15px;
    z-index: 200;
    opacity: 0;
    transition: all 0.2s;
}

.maskLoading i {
    display: block;
    width: 1em;
    height: 1em;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.maskLoading img {
    display: block;
    width: 60%;
    animation: rotate 1s linear infinite;
}

.maskToast {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.618);
    color: #fff;
    font-size: 14px;
    border-radius: 15px;
    z-index: 300;
    opacity: 0;
    position: absolute;
    margin-top: -20px;
    padding: 5px 10px;
    pointer-events: auto;
    cursor: pointer;
    max-width: calc(100% - 20px);
}

.maskToast.top {
    top: 20px;
}

.maskToast.bottom {
    top: calc(100% - 20px);
    transform: translateY(-100%);
    margin-top: -20px;
}

.maskToast i {
    margin-right: 5px;
}


.tipBlock {
    position: relative;
}

.tip {
    position: absolute;
    bottom: 100%;
    max-width: calc(100% - 10px);
    margin-left: 5px;
    margin-right: 5px;
    padding: 5px 10px;
    background-color: #fff;
    border: solid 1px #dbdbdb;
    border-radius: 5px;
    z-index: 10;
    margin-bottom: 0;
    transition: margin 0.2s, opacity 0.2s, visibility 0.2s;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    filter: drop-shadow(0 1px 0 #dbdbdb);
}
.tip.nowrap{
    white-space: nowrap;
    max-width: none;
}
.tip::before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #dbdbdb;
    z-index: 10;
    bottom: -7px;
    left: 10px;
}

.tip::after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #fff;
    z-index: 10;
    bottom: -6px;
    left: 10px;
}

.tip.bottom {
    bottom: unset;
    top: 100%;
    margin-bottom: 0;
    margin-top: 0;
}

.tip.bottom::before {
    border-top: none;
    border-bottom: 7px solid #dbdbdb;
    bottom: unset;
    top: -7px;
}

.tip.bottom::after {
    border-top: none;
    border-bottom: 7px solid #fff;
    bottom: unset;
    top: -6px;
}

.tip.center {
    left: 50%;
    transform: translateX(-50%);
}

.tip.center::before,
.tip.center::after {
    left: calc(50% - 7px)
}

.tip.right {
    left: unset;
    right: 0;
}

.tip.right::before,
.tip.right::after {
    left: unset;
    right: 10px;
}

.tip.active {
    visibility: visible;
    margin-bottom: 3px;
    opacity: 1;
}

.tip.bottom.active {
    margin-bottom: unset;
    margin-top: 3px;
}