@import "https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;600;700&display=swap";

/* src/styles.scss */
:root {
  --bg-page: #0F172A;
  --bg-surface: #1E293B;
  --border: #334155;
  --text-primary: #F1F5F9;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --accent: #3B82F6;
  --accent-hover: #60A5FA;
  --accent-subtle: rgba(59, 130, 246, 0.12);
  --shadow-hover: rgba(59, 130, 246, 0.12);
  --danger: #f87171;
}
:root[data-theme=light] {
  --bg-page: #F1F5F9;
  --bg-surface: #FFFFFF;
  --border: #CBD5E1;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-subtle: rgba(37, 99, 235, 0.1);
  --shadow-hover: rgba(37, 99, 235, 0.15);
  --danger: #DC2626;
}
* {
  box-sizing: border-box;
}
body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: "Fira Sans", sans-serif;
  margin: 0;
  min-height: 100vh;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.app-navbar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.app-navbar .brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.app-navbar .brand:hover {
  color: var(--accent-hover);
}
.theme-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.theme-btn:hover {
  color: var(--text-primary);
}
.theme-btn.active {
  background: var(--accent);
  color: #ffffff;
}
.app-main {
  padding: 2rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
}
.page-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}
.app-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}
.app-breadcrumb .bc-link {
  color: var(--accent);
  cursor: pointer;
}
.app-breadcrumb .bc-link:hover {
  text-decoration: underline;
}
.app-breadcrumb .bc-sep {
  color: var(--border);
}
.app-breadcrumb .bc-current {
  color: var(--text-muted);
}
.source-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.source-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}
.source-pill:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}
.source-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.date-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: inherit;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}
.date-chip:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}
.date-chip:focus-within {
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px var(--accent-subtle);
  outline: none;
}
.date-chip-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: inherit;
}
.date-chip-sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 0.1rem;
}
.date-chip-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  color-scheme: dark;
  padding: 0;
  min-width: 120px;
}
.date-chip-input:focus {
  outline: none;
}
:root[data-theme=light] .date-chip-input {
  color-scheme: light;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 1200px) {
  .chart-grid {
    grid-template-columns: 7fr 5fr;
  }
}
.chart-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.entity-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  height: 100%;
  transition:
    border-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.entity-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-hover);
}
.entity-card .entity-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}
.entity-card .entity-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
}
.entity-card .entity-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}
.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.stat-card .stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-card .stat-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.stat-card .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.chart-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.chart-card .chart-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.loading-state,
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}
.loading-state p,
.empty-state p {
  margin-top: 0.75rem;
}
.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 0.25em solid var(--accent);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}
@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}
.text-danger {
  color: var(--danger);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
