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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #7165FF;
  color: #ffffff;
  overflow: hidden;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Colors */
:root {
  --color-main: #7165FF;
  --color-main-light: rgba(113, 101, 255, 0.1);
  --color-main-accent: #6D28D9;
  --color-background: #F8F9FA;
  --color-white: #FFFFFF;
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #666666;
  --color-text-light: #999999;
  --color-border: #E5E5E5;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
}

/* ============================
   LAYOUT
   ============================ */

.dashboard-container {
  min-height: 100vh;
  background: #F8F9FA;
  background: var(--color-background);
  display: flex;
  flex-direction: column;
}

/* ---- SHIMMER ---- */

.shimmer {
  background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 20%, #f0f0f0 40%, #f0f0f0 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.dashboard-logo {
  height: 32px !important;
  width: auto !important;
  min-height: 32px;
}

.dashboard-logo path {
  fill: #7165FF;
  fill: var(--color-main);
}

.shimmer-card {
  height: 140px;
  border-radius: 16px;
}

.shimmer-chart-large {
  height: 350px;
  border-radius: 16px;
}

.shimmer-chart-small {
  height: 350px;
  border-radius: 16px;
}

.shimmer-row {
  height: 52px;
  margin-bottom: 4px;
  border-radius: 8px;
}

/* ---- HEADER ---- */

.dashboard-header {
  background: #FFFFFF;
  background: var(--color-white);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #1A1A1A;
  color: var(--color-text-primary);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
  padding: 0;
}

.hamburger-btn:hover {
  background: rgba(113, 101, 255, 0.1);
  background: var(--color-main-light);
  color: #7165FF;
  color: var(--color-main);
}

.hamburger-btn:active {
  transform: scale(0.95);
}

.hamburger-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

.header-brand {
  display: flex;
  flex-direction: column;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1A;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.3;
}

.page-subtitle {
  font-size: 14px;
  color: #666666;
  color: var(--color-text-secondary);
  margin: 2px 0 0 0;
}

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

.notification-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(113, 101, 255, 0.1);
  background: var(--color-main-light);
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7165FF;
  color: var(--color-main);
  position: relative;
}

.notification-btn svg {
  stroke: #7165FF;
  stroke: var(--color-main);
  width: 20px;
  height: 20px;
}

.notification-btn:hover {
  background: rgba(113, 101, 255, 0.2);
  transform: scale(1.05);
}

.header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7165FF, #6D28D9);
  background: linear-gradient(135deg, var(--color-main), var(--color-main-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  color: var(--color-white);
}

.header-user-name {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  color: var(--color-text-primary);
}

/* ---- MAIN (sidebar + content) ---- */

.dashboard-main {
  display: flex;
  flex: 1 1;
  gap: 0;
  overflow: hidden;
  max-height: calc(100vh - 80px);
}

/* ---- SIDEBAR ---- */

.dashboard-sidebar {
  width: 280px;
  background: #FFFFFF;
  background: var(--color-white);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 1px 0 3px rgba(0, 0, 0, 0.05);
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px 24px;
  border-bottom: 1px solid #E5E5E5;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 8px;
}

.sidebar-logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(113, 101, 255, 0.1);
  background: var(--color-main-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-logo-icon svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: #7165FF;
  color: var(--color-main);
  margin: 0;
}

.panel-subtitle {
  font-size: 16px;
  color: #666666;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Sidebar navigation */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
}

.nav-item {
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: #666666;
  color: var(--color-text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-item svg {
  flex-shrink: 0;
}

.nav-item:hover {
  background: rgba(113, 101, 255, 0.1);
  background: var(--color-main-light);
  color: #7165FF;
  color: var(--color-main);
}

.nav-item.active {
  background: #7165FF;
  background: var(--color-main);
  color: #FFFFFF;
  color: var(--color-white);
}

/* Sidebar profile */
.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid #E5E5E5;
  border-top: 1px solid var(--color-border);
  margin-top: 24px;
}

.profile-avatar-text {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7165FF, #6D28D9);
  background: linear-gradient(135deg, var(--color-main), var(--color-main-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  color: var(--color-white);
  flex-shrink: 0;
}

.profile-info {
  flex: 1 1;
  min-width: 0;
}

.profile-name {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  color: var(--color-text-primary);
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-role {
  font-size: 12px;
  color: #666666;
  color: var(--color-text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logout-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: rgba(239, 68, 68, 0.1);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logout-btn svg {
  stroke: #EF4444;
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  transform: scale(1.05);
}

/* ---- CONTENT ---- */

.dashboard-content {
  flex: 1 1;
  padding: 32px;
  overflow-y: auto;
}


/* ============================
   ADMIN PAGE - COMMON
   ============================ */

.admin-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-actions {
  display: flex;
  justify-content: flex-end;
}


/* ============================
   STATS GRID & CARDS
   ============================ */

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

.stats-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stats-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.stat-card {
  background: #FFFFFF;
  background: var(--color-white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(113, 101, 255, 0.15);
}

.stat-card-warning {
  border-left: 4px solid #F59E0B;
  border-left: 4px solid var(--color-warning);
}

.stat-card-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.stat-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 14px;
  color: #666666;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin: 0;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #1A1A1A;
  color: var(--color-text-primary);
  line-height: 1.2;
  margin: 0;
}

.stat-card-sub {
  display: flex;
  align-items: center;
  margin-top: 8px;
  gap: 8px;
}

.stat-sub-value {
  font-size: 13px;
  color: #666666;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.stat-value-sm {
  font-size: 22px;
}

.stat-change {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

.stat-change.positive {
  color: #10B981;
  color: var(--color-success);
}

.stat-change.negative {
  color: #EF4444;
  color: var(--color-error);
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(113, 101, 255, 0.1);
  background: var(--color-main-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #7165FF;
  color: var(--color-main);
  flex-shrink: 0;
}

.stat-icon svg {
  color: #7165FF;
  color: var(--color-main);
  stroke: #7165FF;
  stroke: var(--color-main);
}


/* ============================
   CHARTS
   ============================ */

.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 24px;
  gap: 24px;
  align-items: start;
}

.chart-card {
  background: #FFFFFF;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.chart-card.chart-full {
  grid-column: 1 / -1;
}

.chart-header {
  padding: 20px 24px 0;
}

.chart-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  color: var(--color-text-primary);
  margin: 0;
}

.chart-body {
  padding: 16px 24px 24px;
}

/* Vertical bar chart */
.simple-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  padding-top: 10px;
}

.chart-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1;
  height: 100%;
  justify-content: flex-end;
  gap: 6px;
}

.chart-bar {
  width: 100%;
  max-width: 40px;
  border-radius: 8px 8px 0 0;
  background: #7165FF;
  background: var(--color-main);
  transition: height 0.5s ease;
  min-height: 2px;
}

.chart-bar-label {
  font-size: 11px;
  color: #999999;
  color: var(--color-text-light);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

/* Horizontal bar chart */
.simple-chart.horizontal {
  flex-direction: column;
  height: auto;
  align-items: stretch;
  gap: 10px;
}

.chart-bar-group.horizontal {
  flex-direction: row;
  align-items: center;
  height: auto;
  gap: 10px;
  justify-content: flex-start;
}

.chart-bar-label-h {
  font-size: 13px;
  color: #1A1A1A;
  color: var(--color-text-primary);
  font-weight: 500;
  min-width: 60px;
  text-align: right;
}

.chart-bar-wrapper {
  flex: 1 1;
  height: 24px;
  background: #F8F9FA;
  background: var(--color-background);
  border-radius: 6px;
  overflow: hidden;
}

.chart-bar.horizontal {
  height: 100%;
  border-radius: 6px;
  max-width: none;
}

.chart-bar-value {
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  color: var(--color-text-primary);
  min-width: 36px;
}


/* ============================
   DISTRIBUTION LIST
   ============================ */

.distribution-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.distribution-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.distribution-color {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
}

.distribution-name {
  flex: 1 1;
  font-size: 14px;
  color: #1A1A1A;
  color: var(--color-text-primary);
  font-weight: 500;
}

.distribution-pct {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  color: var(--color-text-primary);
  min-width: 44px;
  text-align: right;
}

.distribution-count {
  font-size: 13px;
  color: #999999;
  color: var(--color-text-light);
  min-width: 30px;
  text-align: right;
}

.empty-chart {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  color: #999999;
  color: var(--color-text-light);
  font-size: 14px;
}


/* ============================
   FILTERS
   ============================ */

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.search-form {
  flex: 1 1;
  min-width: 220px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #999999;
  color: var(--color-text-light);
  pointer-events: none;
}

.search-input-wrapper input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 2px solid #E5E5E5;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-size: 15px;
  color: #1A1A1A;
  color: var(--color-text-primary);
  background: #FFFFFF;
  background: var(--color-white);
  transition: all 0.3s;
  outline: none;
  font-family: inherit;
}

.search-input-wrapper input:focus {
  border-color: #7165FF;
  border-color: var(--color-main);
  box-shadow: 0 0 0 3px rgba(113, 101, 255, 0.1);
}

.search-input-wrapper input::placeholder {
  color: #999999;
  color: var(--color-text-light);
}

.filter-group select {
  padding: 12px 36px 12px 14px;
  border: 2px solid #E5E5E5;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-size: 14px;
  color: #1A1A1A;
  color: var(--color-text-primary);
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666666%27 stroke-width=%272%27%3E%3Cpath d=%27M6 9l6 6 6-6%27/%3E%3C/svg%3E") no-repeat right 12px center;
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666666%27 stroke-width=%272%27%3E%3Cpath d=%27M6 9l6 6 6-6%27/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
          appearance: none;
  cursor: pointer;
  outline: none;
  transition: all 0.3s;
  min-width: 150px;
  font-family: inherit;
}

.filter-group select:focus {
  border-color: #7165FF;
  border-color: var(--color-main);
  box-shadow: 0 0 0 3px rgba(113, 101, 255, 0.1);
}

.checkbox-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1A1A1A;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: 12px 16px;
  border: 2px solid #E5E5E5;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  background: #FFFFFF;
  background: var(--color-white);
  -webkit-user-select: none;
          user-select: none;
  transition: all 0.3s;
  font-weight: 500;
}

.checkbox-filter:hover {
  border-color: #7165FF;
  border-color: var(--color-main);
  color: #7165FF;
  color: var(--color-main);
}

.checkbox-filter input[type="checkbox"] {
  accent-color: #7165FF;
  accent-color: var(--color-main);
  width: 16px;
  height: 16px;
  cursor: pointer;
}


/* ============================
   TABLE
   ============================ */

.admin-table-card {
  background: #FFFFFF;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #E5E5E5;
  border-bottom: 1px solid var(--color-border);
}

.table-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  color: var(--color-text-primary);
  margin: 0;
}

.table-header span {
  font-size: 13px;
  color: #666666;
  color: var(--color-text-secondary);
}

.table-responsive {
  overflow-x: auto;
}

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

.admin-table thead {
  background: #F8F9FA;
  background: var(--color-background);
}

.admin-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: #666666;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #E5E5E5;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.admin-table td {
  padding: 16px;
  font-size: 14px;
  color: #1A1A1A;
  color: var(--color-text-primary);
  border-bottom: 1px solid #E5E5E5;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.admin-table tbody tr {
  transition: all 0.2s ease;
}

.admin-table tbody tr:hover {
  background: rgba(113, 101, 255, 0.1);
  background: var(--color-main-light);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.td-name {
  font-weight: 600;
  color: #1A1A1A;
  color: var(--color-text-primary);
}

.td-comment {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Center helper for table columns */
.text-center {
  text-align: center;
}

.empty-table {
  text-align: center;
  padding: 48px 24px;
  color: #999999;
  color: var(--color-text-light);
  font-size: 15px;
}

/* Table loading */
.table-loading {
  padding: 48px 24px;
  text-align: center;
  color: #999999;
  color: var(--color-text-light);
}

/* Pagination */
.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid #E5E5E5;
  border-top: 1px solid var(--color-border);
}

.pagination-info {
  font-size: 13px;
  color: #666666;
  color: var(--color-text-secondary);
}


/* ============================
   BADGES
   ============================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  color: var(--color-success);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  color: var(--color-error);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
  color: var(--color-warning);
}

.badge-info {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.badge-dark {
  background: rgba(107, 114, 128, 0.1);
  color: #666666;
  color: var(--color-text-secondary);
}

.badge-default {
  background: #F8F9FA;
  background: var(--color-background);
  color: #999999;
  color: var(--color-text-light);
}

.badge-premium {
  background: rgba(113, 101, 255, 0.1);
  background: var(--color-main-light);
  color: #7165FF;
  color: var(--color-main);
}

/* Plataforma: cores distintas por provider, mantendo harmonia com a identidade */
.badge-apple {
  background: rgba(107, 114, 128, 0.08);
  color: #6B7280;
}

.badge-google {
  background: rgba(59, 130, 246, 0.08);
  color: #3B82F6;
}

.badge-stripe {
  background: rgba(113, 101, 255, 0.12);
  color: #7165FF;
  color: var(--color-main);
}

.badge-local {
  background: #F8F9FA;
  background: var(--color-background);
  color: #999999;
  color: var(--color-text-light);
}

.badge-other {
  background: rgba(113, 101, 255, 0.1);
  background: var(--color-main-light);
  color: #7165FF;
  color: var(--color-main);
}


/* ============================
   BUTTONS
   ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: #7165FF;
  background: var(--color-main);
  color: #FFFFFF;
  color: var(--color-white);
  border-color: #7165FF;
  border-color: var(--color-main);
}

.btn-primary:hover:not(:disabled) {
  background: #6D28D9;
  background: var(--color-main-accent);
  border-color: #6D28D9;
  border-color: var(--color-main-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(113, 101, 255, 0.3);
}

.btn-outline {
  background: #FFFFFF;
  background: var(--color-white);
  color: #1A1A1A;
  color: var(--color-text-primary);
  border-color: #E5E5E5;
  border-color: var(--color-border);
}

.btn-outline:hover:not(:disabled) {
  border-color: #7165FF;
  border-color: var(--color-main);
  color: #7165FF;
  color: var(--color-main);
  transform: translateY(-2px);
}

.btn-danger {
  background: #EF4444;
  background: var(--color-error);
  color: #FFFFFF;
  color: var(--color-white);
  border-color: #EF4444;
  border-color: var(--color-error);
}

.btn-danger:hover:not(:disabled) {
  background: #DC2626;
  border-color: #DC2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-success {
  background: #10B981;
  background: var(--color-success);
  color: #FFFFFF;
  color: var(--color-white);
  border-color: #10B981;
  border-color: var(--color-success);
}

.btn-success:hover:not(:disabled) {
  background: #059669;
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  background: #FFFFFF;
  background: var(--color-white);
  border: 2px solid #E5E5E5;
  border: 2px solid var(--color-border);
  color: #666666;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-icon:hover {
  border-color: #7165FF;
  border-color: var(--color-main);
  color: #7165FF;
  color: var(--color-main);
  transform: scale(1.05);
}

.btn-icon.danger {
  color: #EF4444;
  color: var(--color-error);
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-icon.danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #EF4444;
  border-color: var(--color-error);
}

.btn-icon.success {
  color: #10B981;
  color: var(--color-success);
  border-color: rgba(16, 185, 129, 0.3);
}

.btn-icon.success:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10B981;
  border-color: var(--color-success);
}

.btn-icon svg {
  width: 16px;
  height: 16px;
}


/* ============================
   MODAL
   ============================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #FFFFFF;
  background: var(--color-white);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

.modal-content.modal-lg {
  max-width: 680px;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid #E5E5E5;
  border-bottom: 1px solid var(--color-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: #FFFFFF;
  background: var(--color-white);
  border-radius: 20px 20px 0 0;
  z-index: 1;
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  color: var(--color-text-primary);
  margin: 0;
}

.modal-close {
  background: #F8F9FA;
  background: var(--color-background);
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #666666;
  color: var(--color-text-secondary);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 18px;
  line-height: 1;
}

.modal-close:hover {
  background: #E5E5E5;
  background: var(--color-border);
  color: #1A1A1A;
  color: var(--color-text-primary);
  transform: scale(1.05);
}

.modal-body {
  padding: 28px;
}

.modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 28px;
  color: #999999;
  color: var(--color-text-light);
  gap: 12px;
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #E5E5E5;
  border: 3px solid var(--color-border);
  border-top-color: #7165FF;
  border-top-color: var(--color-main);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 20px 28px;
  border-top: 1px solid #E5E5E5;
  border-top: 1px solid var(--color-border);
}


/* ============================
   DETAIL GRID / SECTIONS
   ============================ */

.detail-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-section h3 {
  font-size: 12px;
  font-weight: 700;
  color: #666666;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #E5E5E5;
  border-bottom: 1px solid var(--color-border);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.detail-row .label {
  font-size: 14px;
  color: #666666;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.detail-row .value {
  font-size: 14px;
  color: #1A1A1A;
  color: var(--color-text-primary);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}

.detail-card-mini {
  background: #F8F9FA;
  background: var(--color-background);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s;
}

.detail-card-mini:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.detail-card-mini h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  color: var(--color-text-primary);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 12px;
  background: rgba(113, 101, 255, 0.1);
  background: var(--color-main-light);
  color: #7165FF;
  color: var(--color-main);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}


/* ============================
   TABS
   ============================ */

.admin-tabs {
  display: flex;
  gap: 4px;
  background: #F8F9FA;
  background: var(--color-background);
  border-radius: 12px;
  padding: 4px;
  width: -webkit-fit-content;
  width: fit-content;
}

.tab-btn {
  padding: 10px 24px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #666666;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.tab-btn:hover {
  color: #7165FF;
  color: var(--color-main);
}

.tab-btn.active {
  background: #FFFFFF;
  background: var(--color-white);
  color: #7165FF;
  color: var(--color-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* ============================
   ALERTS LIST
   ============================ */

.alerts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px;
}

.alerts-subtitle {
  font-size: 13px;
  color: #666666;
  color: var(--color-text-secondary);
  margin: 0 0 4px 0;
}

.alert-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #F8F9FA;
  background: var(--color-background);
  border-radius: 12px;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.alert-item:hover {
  background: rgba(113, 101, 255, 0.1);
  background: var(--color-main-light);
  transform: translateX(4px);
}

.alert-item.alert-critical {
  border-left: 4px solid #EF4444;
  border-left: 4px solid var(--color-error);
}

.alert-item.alert-warning {
  border-left: 4px solid #F59E0B;
  border-left: 4px solid var(--color-warning);
}

.alert-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.alert-content {
  flex: 1 1;
  min-width: 0;
}

.alert-content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  color: var(--color-text-primary);
}

.alert-detail {
  font-size: 13px;
  color: #666666;
  color: var(--color-text-secondary);
  margin-top: 2px;
}


/* ============================
   RANKINGS
   ============================ */

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #F8F9FA;
  background: var(--color-background);
  border-radius: 12px;
  transition: all 0.3s;
}

.ranking-item:hover {
  background: rgba(113, 101, 255, 0.1);
  background: var(--color-main-light);
  transform: translateX(4px);
}

.ranking-pos {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E5E5E5;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #1A1A1A;
  color: var(--color-text-primary);
  flex-shrink: 0;
}

.ranking-item:nth-child(1) .ranking-pos {
  background: #FEF3C7;
  color: #92400E;
}

.ranking-item:nth-child(2) .ranking-pos {
  background: #F3F4F6;
  color: #374151;
}

.ranking-item:nth-child(3) .ranking-pos {
  background: #FED7AA;
  color: #9A3412;
}

.ranking-name {
  flex: 1 1;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  color: var(--color-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.ranking-score {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  color: var(--color-text-primary);
  flex-shrink: 0;
}


/* ============================
   STARS / RATINGS
   ============================ */

.stars-display {
  display: flex;
  gap: 2px;
  align-items: center;
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 6px;
}


/* ============================
   SCORE BARS (Reviews)
   ============================ */

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.score-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.score-bar-label {
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  color: var(--color-text-primary);
  min-width: 14px;
  text-align: center;
}

.score-bar-track {
  flex: 1 1;
  height: 10px;
  background: #F8F9FA;
  background: var(--color-background);
  border-radius: 5px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: #F59E0B;
  background: var(--color-warning);
  border-radius: 5px;
  transition: width 0.5s ease;
}

.score-bar-count {
  font-size: 12px;
  color: #999999;
  color: var(--color-text-light);
  min-width: 28px;
  text-align: right;
}


/* ============================
   REPORT SECTIONS
   ============================ */

.report-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-title {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  color: var(--color-text-primary);
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #E5E5E5;
  border-bottom: 2px solid var(--color-border);
}


/* ============================
   EMPTY STATE
   ============================ */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.empty-state svg {
  stroke: #999999;
  stroke: var(--color-text-light);
  margin-bottom: 16px;
}

.empty-state p {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  color: var(--color-text-primary);
  margin: 0;
}


/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dashboard-main {
    flex-direction: column;
    position: relative;
  }

  .hamburger-btn {
    display: flex;
  }

  .panel-subtitle {
    display: none;
  }

  .dashboard-header {
    padding: 16px 20px;
  }

  .header-left {
    gap: 12px;
  }

  .header-right {
    gap: 8px;
  }

  .notification-btn {
    width: 36px;
    height: 36px;
  }

  .dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 999;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  }

  .dashboard-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: block;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-content {
    padding: 16px;
    width: 100%;
  }

  .admin-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .search-form {
    min-width: 100%;
  }

  .filter-group select {
    width: 100%;
  }

  .page-title {
    font-size: 20px;
  }

  .stat-value {
    font-size: 28px;
  }

  .modal-content {
    max-width: 100%;
    max-height: 90vh;
  }

  .table-pagination {
    flex-direction: column;
    gap: 10px;
  }

  .header-user-name {
    display: none;
  }
}

@media (max-width: 480px) {
  .dashboard-header {
    padding: 12px 16px;
  }

  .header-left {
    gap: 8px;
  }

  .header-right {
    gap: 6px;
  }

  .dashboard-sidebar {
    width: 260px;
  }

  .stat-card {
    padding: 16px;
  }

  .admin-tabs {
    width: 100%;
  }

  .tab-btn {
    flex: 1 1;
    text-align: center;
  }
}
.login-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7165FF 0%, #6D28D9 100%);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .login-container {
    padding: 20px;
    align-items: flex-start;
  }
}

.login-container::-webkit-scrollbar {
  width: 8px;
}

.login-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.login-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.login-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.login-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(113, 101, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(109, 40, 217, 0.3) 0%, transparent 50%);
  animation: backgroundPulse 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes backgroundPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.login-card {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 520px;
  margin: auto;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(113, 101, 255, 0.1);
  animation: slideIn 0.5s ease-out;
  z-index: 1;
}

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

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.login-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.logo-wrapper {
  width: 200px;
  height: auto;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(113, 101, 255, 0.2));
  animation: logoFloat 3s ease-in-out infinite;
}

.logo-svg path {
  fill: #7165FF;
}

.admin-logo-icon {
  width: 64px;
  height: 64px;
  background: rgba(113, 101, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-brand {
  font-size: 28px;
  font-weight: 800;
  color: #7165FF;
  margin: 0;
  letter-spacing: -0.5px;
}

.login-header p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.input-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.input-group input {
  height: 52px;
  padding: 0 16px;
  font-size: 15px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
  background: white;
}

.input-group input:focus {
  border-color: #7165FF;
  box-shadow: 0 0 0 4px rgba(113, 101, 255, 0.1);
}

.input-group input:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

.input-group input::placeholder {
  color: #999;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  width: 100%;
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: color 0.3s ease;
}

.password-toggle:hover:not(:disabled) {
  color: #7165FF;
}

.password-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.password-toggle svg {
  display: block;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 8px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1 1;
  border-bottom: 1px solid #e5e5e5;
}

.divider span {
  padding: 0 16px;
  color: #999;
  font-size: 14px;
  font-weight: 500;
}

.google-button {
  height: 52px;
  background: white;
  color: #333;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.google-button:hover:not(:disabled) {
  border-color: #d0d0d0;
  background: #fafafa;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-button:active:not(:disabled) {
  transform: translateY(0);
}

.google-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.google-icon {
  width: 20px;
  height: 20px;
}

.toggle-mode-link {
  background: none;
  border: none;
  color: #7165FF;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.toggle-mode-link:hover:not(:disabled) {
  color: #6D28D9;
  text-decoration: underline;
}

.toggle-mode-link:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.error-message {
  padding: 12px 16px;
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 8px;
  color: #c33;
  font-size: 14px;
  text-align: center;
}

.login-button {
  height: 52px;
  background: linear-gradient(135deg, #7165FF 0%, #6D28D9 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(113, 101, 255, 0.3);
}

.login-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(113, 101, 255, 0.4);
}

.login-button:active:not(:disabled) {
  transform: translateY(0);
}

.login-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.login-footer {
  text-align: center;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.forgot-link {
  font-size: 14px;
  color: #7165FF;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: #6D28D9;
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
  .login-card {
    margin: 0;
    padding: 32px 24px;
    max-width: 100%;
  }

  .login-title {
    font-size: 24px;
  }

  .login-subtitle {
    font-size: 13px;
  }

  .logo-wrapper {
    margin-bottom: 24px;
  }
}

.App {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.admin-filters {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

:root {
  --chart-primary: #4F46E5;
  --chart-green: #059669;
  --chart-amber: #D97706;
  --chart-red: #DC2626;
  --chart-violet: #7C3AED;
  --chart-cyan: #0891B2;
  --chart-blue: #2563EB;
  --chart-gray: #6B7280;
}

.search-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1 1;
  min-width: 220px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-input-wrapper svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #9CA3AF;
  pointer-events: none;
}

.search-input-wrapper input {
  width: 100%;
  height: 44px;
  padding: 8px 10px 8px 42px; /* left padding for icon */
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 15px;
  color: #111827;
  background: #ffffff;
  box-sizing: border-box;
}

.filter-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

.filter-control {
  min-width: 180px;
  height: 44px;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  color: #111827;
}

.btn.filter-button,
.btn.btn-primary.filter-button {
  height: 44px;
  padding: 8px 14px;
}

/* Chart hover tooltips */
.distribution-item {
  position: relative;
}
.distribution-item .tooltip {
  position: absolute;
  top: -36px;
  left: 0;
  background: rgba(17,24,39,0.95);
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 150ms ease, transform 150ms ease;
  pointer-events: none;
  z-index: 10;
}
.distribution-item:hover .tooltip {
  opacity: 1;
  transform: translateY(0);
}

.chart-bar-group {
  position: relative;
}
.chart-bar-group .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(17,24,39,0.95);
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 150ms ease, transform 150ms ease;
  pointer-events: none;
  z-index: 10;
}
.chart-bar-group:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Horizontal chart label: fixed width + ellipsis to keep labels uniform */
.chart-bar-label-h {
  display: inline-block;
  width: 180px; /* fixed width so all labels align */
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

/* Cursor-follow tooltip (fixed, above cursor) */
.cursor-tooltip {
  position: fixed;
  background: rgba(17,24,39,0.95);
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 120ms ease, transform 120ms ease;
  z-index: 9999;
}


/*# sourceMappingURL=main.2c5ce88b.css.map*/