/* style.css */
/* Design System Premium para Barberbox - Glassmorphism, Dark Neon e Alta Responsividade */

:root {
  --primary-color: #E27214; /* Laranja Barberbox */
  --primary-glow: rgba(226, 114, 20, 0.4);
  --secondary-color: #f59e0b; /* Âmbar / Ouro */
  --secondary-glow: rgba(245, 158, 11, 0.3);
  --bg-gradient: linear-gradient(135deg, #060608 0%, #1a140b 50%, #0b0704 100%);
  --panel-bg: rgba(20, 20, 22, 0.75);
  --panel-border: rgba(226, 114, 20, 0.12);
  --text-color: #f4f4f5;
  --text-muted: #a1a1aa;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
  --card-bg: rgba(30, 30, 35, 0.45);
  --card-border: rgba(226, 114, 20, 0.08);
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-gradient);
  color: var(--text-color);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(24, 24, 27, 0.3);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Glassmorphism card utilities */
.glass-panel {
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px;
  transition: all var(--transition-speed) ease;
}
.glass-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-2px);
}

/* Typography */
h1, h2, h3, h4, .brand-text {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Interactive elements */
button, select, input {
  font-family: var(--font-body);
}

/* App Layout */
.app-layout {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.main-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.content-viewport {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.1);
}

.hidden {
  display: none !important;
}

/* Login Component */
.login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100vw;
  padding: 20px;
}
.login-card {
  width: 100%;
  max-width: 420px;
  padding: 40px 32px;
  text-align: center;
}
.login-logo {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.login-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.form-group {
  margin-bottom: 20px;
  text-align: left;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-glow);
}
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--primary-glow);
  opacity: 0.95;
}

/* Sidebar Component */
.sidebar-wrapper {
  width: 260px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  transition: width var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid var(--panel-border);
  background: rgba(15, 15, 20, 0.85);
  overflow: hidden;
}
.sidebar-wrapper.collapsed {
  width: 80px;
}
.sidebar-wrapper.collapsed .sidebar-brand,
.sidebar-wrapper.collapsed .menu-text,
.sidebar-wrapper.collapsed .user-info {
  display: none !important;
}
.sidebar-wrapper.collapsed .menu-link {
  justify-content: center;
  padding: 12px 0;
}
.sidebar-wrapper.collapsed .sidebar-footer {
  justify-content: center;
  padding: 16px 0;
}
.sidebar-header {
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--panel-border);
  gap: 16px;
}
.sidebar-wrapper.collapsed .sidebar-header {
  padding: 0 20px;
  justify-content: center;
}
.sidebar-toggle-btn {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 1.25rem;
}
.sidebar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.sidebar-menu {
  flex: 1;
  padding: 20px 12px;
  list-style: none;
  overflow-y: auto;
}
.menu-item {
  margin-bottom: 6px;
}
.menu-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.menu-link:hover {
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.05);
}
.menu-link.active {
  color: #fff;
  background: linear-gradient(90deg, var(--primary-glow), rgba(168, 85, 247, 0.1));
  border-left: 3px solid var(--primary-color);
}
.menu-icon {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: inherit;
}
.sidebar-wrapper.collapsed .menu-icon {
  margin-right: 0;
}
.menu-text {
  font-weight: 500;
  font-size: 0.95rem;
}
.submenu-list {
  padding-left: 24px;
  list-style: none;
  margin-top: 4px;
}
.sidebar-wrapper.collapsed .submenu-list {
  display: none;
}
.submenu-link {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
  cursor: pointer;
}
.submenu-link:hover, .submenu-link.active {
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.03);
}
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Header & Global Filters */
.header-wrapper {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--panel-border);
  background: rgba(20, 20, 25, 0.4);
  backdrop-filter: blur(10px);
}
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-title {
  font-size: 1.4rem;
  color: var(--text-color);
}
.global-filters {
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-select {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--panel-border);
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
}
.filter-select:focus {
  border-color: var(--primary-color);
}
.period-dates-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-date {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--panel-border);
  color: var(--text-color);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
}

/* Viewport content style */
.viewport-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  border: 1px solid var(--panel-border);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-muted);
}
.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

/* Grid System for Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

/* Card layout specific styles */
.card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-details {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.card-details li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

/* Submenu Empresas Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .split-layout {
    grid-template-columns: 1fr;
  }
}
.split-column {
  display: flex;
  flex-direction: column;
}

/* Submenu Contas Fixed top cards */
.contas-summary-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .contas-summary-cards {
    grid-template-columns: 1fr;
  }
}
.summary-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.summary-card-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.summary-card-value {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: #fff;
}
.summary-card-value.positive {
  color: var(--success-color);
}
.summary-card-value.negative {
  color: var(--danger-color);
}

.contas-group-title {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin: 24px 0 12px 0;
  border-left: 3px solid var(--secondary-color);
  padding-left: 8px;
}

/* Plano de Contas */
.plano-contas-tree {
  max-width: 800px;
  margin: 0 auto;
}
.plano-group {
  margin-bottom: 16px;
}
.plano-node {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.plano-node.level-0 {
  font-size: 1.15rem;
  font-weight: 700;
  background: rgba(168, 85, 247, 0.15);
  border-left: 4px solid var(--primary-color);
}
.plano-node.level-1 {
  font-size: 1rem;
  font-weight: 600;
  margin-left: 20px;
  background: rgba(255, 255, 255, 0.04);
}
.plano-node.level-2 {
  font-size: 0.9rem;
  margin-left: 40px;
}
.plano-node.level-3 {
  font-size: 0.85rem;
  margin-left: 60px;
  color: var(--text-muted);
}
.plano-node-value {
  font-family: var(--font-title);
  font-weight: 600;
}

/* Movimentos View */
.movimentos-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
}
.movimentos-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  background: rgba(20, 20, 25, 0.6);
}
.movimentos-table th {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 16px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid var(--panel-border);
}
.movimentos-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-color);
}
.movimentos-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}
.mov-value {
  font-family: var(--font-title);
  font-weight: 600;
}
.mov-value.debit {
  color: var(--danger-color);
}
.mov-value.credit {
  color: var(--success-color);
}
.badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}
.badge-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.4);
}
.badge-cyan {
  background: rgba(6, 182, 212, 0.2);
  color: #a5f3fc;
  border: 1px solid rgba(6, 182, 212, 0.4);
}
.bulk-edit-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}
.bulk-edit-actions {
  display: flex;
  gap: 12px;
}

/* Modals global style */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-card {
  width: 100%;
  max-width: 600px;
  background: rgba(24, 24, 27, 0.95);
  border: 1px solid var(--primary-color);
  border-radius: 16px;
  box-shadow: 0 0 30px var(--primary-glow);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title {
  font-size: 1.25rem;
  color: #fff;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-close:hover {
  color: #fff;
}
.modal-body {
  padding: 24px;
  overflow-y: auto;
}
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--panel-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* WhatsApp Sandbox View */
.wa-sandbox-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
  height: calc(100vh - 150px);
}
@media (max-width: 900px) {
  .wa-sandbox-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
}
.wa-chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0f0f12;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  overflow: hidden;
}
.wa-chat-header {
  background: #1c1b22;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--panel-border);
}
.wa-avatar {
  width: 40px;
  height: 40px;
  background: #128c7e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}
.wa-chat-info {
  display: flex;
  flex-direction: column;
}
.wa-chat-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.wa-chat-status {
  font-size: 0.75rem;
  color: #10b981;
}
.wa-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(circle, #15141b 0%, #0c0b0e 100%);
}
.wa-message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
  word-wrap: break-word;
}
.wa-message.received {
  align-self: flex-start;
  background: #201f27;
  color: #fff;
  border-top-left-radius: 2px;
}
.wa-message.sent {
  align-self: flex-end;
  background: #056162;
  color: #fff;
  border-top-right-radius: 2px;
}
.wa-audio-player {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 12px;
  border-radius: 8px;
  margin-top: 4px;
}
.wa-wave-animation {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}
.wa-wave-bar {
  width: 3px;
  height: 100%;
  background: var(--secondary-color);
  animation: wave 1.2s ease-in-out infinite alternate;
}
.wa-wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wa-wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wa-wave-bar:nth-child(4) { animation-delay: 0.6s; }

@keyframes wave {
  0% { height: 20%; }
  100% { height: 100%; }
}

.wa-chat-input-area {
  padding: 12px 16px;
  background: #1c1b22;
  border-top: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-input-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.wa-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: 10px 18px;
  color: #fff;
  outline: none;
  font-size: 0.9rem;
}
.wa-input:focus {
  border-color: #128c7e;
}
.wa-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #128c7e;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
}
.wa-send-btn:hover {
  background: #0f7065;
}
.wa-tools-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.wa-tool-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  color: var(--text-muted);
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.wa-tool-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* IA Parsed Panel */
.wa-parsed-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.parsed-card {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.parsed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 600px) {
  .parsed-grid {
    grid-template-columns: 1fr;
  }
}
.parsed-field {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--panel-border);
  padding: 12px;
  border-radius: 8px;
}
.parsed-field-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.parsed-field-value {
  font-size: 0.95rem;
  color: white;
  font-weight: 500;
}
.parsed-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* Reports view styles */
.report-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.report-table-container {
  margin-top: 16px;
}
.report-table {
  width: 100%;
  border-collapse: collapse;
}
.report-table th, .report-table td {
  padding: 12px 16px;
  text-align: left;
}
.report-table th {
  background: rgba(0, 0, 0, 0.4);
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid var(--panel-border);
}
.report-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.report-table tr.total-row td {
  background: rgba(168, 85, 247, 0.08);
  font-weight: 700;
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}
.report-table tr.header-row td {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  color: var(--secondary-color);
}
.report-table tr.child-row td {
  padding-left: 32px;
}
.report-value {
  font-family: var(--font-title);
  font-weight: 600;
  text-align: right;
}
.report-table th.report-value {
  text-align: right;
}

/* Custom Checkbox Design */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  user-select: none;
}
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--panel-border);
  border-radius: 4px;
}
.checkbox-container:hover input ~ .checkmark {
  background-color: rgba(255, 255, 255, 0.2);
}
.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}
.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Plano de Contas CRUD Actions styling */
.btn-tree-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-tree-action:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-tree-action.btn-add-group {
  padding: 4px 8px;
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: #d8b4fe;
}
.btn-tree-action.btn-add-group:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--primary-color);
}
