/* 设置弹窗的样式 */
    .popup {
        position: fixed; /* 固定定位 */
        top: 50%; /* 距离顶部50% */
        left: 50%; /* 距离左侧50% */
        transform: translate(-50%, -50%); /* 偏移自身宽高的50% */
        width: 400px; /* 设置弹窗宽度，可根据需要调整 */
        max-width: 90%; /* 最大宽度为视口的90% */
        background: linear-gradient(135deg, #f5f7fa, #c3cfe2); /* 渐变背景 */
        border-radius: 10px; /* 圆角 */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* 柔和的阴影 */
        z-index: 1000; /* 层叠顺序 */
    }

    .popup-content {
        padding: 20px; /* 内边距 */
        text-align: center; /* 文本居中 */
    }

    /* 关闭按钮样式 */
    .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        font-size: 20px;
        color: #666;
    }

    .close-btn:hover {
        color: #333;
    }

    /* 按钮样式 */
    .btn {
        display: inline-block;
        padding: 10px 20px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .btn:hover {
        background-color: #0056b3;
    }