        /* 弹窗的遮罩层 */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
        }

        /* 弹窗主体 */
        .modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 300px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            overflow: hidden;
        }

        /* 弹窗头部样式 */
        .modal-header {
            padding: 10px;
            background: #007bff;
            color: #fff;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
        }

        /* 弹窗内容 */
        .modal-content {
            padding: 20px;
            font-size: 16px;
            text-align: center;
        }

        /* 弹窗关闭按钮 */
        .modal-footer {
            display: flex;
            justify-content: center;
            padding: 10px;
            background: #f1f1f1;
        }

        .close-btn {
            padding: 8px 16px;
            font-size: 14px;
            color: #fff;
            background: #007bff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .close-btn:hover {
            background: #0056b3;
        }

        /* 显示弹窗 */
        .modal.show,
        .modal-overlay.show {
            display: block;
        }