* {
    margin: 0;
    padding: 0;
}
img {
    display: block;
}
body {
    background: #efefef;
}
#alert-toast {
    position: fixed;
    z-index: 99999;
    max-width: 600px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    top: 33%;
    left: 50%;
    font-size: 18px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    color: #fff;
}

/* <div id="loading">
    <div class="loading">
        <div class="loading_svg">
            <svg width="80" height="80">
                <circle class="circle" cx="40" cy="40" r="20"></circle>
            </svg>
        </div>
        <span>加载中</span>
    </div>
</div> */
#loading {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
#loading .loading {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}
#loading .loading_svg {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}
#loading .circle {
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 0, 0;
    transform-origin: center;
    animation: circleAn 1.6s ease-out infinite;
}
#loading span {
    display: block;
    text-align: center;
}
@keyframes circleAn {
    0% {
        stroke-dasharray: 0, 120;
    }
    100% {
        stroke-dasharray: 120, 0;
        transform: rotate(360deg);
    }
}

/* <div id="toast">
    <div class="toast_container">
        <div class="content">请选择xxxx</div>
        <div class="opts">
            <div class="btn close">取消</div>
            <div class="btn confirm">确认</div>
        </div>
    </div>
</div> */
#toast {
    position: fixed;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#toast .toast_container {
    width: 80%;
    max-width: 540px;
    border-radius: 8px;
    background: #ffffff;
}
#toast .toast_container .content {
    text-align: center;
    font-size: 18px;
    padding: 28px 20px;
    line-height: 2em;
}
#toast .toast_container .opts {
    border-top: 1px solid #efefef;
    display: flex;
}
#toast .toast_container .opts .btn {
    flex-grow: 1;
    height: 64px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#toast .toast_container .opts .confirm {
    color: #409eff;
}
#toast .toast_container .opts .close {
    color: #666666;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
