/* ============================================================
   SuaNet Painel v2 — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #0b1326;
  --bg2:          #0f1a35;
  --bg3:          #111e3e;
  --primary:      #ff6b00;
  --primary-dark: #cc5500;
  --primary-glow: rgba(255,107,0,0.25);
  --secondary:    #01f5a0;
  --sec-glow:     rgba(1,245,160,0.2);
  --text:         #dae2fd;
  --text-muted:   #7a8cbe;
  --text-dim:     #4a5680;
  --danger:       #ff4d6d;
  --warning:      #ffd166;
  --card-bg:      rgba(15,23,42,0.80);
  --card-border:  rgba(255,255,255,0.07);
  --input-bg:     rgba(10,18,40,0.9);
  --scrollbar:    rgba(255,107,0,0.4);
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    18px;
  --transition:   0.18s ease;
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.6);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── Glass Card ────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 24px;
  background: rgba(11,19,38,0.95);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  z-index: 100;
}

.topbar-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-logo span { color: var(--text); }

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.topbar-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
  font-size: 13px;
}

.topbar-nav a:hover,
.topbar-nav a.active {
  background: rgba(255,107,0,0.12);
  color: var(--primary);
}

.topbar-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.topbar-user .avatar {
  width: 32px; height: 32px;
  background: var(--primary-glow);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
}

/* ── Page wrapper ───────────────────────────────────────────── */
.page-content {
  margin-top: 56px;
  min-height: calc(100vh - 56px);
  overflow: hidden;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px var(--primary-glow); }

.btn-secondary {
  background: rgba(1,245,160,0.12);
  color: var(--secondary);
  border: 1px solid rgba(1,245,160,0.25);
}
.btn-secondary:hover { background: rgba(1,245,160,0.2); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); color: var(--text); }

.btn-danger {
  background: rgba(255,77,109,0.15);
  color: var(--danger);
  border: 1px solid rgba(255,77,109,0.25);
}
.btn-danger:hover { background: rgba(255,77,109,0.25); }

.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-icon { padding: 7px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* ── Inputs ─────────────────────────────────────────────────── */
.input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 9px 14px;
  outline: none;
  transition: var(--transition);
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.input::placeholder { color: var(--text-dim); }

textarea.input { resize: vertical; min-height: 80px; }

.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-bot { background: rgba(122,140,190,0.18); color: var(--text-muted); }
.badge-human { background: rgba(255,107,0,0.18); color: var(--primary); }
.badge-aguardando { background: rgba(255,209,102,0.18); color: var(--warning); }
.badge-finalizado { background: rgba(1,245,160,0.12); color: var(--secondary); }
.badge-pausado { background: rgba(255,77,109,0.12); color: var(--danger); }

/* ── Layout: 3-column ──────────────────────────────────────── */
.layout-3col {
  display: flex;
  height: calc(100vh - 56px);
  overflow: hidden;
}

.col-left {
  width: 280px;
  min-width: 240px;
  border-right: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.col-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.col-right {
  width: 340px;
  min-width: 300px;
  border-left: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Inbox list ─────────────────────────────────────────────── */
.inbox-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 56px);
  padding: 24px;
  max-width: 1000px;
  margin: 0 auto;
  gap: 16px;
}

.inbox-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.inbox-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.inbox-search .material-symbols-outlined {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 18px;
  pointer-events: none;
}

.inbox-search .input { padding-left: 36px; }

.filter-tabs {
  display: flex;
  gap: 4px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.filter-tab {
  padding: 5px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  border: none;
  background: transparent;
}

.filter-tab.active {
  background: var(--primary);
  color: #fff;
}

.inbox-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inbox-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.inbox-item:hover {
  border-color: rgba(255,107,0,0.3);
  background: rgba(255,107,0,0.05);
  transform: translateX(2px);
}

.inbox-avatar {
  width: 44px; height: 44px;
  background: var(--primary-glow);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.inbox-info { flex: 1; min-width: 0; }
.inbox-name { font-weight: 600; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-preview { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.inbox-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.inbox-time { font-size: 11px; color: var(--text-dim); }

/* ── Chat area ──────────────────────────────────────────────── */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--card-border);
  background: var(--bg2);
}

.chat-actions { display: flex; gap: 6px; margin-left: auto; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg-bubble {
  max-width: 72%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeIn 0.2s ease;
}

.msg-bubble.out {
  align-self: flex-end;
}

.msg-bubble.in {
  align-self: flex-start;
}

.msg-content {
  padding: 10px 14px;
  border-radius: 16px;
  line-height: 1.5;
  font-size: 13.5px;
  word-break: break-word;
}

.msg-bubble.out .msg-content {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-bubble.in .msg-content {
  background: var(--bg3);
  color: var(--text);
  border: 1px solid var(--card-border);
  border-bottom-left-radius: 4px;
}

.msg-meta {
  font-size: 10px;
  color: var(--text-dim);
  display: flex;
  gap: 6px;
  align-items: center;
}

.msg-bubble.out .msg-meta { justify-content: flex-end; }
.msg-bubble.msg-pending { opacity: .75; }

/* ── Message status checkmarks ────────────────────────────── */
.msg-status {
  font-family: 'Material Symbols Outlined';
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}
.msg-status.pending { color: rgba(255,255,255,0.5); }
.msg-status.sent    { color: rgba(255,255,255,0.65); }
.msg-status.read    { color: #53bdeb; }

.msg-audio audio {
  width: 230px;
  max-width: 100%;
  height: 38px;
  border-radius: 8px;
  accent-color: var(--primary);
  display: block;
}

.msg-image img {
  max-width: 260px;
  max-height: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  display: block;
  transition: opacity .15s;
}
.msg-image img:hover { opacity: .88; }

.msg-bubble.out .msg-content a { color: #fff; }
.msg-bubble.in  .msg-content a { color: var(--primary); }

/* ── Hover actions (reply button) ─────────────────────────── */
.msg-bubble {
  position: relative;
  flex-direction: row;
  align-items: flex-end;
  gap: 6px;
}
.msg-bubble.out { flex-direction: row-reverse; }
.msg-bubble > .msg-content { flex: 0 1 auto; }

.msg-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
  flex-shrink: 0;
  align-self: center;
}
.msg-bubble:hover .msg-actions {
  opacity: 1;
  pointer-events: auto;
}
.msg-action-btn {
  background: var(--bg3);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background .15s, color .15s;
}
.msg-action-btn:hover { background: var(--primary); color: #fff; }
.msg-action-btn .material-symbols-outlined { font-size: 15px; }

/* ── Quoted message inside bubble ─────────────────────────── */
.msg-quote {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 3px solid rgba(255,255,255,0.4);
  padding: 4px 8px;
  margin-bottom: 6px;
  border-radius: 4px;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 12px;
  opacity: .85;
}
.msg-bubble.in .msg-quote { border-color: var(--primary); }
.msg-quote {
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
}
.msg-quote-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.msg-quote-who { font-weight: 700; font-size: 11px; opacity: .9; }
.msg-quote-text { opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.msg-quote-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
  flex-shrink: 0;
}

/* ── Highlight flash when scrolled to ────────────────────── */
@keyframes msgHighlight {
  0%   { box-shadow: 0 0 0 3px var(--primary-glow); }
  100% { box-shadow: none; }
}
.msg-highlight > .msg-content {
  animation: msgHighlight 1.5s ease;
}

/* ── Meta row fix for row layout ─────────────────────────── */
.msg-bubble { flex-wrap: wrap; }
.msg-bubble .msg-meta { width: 100%; }

/* ── Chat input area ────────────────────────────────────────── */
.chat-input-area {
  border-top: 1px solid var(--card-border);
  padding: 14px 16px;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-textarea {
  flex: 1;
  background: var(--input-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 10px 14px;
  outline: none;
  resize: none;
  min-height: 44px;
  max-height: 160px;
  transition: var(--transition);
  font-family: inherit;
  font-size: 14px;
}
.chat-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.chat-textarea::placeholder { color: var(--text-dim); }

.chat-input-tools {
  display: flex;
  gap: 6px;
}

/* ── Right panel tabs ───────────────────────────────────────── */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--card-border);
  background: var(--bg2);
  padding: 0 4px;
  gap: 0;
}

.tab-btn {
  padding: 9px 11px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-btn:hover:not(.active) {
  color: var(--text);
}

.tab-panel {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.tab-panel.active { display: block; }

/* ── Left sidebar (conversa) ────────────────────────────────── */
.conv-sidebar {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.conv-sidebar-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
}

.info-label { color: var(--text-muted); font-size: 12px; }
.info-value { color: var(--text); font-weight: 500; text-align: right; max-width: 140px; word-break: break-word; }

.action-btn-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Toast notifications ────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  animation: slideUp 0.25s ease;
  max-width: 320px;
}

.toast-success { background: rgba(1,245,160,0.15); border: 1px solid rgba(1,245,160,0.3); color: var(--secondary); }
.toast-error   { background: rgba(255,77,109,0.15); border: 1px solid rgba(255,77,109,0.3); color: var(--danger); }
.toast-info    { background: rgba(255,107,0,0.15); border: 1px solid rgba(255,107,0,0.3); color: var(--primary); }

/* ── Login page ─────────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 30% 40%, rgba(255,107,0,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 70%, rgba(1,245,160,0.07) 0%, transparent 55%),
              var(--bg);
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: rgba(15,23,42,0.85);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.login-logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.login-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.error-msg {
  background: rgba(255,77,109,0.12);
  border: 1px solid rgba(255,77,109,0.25);
  color: var(--danger);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
}

/* ── Reports page ───────────────────────────────────────────── */
.reports-page {
  padding: 28px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-value.primary { color: var(--primary); }
.stat-value.secondary { color: var(--secondary); }

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  background: var(--bg2);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--card-border);
}

tbody td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

tbody tr:hover td { background: rgba(255,107,0,0.04); }
tbody tr:last-child td { border-bottom: none; }

/* ── Settings page ──────────────────────────────────────────── */
.settings-page {
  padding: 28px;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.settings-section {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.settings-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* ── Utility classes ────────────────────────────────────────── */
.flex  { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.text-sm  { font-size: 12px; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-danger { color: var(--danger); }
.font-bold { font-weight: 700; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.loading { animation: pulse 1.4s infinite; }
.divider { height: 1px; background: var(--card-border); margin: 12px 0; }

/* ── Media queries ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .col-right { width: 280px; min-width: 260px; }
  .col-left  { width: 240px; }
}

@media (max-width: 768px) {
  .layout-3col { flex-direction: column; }
  .col-left, .col-right { width: 100%; min-width: unset; border: none; height: auto; }
  .topbar-nav a span { display: none; }
}

/* ── Sugestões IA ───────────────────────────────────────────── */
.suggestion-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  transition: var(--transition);
  line-height: 1.5;
}

.suggestion-item:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
  color: var(--primary);
}

/* ── Notas ──────────────────────────────────────────────────── */
.nota-item {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,107,0,0.06);
  border: 1px solid rgba(255,107,0,0.15);
  font-size: 13px;
}

.nota-meta {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ── Chamado cards ──────────────────────────────────────────── */
.chamado-card {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chamado-title { font-weight: 600; }

.priority-urgente { color: var(--danger); }
.priority-alta    { color: var(--warning); }
.priority-normal  { color: var(--text-muted); }
.priority-baixa   { color: var(--text-dim); }

/* ── Financeiro ─────────────────────────────────────────────── */
.cobranca-card {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ── Status dot ─────────────────────────────────────────────── */
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-bot       { background: var(--text-muted); }
.dot-human     { background: var(--primary); box-shadow: 0 0 6px var(--primary-glow); }
.dot-aguardando { background: var(--warning); }
.dot-finalizado { background: var(--secondary); }
.dot-pausado   { background: var(--danger); }

/* ── Paste preview ──────────────────────────────────────────── */
#paste-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}

#paste-preview img {
  max-height: 60px;
  border-radius: 6px;
}
