.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
	background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 60%; /* 设置弹窗宽度为屏幕宽度的 60% */
    height: 60%; /* 设置弹窗高度为屏幕高度的 60% */
    max-width: 500px; /* 最大宽度，确保在大屏幕上不会过大 */
    max-height: 355px; /* 最大高度，确保在大屏幕上不会过高 */
    overflow-y: auto; /* 如果内容超出高度，显示滚动条 */
    text-align: center;
    margin: auto; /* 确保在父容器中水平和垂直居中 */
}

.popup.show {
    display: flex;
}

.popup.show .popup-content {
    transform: translateY(0); /* 滑动到中心 */
    opacity: 1; /* 淡入效果 */
}