/* ===============================
   VideoInteract Popup Base
================================ */

#vi-popup {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 380px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    overflow: hidden;
    font-family: inherit;
}

/* ===============================
   Header
================================ */

#vi-popup .vi-popup-header {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#vi-popup .vi-popup-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

#vi-popup .vi-popup-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

/* ===============================
   Body
================================ */

#vi-popup .vi-popup-body {
    padding: 16px;
}

#vi-popup .vi-video {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

#vi-popup .vi-question {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222222;
}

/* ===============================
   CTA Wrapper
================================ */

#vi-popup .vi-answer {
    margin-top: 8px;
}

#vi-popup .vi-cta-wrap {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===============================
   CTA Buttons (BASE)
================================ */

#vi-popup a.vi-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    min-width: 120px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

/* Hover */
#vi-popup a.vi-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
    opacity: 0.95;
}

/* ===============================
   WhatsApp Button
================================ */

#vi-popup a.vi-cta-btn.vi-cta-whatsapp {
    background-color: #25D366 !important;
    color: #ffffff !important;
}

/* ===============================
   Email Button
================================ */

#vi-popup a.vi-cta-btn.vi-cta-email {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* ===============================
   Mobile Fix
================================ */

@media (max-width: 480px) {
    #vi-popup {
        right: 16px;
        left: 16px;
        bottom: 16px;
        width: auto;
    }

    #vi-popup .vi-cta-wrap {
        flex-direction: column;
    }

    #vi-popup a.vi-cta-btn {
        width: 100%;
    }
}

/* ===============================
   CTA BUTTONS — FINAL & CLEAN
================================ */

#vi-popup .vi-cta-wrap {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Base CTA */
#vi-popup a.vi-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;
    min-width: 120px;

    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;
    cursor: pointer;

    color: #ffffff !important;
    background-color: #000000;

    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

/* Hover */
#vi-popup a.vi-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.22);
    opacity: 0.95;
}

/* WhatsApp */
#vi-popup a.vi-cta-btn.vi-cta-whatsapp {
    background-color: #25D366;
}

/* Email */
#vi-popup a.vi-cta-btn.vi-cta-email {
    background-color: #000000;
}

/* URL */
#vi-popup a.vi-cta-btn.vi-cta-url {
    background-color: #2563eb;
}

/* SMS */
#vi-popup a.vi-cta-btn.vi-cta-sms {
    background-color: #7c3aed;
}

/* Mobile */
@media (max-width: 480px) {
    #vi-popup .vi-cta-wrap {
        flex-direction: column;
    }

    #vi-popup a.vi-cta-btn {
        width: 100%;
    }
}
