.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 20px;
    border-radius: 10px;
}

.popup-content {
    color: black;
    text-align: center;
}

.popup-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.popup-text {
    font-size: 15px;
}

.popup-buttons {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.popup-buttons button {
    width: 100%;
    font-size: 15px;
    color: #3676FC;
    background: #EBF1FF;
    padding: 10px;
    border: 0;
    border-radius: 20px;
    margin: 0 5px;
}

.popup-buttons > button:nth-child(2) {
    background: #3676FC;
    color: #ffffff;
}

.popup-message {
    width: 60%;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    z-index: 9999;
    background: rgb(0 0 0 / 60%);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 10px;
    display: none;
}

/* 加载样式 */
#loading {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10000000;
    background: rgb(0 0 0 / 60%);
    text-align: center;
    top: 0;
    left: 0;
}

#loading .icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    margin-top: 40vh;
    border: 3px solid #ffffff;
    border-top: 3px solid #3676FC;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#loading p {
    color: white;
    margin-top: 10px;
    font-size: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}