* {
    /* margin: auto; */
    /* padding: 0; */
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
  }
  
  ::-webkit-scrollbar {
    width: 10px;
    max-height: 10px;
    height: 10px !important;
  }
  
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0ed360 0%, #6ee6a5 100%);
    border-radius: 10px;
  }
  
  #chat-bot-title {
    color: green;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    font-size: 2em;
  
  }
  
  .letter {
    display: inline-block;
    /* animation: colorChange 2s infinite; */
  }
  
  @keyframes colorChange {
    0% {
      color: green;
    }
  
    25% {
      color: blue;
    }
  
    50% {
      color: yellow;
    }
  
    75% {
      color: red;
    }
  
    100% {
      color: green;
    }
  }
  
  .chat {
    width: 100%;
    height: 100vh;
    background-color: #edf1f2;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px 20px;
    border-radius: 5px;
    overflow-y: auto;
    position: relative;
  }
  
  
  
  .loader {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: fixed;
    left: 50%;
    left: calc(55% - 98px);
    top: 47%;
    z-index: 1000;
    display: none;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  .blur {
    filter: blur(5px);
  }
  
  .unclickable {
    pointer-events: none;
  }
  
  #chat-history {
    height: 100%;
    overflow-y: auto;
    overflow-y: auto;
    border: 1px solid #2d87cc;
    border-radius: 8px;
    background-color: #F9FAFB !important;
  }
  
  .chat-message {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    border-radius: 12px;
  }
  
  
  .user-message {
    margin-left: auto;
    flex-direction: row-reverse;
  }
  
  .bot-message {
    justify-content: flex-start;
  
  }
  
  .chat-icon {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 10px;
  }
  
  .message-content {
    background-color: #EDF1F2;
    padding: 10px;
    border-radius: 10px;
    word-wrap: break-word;
    margin-right: 0px;
    margin-left: 0px;
    align-items: center;
    gap: 10px;
  }
  
  .messagebar {
    width: 100%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: center;
  }
  
  .bar-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 86%;
  }
  
  #user_input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 1rem;
  }
  
  #user_input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
  }
  
  #submit-button,
  #upload-icon,
  #voice-button {
    background-color: #43bdf3;
    border: 1px solid #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.2rem;
  }
  
  #submit-button {
    background-color: #43bdf3;
    color: #fff;
    right: 10px;
  }
  
  #upload-icon {
    color: #fff;
    right: 90px;
  }
  
  #voice-button {
    color: #fff;
    right: 50px;
  }
  
  
  label[for="file"] i {
    font-size: 18px;
    cursor: pointer;
  }
  
  .success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    position: absolute;
    bottom: 0px;
  }
  
  .mic-icon {
    font-size: 50px;
    color: red;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
  }
  
  .blur {
    filter: blur(0px);
    pointer-events: none;
  }
  
  .unclickable {
    pointer-events: none;
  }
  
  audio {
    width: 245px !important;
    height: 37px !important;
  }
  
  .header-title {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  .typing-indicator .typing-dot:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .typing-indicator .typing-dot:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  
  @keyframes typing {
  
    0%,
    80%,
    100% {
      opacity: 0;
    }
  
    40% {
      opacity: 1;
    }
  }
  
  .typing-indicator {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #555;
    margin: 10px 0;
  }
  
  .typing-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #555;
    border-radius: 50%;
    animation: typing 1.5s infinite ease-in-out;
  }
  
  .image-circle {
    border-radius: 50%;
    padding: 5px;
    border: 1px solid #f0f1f2;
    padding: 5px;
    background-color: #fff;
  }
  
  .copy-right {
    padding: 6px 0;
    text-align: center;
    margin: 0 auto;
  }
  
  
  .chat-container {
    width: 100%;
    height: 100vh;
    background-color: #edf1f2;
    ;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
  }
  
  .chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 0 20px;
    background-color: white;
    border-bottom: 1px solid #e9ecef;
  }
  
  .chat-title {
    display: flex;
    align-items: center;
    /* font-size: 1.5rem; */
    font-weight: 600;
    color: var(--text-color);
    gap: 10px;
    border-radius: 50%;
  
    img {
      padding: 3px;
    }
  }
  
  .user-message .message-content strong {
    font-size: 14px;
    color: #333;
  }
  
  .header-icon {
    border-radius: 50%;
    border: 2px solid #43bdf336;
    padding: 2px;
  }