/* Assistente Pro — Painel · base do design Claude Design */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #08080a;
  color: #e9e9ee;
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1f1f24; border-radius: 8px; border: 2px solid #08080a; }
::-webkit-scrollbar-thumb:hover { background: #33333a; }
[data-lucide] { width: 1em; height: 1em; stroke-width: 2; }

@keyframes apPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes apGlow { 0%,100% { box-shadow: 0 0 22px -6px rgba(255,42,58,.55); } 50% { box-shadow: 0 0 40px -4px rgba(255,42,58,.85); } }
@keyframes apRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ap-bg {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,42,58,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255,42,58,.06), transparent 55%),
    #08080a;
}
.view-anim { animation: apRise .35s ease both; }

/* ---- componentes ---- */
.navitem {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 11px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s;
  background: transparent; color: #9a9aa4; white-space: nowrap;
}
.navitem:hover { background: rgba(255,255,255,.04); color: #e9e9ee; }
.navitem.active {
  background: linear-gradient(90deg, rgba(255,42,58,.16), rgba(255,42,58,.04));
  color: #fff; box-shadow: inset 2px 0 0 #ff2a3a;
}
.navitem .dot { width: 6px; height: 6px; border-radius: 50%; background: #ff2a3a; box-shadow: 0 0 8px #ff2a3a; }

.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 16px; border: none; border-radius: 11px;
  background: linear-gradient(180deg, #ff3a48, #e0111f); color: #fff;
  font-weight: 700; font-size: 13.5px; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(255,42,58,.7);
  transition: filter .15s;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 16px; border-radius: 11px;
  background: #121215; border: 1px solid rgba(255,255,255,.09); color: #e9e9ee;
  font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: border-color .15s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.2); }
.btn-outline.red { border-color: rgba(255,42,58,.3); }
.btn-outline.red:hover { border-color: rgba(255,42,58,.6); }
.btn-wa {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: none; border-radius: 11px; background: #25D366; color: #062b16;
  font-weight: 700; font-size: 13.5px; cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(37,211,102,.6); transition: filter .15s;
}
.btn-wa:hover { filter: brightness(1.06); }

.card { border-radius: 16px; background: #141416; border: 1px solid rgba(255,255,255,.06); }
.card-red { border-radius: 16px; background: linear-gradient(160deg,#141416,#0f0b0b); border: 1px solid rgba(255,42,58,.22); }
.row-hover { transition: border-color .15s; }
.row-hover:hover { border-color: rgba(255,42,58,.3); }

.chip {
  padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: #121215; border: 1px solid rgba(255,255,255,.09); color: #b9b9c2; cursor: pointer;
}
.chip.active {
  background: linear-gradient(180deg,#ff3a48,#e0111f); color: #fff; border-color: transparent;
}

.badge-demo {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(251,191,36,.12); color: #fbbf24;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}

/* toggle */
.tgl { width: 46px; height: 26px; border-radius: 999px; flex-shrink: 0; padding: 3px; display: flex; cursor: pointer; border: none; transition: background .2s; }
.tgl .knob { width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.tgl.on { background: linear-gradient(90deg,#c40f1c,#ff3a48); justify-content: flex-end; }
.tgl.off { background: #2a2a30; justify-content: flex-start; }
.tgl:disabled { opacity: .45; cursor: not-allowed; }

.input-like {
  height: 44px; display: flex; align-items: center; padding: 0 13px;
  border-radius: 11px; background: #0e0e10; border: 1px solid rgba(255,255,255,.08);
  font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---- responsivo (do design) ---- */
@media (max-width: 1024px) {
  .grid-2col { grid-template-columns: 1fr !important; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr !important; }
  aside.sidebar {
    position: fixed !important; top: auto !important; bottom: 0; left: 0; right: 0;
    height: auto !important; flex-direction: row !important; align-items: center;
    overflow-x: auto; overflow-y: hidden; z-index: 60;
    border-right: none !important; border-top: 1px solid rgba(255,255,255,.08);
    padding: 8px 10px !important; gap: 4px;
    background: rgba(11,11,13,.94); backdrop-filter: blur(14px);
  }
  aside.sidebar .side-brand, aside.sidebar .side-cta { display: none !important; }
  aside.sidebar nav { flex-direction: row !important; flex: 1; gap: 2px !important; }
  aside.sidebar .navitem .dot { display: none !important; }
  main.main { padding-bottom: 92px !important; }
  .hd-badges { display: none !important; }
}
@media (max-width: 760px) {
  .login-grid { grid-template-columns: 1fr !important; }
  .login-left { display: none !important; }
}
@media (max-width: 520px) {
  aside.sidebar .navitem span.lbl { display: none !important; }
  main.main { padding: 16px !important; padding-bottom: 84px !important; }
  .hd-wa-label { display: none; }
}
