/* 遮罩层样式 */
.popup-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

/* 弹出层容器 */
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 300px;
    max-width: 90%;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.popup-container.show {
    opacity: 1;
    animation: popupShow 0.3s;
}

@keyframes popupShow {
    0% {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* 弹出层头部 */
.popup-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    position: relative;
}

/* 关闭按钮 */
.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    color: #999;
    font-size: 18px;
    line-height: 16px;
    text-align: center;
}

.popup-close:hover {
    color: #ff5722;
}

/* 弹出层内容 */
.popup-content {
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    max-height: 60vh;
    overflow-y: auto;
}

/* 弹出层底部 */
.popup-footer {
    padding: 15px 20px;
    text-align: right;
    border-top: 1px solid #eee;
}

/* 按钮样式 */
.popup-btn {
    display: inline-block;
    padding: 6px 15px;
    margin-left: 10px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.popup-btn-primary {
    background-color: #1E9FFF;
    color: #fff;
    border: none;
}

.popup-btn-primary:hover {
    background-color: #0d8bf2;
}

.popup-btn-default {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.popup-btn-default:hover {
    background-color: #f5f5f5;
}
