
/* ======================================================= 
 *
 *      Whatsapp Chat Support
 *      Version: 1.1
 *      By [castlecode]
 *
 *      ---------------------------------
 *      CONTENTS
 *      ---------------------------------
 *
 *      [A] GLOBAL
 *      [B] BUTTON
 *      [C] BUTTON PERSON
 *      [D] POPUP
 *          [1] HEADER
 *          [2] MULTIPLE PERSONS
 *          [3] INPUT TEXT FIELD
 *    
 * ======================================================= */

/* ====================================================================== *
        [A] GLOBAL
 * ====================================================================== */      

    .whatsapp_chat_support{
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
    }

 /* ====================================================================== *
        [B] BUTTON
 * ====================================================================== */      

    .wcs_button{
        text-align: center;
        vertical-align: middle;
        padding: 9px 18px;
        border-radius: 50px;
        background: #25D366;
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        color: #fff;
        display: inline-block;
        margin-right: 3px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

        -webkit-box-shadow: 0 4px 12px rgba(37,211,102,0.4);
           -moz-box-shadow: 0 4px 12px rgba(37,211,102,0.4);
             -o-box-shadow: 0 4px 12px rgba(37,211,102,0.4);
            -ms-box-shadow: 0 4px 12px rgba(37,211,102,0.4);
                box-shadow: 0 4px 12px rgba(37,211,102,0.4);

    }

    .wcs_button:hover{
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37,211,102,0.5);
    }

    .wcs_button:active{
        transform: translateY(0);
    }
    .wcs_button .fa{
        font-size: 15px;
        margin-right: 3px;
    }

    .wcs_button_circle{
        width: 80px;
        height: 80px;
        border-radius: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .wcs_button_circle .fa,
    .wcs_button_circle .fab,
    .wcs_button_circle i{
        line-height: normal !important;
        font-size: 50px !important;
        margin: 0 !important;
    }

    .wcs_button_label{
        vertical-align: middle;
        cursor: pointer;
        display: inline-block;
        font-size: 16px;
        font-weight: 600;
        margin-right: 15px;
        margin-left: 10px;
        background: #fff;
        color: #128C7E;
        padding: 12px 20px;
        border-radius: 25px;
        box-shadow: 0 4px 12px rgba(37,211,102,0.3);
        text-align: center;

        -webkit-transition: .3s ease all;
           -moz-transition: .3s ease all;
                transition: .3s ease all;
    }
    
    .wcs_button_label:hover{
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(37,211,102,0.4);
        background: #25D366;
        color: #fff;
    }
    .wcs_button_label_hide{
        -webkit-transform: translate(10px, 0);
           -moz-transform: translate(10px, 0);
            -ms-transform: translate(10px, 0);
                transform: translate(10px, 0);

        opacity: 0;
        visibility: hidden;
    }

    .wcs_fixed_right{
        z-index: 999;
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .wcs_fixed_left{
        z-index: 999;
        position: fixed;
        bottom: 20px;
        left: 20px;
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
        gap: 10px;
    }
    .wcs_fixed_left .wcs_popup{
        left: 0 !important;
        right: unset !important;
    }

/* ====================================================================== *
        [C] BUTTON PERSON
 * ====================================================================== */    

    .wcs_button_person{
        padding: 7px 18px 8px 10px;
        border-radius: 50px;
        text-align: left;
        background: #26C281;
        color: #fff;
        
        -webkit-transition: .4s ease all;
           -moz-transition: .4s ease all;
                transition: .4s ease all;

        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
           -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
             -o-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
            -ms-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
                box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    }  

    .wcs_button_person:hover{
        -webkit-transform: translate(0,-3px);
           -moz-transform: translate(0,-3px);
            -ms-transform: translate(0,-3px);
                transform: translate(0,-3px);

        -webkit-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
           -moz-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
             -o-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
            -ms-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
                box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
    }

    /* PERSON IMG */

    .wcs_button_person_img{
        overflow: hidden;
        display:table-cell;
        vertical-align:middle;
    }

    .wcs_button_person_img img{
        border: 2px solid #fff;
        border-radius: 50%;
        display: block;
        width: 60px;
        height: 60px;
    }

    .wcs_button_person_img .fa{
        font-size: 60px;
    }

    /* PERSON CONTENT */

    .wcs_button_person_content{
        padding-left: 14px;
        display:table-cell;
        vertical-align:middle;
    }

    /* PERSON NAME */

    .wcs_button_person_name{
        font-size: 10px;
        color: rgba(255,255,255,.8);
    }

    /* PERSON DESCRIPTION */

    .wcs_button_person_description{
        font-size: 14px;
        font-weight: bold;
        line-height: 23px;
        color: #fff;
    }

    /* PERSON STATUS */

    .wcs_button_person_status{
        font-size: 10px;
        vertical-align: middle;
        color: #fff;
        background: rgba(255,255,255,.3);
        display: inline-block;
        padding: 1px 5px;
        border-radius: 5px;
    }

    /* BUTTON PERSON OFFLINE */

    .wcs_button_person_offline{
        background: #a4a4a4 !important;
        cursor: auto !important;
    }

    .wcs_button_person_offline:hover{
        -webkit-transform: translate(0,0) !important;
           -moz-transform: translate(0,0) !important;
            -ms-transform: translate(0,0) !important;
                transform: translate(0,0) !important;

        -webkit-box-shadow: none !important;
           -moz-box-shadow: none !important;
             -o-box-shadow: none !important;
            -ms-box-shadow: none !important;
                box-shadow: none !important;
    }

    .wcs_button_person_offline .wcs_button_person_status{
        background: #f1a528;
    }

    .wcs_button_person_offline .wcs_button_person_img{
        -webkit-filter: grayscale(1);
        filter: grayscale(1);
    }

/* ====================================================================== *
        [D] POPUP
 * ====================================================================== */      

    .wcs_popup{
        position: absolute;
        width: 400px;
        bottom: 100%;
        right: 0;
        margin-bottom: 20px;
        visibility: hidden;
        max-width: calc(100vw - 60px);
        border-radius: 12px;
        overflow: hidden;
    }

    /* CLOSE */

    .wcs_popup_close{
        position: absolute;
        top: 2px;
        right: 8px;
        cursor: pointer;
        
        opacity: .8;
        color: #fff;
        font-size: 18px;

        -webkit-transition: all 0.08s ease-in-out;
           -moz-transition: all 0.08s ease-in-out;
                transition: all 0.08s ease-in-out;
    }

    .wcs_popup_close:hover{
        opacity: 1;
    }

    /* ====================================================================== *
            [1] HEADER
     * ====================================================================== */      

    .wcs_popup_header{
        padding: 15px 20px;
        background: #075E54;
        background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
        border-top-right-radius: 12px;
        border-top-left-radius: 12px;
        color: #fff;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 12px;

        -webkit-box-shadow: 0 2px 10px rgba(0,0,0,.15);
           -moz-box-shadow: 0 2px 10px rgba(0,0,0,.15);
             -o-box-shadow: 0 2px 10px rgba(0,0,0,.15);
            -ms-box-shadow: 0 2px 10px rgba(0,0,0,.15);
                box-shadow: 0 2px 10px rgba(0,0,0,.15);
    }

    .wcs_popup_header .fa-whatsapp{
        font-size: 35px;
        display: inline-block;
        margin: 0;
        animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    .wcs_popup_header_description{
        display: block;
        margin: 0;
        font-size: 13px;
        font-weight: 500;
        flex: 1;
    }

    /* ====================================================================== *
            [2] MULTIPLE PERSONS
     * ====================================================================== */   

     /* CONTAINER */   

    .wcs_popup_person_container{
        /*max-height: 470px;
        overflow-y: scroll;*/
        background: #fff;
        padding: 20px;
        border-bottom-right-radius: 12px;
        border-bottom-left-radius: 12px;

        -webkit-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
           -moz-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
             -o-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
            -ms-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
                box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
    }

    /* PERSON */

    .wcs_popup_person{
        background: #f5f7f9;
        padding: 10px; 
        text-align: left;
        margin-bottom: 10px;
        cursor: pointer;

        -webkit-transition: .2s ease all;
           -moz-transition: .2s ease all;
                transition: .2s ease all;
    }

    .wcs_popup_person:hover{
        -webkit-box-shadow: 0 1px 2px rgba(43,43,43,.15);
           -moz-box-shadow: 0 1px 2px rgba(43,43,43,.15);
             -o-box-shadow: 0 1px 2px rgba(43,43,43,.15);
            -ms-box-shadow: 0 1px 2px rgba(43,43,43,.15);
                box-shadow: 0 1px 2px rgba(43,43,43,.15);
    }

    .wcs_popup_person:last-child{
        margin-bottom: 0;
    }

    .wcs_popup_person::after {
        content: "";
        clear: both;
        display: table;
    }

    /* PERSON IMG */

    .wcs_popup_person_img{
        overflow: hidden;
        display:table-cell;
        vertical-align:middle;
    }

    .wcs_popup_person_img img{
        border: 2px solid #26C281;
        border-radius: 50%;
        display: block;
        width: 60px;
        height: 60px;
    }

    /* PERSON CONTENT */

    .wcs_popup_person_content{
        padding-left: 15px;
        display:table-cell;
        vertical-align:middle;
    }

    /* PERSON NAME */

    .wcs_popup_person_name{
        font-size: 14px;
        color: #383838;
        font-weight: bold;
    }

    /* PERSON DESCRIPTION */

    .wcs_popup_person_description{
        font-size: 11px;
        line-height: 18px;
        color: #8c8c8c;
    }

    /* PERSON STATUS */

    .wcs_popup_person_status{
        font-size: 10px;
        vertical-align: middle;
        color: #fff;
        background: #26C281;
        border-radius: 5px;
        display: inline-block;
        padding: 1px 5px;
    }

    /* POPUP PERSON OFFLINE */

    .wcs_popup_person_offline{
        cursor: auto !important;
    }

    .wcs_popup_person_offline .wcs_popup_person_img{
        -webkit-filter: grayscale(1);
        filter: grayscale(1);
    }

    .wcs_popup_person_offline:hover{
        -webkit-box-shadow: none !important;
           -moz-box-shadow: none !important;
             -o-box-shadow: none !important;
            -ms-box-shadow: none !important;
                box-shadow: none !important;
    }

    .wcs_popup_person_offline .wcs_popup_person_status{
        background: #f1a528;
    }

    /* ====================================================================== *
            [3] INPUT TEXT FIELD
     * ====================================================================== */      

    .wcs_popup_input{
        border-bottom-right-radius: 12px;
        border-bottom-left-radius: 12px;
        background: #f0f0f0;
        padding: 15px;

        -webkit-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
           -moz-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
             -o-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
            -ms-box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
                box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
    }

    .wcs_popup_input input{
        border: 0;
        outline: none;
        width: calc(100% - 45px);
        color: #303030;
        background: #fff;
        padding: 12px 15px;
        border-radius: 20px;
        font-size: 14px;
        box-shadow: 0 1px 2px rgba(0,0,0,.1);
        transition: all 0.3s ease;
    }

    .wcs_popup_input input:focus{
        box-shadow: 0 2px 8px rgba(37,211,102,.3);
    }

    .wcs_popup_input input::placeholder{
        color: #999;
    }

    .wcs_popup_input>*{
        vertical-align: middle;
    }

    .wcs_popup_input .fa,
    .wcs_popup_input .fas{
        font-size: 20px;
        color: #25D366;
        vertical-align: middle;
        cursor: pointer;
        margin-left: 10px;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .wcs_popup_input .fa:hover,
    .wcs_popup_input .fas:hover{
        transform: scale(1.15) rotate(-10deg);
        color: #128C7E;
    }

    /* AVATAR */

    .wcs_popup_avatar{
        overflow: hidden;
        position: absolute;
        left: -70px;
        bottom: -4px;
    }

    .wcs_fixed_left .wcs_popup_avatar{
        left: initial;
        right: -70px;
    }

    .wcs_popup_avatar img{
        border-radius: 50%;
        border: 2px solid #26C281;
        display: block;
        height: 50px;
        width: 50px;

        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
           -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
             -o-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
            -ms-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
                box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    }

    .wcs_popup_input_offline{
        color: #f1a528;
    }

    .wcs_popup_input_offline+.wcs_popup_avatar{
        -webkit-filter: grayscale(1);
        filter: grayscale(1);
    }

    @media only screen and (max-width: 400px) {
        .wcs_popup_avatar{
            display: none;
        }
    }


     @media only screen and (max-width: 768px) {
        .wcs_popup {
            width: calc(100vw - 40px);
            max-width: 400px;
            right: 20px;
            left: 20px;
            margin-left: auto;
            margin-right: auto;
        }

        .wcs_fixed_left .wcs_popup {
            left: 20px !important;
            right: 20px !important;
        }

        .wcs_popup_chat_area {
            min-height: 200px;
            max-height: 250px;
        }

        .wcs_button_circle {
            width: 60px;
            height: 60px;
        }

        .wcs_button_circle .fa,
        .wcs_button_circle .fab,
        .wcs_button_circle i {
            font-size: 35px !important;
        }

        .wcs_button_label {
            font-size: 14px;
            padding: 10px 16px;
        }
    }

    /* Móviles pequeños */
    @media only screen and (max-width: 480px) {
        .wcs_fixed_right,
        .wcs_fixed_left {
            bottom: 10px;
            right: 10px;
            left: 10px;
        }

        .wcs_popup {
            width: calc(100vw - 20px);
            max-width: none;
            right: 10px;
            left: 10px;
            margin-bottom: 10px;
        }

        .wcs_fixed_left .wcs_popup {
            left: 10px !important;
            right: 10px !important;
        }

        .wcs_popup_header {
            padding: 12px 15px;
            font-size: 14px;
        }

        .wcs_popup_header .fa-whatsapp {
            font-size: 28px;
        }

        .wcs_popup_header_description {
            font-size: 12px;
        }

        .wcs_popup_chat_area {
            min-height: 180px;
            max-height: 200px;
            padding: 15px 10px;
        }

        .wcs_chat_message {
            max-width: 85%;
            font-size: 13px;
            padding: 8px 12px;
        }

        .wcs_popup_input {
            padding: 12px;
        }

        .wcs_popup_input input {
            width: calc(100% - 40px);
            padding: 10px 12px;
            font-size: 13px;
        }

        .wcs_popup_input .fa,
        .wcs_popup_input .fas {
            font-size: 18px;
            margin-left: 8px;
        }

        .wcs_button_circle {
            width: 55px;
            height: 55px;
        }

        .wcs_button_circle .fa,
        .wcs_button_circle .fab,
        .wcs_button_circle i {
            font-size: 30px !important;
        }

        .wcs_button_label {
            font-size: 13px;
            padding: 8px 14px;
            margin-right: 8px;
        }
    }

    /* Móviles muy pequeños (iPhone SE, etc.) */
    @media only screen and (max-width: 375px) {
        .wcs_popup_chat_area {
            min-height: 150px;
            max-height: 180px;
        }

        .wcs_popup_header {
            padding: 10px 12px;
        }

        .wcs_popup_header .fa-whatsapp {
            font-size: 24px;
        }

        .wcs_chat_message {
            max-width: 90%;
            font-size: 12px;
        }

        .wcs_button_circle {
            width: 50px;
            height: 50px;
        }

        .wcs_button_circle .fa,
        .wcs_button_circle .fab,
        .wcs_button_circle i {
            font-size: 26px !important;
        }

        .wcs_button_label {
            display: none; /* Ocultar el label "Contáctenos" en pantallas muy pequeñas */
        }
    }

    /* Landscape en móviles */
    @media only screen and (max-height: 500px) and (orientation: landscape) {
        .wcs_popup_chat_area {
            min-height: 120px;
            max-height: 150px;
        }

        .wcs_fixed_right,
        .wcs_fixed_left {
            bottom: 5px;
        }

        .wcs_button_circle {
            width: 45px;
            height: 45px;
        }

        .wcs_button_circle .fa,
        .wcs_button_circle .fab,
        .wcs_button_circle i {
            font-size: 24px !important;
        }
    }





    /* CHAT MESSAGE AREA */

    .wcs_popup_chat_area{
        background: #e5ddd5;
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAG1BMVEUAAAD///+AgICAgP//AP8A/wD/AAD//wCAgIBavWRdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5QIBDhYqLvnZMgAAABJJREFUeNpjYBgFo2AUjAIKAAAEEAABsRfVnAAAAABJRU5ErkJggg==');
        background-size: 50px 50px;
        padding: 20px 15px;
        min-height: 250px;
        max-height: 300px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .wcs_chat_message{
        max-width: 75%;
        padding: 10px 14px;
        border-radius: 8px;
        font-size: 14px;
        line-height: 1.4;
        position: relative;
        animation: slideInMessage 0.4s ease-out;
        box-shadow: 0 1px 2px rgba(0,0,0,.1);
    }

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

    .wcs_chat_message_received{
        background: #fff;
        color: #303030;
        align-self: flex-start;
        border-bottom-left-radius: 2px;
    }

    .wcs_chat_message_time{
        font-size: 11px;
        color: #667781;
        margin-top: 4px;
        display: block;
    }

    .wcs_typing_indicator{
        display: flex;
        gap: 4px;
        padding: 12px;
        background: #fff;
        border-radius: 8px;
        width: fit-content;
        align-self: flex-start;
    }

    .wcs_typing_indicator span{
        width: 8px;
        height: 8px;
        background: #90949c;
        border-radius: 50%;
        animation: typing 1.4s infinite;
    }

    .wcs_typing_indicator span:nth-child(2){
        animation-delay: 0.2s;
    }

    .wcs_typing_indicator span:nth-child(3){
        animation-delay: 0.4s;
    }

    @keyframes typing {
        0%, 60%, 100% {
            transform: translateY(0);
            opacity: 0.7;
        }
        30% {
            transform: translateY(-10px);
            opacity: 1;
        }
    }

/* ====================================================================== *
        [H] EFFECTS
 * ====================================================================== */   

    .wcs-show .wcs_popup{
        visibility: visible;
    }
      
    /* Effect 0: Fade in */

    .wcs-effect-0 .wcs_popup{
        opacity: 0;

        -webkit-transition: opacity 0.3s;
        -moz-transition: opacity 0.3s;
        transition: opacity 0.3s;
    }
    .wcs-show.wcs-effect-0 .wcs_popup{
        opacity: 1;
    }

    /* Effect 1: Fade in and scale up */

    .wcs-effect-1 .wcs_popup{
        -webkit-transform: scale(0.8) translateY(20px);
        -moz-transform: scale(0.8) translateY(20px);
        -ms-transform: scale(0.8) translateY(20px);
        transform: scale(0.8) translateY(20px);
        opacity: 0;

        -webkit-transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        -moz-transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .wcs-show.wcs-effect-1 .wcs_popup{
        -webkit-transform: scale(1) translateY(0);
        -moz-transform: scale(1) translateY(0);
        -ms-transform: scale(1) translateY(0);
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    /* Effect 2: Slide from the right */

    .wcs-effect-2 .wcs_popup {
        -webkit-transform: translateX(20%);
        -moz-transform: translateX(20%);
        -ms-transform: translateX(20%);
        transform: translateX(20%);
        opacity: 0;
        -webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
        -moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
        transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
    }
    .wcs-show.wcs-effect-2 .wcs_popup {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }

    /* Effect 3: Slide from the bottom */

    .wcs-effect-3 .wcs_popup {
        -webkit-transform: translateY(20%);
        -moz-transform: translateY(20%);
        -ms-transform: translateY(20%);
        transform: translateY(20%);
        opacity: 0;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }
    .wcs-show.wcs-effect-3 .wcs_popup {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }

    /* Effect 4: Newspaper */

    .wcs-effect-4 .wcs_popup {
        -webkit-transform: scale(0) rotate(720deg);
        -moz-transform: scale(0) rotate(720deg);
        -ms-transform: scale(0) rotate(720deg);
        transform: scale(0) rotate(720deg);
        opacity: 0;
    }
    .wcs-show.wcs-effect-4 ~ .datepicker-in-fullscreen-background,
    .wcs-effect-4 .wcs_popup {
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        transition: all 0.5s;
    }
    .wcs-show.wcs-effect-4 .wcs_popup {
        -webkit-transform: scale(1) rotate(0deg);
        -moz-transform: scale(1) rotate(0deg);
        -ms-transform: scale(1) rotate(0deg);
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    /* Effect 5: fall */

    .wcs-effect-5.whatsapp_chat_support {
        -webkit-perspective: 1300px;
        -moz-perspective: 1300px;
        perspective: 1300px;
    }
    .wcs-effect-5 .wcs_popup {
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform: translateZ(600px) rotateX(20deg); 
        -moz-transform: translateZ(600px) rotateX(20deg); 
        -ms-transform: translateZ(600px) rotateX(20deg); 
        transform: translateZ(600px) rotateX(20deg); 
        opacity: 0;
    }
    .wcs-show.wcs-effect-5 .wcs_popup {
        -webkit-transition: all 0.3s ease-in;
        -moz-transition: all 0.3s ease-in;
        transition: all 0.3s ease-in;
        -webkit-transform: translateZ(0px) rotateX(0deg);
        -moz-transform: translateZ(0px) rotateX(0deg);
        -ms-transform: translateZ(0px) rotateX(0deg);
        transform: translateZ(0px) rotateX(0deg); 
        opacity: 1;
    }

    /* Effect 6: side fall */

    .wcs-effect-6.whatsapp_chat_support {
        -webkit-perspective: 1300px;
        -moz-perspective: 1300px;
        perspective: 1300px;
    }
    .wcs-effect-6 .wcs_popup {
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform: translate(30%) translateZ(600px) rotate(10deg); 
        -moz-transform: translate(30%) translateZ(600px) rotate(10deg);
        -ms-transform: translate(30%) translateZ(600px) rotate(10deg);
        transform: translate(30%) translateZ(600px) rotate(10deg); 
        opacity: 0;
    }
    .wcs-show.wcs-effect-6 .wcs_popup {
        -webkit-transition: all 0.3s ease-in;
        -moz-transition: all 0.3s ease-in;
        transition: all 0.3s ease-in;
        -webkit-transform: translate(0%) translateZ(0) rotate(0deg);
        -moz-transform: translate(0%) translateZ(0) rotate(0deg);
        -ms-transform: translate(0%) translateZ(0) rotate(0deg);
        transform: translate(0%) translateZ(0) rotate(0deg);
        opacity: 1;
    }

    /* Effect 7:  3D Rotate from bottom */

    .wcs-effect-7.whatsapp_chat_support {
        -webkit-perspective: 1300px;
        -moz-perspective: 1300px;
        perspective: 1300px;
    }
    .wcs-effect-7 .wcs_popup {
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform: translateY(100%) rotateX(90deg);
        -moz-transform: translateY(100%) rotateX(90deg);
        -ms-transform: translateY(100%) rotateX(90deg);
        transform: translateY(100%) rotateX(90deg);
        -webkit-transform-origin: 0 100%;
        -moz-transform-origin: 0 100%;
        transform-origin: 0 100%;
        opacity: 0;
        -webkit-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }
    .wcs-show.wcs-effect-7 .wcs_popup {
        -webkit-transform: translateY(0%) rotateX(0deg);
        -moz-transform: translateY(0%) rotateX(0deg);
        -ms-transform: translateY(0%) rotateX(0deg);
        transform: translateY(0%) rotateX(0deg);
        opacity: 1;
    }

    /* Effect 8:  3D Rotate in from left */

    .wcs-effect-8.whatsapp_chat_support {
        -webkit-perspective: 1300px;
        -moz-perspective: 1300px;
        perspective: 1300px;
    }
    .wcs-effect-8 .wcs_popup {
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
        -moz-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
        -ms-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
        transform: translateZ(100px) translateX(-30%) rotateY(90deg);
        -webkit-transform-origin: 0 100%;
        -moz-transform-origin: 0 100%;
        transform-origin: 0 100%;
        opacity: 0;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }
    .wcs-show.wcs-effect-8 .wcs_popup {
        -webkit-transform: translateZ(0px) translateX(0%) rotateY(0deg);
        -moz-transform: translateZ(0px) translateX(0%) rotateY(0deg);
        -ms-transform: translateZ(0px) translateX(0%) rotateY(0deg);
        transform: translateZ(0px) translateX(0%) rotateY(0deg);
        opacity: 1;
    }

    /* Effect 9: 3D flip horizontal */

    .wcs-effect-9.whatsapp_chat_support {
        -webkit-perspective: 1300px;
        -moz-perspective: 1300px;
        perspective: 1300px;
    }
    .wcs-effect-9 .wcs_popup {
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform: rotateY(-70deg);
        -moz-transform: rotateY(-70deg);
        -ms-transform: rotateY(-70deg);
        transform: rotateY(-70deg);
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
        opacity: 0;
    }
    .wcs-show.wcs-effect-9 .wcs_popup {
        -webkit-transform: rotateY(0deg);
        -moz-transform: rotateY(0deg);
        -ms-transform: rotateY(0deg);
        transform: rotateY(0deg);
        opacity: 1;
    }

    /* Effect 10: 3D flip vertical */

    .wcs-effect-10.whatsapp_chat_support {
        -webkit-perspective: 1300px;
        -moz-perspective: 1300px;
        perspective: 1300px;
    }
    .wcs-effect-10 .wcs_popup {
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform: rotateX(-70deg);
        -moz-transform: rotateX(-70deg);
        -ms-transform: rotateX(-70deg);
        transform: rotateX(-70deg);
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
        opacity: 0;
    }
    .wcs-show.wcs-effect-10 .wcs_popup {
        -webkit-transform: rotateX(0deg);
        -moz-transform: rotateX(0deg);
        -ms-transform: rotateX(0deg);
        transform: rotateX(0deg);
        opacity: 1;
    }

    /* Effect 11: 3D sign */

    .wcs-effect-11.whatsapp_chat_support {
        -webkit-perspective: 1300px;
        -moz-perspective: 1300px;
        perspective: 1300px;
    }
    .wcs-effect-11 .wcs_popup {
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform: rotateX(-60deg);
        -moz-transform: rotateX(-60deg);
        -ms-transform: rotateX(-60deg);
        transform: rotateX(-60deg);
        -webkit-transform-origin: 50% 0;
        -moz-transform-origin: 50% 0;
        transform-origin: 50% 0;
        opacity: 0;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }
    .wcs-show.wcs-effect-11 .wcs_popup {
        -webkit-transform: rotateX(0deg);
        -moz-transform: rotateX(0deg);
        -ms-transform: rotateX(0deg);
        transform: rotateX(0deg);
        opacity: 1;
    }

    /* Effect 12: Super scaled */

    .wcs-effect-12 .wcs_popup {
        -webkit-transform: scale(2);
        -moz-transform: scale(2);
        -ms-transform: scale(2);
        transform: scale(2);
        opacity: 0;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }
    .wcs-show.wcs-effect-12 .wcs_popup {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }

    /* Effect 13: 3D split */

    .wcs-effect-13.whatsapp_chat_support {
        -webkit-perspective: 1300px;
        -moz-perspective: 1300px;
        perspective: 1300px;
    }
    .wcs-effect-13 .wcs_popup {
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform: translateZ(-3000px) rotateY(90deg);
        -moz-transform: translateZ(-3000px) rotateY(90deg);
        -ms-transform: translateZ(-3000px) rotateY(90deg);
        transform: translateZ(-3000px) rotateY(90deg);
        opacity: 0;
    }
    .wcs-show.wcs-effect-13 .wcs_popup {
        -webkit-animation: slit .7s forwards ease-out;
        -moz-animation: slit .7s forwards ease-out;
        animation: slit .7s forwards ease-out;
    }
    @-webkit-keyframes slit {
        50% { -webkit-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -webkit-animation-timing-function: ease-out;}
        100% { -webkit-transform: translateZ(0) rotateY(0deg); opacity: 1; }
    }
    @-moz-keyframes slit {
        50% { -moz-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -moz-animation-timing-function: ease-out;}
        100% { -moz-transform: translateZ(0) rotateY(0deg); opacity: 1; }
    }
    @keyframes slit {
        50% { transform: translateZ(-250px) rotateY(89deg); opacity: 1; animation-timing-function: ease-in;}
        100% { transform: translateZ(0) rotateY(0deg); opacity: 1; }
    }

/* ====================================================================== *
        [G] DEBUG
 * ====================================================================== */   
    
    .wcs_debug{
        position: fixed;
        padding: 10px;
        background: white;
        border: 1px solid #dadada;
        top: 5px;
        right: 5px;
    }

    .wcs_debug strong{
        width: 125px;
        display: inline-block;
    }