/* Chat UI */
.chat-container {
    width: 100%;
    max-width: 600px;
    height: 70vh;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-header {
    background: #111;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

.chat-box {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f3f3f3 var(--wpr-bg-555f90dd-77d1-4a4f-af5f-73b6d2b08838);
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 80%;
}

.bot-message {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bot-message img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-message {
    background: black;
    color: white;
    padding: 12px 15px;
    border-radius: 20px;
    align-self: flex-end;
}

.chat-input-area {
    display: flex;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-input-area input {
      flex: 1;
    padding: 12px 12px;
    border: none;
    /*border-radius: 0px 25px 25px 0px;*/
    background: #eee;
    font-size: 13px;
}

.chat-input-area button {
padding: 6px 20px;
    border: none;
    border-radius: 25px 0px 0px 25px;
    background: black;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.chat-input-area button:active {
    transform: scale(0.95);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.3);
}


.intro-message {
    color: grey;
    font-size: 14px;
    padding: 10px 15px;
    text-align: center;
    max-width: 80%;
    align-self: center;
    opacity: 0.8;
}
.message.user{
    background-color: #fff;
    padding: 8px;
    border-radius: 5px;
     display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.message.bot {
      background-color: #eaf2f9;
    padding: 8px;
    border-radius: 5px;
     display: flex;
    flex-direction: row;
    align-items: flex-start;
    
   
}
.message.bot img ,.message.user img{
      width: 30px;
      margin-left: 10px;
}
#chatForm{
      display: contents;
}
.loading-dots span {
  font-size: 40px;
  animation: blink 1.2s infinite;
  margin-right: 10px;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}
.formbold-mb-5 {
    margin-bottom: 20px;
  }
  .formbold-pt-3 {
    padding-top: 12px;
  }
  .formbold-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
    
  }

  .formbold-form-wrapper {
    margin: 0 auto;
    max-width: 550px;
    width: 100%;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: none;
  }

  .formbold-form-wrapper.active {
    display: block;
  }

  .formbold-form-label {
    display: block;
    font-weight: 500;
    font-size: 16px;
    color: #07074d;
    margin-bottom: 12px;
  }
  .formbold-form-label-2 {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .formbold-form-input {
    width: 100%;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: white;
    font-weight: 500;
    font-size: 16px;
    color: #6b7280;
    outline: none;
    resize: none;
  }
  .formbold-form-input:focus {
    border-color: #6a64f1;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
  }

  .formbold-btn {
    text-align: center;
    font-size: 16px;
    border-radius: 6px;
    padding: 14px 32px;
    border: none;
    font-weight: 600;
    background-color: #6a64f1;
    color: white;
    cursor: pointer;
  }
  .formbold-btn:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
  }

  .formbold--mx-3 {
    margin-left: -12px;
    margin-right: -12px;
  }
  .formbold-px-3 {
    padding-left: 12px;
    padding-right: 12px;
  }
  .flex {
    display: flex;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .w-full {
    width: 100%;
  }
  .formbold-form-header {
     background: #00BCD4;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: 8px 8px 0px 0px;
  }
  .formbold-form-header h3 {
    font-weight: 700;
    font-size: 20px;
    color: white;
    font-family: iransans;
  }
  .formbold-form-header button {
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    background-color: #00A9BE;
    border-radius: 50px;
  }
  .formbold-chatbox-form {
    padding: 32px 36px;
  }
  .formbold-action-buttons {
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 48px;
  }
  .formbold-action-btn {
    width: 70px;
    height: 70px;
    background: #00BCD4;
    color: white;
    border-radius: 50%;
    margin-left: 20px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .formbold-action-buttons  {
    display: block;
  }



  .formbold-action-buttons.active  {
    display: none;
  }
  @media (min-width: 540px) {
    .sm\:w-half {
      width: 50%;
    }
  }
  
@media (max-width: 480px) {
    .title-text {
    font-size: 10px !important;
    }
   .title-name {
    font-size: 15px !important;
    }
    .box-title {
    margin-left: 0.3rem !important;
    margin-right: 0.2rem !important;
    }
}  
  .infoai{
        margin: 10px;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    background-color: aliceblue;
    border-radius: 5px;
    color: #626262;
    line-height: 24px;
  }
  .box-title{
          margin-left: 5rem;
    margin-right: 0.5rem;
    line-height: 25px;
  }
  .title-name{
      font-size: 18px;
    font-weight: 800;
    color: #fff;
}
.title-text{
    font-size: 13px;
    color: #fff;
}
  }
  