*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
  width:100%;
  overflow-x:hidden;
}

body{
  background:#111;
  padding-top:72px;
  padding-bottom:80px;
  font-family:Arial, sans-serif;
  color:#fff;
}

/* TOP BAR */
.chat-topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:72px;
  background:#111;
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 16px;
  z-index:99999;
}

.chat-back{
  width:44px;
  height:44px;
  min-width:44px;
  border-radius:50%;
  background:#222;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  text-decoration:none;
}

.chat-topbar h3{
  margin:0;
  font-size:24px;
  font-weight:800;
  color:#fff;
}

.chat-topbar p{
  margin:2px 0 0;
  font-size:13px;
  color:#999;
  display:block;
}

/* REMOVE BOOTSTRAP SPACE */
.container,
.row,
.col-md-12{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

.box-table{
  margin:0 !important;
  padding:0 !important;
  background:#111 !important;
  border:none !important;
  box-shadow:none !important;
}

.box-table h2,
.inbox-conversations thead{
  display:none !important;
}

.table-responsive{
  overflow:hidden !important;
  margin:0 !important;
  padding:0 !important;
  border:none !important;
}

/* TABLE TO CHAT LIST */
.inbox-conversations,
.inbox-conversations tbody,
.inbox-conversations tr,
.inbox-conversations td{
  display:block !important;
  width:100% !important;
}

.inbox-conversations{
  margin:0 !important;
  border:0 !important;
  border-collapse:collapse !important;
}

/* CHAT ITEM */
.inbox-conversations tr{
  position:relative;
  min-height:78px;
  background:#111;
  padding:10px 14px 10px 100px !important;
  border:none !important;
}

.inbox-conversations tr:active{
  background:#1c1c1c;
}

.inbox-conversations td{
  border:none !important;
  padding:0 !important;
  margin:0 !important;
}

/* AVATAR */
.inbox-seller{
  display:block !important;
}

.inbox-seller img{
  position:absolute;
  left:18px;
  top:12px;
  width:56px !important;
  height:56px !important;
  min-width:56px !important;
  max-width:56px !important;
  object-fit:cover;
  border-radius:50%;
  background:#333;
}

/* NAME */
.inbox-seller h6{
  margin:0 !important;
  padding:0 !important;
  position:absolute;
  left:100px;
  right:95px;
  top:13px;
  font-size:17px;
  font-weight:800;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.inbox-seller h6 a{
  color:#fff !important;
  text-decoration:none !important;
}

.inbox-seller small{
  display:none !important;
}

/* LAST MESSAGE */
.inbox-conversations td:nth-child(2){
  position:absolute;
  left:100px;
  right:75px;
  top:38px;
  width:auto !important;
  font-size:15px;
  color:#9b9b9b;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.inbox-conversations td:nth-child(2) a{
  color:#9b9b9b !important;
  text-decoration:none !important;
}

/* TIME */
.inbox-conversations td:nth-child(3){
  position:absolute;
  top:15px;
  right:14px;
  width:auto !important;
  max-width:80px;
  font-size:12px;
  color:#9b7cff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-align:right;
}

.inbox-conversations td:nth-child(4){
    position:absolute;
    right:12px;
    bottom:12px;
    display:block !important;
    width:auto !important;
}

.inbox-conversations .btn-danger{
    width:26px;
    height:26px;
    padding:0;
    border:none;
    background:transparent !important;
    color:#666 !important;
    display:flex;
    align-items:center;
    justify-content:center;
}

.inbox-conversations .btn-danger:hover{
    color:#ff4d4f !important;
}

/* UNREAD */
.table-active{
  background:#181818 !important;
}

.table-active .inbox-seller h6 a{
  color:#fff !important;
}

.table-active td:nth-child(2) a{
  color:#cfcfcf !important;
  font-weight:600;
}

/* MOBILE BOTTOM NAV FIX */
.mobile-bottom-nav,
.bottom-nav{
  background:#111 !important;
  border-top:1px solid #222 !important;
}

/* DESKTOP */
@media(min-width:769px){
  body{
    background:#0f0f0f;
  }

  .container{
    max-width:620px !important;
    margin:auto !important;
  }
}



.chat-menu{
    color:#777;
    font-size:16px;
    text-decoration:none;
}