
/* V12.5.35e — Assistência usa os componentes visuais oficiais do Portal. */

.support-open-modal.client-invite-modal,
.support-thread-modal.client-invite-modal,
.support-existing-modal.client-invite-modal{
  min-width:min(720px,80vw);
  max-width:760px;
}

.support-open-basic{
  padding-top:2px;
}
.support-open-basic .support-span-2{
  grid-column:1/-1;
}
.support-open-basic textarea{
  width:100%;
  min-height:96px;
  box-sizing:border-box;
  border:1px solid #d0d5dd;
  border-radius:10px;
  padding:10px 12px;
  font:inherit;
  resize:vertical;
}

.support-terms-slot{
  min-height:0;
}
.support-terms-slot:empty{
  display:none;
}
.support-terms-slot .notice,
.support-terms-slot .support-terms{
  margin:0;
}

.support-awareness{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:12px 14px;
  border:1px solid #e7ebf1;
  border-radius:12px;
  background:#fcfdff;
  color:#344054;
  line-height:1.45;
}
.support-awareness input{
  margin-top:2px;
  flex:0 0 auto;
}

.support-thread-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.support-thread{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:180px;
  max-height:42vh;
  overflow:auto;
  padding:14px;
  border:1px solid #e7ebf1;
  border-radius:12px;
  background:#f8fafc;
}
.support-message{
  width:max-content;
  min-width:120px;
  max-width:72%;
  padding:9px 11px;
  border:1px solid #e4e7ec;
  border-radius:12px;
  background:#fff;
  overflow-wrap:anywhere;
}
.support-message.customer{
  align-self:flex-end;
  background:#fff7f7;
  border-color:#f0d9dc;
}
.support-message.staff{
  align-self:flex-start;
}
.support-message>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.support-message p{
  margin:5px 0 0;
  white-space:pre-wrap;
  line-height:1.45;
}
.support-conclusion{
  margin:0;
}
.support-reply{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:10px;
}
.support-reply textarea{
  width:100%;
  min-height:72px;
  box-sizing:border-box;
  border:1px solid #d0d5dd;
  border-radius:10px;
  padding:10px 12px;
  font:inherit;
  resize:vertical;
}
.support-reply .btn{
  min-width:130px;
}

.support-existing-list{
  display:grid;
  gap:8px;
}
.support-existing-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  width:100%;
  border:1px solid #e7ebf1;
  border-radius:10px;
  background:#fff;
  padding:11px 12px;
  text-align:left;
  cursor:pointer;
}
.support-existing-row:hover{
  background:#f8fafc;
}
.support-existing-row span:first-child{
  display:grid;
  gap:2px;
}
.support-existing-row small{
  color:#667085;
}

@media(max-width:640px){
  .support-open-modal.client-invite-modal,
  .support-thread-modal.client-invite-modal,
  .support-existing-modal.client-invite-modal{
    min-width:0;
    max-width:none;
    width:auto;
  }
  .support-open-basic .support-span-2{
    grid-column:auto;
  }
  .support-thread-head{
    flex-direction:column;
  }
  .support-message{
    max-width:92%;
  }
  .support-reply{
    grid-template-columns:1fr;
  }
  .support-reply .btn{
    width:100%;
  }
  .support-existing-row{
    align-items:flex-start;
    flex-direction:column;
  }
}
