.custom-alert {
    display: none;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    opacity: 0; /* 初始透明度为0 */
    transition: opacity 0.3s ease; /* 添加过渡效果 */
}

.custom-alert.show {
    display: flex;
    opacity: 1; /* 显示时透明度为1 */
}

.custom-alert p {
    margin: 0;
}

.custom-alert-button {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}