/* Vonk Popup v1.5.2 */

.vonk-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    animation: vonkFadeIn 0.35s ease forwards;
}

@keyframes vonkFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.vonk-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
}

.vonk-popup-container {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: vonkSlideUp 0.35s ease forwards;
    z-index: 1;
}

@keyframes vonkSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.vonk-popup-content { padding: 0; }

.vonk-popup-content .vc_row:first-child { margin-top: 0 !important; }

.vonk-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255,255,255,0.15);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 4px;
    transition: background 0.2s;
    z-index: 2;
}

.vonk-popup-close:hover { background: rgba(255,255,255,0.25); }

.vonk-popup-overlay.vonk-popup-hidden { display: none !important; }

@media (max-width: 540px) {
    .vonk-popup-container { border-radius: 6px; }
}
