.chat_screen {
  padding: 0 0 70px;
  @media (max-width: 991px) {
    padding: 0 0 50px;
  }

  .box {
    background: #fff;
    border-radius: 26px;
    padding: 30px;
    margin-top: 20px;

    .section_content {
      h2 {
        font-size: 22px;
        font-weight: 700;
        line-height: 26px;
        color: #282828;
        margin-bottom: 22px;
      }
    }

    .users_chat_list {
      padding: 0 20px 0 0;
      height: 80vh;
      overflow-y: scroll;


      /* width */
      &::-webkit-scrollbar {
        width: 5px;
      }

      /* Track */
      &::-webkit-scrollbar-track {
        border-radius: 26px;
        background: transparent;
      }

      /* Handle */
      &::-webkit-scrollbar-thumb {
        background: #D9D9D9;
        border-radius: 26px;
      }

      /* Handle on hover */
      &::-webkit-scrollbar-thumb:hover {
        background: #D9D9D9;
      }

      .users_chat_list_box_cselem.active {
        background-color: #EBF8F6;
      }

      .users_chat_list_box_cselem.offline {
        background-color: #F2F4F5;
      }

      .users_chat_list_box_cselem {
        display: flex;
        align-items: center;
        padding: 20px 20px;
        margin-bottom: 15px;
        border-radius: 12px;
        position: relative;
        @media (max-width: 1199px) {
          display: block;
        }

        .img-bx-pr-cslem {
          margin-right: 20px;
          @media (max-width: 1199px) {
            margin: 0 0 15px;
          }

          img {
            border-radius: 100%;
            height: 60px;
            width: 60px;
            object-fit: cover;
          }
        }

        .name-bx-pr-cslem {

          a {
            color: #282828;
            font-style: normal;
            margin-bottom: 0;
            font-size: 16px;
            font-weight: 600;
            text-decoration: none;
            line-height: 19px;


            .pink_circle {
              display: inline-block;
              height: 10px;
              width: 10px;
              background: #00C5B4;
              border-radius: 100px;
              margin-left: 10px;
              position: absolute;
              right: 25px;
              @media (max-width: 1199px) {
                top: 0;
                bottom: 0;
                margin: auto;
              }
            }
          }

          p {
            color: #616161;
            font-size: 12px;
            font-weight: 400;
            letter-spacing: 0.2px;
            margin-bottom: 0;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            text-overflow: ellipsis;
            overflow: hidden;
          }
        }

        .is_online_yes {
          position: relative;

          &:after {
            content: '';
            height: 15px;
            width: 15px;
            background: #01C7A3;
            display: block;
            border-radius: 100%;
            position: absolute;
            right: 5px;
            bottom: 0;
            border: 2px solid #f5f5f5;
            @media (max-width: 1199px) {
              right: auto;
              left: 40px;
            }
          }
        }

        .is_online_no {
          position: relative;

          &:after {
            content: '';
            height: 15px;
            width: 15px;
            background: #858686;
            display: block;
            border-radius: 100%;
            position: absolute;
            right: 5px;
            bottom: 0;
            border: 2px solid #f5f5f5;
            @media (max-width: 1199px) {
              right: auto;
              left: 40px;
            }
          }
        }

        .active_time_cs_elem {
          position: absolute;
          right: 20px;
          bottom: 10px;
          @media (max-width: 1199px) {
            bottom: 3px;
          }

          span {
            color: #616161;
            text-align: right;
            font-size: 10px;
            font-style: normal;
            font-weight: 400;
            line-height: 140%;
          }
        }
      }

      hr {
        background: #767676;
        margin: 0px auto 10px auto;
        width: 90%;
      }

    }


    .message_base_parent {

      padding: 0 0;
      border-radius: 22px;
      background: #FEFEFE;

      .message_box_inner {
        .top_box_inner {
          border-radius: 22px 22px 0 0;
          background: #E8ECF3;
          padding: 20px;
          margin-bottom: 50px;

          .users_chat_list_box_cselem {
            display: flex;
            align-items: center;

            h5 {
              color: #212121;
              font-size: 16px;
              font-style: normal;
              font-weight: 700;
              margin-bottom: 0;
            }

            span {
              color: #616161;
              font-size: 12px;
              font-style: normal;
              font-weight: 400;
              letter-spacing: 0.2px;
            }

            .dots {
              position: absolute;
              right: 30px;
              top: 0;
              bottom: 0;
              margin: auto;
              display: flex;
              align-items: center;
            }

            .img-bx-pr-cslem {
              margin-right: 10px;
              position: relative;

              img {
                border-radius: 100%;
                height: 60px;
                width: 60px;
                object-fit: cover;
              }
            }

            .is_online_yes:after {
              content: "";
              height: 15px;
              width: 15px;
              background: #01c7a3;
              display: block;
              border-radius: 100%;
              position: absolute;
              right: 5px;
              bottom: 0px;
              border: 2px solid #f5f5f5;
            }
          }

        }

        .chat_wrapper_inner {
          height: 60vh;
          overflow-y: scroll;

          /* width */
          &::-webkit-scrollbar {
            width: 0;
          }

          /* Track */
          &::-webkit-scrollbar-track {
            box-shadow: inset 0 0 5px #f0f0f0;
            border-radius: 10px;
          }

          /* Handle */
          &::-webkit-scrollbar-thumb {
            background: transparent;
            border-radius: 10px;
          }

          /* Handle on hover */
          &::-webkit-scrollbar-thumb:hover {
            background: transparent;
          }

          .date_badge {
            p {
              width: fit-content;
              margin: 0 auto;
              color: #000;
              font-size: 10px;
              font-style: normal;
              font-weight: 400;
              letter-spacing: 0.2px;
              border-radius: 4px;
              background: #DCDCDC;
              padding: 5px 10px;
            }
          }

          span {
            color: #9E9E9E;
            font-size: 10px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            letter-spacing: 0.2px;
          }

          .sent_message {
            text-align: right;
            padding: 10px 30px;
            width: 100%;

            p {
              background: #94A3B8;
              max-width: 285px;
              padding: 10px 20px;
              position: relative;
              margin: 0 0 0 auto;
              border-radius: 22px;
              border-top-right-radius: 0;
              color: #FCFCFC;
              font-size: 12px;
              font-style: normal;
              text-align: left;
              font-weight: 400;
              letter-spacing: 0.2px;
            }
          }

          .recieve_message {
            text-align: left;
            padding: 10px 30px;
            width: 100%;

            p {
              background: #060B16;
              max-width: 285px;
              padding: 10px 20px;
              position: relative;
              margin: 0 auto 0 0;
              border-radius: 22px;
              border-top-left-radius: 0;
              color: #fff;
              font-size: 12px;
              font-style: normal;
              font-weight: 400;
              letter-spacing: 0.2px;
            }
          }
        }

        .bottom_box_inner {
          padding: 20px;
          display: flex;
          align-items: center;
          @media (max-width: 575px) {
            padding: 20px 5px;
          }

          .input-group {
            padding: 11px 20px;
            border-radius: 15px;
            background: #F2F4F5;
            margin-right: 20px;
            @media (max-width: 575px) {
              padding: 10px;
              margin-right: 0;
            }

            input.form-control {
              border: none;
              background: transparent;
              padding: 0 12px;

              &::placeholder {
                font-size: 14px;
                font-weight: 500;
                line-height: 19px;
                letter-spacing: 0.20000000298023224px;
                color: #9E9E9E;
              }

              &:focus {
                box-shadow: none;
              }
            }
          }

          .sendmessagechatbox_btn {
            background: #3F72AF;
            border-radius: 100%;
            @media (max-width: 1199px) {
              margin-left: 10px;
              svg {
                width: 50px;
                height: 50px;
              }
            }

            &:focus {
              box-shadow: none;
            }
          }
        }

      }
    }

    .bottom_box_inner {
      .form-control {
        @media (max-width: 575px) {
          padding-left: 5px;
        }
      }
    }
  }

  .input-group .btn {
    @media (max-width: 575px) {
      padding-left: 0;
      padding-right: 5px;
    }
  }
}
