/* Overlay */
.vc-secure-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.7);
    overflow: hidden;
}

/* Show overlay */
.vc-secure-modal-overlay.is-open {
    display: block !important;
}

/* Modal content */
.vc-secure-modal-content {
    position: relative;
    background: #fff;

    width: 100%;
    max-width: 600px;
    margin: 5vh auto;

    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;

    padding: 30px;
    border-radius: 6px;
    box-sizing: border-box;

    -webkit-overflow-scrolling: touch;
}

/* Close button */
.vc-secure-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;        /* bigger */
    background: #ff4c4c;    /* prominent red */
    color: #fff;            /* contrast */
    border: 2px solid #fff; /* border visible */
    border-radius: 50%;     /* circle */
    width: 40px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    z-index: 20;
    font-weight: bold;
    transition: all 0.2s ease;
}

.vc-secure-modal-close:hover {
    background: #e60000;
    transform: scale(1.1);
}


/* Images inside modal */
.vc-secure-modal-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* Lock body scroll when modal open */
body.vc-modal-open {
    overflow: hidden !important;
    height: 100%;
}