/* Widget Chat WebCis - visual moderno, animações, UX aprimorada */
/* @import url(/admin/assets/custom-theme.css); */



@import "../admin/assets/custom-theme.css";


#chatcis-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: linear-gradient(135deg,var(--primary-dark) 60%,var(--primary-color) 100%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  animation: chatcis-fadein 0.7s;
}
#chatcis-btn:hover { background: linear-gradient(135deg,var(--primary-color) 60%,var(--primary-dark) 100%); box-shadow: 0 4px 18px #3d3d3d44; transform: scale(1.08); }
#chatcis-btn svg { transition: transform 0.2s; }
#chatcis-btn:active svg { transform: scale(0.92); }

/* Indicador de notificação */
#chatcis-notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff3e3e;
  color: white;
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  font-family: sans-serif;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
}
#chatcis-notification-badge.active {
  opacity: 1;
  transform: scale(1);
}
#chatcis-iframe {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 370px;
  max-width: 98vw;
  height: 520px;
  max-height: 90vh;
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 9999;
  background: #fff;
  display: none;
  animation: chatcis-fadein 0.5s;
  transition: box-shadow 0.2s, transform 0.2s;
  background-color: transparent;
  overflow: hidden;
}
#chatcis-iframe.open { display: block; animation: chatcis-slideup 0.4s; }
@media (max-width: 500px) {
  #chatcis-iframe { width: 94vw; right: 1vw; bottom: 1vw;}
}
@keyframes chatcis-fadein {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes chatcis-slideup {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* Avatar e header do chat */
#chatcis-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg,var(--primary-color) 80%,var(--primary-dark) 100%);
  color: #fff;
  padding: 15px;
  border-radius: 16px 16px 0 0;
  font-size: 1.1em;
  font-weight: 500;
  box-shadow: 0 2px 8px #3d3d3d44;
}
#chatcis-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px #0001; }
#chatcis-avatar svg { width: 28px; height: 28px; }
/* Toast/feedback */
#chatcis-toast {
  position: fixed;
  right: 15px;
  bottom: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0002;
  font-size: .8em;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#chatcis-toast.show { opacity: 1; pointer-events: auto; }

#chatcis-avatar circle{
  fill: var(--primary-color) !important;
}

circle path{
  stroke: var(--primary-color) !important;
}


#chatcis-form{
  padding: 15px;
}


