::-webkit-scrollbar {
    width: 4px;
    height: 1px;
}


::-webkit-scrollbar-thumb {
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: #ccc;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}


::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    background: #000000;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #888888 !important;
    font-weight: normal !important;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
    color: #888888 !important;
    font-weight: normal !important;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #888888 !important;
    font-weight: normal !important;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #888888 !important;
    font-weight: normal !important;
}


.ui-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ui-button {
    height: 34px;
    line-height: 1;
    border-radius: 17px;
    border: 1px solid #02c8ae;
    background-color: transparent;
    text-align: center;
    letter-spacing: 2px;
    outline: none;
    cursor: pointer;

    &.submit {
        color: #fff;
        background-color: #02c8ae;
    }

    &.cancel {
        color: #02c8ae;
        background-color: transparent;
    }

    &.block {
        width: 100%;
    }
}

.ui-input {
    outline: none;
    border: 1px solid #737373;
    background-color: #000;
    padding: 0 10px;
    color: #fff;
    letter-spacing: 1px;
    border-radius: 2px;
    height: 32px;
    width: 100%;
    font-size: 12px;
}

.ui-warning {
    position: relative;

    .ui-input {
        animation: warn-flash 0.6s linear;
        animation-direction: alternate;
        animation-iteration-count: infinite;
        border-color: #a7a7a7 !important;
    }

    .ui-warning-label {
        transform: scale(1, 1);
        opacity: 1;
    }
}

.ui-warning-label {
    position: fixed;
    pointer-events: none;
    transform: scale(0, 1);
    right: 241px;
    width: 300px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: #fff;
    z-index: 10000;
    margin-top: 0px;
    color: #02c8ae !important;
    font-size: 14px;
    box-shadow: -1px 2px 8px 0px rgba(0, 0, 0, 0.25);
    transition: opacity 0.3s, transform 0.2s;
    transform-origin: right;

    &::after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 7px 0 6px 10px;
        border-color: transparent transparent transparent #ffffff;
        position: absolute;
        right: -10px;
        top: 9px;
    }
}

.ui-message {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 999;
    background: #fff;
    width: 500px;
    color: #000;
    text-align: center;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border-radius: 9px;
    box-shadow: 0 0px 35px rgba(0, 0, 0, 0.3);
}

.ui-message-header {
    width: 100%;
    border-bottom: 1px solid #e3e3e3;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    display: flex;
    justify-content: space-between;

    span {
        margin-left: 14px;

        &:last-child {
            width: 40px;
            cursor: pointer;
        }
    }
}

.ui-message-footer {
    margin: 18px 0;

    .ui-button {
        width: 120px;
        margin: 0 18px;
        font-size: 14px;
        height: 40px;
        border-radius: 20px;
    }
}

.ui-message-main {
    .ui-message-icon {
        height: 108px;
        margin: 18px 0;
        background: url(~@/assets/images/icons/icon-ask.png) no-repeat center center;
        background-size: contain;
    }

    .ui-message-title {
        font-size: 18px;
        font-weight: bold;
    }

    .ui-message-content {
        font-size: 14px;
        margin-top: 12px;
        margin-bottom: 30px;
    }
}

.animated.speed {
    -webkit-animation-duration: .2s;
    animation-duration: .2s
}

@keyframes warn-flash {
    0% {
        background-color: rgba(2, 200, 174, 0);
    }

    100% {
        background-color: rgba(2, 200, 174, 1);
    }
}

@keyframes spinner {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}