.popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.5);
    z-index: 999;
}
.popup-modal {
    position: fixed;
    top: 40%;
    left: 30%;
    background: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    width: 25%;
    height: auto;
    z-index: 1000;
}
@media (max-width: 600px) {
    .popup-modal {
        top: 40%;
        left: 5%;
        width: 80%;
    }
}
.popup-modal .header {
    height: 24px;
    line-height: 20px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
.popup-modal .footer {
    text-align: center;
}
.popup-modal .footer button {
    margin: 0 10px;
}
.close-popup {

}