/* src/styles.scss */
:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3ff;
  --surface-strong: #e8edf8;
  --primary: #0b5ed7;
  --primary-dark: #0a4eb1;
  --primary-soft: rgba(11, 94, 215, 0.12);
  --success: #0f9d78;
  --warning: #d97706;
  --danger: #dc2626;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #dfe7f4;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  font-family:
    Inter,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(
      180deg,
      #edf4ff 0%,
      #f5f7fb 100%);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar__left,
.topbar__right,
.brand,
.user-chip {
  display: flex;
  align-items: center;
}
.topbar__left,
.topbar__right {
  gap: 1rem;
}
.brand {
  gap: 0.75rem;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background:
    linear-gradient(
      135deg,
      var(--primary) 0%,
      #4f72ff 100%);
  color: #fff;
  font-weight: 700;
}
.brand strong {
  display: block;
}
.brand small,
.user-chip small {
  color: var(--muted);
}
.user-chip {
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
}
.user-chip__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}
.shell-body {
  display: flex;
  flex: 1;
  min-height: 0;
}
.sidebar {
  width: 260px;
  background: rgba(15, 23, 42, 0.97);
  color: #e5eefc;
  padding: 1.25rem 0.85rem;
  transition: width 0.2s ease;
}
.sidebar--collapsed {
  width: 84px;
}
.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  color: #dfeaff;
  text-decoration: none;
  border-radius: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-item:hover,
.nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}
.nav-item__icon {
  display: inline-flex;
  width: 1.5rem;
  justify-content: center;
}
.nav-item__label {
  white-space: nowrap;
}
.sidebar--collapsed .nav-item__label {
  display: none;
}
.main-content {
  flex: 1;
  padding: 2rem;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.page-header h1,
.panel__header h2,
.auth-card__header h1 {
  margin: 0.25rem 0 0;
  color: var(--text);
}
.eyebrow {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.primary-button,
.secondary-button,
.icon-button {
  border: none;
  border-radius: 0.85rem;
  transition: all 0.2s ease;
}
.primary-button {
  background:
    linear-gradient(
      135deg,
      var(--primary) 0%,
      var(--primary-dark) 100%);
  color: white;
  padding: 0.8rem 1.1rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.primary-button:hover {
  filter: brightness(1.02);
}
.secondary-button {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
}
.icon-button {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  width: 2.5rem;
  height: 2.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stats-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.metric-card,
.panel,
.info-card,
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}
.metric-card {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.metric-card__label {
  color: var(--muted);
  font-size: 0.85rem;
}
.metric-card__value {
  font-size: clamp(1.4rem, 1.9vw, 2rem);
}
.metric-card__value--success {
  color: var(--success);
}
.metric-card__value--warning {
  color: var(--warning);
}
.metric-card__value--accent {
  color: var(--primary);
}
.metric-card__value--neutral {
  color: var(--text);
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 1.25rem;
}
.panel {
  padding: 1.25rem;
}
.panel--compact {
  min-height: 240px;
}
.panel__header {
  margin-bottom: 1rem;
}
.product-list,
.activity-list,
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem;
}
.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  background: var(--surface-alt);
}
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.detail-list li,
.activity-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--surface-alt);
}
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.activity-list li {
  justify-content: flex-start;
}
.empty-state {
  display: grid;
  place-items: center;
  min-height: 180px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 1rem;
  padding: 1rem;
  background: #fafcff;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.auth-card {
  width: min(100%, 540px);
  padding: 2rem;
}
.auth-card--wide {
  width: min(100%, 680px);
}
.auth-card--narrow {
  width: min(100%, 440px);
}
.auth-card__header {
  margin-bottom: 1.5rem;
}
.auth-card__header p {
  color: var(--muted);
  margin-top: 0.5rem;
}
.auth-card__footer {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: var(--muted);
}
.auth-card__footer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.field-group label {
  font-weight: 600;
}
.field-group input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  background: var(--surface);
  color: var(--text);
}
.field-group input:focus {
  outline: 2px solid rgba(11, 94, 215, 0.15);
  border-color: var(--primary);
}
.error-text {
  color: var(--danger);
  font-size: 0.8rem;
}
.alert {
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  font-size: 0.95rem;
}
.alert--error {
  background: rgba(220, 38, 38, 0.08);
  color: var(--danger);
}
.alert--success {
  background: rgba(15, 157, 120, 0.1);
  color: var(--success);
}
.mobile-only {
  display: none;
}
@media (max-width: 900px) {
  .content-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: absolute;
    left: 0;
    top: 70px;
    bottom: 0;
    z-index: 20;
  }
  .sidebar--collapsed {
    width: 0;
    overflow: hidden;
    padding: 0;
  }
}
@media (max-width: 640px) {
  .mobile-only {
    display: inline-flex;
  }
  .main-content {
    padding: 1rem;
  }
  .topbar {
    padding: 0.85rem 1rem;
  }
  .user-chip {
    display: none;
  }
}

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