/* STEP DASH-01 — Dashboard premium light mode */

body.light-theme,
body[data-theme="light"],
html.light-theme body {
  background:#f6f8fc !important;
  color:#162033 !important;
}

/* main content background */
body.light-theme .main-content,
body[data-theme="light"] .main-content,
body.light-theme .content,
body[data-theme="light"] .content,
body.light-theme .page-content,
body[data-theme="light"] .page-content {
  background:#f6f8fc !important;
  color:#162033 !important;
}

/* oq premium kartalar */
body.light-theme .card,
body[data-theme="light"] .card,
body.light-theme .dashboard-card,
body[data-theme="light"] .dashboard-card,
body.light-theme .metric-card,
body[data-theme="light"] .metric-card,
body.light-theme .kpi-card,
body[data-theme="light"] .kpi-card,
body.light-theme .chart-card,
body[data-theme="light"] .chart-card,
body.light-theme .summary-card,
body[data-theme="light"] .summary-card,
body.light-theme .stats-card,
body[data-theme="light"] .stats-card,
body.light-theme .dashboard-section,
body[data-theme="light"] .dashboard-section {
  background:#ffffff !important;
  color:#162033 !important;
  border:1px solid #e8edf5 !important;
  box-shadow:0 10px 28px rgba(16,24,40,.08) !important;
  border-radius:18px !important;
}

/* kartalar ichidagi yozuvlar */
body.light-theme .card *,
body[data-theme="light"] .card *,
body.light-theme .dashboard-card *,
body[data-theme="light"] .dashboard-card *,
body.light-theme .metric-card *,
body[data-theme="light"] .metric-card *,
body.light-theme .kpi-card *,
body[data-theme="light"] .kpi-card *,
body.light-theme .chart-card *,
body[data-theme="light"] .chart-card * {
  color:inherit;
}

/* KPI title */
body.light-theme .metric-card .title,
body[data-theme="light"] .metric-card .title,
body.light-theme .kpi-card .title,
body[data-theme="light"] .kpi-card .title,
body.light-theme .card .label,
body[data-theme="light"] .card .label {
  color:#667085 !important;
}

/* KPI number */
body.light-theme .metric-card .value,
body[data-theme="light"] .metric-card .value,
body.light-theme .kpi-card .value,
body[data-theme="light"] .kpi-card .value,
body.light-theme .card .amount,
body[data-theme="light"] .card .amount,
body.light-theme .card .number,
body[data-theme="light"] .card .number {
  color:#101828 !important;
  font-weight:800 !important;
}

/* Dashboard hero / salomlashuv banner */
body.light-theme .hero-card,
body[data-theme="light"] .hero-card,
body.light-theme .welcome-card,
body[data-theme="light"] .welcome-card,
body.light-theme .banner-card,
body[data-theme="light"] .banner-card,
body.light-theme .dashboard-hero,
body[data-theme="light"] .dashboard-hero {
  background:
    radial-gradient(circle at 30% 50%, rgba(255,51,87,.24), transparent 24%),
    linear-gradient(90deg, #0f2244 0%, #162f62 48%, #3b1033 100%) !important;
  color:#ffffff !important;
  border:0 !important;
  box-shadow:0 16px 34px rgba(15,34,68,.22) !important;
}

/* hero text aniq chiqsin */
body.light-theme .hero-card h1,
body[data-theme="light"] .hero-card h1,
body.light-theme .welcome-card h1,
body[data-theme="light"] .welcome-card h1,
body.light-theme .banner-card h1,
body[data-theme="light"] .banner-card h1,
body.light-theme .dashboard-hero h1,
body[data-theme="light"] .dashboard-hero h1,
body.light-theme .hero-card .title,
body[data-theme="light"] .hero-card .title,
body.light-theme .welcome-card .title,
body[data-theme="light"] .welcome-card .title,
body.light-theme .banner-card .title,
body[data-theme="light"] .banner-card .title,
body.light-theme .dashboard-hero .title,
body[data-theme="light"] .dashboard-hero .title {
  color:#ffffff !important;
  font-weight:800 !important;
  text-shadow:0 2px 10px rgba(0,0,0,.18) !important;
}

/* subtitle ham ko‘rinsin */
body.light-theme .hero-card p,
body[data-theme="light"] .hero-card p,
body.light-theme .welcome-card p,
body[data-theme="light"] .welcome-card p,
body.light-theme .banner-card p,
body[data-theme="light"] .banner-card p,
body.light-theme .dashboard-hero p,
body[data-theme="light"] .dashboard-hero p,
body.light-theme .hero-card .subtitle,
body[data-theme="light"] .hero-card .subtitle,
body.light-theme .welcome-card .subtitle,
body[data-theme="light"] .welcome-card .subtitle,
body.light-theme .banner-card .subtitle,
body[data-theme="light"] .banner-card .subtitle,
body.light-theme .dashboard-hero .subtitle,
body[data-theme="light"] .dashboard-hero .subtitle {
  color:rgba(255,255,255,.90) !important;
}

/* kunlik dinamika / grafik kartasi oq bo‘lsin */
body.light-theme .chart-card,
body[data-theme="light"] .chart-card,
body.light-theme .chart-container,
body[data-theme="light"] .chart-container,
body.light-theme .daily-chart,
body[data-theme="light"] .daily-chart,
body.light-theme .dynamic-chart,
body[data-theme="light"] .dynamic-chart,
body.light-theme .bar-chart-wrap,
body[data-theme="light"] .bar-chart-wrap {
  background:#ffffff !important;
  color:#162033 !important;
}

/* chart legend */
body.light-theme .legend-item,
body[data-theme="light"] .legend-item,
body.light-theme .chart-legend *,
body[data-theme="light"] .chart-legend * {
  color:#344054 !important;
}

/* input/select/date filterlar oq premium */
body.light-theme select,
body[data-theme="light"] select,
body.light-theme input,
body[data-theme="light"] input {
  background:#ffffff !important;
  color:#162033 !important;
  border:1px solid #dbe3ef !important;
  box-shadow:0 3px 10px rgba(16,24,40,.04) !important;
}

/* sidebar light rejim ham toza ko‘rinsin */
body.light-theme .sidebar,
body[data-theme="light"] .sidebar {
  background:#ffffff !important;
  border-right:1px solid #eef2f7 !important;
}

body.light-theme .sidebar .menu-item,
body[data-theme="light"] .sidebar .menu-item {
  color:#344054 !important;
}

body.light-theme .sidebar .menu-item.active,
body[data-theme="light"] .sidebar .menu-item.active {
  background:linear-gradient(90deg,#4f7cff,#6b5cff) !important;
  color:#ffffff !important;
}

/* donut atrofidagi yozuvlar */
body.light-theme .donut-center-text,
body[data-theme="light"] .donut-center-text,
body.light-theme .donut-center-label,
body[data-theme="light"] .donut-center-label {
  color:#101828 !important;
}