/* =========================
   弹窗遮罩
   ========================= */

.popup-mask {
    display: none;

    position: fixed;
    z-index: 9999;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.5);
}


/* =========================
   弹窗主体
   ========================= */

.popup {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 400px;

    padding: 25px;

    box-sizing: border-box;

    background: white;

    border-radius: 15px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}


/* =========================
   关闭按钮
   ========================= */

.popup-close {
    position: absolute;

    top: 10px;
    right: 15px;

    border: none;
    background: none;

    font-size: 28px;

    color: #888;

    cursor: pointer;
}

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


/* =========================
   图片
   ========================= */

.popup-image {
    display: block;

    width: 150px;
    max-height: 200px;

    object-fit: cover;

    margin: 0 auto 15px;

    border-radius: 10px;
}


/* =========================
   标题
   ========================= */

.popup-title {
    margin: 10px 0;

    font-size: 24px;

    color: #333;
}


/* =========================
   文字
   ========================= */

.popup-text {
    line-height: 1.8;

    color: #666;

    font-size: 16px;
}


/* =========================
   按钮
   ========================= */

.popup-button {
    margin-top: 10px;

    padding: 10px 30px;

    border: none;

    border-radius: 8px;

    background: #409eff;

    color: white;

    font-size: 15px;

    cursor: pointer;
}

.popup-button:hover {
    background: #66b1ff;
}