*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4, h5, h6{
    margin: 0;
    padding: 0;
}
p{
    margin: 0;
    padding: 0;
}
.chat-main-section {
    background-color: #81e6d9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 45px 0 20px;
}

.chat_box_wrap {
    background-color: #fff;
    width: 100%;
    min-height: 100vh;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    text-align: center;
}
.chat-header img {
    width: 100%;
    max-width: 130px;
}
.mid_header {
    margin-top: 40px;
}
.chat-header h1 {
    font-size: 20px;
    color: #000000;
    text-align: center;
    font-weight: 600;
    padding-top: 27px;
}
.mid_header h3 {
    font-size: 23px !important;
    font-weight: 600;
    text-align: center;
    background-color: #af191b;
    color: #fff;
    padding: 20px 15px;
}
.chat_box_wrap {
    background-color: #fff;
    padding: 20px 10px;
    margin-top: 25px;
}
.chat_online_show {
    display: flex;
    justify-content: center;
    align-items: center;
}
.circle {
    content: " ";
    margin: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    transition: all 0.3s;
    background-color: #22c55e;
  }
 .circle::before {
    content: " ";
    margin: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.3s;
    background-color: #22c55e;
  }
  .circle::before {
    animation: mymove 1.2s infinite;
    position: absolute;
    background-color: #22c55e
  }
  
  @-webkit-keyframes mymove {
    50%   {
      transform: scale(2);
      opacity: 0
    }
    100%   {
      transform: scale(2);
      opacity: 0
    }
  }


  .chat-container {
    width: 100%;
    max-width: 425px;
    margin: 20px auto;
    background: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-box {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    height: 300px;
}




.chat-message {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 302px;
    line-height: 1.5;
    display: inline-block;
}
.bot-message {
    background: #e0e0e0;
    color: #333;
    align-self: flex-start;
}

.user-message {
    background: #0078d7;
    color: white;
    align-self: flex-end;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.typing-indicator img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.loading-dots {
    display: flex;
    gap: 5px;
    padding: 20px 15px;
    background: #e0e0e0;
    border-radius: 10px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background-color: #888;
    border-radius: 50%;
    animation: bounce 1.5s infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
.chat-button {
    background-color: #3b82f6;
    color: #fff;
    width: 100%;
    max-width: 109px;
    border: none;
    padding: 12px;
    border-radius: 50px;
}
.chat-button-container {
    text-align: right;
    background-color: #e5e7eb;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    max-width: 130px;
}

.chat-message.user-message {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    max-width: 59px;
    margin: 0 0 0 auto;
    display: block;
}

.chat-button-container.btn_2 {
    text-align: right;
    background-color: #e5e7eb;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    max-width: 250px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-button.btn_2_wrap{
    background-color: #3b82f6;
    color: #fff;
    width: 100%;
    max-width: 109px;
    border: none;
    padding: 12px;
    border-radius: 50px;
}

div.bot-image img {
    width: 50px;
    height: 50px;
    border-radius: 50px;
}

.chat_box_stepwise_section {
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

div.bot-image {
    padding-bottom: 10px;
}

a.btn.btn-call {
    background: #0078d7;
    color: #fff;
    border-radius: 50px;
}

.user-image img {
    width: 30px;
    height: 30px;
}

div#user-message-section {
    display: flex;
    gap: 5px;
}

@media screen and (max-width: 575px) {
    .mid_header h3 {
        font-size: 17px !important;
    }
}