/* 弹出提示框 */
.alertbox {
    position: fixed;
    top: 10%;
    width: 100vw;
    display: grid;
    justify-items: center;
    align-items: center;
}

.alertbox span {
    padding: 10px 20px;
    border-radius: 10px;
}


@keyframes uphidden {
    100% {
        transform: translate(0, -100%);
        opacity: 0;
    }
}

/* 添加表单框 */
.addalert {
    user-select: none;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    display: grid;
    justify-items: center;
}

.addalert .box {
    position: fixed;
    top: 30px;
    width: 300px;
    height: 280px;
    background-color: pink;
    padding: 10px;
}

.addalert .box .head {
    text-align: center;
    position: relative;
    /* height: 50px; */
}

.addalert .box .head .close {
    position: absolute;
    top: 0;
    right: 0;
}

.addalert .box .main .formadd {
    display: flex;
    flex-direction: column;
    padding: 10px;

}

.addalert .box .main .formadd label {
    display: flex;
    flex-direction: column;
}

.addalert .box .footer {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.addalert .box .footer button {
    width: 80px;
}

/* 删除对话框 */
.yesnoalertbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

.yesnoalertbox .yesnoalert {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%);

    width: 130px;
    height: 80px;
    border-radius: 12px;
    background-color: pink;
    display: grid;
    justify-items: center;
    align-items: center;
}