.help {
  position: fixed;
  z-index: 100;
  width: 370px;
  height: 80vh;
  min-height: 300px;
  background-color: var(--bg);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 7px;
  border: 2px solid var(--secondary);
  > header {
    background: var(--primary);
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary);
    font-size: 25px;
    font-weight: bold;
  }
  .messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: 400px;
    &::-webkit-scrollbar {
      display: none;
    }
  }

  main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px;
    max-height: 400px;

    .incoming {
      background-color: #e6e5eb;
      color: var(--text);
      padding: 15px;
      width: 90%;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      border-bottom-right-radius: 10px;
      font-size: 13px;
    }
    .outgoing {
      direction: rtl;
      align-self: flex-end;
      background-color: #e6e5eb;
      color: var(--text);
      padding: 15px;
      width: 90%;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      border-bottom-left-radius: 10px;
      font-size: 13px;
    }
    .socket_input {
      background: #e6e5eb95;
      outline: none;
      border: none;
      border-radius: 4px;
      padding: 6px 10px;
      width: 100%;

      color: var(--text);
      &::placeholder {
        color: #9f9f9f;
      }
    }
  }
}

.black_bg {
  position: fixed;
  top: 0;
  left: 0;
  background-color: black;
  opacity: 0.4;
  filter: blur(5px) brightness(0.8) contrast(120%);
  z-index: 99;
  width: 100%;
  height: 100vh;
}
