#sec-dashboard-v2 {
  padding: 22px !important;
  background: #f7f4fb !important;
}

.dash-v2-wrap {
  max-width: 1320px;
  margin: 0 auto;
}

.dash-v2-header {
  margin-bottom: 18px;
}

.dash-v2-header span {
  display: inline-block;
  margin-bottom: 8px;
  color: #6d2a8c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dash-v2-header h2 {
  margin: 0;
  color: #21152f;
  font-size: 28px;
  font-weight: 950;
}

.dash-v2-header p {
  margin: 8px 0 0;
  color: #6d6179;
  font-size: 14px;
}

.dash-v2-panel {
  background: #fff;
  border: 1px solid rgba(98, 45, 130, .14);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(44, 18, 69, .08);
}

.dash-v2-filters {
  padding: 18px;
  margin-bottom: 18px;
}

.dash-v2-filters-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.dash-v2-filters-head h3 {
  margin: 0;
  font-size: 17px;
  color: #21152f;
}

.dash-v2-filters-head p {
  margin: 4px 0 0;
  color: #7a7086;
  font-size: 13px;
}

.dash-v2-grid-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
}

.dash-v2-field label {
  display: block;
  margin-bottom: 6px;
  color: #4d365f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.dash-v2-field input,
.dash-v2-field select {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(98, 45, 130, .22);
  background: #fff;
  color: #21152f;
  font-weight: 700;
  padding: 8px 10px;
  outline: none;
}

.dash-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.dash-v2-btn-primary,
.dash-v2-btn-secondary {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}

.dash-v2-btn-primary {
  background: #5a1574;
  color: #fff;
}

.dash-v2-btn-secondary {
  background: rgba(90, 21, 116, .10);
  color: #5a1574;
}

.dash-v2-msg {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(90, 21, 116, .08);
  color: #5a1574;
}

.dash-v2-msg.warn {
  background: rgba(245, 158, 11, .14);
  color: #8a5800;
}

.dash-v2-msg.loading {
  background: rgba(90, 21, 116, .10);
  color: #5a1574;
}

.dash-v2-msg.success {
  background: rgba(34, 197, 94, .12);
  color: #08774f;
}

.dash-v2-msg.error {
  background: rgba(239, 68, 68, .12);
  color: #a31717;
}

.dash-v2-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.dash-v2-kpi {
  padding: 18px;
}

.dash-v2-kpi span {
  display: block;
  color: #7a7086;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.dash-v2-kpi strong {
  display: block;
  margin-top: 8px;
  color: #21152f;
  font-size: 25px;
  font-weight: 950;
  line-height: 1.1;
}

.dash-v2-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.dash-v2-card {
  padding: 18px;
}

.dash-v2-card h3 {
  margin: 0;
  color: #21152f;
  font-size: 17px;
}

.dash-v2-card p {
  margin: 5px 0 16px;
  color: #7a7086;
  font-size: 13px;
}

.dash-v2-bar-row {
  margin-bottom: 12px;
}

.dash-v2-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: #32213f;
  font-size: 13px;
  font-weight: 800;
}

.dash-v2-bar-label strong {
  color: #5a1574;
}

.dash-v2-bar-track {
  height: 11px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(90, 21, 116, .10);
}

.dash-v2-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #5a1574, #9b42c8);
}

.dash-v2-trend {
  height: 250px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-top: 18px;
}

.dash-v2-trend-item {
  flex: 1;
  min-width: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.dash-v2-trend-bar {
  width: 100%;
  min-height: 8px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #7b2cbf, #5a1574);
}

.dash-v2-trend-item small {
  margin-top: 6px;
  color: #7a7086;
  font-size: 10px;
  font-weight: 800;
}

.dash-v2-table-card {
  padding: 18px;
}

.dash-v2-table-wrap {
  overflow-x: auto;
}

.dash-v2-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.dash-v2-table th {
  text-align: left;
  padding: 12px;
  color: #4d365f;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  background: rgba(90, 21, 116, .08);
}

.dash-v2-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(98, 45, 130, .10);
  color: #2f2438;
  font-weight: 700;
}

.dash-v2-empty {
  padding: 18px;
  border-radius: 14px;
  background: rgba(90, 21, 116, .06);
  color: #6d6179;
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .dash-v2-grid-filters,
  .dash-v2-kpis {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .dash-v2-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dash-v2-grid-filters,
  .dash-v2-kpis {
    grid-template-columns: 1fr;
  }
}
