/* Local helpers required by the enforced CSP. */
.fa,
.fa-solid,
.fa-brands,
.fas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.fa-circle-check::before { content: "check_circle"; }
.fa-star::before { content: "star"; }
.fa-heart::before { content: "favorite"; }
.fa-clock::before { content: "schedule"; }
.fa-arrow-left::before { content: "arrow_back"; }
.fa-check-circle::before { content: "check_circle"; }
.fa-info-circle::before { content: "info"; }
.fa-whatsapp::before { content: "chat"; }

.star-glow {
  box-shadow: 0 0 var(--star-glow-size, 4px) rgba(255,255,255,0.8);
}

.rj-floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37,211,102,0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}
.rj-floating-whatsapp:hover {
  transform: scale(1.15) rotate(5deg);
}

.rj-floating-telegram {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #229ED9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(34,158,217,0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}
.rj-floating-telegram:hover {
  transform: scale(1.15) rotate(5deg);
}
.rj-floating-telegram svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

#popoverComoUsarBot {
  display: none;
}
#popoverComoUsarBot.is-visible {
  display: block;
}
@media (max-width: 600px) {
  #popoverComoUsarBot {
    right: 8px !important;
    left: 8px !important;
    max-width: 98vw !important;
    min-width: unset !important;
    width: calc(100vw - 16px) !important;
  }
  #popoverComoUsarBot .popover-body {
    max-height: 60vh !important;
    overflow-y: auto !important;
  }
}

.rj-bot-chip-reserved {
  border: 1px solid rgba(74,222,128,0.3);
  background: rgba(74,222,128,0.1);
}
.rj-chip-dot-reserved {
  background: var(--rj-primary);
}
.rj-priority-badge {
  background: var(--rj-primary, #4ade80);
  color: var(--rj-bg, #0a1f12);
  font-weight: bold;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  margin-left: auto;
}
.rj-sector-chip {
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  margin-right: 4px;
}
.rj-focus-border:focus {
  border-color: rgba(255,255,255,0.25) !important;
}
.rj-focus-border:not(:focus) {
  border-color: rgba(255,255,255,0.1);
}
.rj-contas-main {
  background: linear-gradient(rgba(24,28,36,0.92), rgba(13,17,23,0.92)), url("/assets/img/fielcadastrar.png") center center / cover no-repeat;
}
body[data-theme="avanti"] .rj-contas-main {
  background-image: linear-gradient(rgba(24,28,36,0.92), rgba(13,17,23,0.92)), url("/assets/img/avanticadastrar.png");
}

/* Minimal local utility layer for the admin dashboard after removing Tailwind CDN. */
.min-h-screen { min-height: 100vh; }
.p-8 { padding: 2rem; }
.p-6 { padding: 1.5rem; }
.p-4 { padding: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.grid { display: grid; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.relative { position: relative; }
.absolute { position: absolute; }
.top-4 { top: 1rem; }
.right-4 { right: 1rem; }
.h-3 { height: 0.75rem; }
.w-3 { width: 0.75rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-gray-700 { border-color: #374151; }
.border-red-700 { border-color: #b91c1c; }
.border-opacity-50 { --bs-border-opacity: 0.5; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-800 { background-color: #1f2937; }
.bg-red-900 { background-color: #7f1d1d; }
.bg-black { background-color: #000; }
.bg-opacity-30 { background-color: rgba(0,0,0,0.3); }
.bg-blue-400 { background-color: #60a5fa; }
.bg-blue-500 { background-color: #3b82f6; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-center { text-align: center; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-blue-400 { color: #60a5fa; }
.text-red-100 { color: #fee2e2; }
.text-white { color: #fff; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.shadow-\[0_0_15px_rgba\(153\,27\,27\,0\.5\)\] { box-shadow: 0 0 15px rgba(153,27,27,0.5); }
.transition { transition: all 0.15s ease; }
.hover\:bg-gray-700:hover { background-color: #374151; }
.hover\:bg-red-800:hover { background-color: #991b1b; }
.animate-ping {
  animation: rjPing 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes rjPing {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
