
*:focus {
  outline: none;
}

.rate {
  background: #fff;
  border-radius: 1em;
  height: 20em;
  width: 20em;
  padding: 1em;
  position: fixed;
  top: 100vh;
}
.rate .header {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}
.rate .header span {
  display: flex;
  gap: .6em;
}
.rate  .container {
            display: flex;
            gap: 10px;
            margin: .7em 0;
            
        }
.box {
            height: 5em;
            width: 6em;
            border: 2px solid #f1f1f1;
            cursor: pointer;
            border-radius: 5px;
            transition: background-color 0.3s, border-color 0.3s;
            display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
        }
        .box.selected {
            background-color: #d5c4f9;
            border-color: #bfa6f5;
        }
        .box:not(.selected):hover {
            background-color: #d5c4f9;
        }
        .rate textarea {
          height: 6em;
          resize: none;
          border: 2px solid #f1f1f1;
          border-radius: .4em;
          width: 100%;
          padding: .4em;
          margin: .5em 0;
        }
        .rate button {
          height: 2.5em;
          width: 100%;
          border: none;
          border-radius: 9999px;
          color: #fff;
          background: #111;
        }
        
        .chatbot-popup {
    background: #fff;
    height: 28em;
    width: 20em;
    border-radius: .7em;
    overflow: hidden;
    display: none;
    flex-direction: column;
    position: fixed;
    right: 4em;
    bottom: 7em;
}
        .chatbot-body {
          padding: 1em;
          height: 19em;
          padding: 20px;
    flex: 1;
    overflow: scroll;
       display: flex;
    flex-direction: column;
}
        .chatbot-body::-webkit-scrollbar {
          display: none;
        }
        .chatbot-message.bot-message {
    max-width: 60%;
    background: peachpuff;
    border-radius: .3em;
    padding: .4em;
    align-self: flex-start;
    color: #111;
}
.chatbot-message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    max-width: 80%;
    color: #fff;
}
.user-message {
    background-color: #0084ff;
    align-self: flex-end;
}
.chatbot-header {
  display: flex;
  justify-content: space-between;
  background: #bfa6f5;
          height: 3em;
          padding: .5em;
}
.chatbot-footer {
  border: 1px solid #f0f0f0;
  border-radius: .5em;
  margin: 0 .5em;
  height: 5em;
  padding: .4em;
  display: flex;
  flex-direction: column;
  
}
.chatbot-footer input {
  border: none;
  background: #fff;
  width: 100%;
  flex: 1;
}
.chatbot-footer button {
  align-self: flex-end;
  border: none;
  background: transparent;
  font-weight: bold;
  
}
.chatbot-footer span {
  align-self: flex-end;
  display: flex;
  gap: 1em;
  align-items: center;
}
button {
  cursor: pointer;
}

@media (max-width: 48em) {
  .chatbot-popup {
    height: 100vh;
    width: 100vw;
    border-radius: 0;
  }
  .chatbot-header {
    height: 10vh;
  }
  .chatbot-body {
    height: 70vh;
  }
}



.chatbot-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #f4f4f4;
    color: #121212;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.chatbot-btn:hover {
    background-color: #e0e0e0;
}