/* Cleubi.com - Salve oficial dentro da fileira nova.
   Não restaura o Salve antigo solto.
   Não mexe no banco.
   Não mexe no visual geral da publicação. */

.clbs-actions{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:7px !important;
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  scrollbar-width:none !important;
  scroll-snap-type:x proximity !important;
  box-sizing:border-box !important;
  padding:4px 2px 6px !important;
  margin-top:12px !important;
  clear:both !important;
}

.clbs-actions::-webkit-scrollbar{
  display:none !important;
}

.clbs-actions .clbs-btn{
  flex:0 0 auto !important;
  box-sizing:border-box !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

/* Botão Salve: primeiro, flexível e um pouco maior */
.clbs-actions .clbs-btn[data-action="salve"],
.clbs-actions .clbs-salve{
  order:1 !important;
  min-width:74px !important;
  width:auto !important;
  max-width:118px !important;
  height:42px !important;
  min-height:42px !important;
  border-radius:14px !important;
  padding:4px 9px !important;
  display:inline-flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:1px !important;
  background:#fff !important;
  border:1.2px solid rgba(30,41,59,.55) !important;
  color:#24304a !important;
  box-shadow:0 6px 14px rgba(15,23,42,.12) !important;
}

.clbs-actions .clbs-btn[data-action="salve"].is-active,
.clbs-actions .clbs-salve.is-active{
  background:#fff2df !important;
  border-color:#ff8a1c !important;
  color:#8a3b00 !important;
  box-shadow:0 8px 18px rgba(255,122,24,.18) !important;
}

/* Outros botões: continuam depois do Salve */
.clbs-actions .clbs-btn[data-action="ideia"]{ order:2 !important; }
.clbs-actions .clbs-btn[data-action="ecoar"]{ order:3 !important; }
.clbs-actions .clbs-btn[data-action="guardar"]{ order:4 !important; }
.clbs-actions .clbs-btn[data-action="elo"]{ order:5 !important; }
.clbs-actions .clbs-btn[data-action="retocar"]{ order:6 !important; }
.clbs-actions .clbs-btn[data-action="remover"]{ order:7 !important; }

/* Tamanho dos textos dentro do Salve */
.clbs-actions .clbs-btn[data-action="salve"] .clbs-emoji,
.clbs-actions .clbs-salve .clbs-emoji{
  font-size:15px !important;
  line-height:1 !important;
}

.clbs-actions .clbs-btn[data-action="salve"] .clbs-count,
.clbs-actions .clbs-salve .clbs-count{
  font-size:12px !important;
  line-height:1 !important;
  font-weight:950 !important;
}

.clbs-actions .clbs-btn[data-action="salve"] .clbs-label,
.clbs-actions .clbs-salve .clbs-label{
  font-size:10px !important;
  line-height:1 !important;
  font-weight:950 !important;
}

/* Dá respiro no fim da rolagem horizontal */
.clbs-actions::after{
  content:"" !important;
  display:block !important;
  flex:0 0 8px !important;
  width:8px !important;
  height:1px !important;
  order:99 !important;
}

/* Celular */
@media(max-width:760px){
  .clbs-actions{
    gap:6px !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .clbs-actions .clbs-btn[data-action="salve"],
  .clbs-actions .clbs-salve{
    min-width:68px !important;
    max-width:108px !important;
    height:40px !important;
    min-height:40px !important;
    border-radius:13px !important;
    padding:4px 8px !important;
  }

  .clbs-actions .clbs-btn[data-action="salve"] .clbs-emoji,
  .clbs-actions .clbs-salve .clbs-emoji{
    font-size:14px !important;
  }

  .clbs-actions .clbs-btn[data-action="salve"] .clbs-count,
  .clbs-actions .clbs-salve .clbs-count{
    font-size:11px !important;
  }

  .clbs-actions .clbs-btn[data-action="salve"] .clbs-label,
  .clbs-actions .clbs-salve .clbs-label{
    font-size:9.5px !important;
  }
}

@media(max-width:430px){
  .clbs-actions .clbs-btn[data-action="salve"],
  .clbs-actions .clbs-salve{
    min-width:64px !important;
    max-width:104px !important;
    height:39px !important;
    min-height:39px !important;
  }
}
