/******************** MFnxt WhatsApp Channel Modal ********************/


/* =====================================================
   MODAL
===================================================== */

#whatsappModal .modal-dialog {
    max-width: 510px;
}

#whatsappModal .modal-content {
    position: relative;
    overflow: hidden;

    border: 1px solid #e5eaf0;
    border-radius: 24px;

    background: #ffffff;

    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.16);
}


/* =====================================================
   SUBTLE TOP GLOW
===================================================== */

#whatsappModal .modal-content::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    top: -120px;
    right: -90px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(37, 211, 102, 0.12),
        transparent 70%
    );

    pointer-events: none;
}


/* =====================================================
   BODY
===================================================== */

#whatsappModal .modal-body {
    position: relative;
    z-index: 2;

    padding: 38px 36px 30px;
}


/* =====================================================
   CLOSE BUTTON
===================================================== */

#whatsappModal .btn-close {
    z-index: 5;

    width: 34px;
    height: 34px;

    margin: 16px !important;

    border: 1px solid #e6ebf0;
    border-radius: 50%;

    background-color: #ffffff;

    opacity: 0.75;

    box-shadow: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

#whatsappModal .btn-close:hover {
    opacity: 1;

    background-color: #f6f8fa;

    transform: rotate(90deg);
}


/* =====================================================
   WHATSAPP ICON
===================================================== */

#whatsappModal .wa-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    margin-bottom: 20px;

    border-radius: 18px;

    background: rgba(37, 211, 102, 0.10);

    color: #25D366;

    font-size: 31px;

    box-shadow:
        inset 0 0 0 1px rgba(37, 211, 102, 0.08);
}

#whatsappModal .wa-icon i {
    color: #25D366;
}


/* =====================================================
   TITLE
===================================================== */

#whatsappModal h3 {
    margin-bottom: 12px !important;

    color: var(--c-ink);

    font-family: var(--primary-font);

    font-size: 24px;

    font-weight: 600;

    line-height: 1.25;

    letter-spacing: -0.4px;
}


/* =====================================================
   DESCRIPTION
===================================================== */

#whatsappModal .text-muted {
    color: var(--c-muted) !important;

    font-family: var(--third-font);

    font-size: 14px;

    line-height: 1.65;
}


/* =====================================================
   BENEFITS
===================================================== */

#whatsappModal .wa-benefits {
    display: grid;

    gap: 9px;
}


/* =====================================================
   BENEFIT ITEM
===================================================== */

#whatsappModal .wa-benefit-item {
    display: flex;

    align-items: center;

    gap: 11px;

    padding: 11px 13px;

    border: 1px solid #edf1f5;

    border-radius: 12px;

    background: #fafbfd;

    color: var(--c-slate);

    font-family: var(--third-font);

    font-size: 13px;

    line-height: 1.4;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

#whatsappModal .wa-benefit-item:hover {
    border-color: rgba(37, 211, 102, 0.22);

    background: #f7fcf9;

    transform: translateX(2px);
}

#whatsappModal .wa-benefit-item i {
    flex: 0 0 auto;

    color: #25D366;

    font-size: 14px;
}


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

#whatsappModal .wa-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 48px;

    border: 0;

    border-radius: 12px;

    background: #25D366;

    color: #ffffff;

    font-family: var(--primary-font);

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    box-shadow: none;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

#whatsappModal .wa-btn:hover {
    background: #1fbd5b;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.20);
}

#whatsappModal .wa-btn i {
    color: #ffffff;
}


/* =====================================================
   SMALL NOTE
===================================================== */

#whatsappModal small {
    color: var(--c-muted) !important;

    font-family: var(--third-font);

    font-size: 11px;

    line-height: 1.5;
}


/* =====================================================
   MODAL ANIMATION
===================================================== */

#whatsappModal .modal-content {
    animation: whatsappModalUp 0.32s ease;
}

@keyframes whatsappModalUp {

    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =====================================================
   BACKDROP
===================================================== */

.modal-backdrop.show {
    opacity: 0.65;
    backdrop-filter: blur(3px);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 576px) {

    #whatsappModal .modal-dialog {
        margin: 14px;
    }

    #whatsappModal .modal-content {
        border-radius: 20px;
    }

    #whatsappModal .modal-body {
        padding: 32px 22px 24px;
    }

    #whatsappModal .wa-icon {
        width: 60px;
        height: 60px;

        border-radius: 16px;

        font-size: 27px;
    }

    #whatsappModal h3 {
        font-size: 21px;
    }

    #whatsappModal .text-muted {
        font-size: 13px;
    }

    #whatsappModal .wa-benefit-item {
        padding: 10px 12px;

        font-size: 12px;
    }

}


/******************** MFnxt WhatsApp Channel Modal Ends ********************/