
.chatbox-container {
    position: fixed;
    /*bottom: 20px;*/
    /*right: 20px;*/
    bottom: 100px;
    right: 30px;
    z-index: 999;
    font-size: 13px;
    line-height: initial;
    /*overflow: hidden;*/
}
.chat-toggle img{
    width: 100%;
}
.chat-toggle {
    background: #0096db;
    /*background: #023049;*/
    color: white;
    border: none;
        width: 46px;
    height: 46px;
    /*padding: 18px 20px;*/
    border-radius: 50%;
    cursor: pointer;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);*/
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    font-size: 20px;
}

.chatbox {
    position: absolute;
    bottom: 70px;
    /* makes it appear above toggle */
    right: 0;
    width: 400px;
    /*height: 400px;*/
    background: white;
     border-top-left-radius: 5px;
  border-top-right-radius: 5px;
    /*border-radius: 10px;*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out forwards;
    z-index: 1000;
}

.chatbox.open {
    display: flex;
}

#chatContainer {
  transition: bottom 0.3s ease;
}

   
      .chat-container {
        width: 100%;
        max-width: 500px;
        background: white;
        /*border-radius: 12px;*/
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        overflow: hidden;
      }

      .chat-container .header {
        background: linear-gradient(135deg, #006eab 0%, #357abd 100%);
        padding: 30px 25px;
        color: white;
        text-align: left;
            height: 207px;
      }

      .chat-container .logo-section {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
      }

      .chat-container .welcome-title {
              font-size: 1.33929rem;
    line-height: 1.6;
    font-weight: 400;
    
        /*font-size: 24px;*/
        /*font-weight: 600;*/
        /*margin-bottom: 8px;*/
        /*line-height: 1.3;*/
      }

      .chat-container .welcome-subtitle {
        /*font-size: 16px;*/
        opacity: 0.95;
        /*font-weight: 400;*/
        color: #fff;
        
            font-size: 0.9375rem;
    line-height: 1.57;
    font-weight: 400;
      }

      .chat-container .chat-content {
        padding: 8px;
        background: white;
            height: 115px;
      }

     .chat-container .conversation-card {
    margin-top: -16%;
    background: white;
    border: 1px solid #d2dae2;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

      .chat-container .card-title {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin-bottom: 15px;
      }

      .chat-container .message-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .chat-container .continue-btn {
        background: #1873b3;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: background-color 0.2s;
      }

      .chat-container .continue-btn:hover {
        background: #357abd;
      }

    
      
    .chat-container .continue-btn::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}




      @media (max-width: 480px) {
        /*.chat-container {*/
        /*  margin: 10px;*/
        /*}*/

        .chat-container .header {
          padding: 25px 20px;
        }

        .chat-container .welcome-title {
          font-size: 22px;
        }

        .chat-container .chat-content {
          padding: 20px;
        }
      }


@media (max-width:768px){
    .chatbox-container {
    bottom: 78px;
}
#chatbox{
    display: none;
}




}

.chat_text {
    display: inline-block; /* or block depending on your layout */
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    position: relative;
}

.chat_text.visible {
    opacity: 1;
    transform: translateX(0);
}

/*#chatContainer span {*/
/*    display: none;*/
/*}*/
/*#chatContainer span p{*/
/*        color: #381c1c;*/
/*    font-weight: bold;*/
/*}*/
/*#chatContainer span{*/
/*        padding-left: 10px;*/
/*}*/
/*#chatContainer {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 5px;*/
/*    background: #63ceff;*/
/*    border-radius: 23px;*/
/*}*/


@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}