/* ============================================================
   STK Polish — Camada de refinamento visual
   ------------------------------------------------------------
   Eleva a apresentação sem alterar estrutura/HTML.
   Carregar APÓS main.css para cascade correto.
   ============================================================ */

/* ============================================================
   1. Hero — atmosfera mais rica e dimensional
   ============================================================ */

.hero::before {
  background:
    radial-gradient(ellipse 55% 45% at 50% 45%, rgba(39, 57, 189, 0.28), transparent 70%),
    radial-gradient(ellipse 35% 28% at 30% 70%, rgba(0, 208, 231, 0.14), transparent 60%),
    radial-gradient(ellipse 30% 25% at 75% 35%, rgba(0, 178, 255, 0.10), transparent 60%);
  animation: stk-hero-breathe 14s ease-in-out infinite;
}

@keyframes stk-hero-breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.88; transform: scale(1.04); }
}

/* Grid sutil sobre o hero para dar profundidade tech */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   2. Illustration — presença + leve float
   ============================================================ */

.stk-hero-illustration {
  opacity: 0.42;
  filter: brightness(0) invert(1) drop-shadow(0 0 32px rgba(0, 208, 231, 0.35));
  animation: stk-float 6s ease-in-out infinite;
  transition: opacity 0.6s, filter 0.6s;
}

@keyframes stk-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ============================================================
   3. Command palette — card glassmórfico elegante
   ============================================================ */

.stk-command-palette {
  background: rgba(10, 14, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 6px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  width: min(340px, 88vw);
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  animation: stk-palette-in 0.7s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes stk-palette-in {
  to { opacity: 1; transform: translateY(0); }
}

.stk-command {
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.8125rem;
  color: rgba(246, 246, 246, 0.7);
  gap: 10px;
  min-height: 42px;
  transition:
    background 0.2s var(--stk-ease-out),
    color 0.2s var(--stk-ease-out),
    transform 0.15s var(--stk-ease-out);
  position: relative;
}

.stk-command::after {
  content: "→";
  margin-left: auto;
  color: var(--stk-cyan);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s var(--stk-ease-out);
  font-weight: 600;
  font-size: 0.875rem;
}

.stk-command:hover {
  background: rgba(0, 208, 231, 0.08);
  color: var(--stk-white);
  transform: translateX(2px);
}

.stk-command:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.stk-command__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  opacity: 1;
  transition: background 0.2s;
}

.stk-command:hover .stk-command__icon {
  background: rgba(0, 208, 231, 0.15);
}

/* ============================================================
   4. Product chips — mais presença e feedback
   ============================================================ */

.stk-chat__footer .stk-composer--chips .stk-chip {
  position: relative;
  padding: 10px 18px;
  min-height: 48px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.15s var(--stk-ease-out),
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}

.stk-chat__footer .stk-composer--chips .stk-chip::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--stk-blue-bright), var(--stk-cyan), var(--stk-green));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.stk-chat__footer .stk-composer--chips .stk-chip:hover {
  transform: translateY(-2px);
  background: rgba(0, 208, 231, 0.08);
  border-color: transparent;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(0, 208, 231, 0.15);
}

.stk-chat__footer .stk-composer--chips .stk-chip:hover::before {
  opacity: 1;
}

.stk-chat__footer .stk-composer--chips .stk-chip:active {
  transform: translateY(0);
}

/* ============================================================
   5. Welcome bubble (stk-hero-line) — presença maior
   ============================================================ */

.stk-msg--bot .stk-msg__bubble.stk-hero-line {
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   6. Chat bubbles — refino sutil
   ============================================================ */

.stk-msg--bot .stk-msg__bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.stk-msg--user .stk-msg__bubble {
  box-shadow: 0 4px 16px rgba(0, 178, 255, 0.15);
}

/* ============================================================
   7. Progress bar — mais viva
   ============================================================ */

.stk-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
}

.stk-progress::after {
  box-shadow: 0 0 12px rgba(0, 208, 231, 0.5);
  transition: width 0.5s var(--stk-ease-out);
}

/* ============================================================
   8. Scroll-to-bottom FAB — polish
   ============================================================ */

.stk-scroll-bottom {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.stk-scroll-bottom:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 208, 231, 0.15);
}

/* ============================================================
   9. Buttons — mais premium
   ============================================================ */

.btn-primary {
  background: linear-gradient(135deg, var(--stk-blue-mid), var(--stk-blue-bright));
  box-shadow:
    0 2px 8px rgba(0, 178, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--stk-ease-out);
  pointer-events: none;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--stk-blue-bright), var(--stk-cyan));
  box-shadow:
    0 6px 20px rgba(0, 178, 255, 0.35),
    0 0 40px rgba(0, 208, 231, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ============================================================
   10. Plan cards — featured mais impactante
   ============================================================ */

.plan-featured {
  transform: scale(1.02);
  position: relative;
}

.plan-featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--stk-radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--stk-blue-bright), var(--stk-cyan), var(--stk-green));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}

.plan-featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.plan-card {
  transition:
    transform 0.3s var(--stk-ease-out),
    border-color 0.3s,
    box-shadow 0.3s;
}

.plan-card .btn-primary {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* ============================================================
   11. Step numbers — mais escala e presença
   ============================================================ */

.step-num {
  position: relative;
  filter: drop-shadow(0 0 24px rgba(0, 178, 255, 0.2));
}

/* ============================================================
   12. FAQ items — hover mais fluido
   ============================================================ */

.faq-item summary {
  padding: var(--stk-space-lg) var(--stk-space-sm);
  border-radius: var(--stk-radius-md);
  transition: color 0.2s, background 0.2s, padding 0.2s;
}

.faq-item summary:hover {
  background: rgba(0, 208, 231, 0.04);
  padding-left: var(--stk-space-md);
}

.faq-item[open] summary {
  color: var(--stk-cyan);
}

/* ============================================================
   13. Header — CTA com shimmer
   ============================================================ */

.site-header .header-cta.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--stk-blue-deep), var(--stk-blue-bright));
  box-shadow:
    0 0 20px rgba(0, 178, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-header .header-cta.btn-primary:hover {
  box-shadow:
    0 0 28px rgba(0, 178, 255, 0.4),
    0 0 48px rgba(0, 208, 231, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ============================================================
   14. Inputs — foco mais elegante
   ============================================================ */

.stk-input {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.stk-input:focus-visible {
  outline: none;
  border-color: var(--stk-cyan);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 208, 231, 0.15);
}

.stk-send {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 178, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.1s, box-shadow 0.2s, opacity 0.15s;
}

.stk-send:hover {
  box-shadow:
    0 4px 16px rgba(0, 178, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ============================================================
   15. Domain cards — mais dramáticos
   ============================================================ */

.stk-domain-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, border-color 0.2s;
}

.stk-domain-card--free {
  border-color: rgba(0, 255, 194, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 24px rgba(0, 255, 194, 0.08);
}

.stk-domain-card--taken {
  border-color: rgba(255, 68, 68, 0.2);
}

/* ============================================================
   16. Selection — experiência consistente
   ============================================================ */

::selection {
  background: rgba(0, 208, 231, 0.35);
  color: var(--stk-white);
}

/* ============================================================
   17. Scrollbar (desktop) — discreta mas presente
   ============================================================ */

@media (hover: hover) {
  *::-webkit-scrollbar { width: 8px; height: 8px; }
  *::-webkit-scrollbar-track { background: transparent; }
  *::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
  }
  *::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
  }
}

/* ============================================================
   18. Header logo status — pulse sutil
   ============================================================ */

.header-status {
  position: relative;
  padding-left: 10px;
}

.header-status::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stk-green);
  box-shadow: 0 0 8px var(--stk-green);
  animation: stk-pulse 2s ease-in-out infinite;
}

@keyframes stk-pulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50%      { opacity: 0.5; transform: translateY(-50%) scale(1.3); }
}

/* ============================================================
   ===== PAINEL (DASHBOARD) POLISH =====
   ============================================================ */

/* --- Página com gradient atmosférico --- */
.painel-page {
  position: relative;
}

.painel-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 35% at 20% 10%, rgba(39, 57, 189, 0.08), transparent 60%),
    radial-gradient(ellipse 35% 30% at 85% 90%, rgba(0, 208, 231, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.painel-app { position: relative; z-index: 1; }

/* --- Header com blur mais forte --- */
.painel-header {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.painel-header__plan {
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.2), rgba(0, 208, 231, 0.2), rgba(0, 255, 194, 0.15));
  border: 1px solid rgba(0, 208, 231, 0.2);
  color: var(--stk-cyan);
  box-shadow: 0 0 16px rgba(0, 208, 231, 0.1);
}

/* --- Nav items com indicator gradient --- */
.painel-nav__item {
  position: relative;
  transition:
    background 0.2s var(--stk-ease-out),
    color 0.2s var(--stk-ease-out);
}

.painel-nav__item--active {
  background: linear-gradient(90deg, rgba(0, 208, 231, 0.12), rgba(0, 208, 231, 0.02));
}

.painel-nav__item--active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 2px;
  background: linear-gradient(180deg, var(--stk-blue-bright), var(--stk-cyan), var(--stk-green));
  box-shadow: 0 0 8px var(--stk-cyan);
  border-radius: 0 2px 2px 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .painel-nav__item--active::before { display: none; }
}

/* --- Summary cards — gradient icons + lift --- */
.dash-summary-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition:
    transform 0.2s var(--stk-ease-out),
    border-color 0.25s,
    box-shadow 0.25s;
}

.dash-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 208, 231, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.dash-summary-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 208, 231, 0.25);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(0, 208, 231, 0.08);
}

.dash-summary-card:hover::before {
  opacity: 1;
}

.dash-summary-card__icon {
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.15), rgba(0, 208, 231, 0.1));
  border: 1px solid rgba(0, 208, 231, 0.15);
  transition: transform 0.3s var(--stk-ease-bounce);
}

.dash-summary-card:hover .dash-summary-card__icon {
  transform: scale(1.08) rotate(-3deg);
}

.dash-summary-card__text strong {
  background: linear-gradient(135deg, var(--stk-white), rgba(0, 208, 231, 0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Record cards (domains/sites/emails) --- */
.dash-record {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  transition:
    transform 0.15s var(--stk-ease-out),
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.dash-record:hover {
  transform: translateX(2px);
  background: rgba(0, 208, 231, 0.04);
  border-color: rgba(0, 208, 231, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* --- Highlight card com gradient border --- */
.painel-card--highlight {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.06), rgba(0, 208, 231, 0.03));
  border: 1px solid transparent;
  background-clip: padding-box;
}

.painel-card--highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--stk-blue-bright), var(--stk-cyan), transparent);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}

/* --- Badges com glow sutil --- */
.dash-badge {
  font-size: 0.6875rem;
  padding: 3px 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dash-badge--active,
.dash-badge--published,
.dash-badge--paid,
.dash-badge--done {
  box-shadow: 0 0 12px rgba(0, 255, 194, 0.15);
}

.dash-badge--in_progress {
  box-shadow: 0 0 12px rgba(0, 178, 255, 0.15);
  position: relative;
}

.dash-badge--in_progress::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stk-blue-bright);
  margin-right: 6px;
  animation: stk-pulse-small 1.5s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes stk-pulse-small {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.3); }
}

/* --- Usage bar com shimmer --- */
.dash-usage__bar {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
}

.dash-usage__fill {
  position: relative;
  box-shadow: 0 0 8px rgba(0, 208, 231, 0.35);
  transition: width 0.6s var(--stk-ease-out);
}

.dash-usage__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  animation: stk-shimmer 2.5s ease-in-out infinite;
}

@keyframes stk-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --- Invoice items --- */
.dash-invoice {
  transition:
    transform 0.15s var(--stk-ease-out),
    background 0.2s,
    border-color 0.2s;
}

.dash-invoice:hover {
  transform: translateX(2px);
  border-color: rgba(0, 208, 231, 0.2);
}

.dash-invoice__amount {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* --- Empty state mais elegante --- */
.painel-empty {
  padding: var(--stk-space-3xl) var(--stk-space-lg);
  position: relative;
}

.painel-empty__icon {
  font-size: 3.5rem;
  opacity: 0.4;
  filter: drop-shadow(0 4px 12px rgba(0, 208, 231, 0.15));
  animation: stk-float 4s ease-in-out infinite;
  display: inline-block;
}

.painel-empty__text {
  color: rgba(246, 246, 246, 0.55);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Login card elevado --- */
.painel-login__card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(0, 178, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.painel-login__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 208, 231, 0.5), transparent);
}

.painel-login__submit {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(0, 178, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.1s, box-shadow 0.2s, opacity 0.15s;
}

.painel-login__submit:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 24px rgba(0, 178, 255, 0.35),
    0 0 32px rgba(0, 208, 231, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 1;
}

/* --- Section title com gradient accent --- */
.painel-section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

/* --- Action cards (pendências) com warning gradient --- */
.painel-action-card {
  background: linear-gradient(135deg, rgba(255, 200, 50, 0.1), rgba(255, 200, 50, 0.04));
  border: 1px solid rgba(255, 200, 50, 0.2);
  transition: transform 0.15s var(--stk-ease-out), border-color 0.2s;
}

.painel-action-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 200, 50, 0.35);
}

.painel-action-card--danger {
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.1), rgba(255, 68, 68, 0.04));
  border-color: rgba(255, 68, 68, 0.2);
}

/* --- Bottom bar (mobile) com glow na ativa --- */
.painel-tab--active {
  color: var(--stk-white);
  position: relative;
}

.painel-tab--active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--stk-blue-bright), var(--stk-cyan));
  border-radius: 0 0 2px 2px;
  box-shadow: 0 0 8px var(--stk-cyan);
}

.painel-tab--active svg {
  filter: drop-shadow(0 0 6px rgba(0, 208, 231, 0.5));
}

/* --- Form inputs com focus glow --- */
.painel-form-input,
.painel-textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.painel-form-input:focus-visible,
.painel-textarea:focus-visible {
  outline: none;
  border-color: var(--stk-cyan);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 208, 231, 0.15);
}

/* --- Toggle switch mais "chunky" --- */
.painel-toggle__switch--on {
  background: linear-gradient(135deg, var(--stk-blue-bright), var(--stk-cyan));
  box-shadow: 0 0 12px rgba(0, 208, 231, 0.4);
}

/* --- DNS table — monospace polish --- */
.dash-dns td {
  transition: background 0.15s;
}

.dash-dns tr:hover td {
  background: rgba(0, 208, 231, 0.04);
}

/* --- Painel buttons polish --- */
.painel-btn--primary {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 178, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.1s, box-shadow 0.2s, opacity 0.15s;
}

.painel-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 4px 16px rgba(0, 178, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.painel-btn--whatsapp {
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.painel-btn--whatsapp:hover {
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  opacity: 1;
  transform: translateY(-1px);
}

/* ============================================================
   ===== CHAT MICROINTERACTIONS =====
   ============================================================ */

/* Stagger entre bubbles consecutivas do bot */
.stk-msg--bot + .stk-msg--bot {
  animation-delay: 80ms;
}
.stk-msg--bot + .stk-msg--bot + .stk-msg--bot {
  animation-delay: 160ms;
}

/* Entrada mais suave das bubbles (override subtle) */
.stk-msg {
  animation-duration: 0.35s;
  animation-timing-function: var(--stk-ease-out);
}

/* Replayed messages (histórico) sem animação e mais fade */
.stk-msg--replayed {
  animation: none !important;
}

.stk-msg--replayed .stk-msg__bubble {
  opacity: 0.45;
}

/* Typing dots mais vivos */
.stk-msg__typing span {
  background: var(--stk-cyan);
  box-shadow: 0 0 4px rgba(0, 208, 231, 0.5);
}

/* Scroll-to-bottom FAB com melhor bounce */
.stk-scroll-bottom.is-visible {
  animation: stk-fab-in 0.3s var(--stk-ease-bounce) both;
}

@keyframes stk-fab-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px) scale(0.85); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

/* Summary list (resumo do pedido) — mais refinado */
.stk-summary li {
  position: relative;
  padding-left: var(--stk-space-sm);
}

.stk-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--stk-cyan), transparent);
  border-radius: 1px;
  opacity: 0.6;
}
