/* [project]/src/app/analytics/analytics.module.css [app-client] (css) */
.analytics-module__t6Zeeq__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 32px;
}

.analytics-module__t6Zeeq__header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  display: flex;
}

.analytics-module__t6Zeeq__title {
  color: var(--text-primary);
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.analytics-module__t6Zeeq__subtitle {
  color: var(--text-secondary);
  margin-top: 4px;
  font-size: .88rem;
}

.analytics-module__t6Zeeq__headerControls {
  align-items: center;
  gap: 12px;
  display: flex;
}

.analytics-module__t6Zeeq__statusFilter {
  background: var(--bg-secondary, #1e1e2e);
  color: var(--text-primary);
  border: 1px solid var(--border-color, #2a2a3e);
  cursor: pointer;
  border-radius: 8px;
  outline: none;
  padding: 8px 12px;
  font-size: .9rem;
  transition: border-color .2s;
}

.analytics-module__t6Zeeq__statusFilter:focus {
  border-color: #6366f1;
}

.analytics-module__t6Zeeq__loadingContainer, .analytics-module__t6Zeeq__errorContainer {
  height: 60vh;
  color: var(--text-secondary);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  display: flex;
}

.analytics-module__t6Zeeq__spinner {
  border: 4px solid #6366f126;
  border-top-color: #6366f1;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: .8s linear infinite analytics-module__t6Zeeq__spin;
}

@keyframes analytics-module__t6Zeeq__spin {
  to {
    transform: rotate(360deg);
  }
}

.analytics-module__t6Zeeq__kpiGrid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  display: grid;
}

.analytics-module__t6Zeeq__kpiCard {
  background: var(--bg-secondary, #1e1e2e);
  border: 1px solid var(--border-color, #2a2a3e);
  border-radius: 14px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.analytics-module__t6Zeeq__kpiCard:before {
  content: "";
  background: linear-gradient(90deg, #0000, #6366f14d, #0000);
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.analytics-module__t6Zeeq__kpiCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #0003;
}

.analytics-module__t6Zeeq__kpiPrimary:before {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.analytics-module__t6Zeeq__kpiGreen:before {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.analytics-module__t6Zeeq__kpiYellow:before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.analytics-module__t6Zeeq__kpiRed:before {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.analytics-module__t6Zeeq__kpiArchived:before {
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

.analytics-module__t6Zeeq__kpiIcon {
  font-size: 1.6rem;
}

.analytics-module__t6Zeeq__kpiValue {
  color: var(--text-primary);
  letter-spacing: -.02em;
  font-size: 1.75rem;
  font-weight: 800;
}

.analytics-module__t6Zeeq__kpiLabel {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
  font-size: .78rem;
}

.analytics-module__t6Zeeq__sectionToggle {
  background: var(--bg-secondary, #1e1e2e);
  border: 1px solid var(--border-color, #2a2a3e);
  border-radius: 12px;
  gap: 4px;
  width: fit-content;
  margin-bottom: 24px;
  padding: 4px;
  display: flex;
}

.analytics-module__t6Zeeq__toggleBtn {
  cursor: pointer;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: .92rem;
  font-weight: 600;
  transition: all .2s;
}

.analytics-module__t6Zeeq__toggleBtn:hover {
  color: var(--text-primary);
  background: #6366f114;
}

.analytics-module__t6Zeeq__toggleActive {
  box-shadow: 0 2px 8px #6366f126;
  color: #818cf8 !important;
  background: #6366f126 !important;
}

.analytics-module__t6Zeeq__finKpiRow {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  display: grid;
}

.analytics-module__t6Zeeq__finKpiCard {
  background: var(--bg-secondary, #1e1e2e);
  border: 1px solid var(--border-color, #2a2a3e);
  border-radius: 14px;
  padding: 20px 24px;
  transition: transform .2s;
}

.analytics-module__t6Zeeq__finKpiCard:hover {
  transform: translateY(-2px);
}

.analytics-module__t6Zeeq__finKpiLabel {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
  font-size: .78rem;
}

.analytics-module__t6Zeeq__finKpiValue {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.analytics-module__t6Zeeq__finKpiValue span {
  color: var(--text-secondary);
  font-size: .9rem;
  font-weight: 500;
}

.analytics-module__t6Zeeq__finMargin {
  border-left: 3px solid #22c55e;
}

.analytics-module__t6Zeeq__finPotential {
  border-left: 3px solid #6366f1;
}

.analytics-module__t6Zeeq__finWarning {
  border-left: 3px solid #f59e0b;
}

.analytics-module__t6Zeeq__finBlue {
  border-left: 3px solid #06b6d4;
}

.analytics-module__t6Zeeq__sectionLabel {
  background: var(--bg-secondary, #1e1e2e);
  border: 1px solid var(--border-color, #2a2a3e);
  border-radius: 12px;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px 20px;
  display: flex;
}

.analytics-module__t6Zeeq__sectionIcon {
  flex-shrink: 0;
  font-size: 2rem;
  line-height: 1;
}

.analytics-module__t6Zeeq__sectionLabel h2 {
  color: var(--text-primary);
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.analytics-module__t6Zeeq__sectionLabel p {
  color: var(--text-secondary);
  margin: 0;
  font-size: .82rem;
  line-height: 1.5;
}

.analytics-module__t6Zeeq__emptyNote {
  color: var(--text-secondary);
  text-align: center;
  padding: 20px 0;
  font-size: .88rem;
}

.analytics-module__t6Zeeq__chartsRow {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
  display: grid;
}

.analytics-module__t6Zeeq__chartCard {
  background: var(--bg-secondary, #1e1e2e);
  border: 1px solid var(--border-color, #2a2a3e);
  border-radius: 14px;
  padding: 24px;
}

.analytics-module__t6Zeeq__chartTitle {
  color: var(--text-primary);
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
}

.analytics-module__t6Zeeq__chartSubtitle {
  color: var(--text-secondary);
  margin: -12px 0 16px;
  font-size: .82rem;
}

.analytics-module__t6Zeeq__badge {
  color: #818cf8;
  background: #6366f126;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: .75rem;
  font-weight: 600;
}

.analytics-module__t6Zeeq__histogram {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.analytics-module__t6Zeeq__histBar {
  grid-template-columns: 100px 1fr 50px;
  align-items: center;
  gap: 12px;
  display: grid;
}

.analytics-module__t6Zeeq__histLabel {
  color: var(--text-secondary);
  text-align: right;
  font-size: .82rem;
}

.analytics-module__t6Zeeq__histTrack {
  background: #6366f10f;
  border-radius: 8px;
  height: 28px;
  overflow: hidden;
}

.analytics-module__t6Zeeq__histFill {
  background: linear-gradient(90deg, #6366f1, #818cf8);
  border-radius: 8px;
  min-width: 4px;
  height: 100%;
  transition: width .6s cubic-bezier(.25, .8, .25, 1);
}

.analytics-module__t6Zeeq__histCount {
  color: var(--text-primary);
  text-align: right;
  font-size: .88rem;
  font-weight: 700;
}

.analytics-module__t6Zeeq__barChart {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.analytics-module__t6Zeeq__barRow {
  grid-template-columns: 120px 1fr 80px;
  align-items: center;
  gap: 12px;
  display: grid;
}

.analytics-module__t6Zeeq__barLabel {
  color: var(--text-secondary);
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .8rem;
  overflow: hidden;
}

.analytics-module__t6Zeeq__barTrack {
  background: #6366f10f;
  border-radius: 6px;
  height: 24px;
  overflow: hidden;
}

.analytics-module__t6Zeeq__barFill {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  border-radius: 6px;
  min-width: 4px;
  height: 100%;
  transition: width .6s cubic-bezier(.25, .8, .25, 1);
}

.analytics-module__t6Zeeq__barFillCategory {
  background: linear-gradient(90deg, #6366f1, #818cf8);
}

.analytics-module__t6Zeeq__barFillSupplier {
  background: linear-gradient(90deg, #06b6d4, #22d3ee);
}

.analytics-module__t6Zeeq__barFillPrice {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.analytics-module__t6Zeeq__barFillBlue {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.analytics-module__t6Zeeq__barFillGreen {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.analytics-module__t6Zeeq__barValue {
  color: var(--text-primary);
  text-align: right;
  font-size: .82rem;
  font-weight: 700;
}

.analytics-module__t6Zeeq__donutContainer {
  align-items: flex-start;
  gap: 24px;
  display: flex;
}

.analytics-module__t6Zeeq__donutChart {
  flex-shrink: 0;
}

.analytics-module__t6Zeeq__donutLegend {
  flex-direction: column;
  flex: 1;
  gap: 8px;
  max-height: 220px;
  display: flex;
  overflow-y: auto;
}

.analytics-module__t6Zeeq__legendItem {
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  display: flex;
}

.analytics-module__t6Zeeq__legendDot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.analytics-module__t6Zeeq__legendLabel {
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  overflow: hidden;
}

.analytics-module__t6Zeeq__legendValue {
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 600;
}

.analytics-module__t6Zeeq__tableSection {
  background: var(--bg-secondary, #1e1e2e);
  border: 1px solid var(--border-color, #2a2a3e);
  border-radius: 14px;
  margin-bottom: 24px;
  padding: 24px;
}

.analytics-module__t6Zeeq__tableWrapper {
  overflow-x: auto;
}

.analytics-module__t6Zeeq__dataTable {
  border-collapse: collapse;
  width: 100%;
  font-size: .85rem;
}

.analytics-module__t6Zeeq__dataTable th {
  text-align: left;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 2px solid var(--border-color, #2a2a3e);
  padding: 10px 14px;
  font-size: .72rem;
  font-weight: 600;
}

.analytics-module__t6Zeeq__dataTable td {
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color, #2a2a3e);
  padding: 12px 14px;
}

.analytics-module__t6Zeeq__dataTable tbody tr {
  transition: background .15s;
}

.analytics-module__t6Zeeq__dataTable tbody tr:hover {
  background: #6366f10a;
}

.analytics-module__t6Zeeq__rankCell {
  color: #6366f1;
  text-align: center;
  width: 40px;
  font-weight: 700;
}

.analytics-module__t6Zeeq__nameCell {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 280px;
  overflow: hidden;
}

.analytics-module__t6Zeeq__numCell {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.analytics-module__t6Zeeq__marginCell {
  text-align: right;
  color: #22c55e;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.analytics-module__t6Zeeq__growthGrid {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.analytics-module__t6Zeeq__growthCard {
  background: #f973160f;
  border: 1px solid #f9731626;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  transition: background .15s;
  display: flex;
}

.analytics-module__t6Zeeq__growthCard:hover {
  background: #f973161a;
}

.analytics-module__t6Zeeq__growthCount {
  color: #f97316;
  text-align: center;
  min-width: 20px;
  font-size: 1rem;
  font-weight: 800;
}

.analytics-module__t6Zeeq__growthName {
  color: var(--text-primary);
  font-size: .82rem;
}

@media (max-width: 1100px) {
  .analytics-module__t6Zeeq__kpiGrid {
    grid-template-columns: repeat(4, 1fr);
  }

  .analytics-module__t6Zeeq__chartsRow {
    grid-template-columns: 1fr;
  }

  .analytics-module__t6Zeeq__finKpiRow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .analytics-module__t6Zeeq__container {
    padding: 16px;
  }

  .analytics-module__t6Zeeq__kpiGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analytics-module__t6Zeeq__finKpiRow {
    grid-template-columns: 1fr;
  }

  .analytics-module__t6Zeeq__donutContainer {
    flex-direction: column;
    align-items: center;
  }

  .analytics-module__t6Zeeq__barRow {
    grid-template-columns: 90px 1fr 60px;
  }
}

/*# sourceMappingURL=src_app_analytics_analytics_module_1izutxo.css.map*/