/* 弹窗样式 */
.alert-box {
    position: fixed;
    top: 20px;
    left: 50%;
    max-width: 50%;
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: fadeIn 0.2s;
    transform: translateX(-50%);
}
@keyframes fadeIn {
    from { opacity: 0; top: 0px;}
    to { opacity: 1; top: 20px;}
}
.alert-box.error {
    background: #ffdbdb;
    border: 1px solid #ffdbdb;
    color: #ff4949;
}
.alert-box .icon {
    display: inline-block;
    margin-right: 5px;
}
.alert-box.error .icon {
    width: 16px;
    height: 16px;
    background: #ff4949;
    border-radius: 50%;
    font-weight: bold;
    text-align: center;
    color: #fff;
    margin-right: 4px;
    font-size: 14px;
    line-height: 16px;
}
.alert-box span.warning {
    display: none;
}
.alert-box.error span.warning {
    display: inline-block;
}
.alert-box.error span.success {
    display: none; 
}
.alert-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-weight: bold;
    display: none;
}

.two-btn {
    display: flex; 
    justify-content: space-between;
    gap: 24px;
}

.two-btn button{
    flex: 1;
}