/*#WhatsAppModel {
   background: linear-gradient(318deg, rgb(19 26 38) 0.85%, rgb(17 25 37) 100%);
    border-radius: 30px;
    outline: none;
    width: 228px;
    height: 36px;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;

}*/
#whataapfileopen{
           color:#ffffff !important;
           cursor: pointer;
       }
  /* Main Chat Box Container */
.whatsapp-box-msg {
    width: 324px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    overflow: hidden;
    font-family: Arial, sans-serif;
    position: fixed;
    bottom: 10px;
    z-index: 1000;
}

/* Header */
.chatbox-header-msg {
   background: linear-gradient(2deg, rgb(68 25 41) 0.85%, rgb(42 181 92) 100%);
    color: #ffffff;
    padding: 15px;
    position: relative;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.chatbox-header-msg h2 {
    font-size: 18px;
    margin: 0;
}

.chatbox-header-msg p {
    font-size: 13px;
    margin: 5px 0 0;
    color: #d4f1dd; /* Lightened text color for subtitle */
}

.chatbox-header-msg .close-spk-chctbox {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
}

/* Chat List */
.chatbox-list-wrap {
    padding: 10px;
}

.whatsApp-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0; /* Light grey divider */
    cursor: pointer;
}

.whatsApp-item:last-child {
    border-bottom: none;
}

.cont-img {
    position: relative;
    flex-shrink: 0;
}

.exp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #25D366; /* WhatsApp green border */
}

.spk-wsp-icon {
    position: absolute;
    width: 15px;
    height: 15px;
    bottom: 0;
    left: 0;
    background-color: #25D366;
    border-radius: 50%;
    border: 2px solid #ffffff; /* White border around icon */
}

/* Contact Info */
.cont-info {
    margin-left: 10px;
}

.cont-info h6 {
    font-size: 14px;
    font-weight: 600;
    color: #333333; /* Dark text color for title */
    margin: 0;
}

.cont-info p {
    font-size: 12px;
    color: #666666; /* Grey color for description */
    margin: 3px 0 0;
}
.whatsapp-box-msg .chatbox-header-msg img {
    position: absolute;
    left: 0;
    bottom: -24px;
    width: 100%;
    height: 45px;
    fill: #fff;
    pointer-events: none;
}
.whatsapp-box-msg .chatbox-header-msg p {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    color: #fff;
    margin: 0;
        margin-bottom: 30px;
}
.whatsapp-box-msg .chatbox-header-msg h2 {
      font-size: 20px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    color: #fff;
    margin: 0 0 3px;
    text-transform: none;
    letter-spacing: normal;
    padding-bottom: 0 !important;
}







/*#WhatsAppModel img {
        margin-right: -30px;           
}*/

#WhatsAppModel span {
    font-size: 16px;              
}






 #whatsappchat{ right: 60px;left: auto; display: none;    margin-right: 30px; }
 #whataapbtn{ position: fixed; z-index: 999999999; bottom: 30px; right: 60px; }

 @media (max-width: 991px) {
  
                                                               #whatsappchat {right: 0px;left: auto;display: none; }
                                                               #whataapbtn{position: fixed;z-index: 999999999;bottom: 0px !important; right: 34px !important;}
                                                               #btn-lg-square {margin-right: -13px !important;}
                                                               .chatbox-list p{font-size: 0.7rem !important;font-weight: 400;}
                            
                                                      }

/*mobile view*/

@media (max-width: 767px) {
          
        #WhatsAppModel span {
            font-size: 13px;
        }

}
   .chat-container {
            width: 324px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            border: 1px solid #ddd;
        }

        .chat-header {
            background: #006d50;
            color: white;
            padding: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .chat-header img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin-right: 10px;
        }


        .chat-header h3 {
            margin: 0;
            font-size: 16px;
            display: flex;
            align-items: center;
        }
/*
        .chat-header .online {
            font-size: 12px;
            margin-left: 10px;
            color: #c8e6c9;
        }*/
.chat-header .online {
    display: block;  /* Moves to the next line */
    font-size: 12px;
    color: #c8e6c9;
        margin-top: 5px;
}
  
        .chat-header button {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
        }

        .chat-body {
            background: url("https://test.drapesntassels.com/assets/whataap/what_back.png");
            background-size: cover;
            padding: 15px;
            min-height: 200px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        /* Chat message styles */
        .chat-message {
            max-width: 75%;
            padding: 8px 12px;
            font-size: 14px;
            position: relative;
            display: inline-block;
            box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
        }

        /* Received Message (Gray) */
        .received {
            background: #ffffff;
            align-self: flex-start;
            border-radius: 10px 10px 10px 2px;
            position: relative;
                margin-bottom: 50px;
        }

        .received::after {
            content: "";
            position: absolute;
            left: -7px;
            bottom: 0px;
            width: 10px;
            height: 10px;
            background: #ffffff;
            clip-path: polygon(100% 0, 0 100%, 100% 100%);
        }

       

        /* Timestamp */
        .timestamp {
            font-size: 11px;
            color: gray;
            display: block;
            text-align: right;
            margin-top: 2px;
        }

        .chat-footer {
            text-align: center;
            padding: 10px;
            
        }

        .chat-footer a{
            background: #25d366;
            color: white;
            padding: 10px 95px;
            border: none;
            border-radius: 20px;
            font-size: 16px;
            cursor: pointer;
            width: 90%;
        }

        .chat-footer button:hover {
            background: #1ebe5d;
        }


          .chat-box {
            background-color: #ffffff;
            padding: 10px 15px;
            border-radius: 10px;
            display: inline-block;
            position: relative;
            font-size: 16px;
            width: 60px;
            margin-bottom: 100px;
        }

        .typing {
            display: flex;
            align-items: center;
        }

        .dot {
            width: 6px;
            height: 6px;
            margin: 0 2px;
            background-color: #666;
            border-radius: 50%;
            opacity: 0.4;
            animation: blink 1.5s infinite;
        }

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

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

        @keyframes blink {
            0%, 100% { opacity: 0.4; }
            50% { opacity: 1; }
        }
        .chat-box ::after {
            content: "";
            position: absolute;
            left: -7px;
            bottom: 0px;
            width: 10px;
            height: 10px;
            background: #ffffff;
            clip-path: polygon(100% 0, 0 100%, 100% 100%);
        }
        #meaage-type {
            display: none;
        }