@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --bg-gradient: radial-gradient(at 0% 0%, rgba(125, 211, 252, 0.45) 0px, transparent 50%),
                 radial-gradient(at 100% 0%, rgba(167, 243, 208, 0.5) 0px, transparent 50%),
                 radial-gradient(at 100% 100%, rgba(251, 207, 232, 0.55) 0px, transparent 50%),
                 radial-gradient(at 0% 100%, rgba(196, 181, 253, 0.4) 0px, transparent 50%),
                 #e2f1f8;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #f1f5f9;
  --border-subtle: #e2e8f0;
  --primary-red: #fa5252;
  --primary-red-hover: #e03131;
  --primary-subtle: #fff5f5;
  --coral-gradient: linear-gradient(135deg, #ff7170 0%, #fa5252 100%);
  --cyan-gradient: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  --purple-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  --radius-container: 0;
  --radius-card: 18px;
  --radius-sm: 10px;
  --shadow-card: 0 2px 12px -2px rgba(15, 23, 42, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background: #f8fafc;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* APP SHELL CONTAINER (EDGE-TO-EDGE FULL SCREEN) */
.app-container {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  position: relative;
}

/* EASY-TO-UNDERSTAND FULL LABELED SIDEBAR */
.sidebar-main {
  width: 240px;
  height: 100vh;
  position: sticky;
  top: 0;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  padding: 22px 14px 18px;
  flex-shrink: 0;
  z-index: 25;
  box-shadow: 1px 0 3px rgba(0,0,0,0.02);
}

.brand-header-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 18px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 14px;
}

.brand-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff7170, #fa5252);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(250, 82, 82, 0.25);
  flex-shrink: 0;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-app-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-app-sub {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #fa5252;
  text-transform: uppercase;
  margin-top: 2px;
}

.sidebar-section-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #94a3b8;
  text-transform: uppercase;
  padding: 6px 10px;
  margin-bottom: 4px;
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  flex: 1;
  padding-right: 2px;
}

.sidebar-nav-list::-webkit-scrollbar {
  width: 4px;
}
.sidebar-nav-list::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 4px;
}

.nav-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.15s ease-in-out;
  position: relative;
}

.nav-link-row svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
  transition: all 0.15s;
}

.nav-link-row:hover {
  background: #f8fafc;
  color: #1e293b;
}

.nav-link-row:hover svg {
  color: #fa5252;
}

.nav-link-row.active {
  background: #fff5f5;
  color: #fa5252;
  font-weight: 700;
}

.nav-link-row.active svg {
  color: #fa5252;
}

.nav-link-row.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #fa5252;
}

.sidebar-footer-user {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-mini-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-mini-info {
  min-width: 0;
  flex: 1;
}

.user-mini-name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-mini-role {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
}

.btn-sidebar-logout {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.btn-sidebar-logout:hover {
  background: #fff5f5;
  color: #fa5252;
}

/* MAIN CONTENT WRAPPER */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
  overflow-y: auto;
}

/* TOPBAR */
.topbar {
  height: 72px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 0;
  z-index: 15;
  flex-shrink: 0;
}

.topbar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 8px 18px;
  width: 250px;
  color: #94a3b8;
  transition: all 0.2s;
}

.search-box:focus-within {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  font-family: inherit;
  color: #1e293b;
  width: 100%;
}

.topbar-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.topbar-icon-btn:hover {
  background: #f8fafc;
  color: #1e293b;
}

.notification-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fa5252;
}

.topbar-status-pill {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* CONTENT CANVAS */
.content-canvas {
  padding: 24px 40px 48px;
  width: 100%;
  flex: 1;
}

/* EASY QUICK ACTION SHORTCUTS BAR */
.quick-shortcuts-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 16px 22px;
  margin-bottom: 24px;
  gap: 16px;
}

.quick-shortcuts-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quick-shortcuts-left strong {
  font-size: 14px;
  color: #1e293b;
}

.quick-shortcuts-left small {
  font-size: 12px;
  color: #64748b;
}

.quick-shortcuts-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* DASHBOARD GRID */
.dash-grid-top {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* CATEGORIES CARD (WITH 3 INTERCONNECTED BUBBLES) */
.categories-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.card-header-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-title-clean {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.chevron-link {
  color: #94a3b8;
  font-size: 16px;
  font-weight: bold;
}

.bubble-chart-area {
  position: relative;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 20px;
}

.circle-bubble {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.bubble-green {
  width: 108px;
  height: 108px;
  background: linear-gradient(135deg, #10b981, #059669);
  left: 20px;
  top: 20px;
  font-size: 20px;
  z-index: 2;
}

.bubble-orange {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  right: 24px;
  top: 45px;
  font-size: 18px;
  z-index: 1;
}

.bubble-coral {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #ff7170, #fa5252);
  left: 55px;
  bottom: 0;
  font-size: 16px;
  z-index: 3;
}

.categories-legend {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  margin-top: auto;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-green { background: #10b981; }
.dot-orange { background: #f59e0b; }
.dot-coral { background: #fa5252; }

/* 3 TOP METRIC CARDS */
.top-metrics-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metrics-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.metric-card-gradient {
  border-radius: var(--radius-card);
  padding: 22px 24px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.metric-card-gradient:hover {
  transform: translateY(-2px);
}

.metric-card-gradient.coral { background: var(--coral-gradient); }
.metric-card-gradient.teal { background: var(--cyan-gradient); }
.metric-card-gradient.purple { background: var(--purple-gradient); }

.metric-card-title {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 8px;
}

.metric-card-val {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
}

.metric-card-sub {
  font-size: 11.5px;
  opacity: 0.9;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.metric-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
}

.metric-card-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* DAILY SUBSCRIBERS BAR CHART */
.daily-subs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
}

.daily-subs-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100px;
  margin-top: 14px;
  padding-bottom: 6px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.bar-pill {
  width: 28px;
  border-radius: 8px;
  background: #f1f5f9;
  transition: all 0.2s;
}

.bar-pill.active {
  background: #6366f1;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.bar-date {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

/* MID SECTION: MONTHLY VISITORS + GOALS */
.dash-grid-mid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  margin-bottom: 24px;
}

.monthly-chart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.chart-svg-container {
  width: 100%;
  height: 200px;
  margin-top: 10px;
}

/* GOALS CARD WITH GAUGE & COMPARISON CAPSULES */
.goals-comparison-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  position: relative;
}

.goals-left-metrics {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.goal-item-donut {
  display: flex;
  align-items: center;
  gap: 14px;
}

.donut-circle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: relative;
}

.donut-purple {
  background: #f5f3ff;
  border: 3px solid #8b5cf6;
  color: #8b5cf6;
}

.donut-cyan {
  background: #ecfeff;
  border: 3px solid #06b6d4;
  color: #06b6d4;
}

.goal-details small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.goal-details strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #1e293b;
}

.capsule-bars-right {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-left: 16px;
}

.capsule-bar {
  width: 12px;
  height: 150px;
  background: #f1f5f9;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.capsule-fill {
  position: absolute;
  bottom: 0;
  width: 100%;
  border-radius: 6px;
}

.capsule-fill.purple { background: #8b5cf6; height: 75%; }
.capsule-fill.cyan { background: #06b6d4; height: 90%; }

.capsule-label-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  margin-right: 4px;
}

/* ROW 3: GOAL PROGRESS CARDS */
.goals-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 50px;
  gap: 16px;
  margin-bottom: 24px;
}

.goal-progress-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.progress-circle-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.badge-cyan { background: #ecfeff; color: #0891b2; border: 2.5px solid #06b6d4; }
.badge-coral { background: #fff1f2; color: #e11d48; border: 2.5px solid #f43f5e; }
.badge-amber { background: #fffbeb; color: #d97706; border: 2.5px solid #f59e0b; }

.goal-progress-text strong {
  display: block;
  font-size: 13.5px;
  color: #1e293b;
}

.goal-progress-text small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}

.goal-card-arrow {
  margin-left: auto;
  color: #cbd5e1;
  font-weight: bold;
}

.btn-arrow-standalone {
  border-radius: var(--radius-card);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-card);
}

.btn-arrow-standalone:hover {
  background: #f8fafc;
  color: #1e293b;
}

/* GENERAL PAGE / FORM / TABLE STYLING */
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.page-heading h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 800;
  color: #1e293b;
}

.page-heading p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: #64748b;
}

.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 800;
  color: #fa5252;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.btn.primary {
  background: #fa5252;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(250, 82, 82, 0.25);
}

.btn.primary:hover {
  background: #e03131;
}

.btn.secondary {
  background: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.btn.secondary:hover {
  background: #f8fafc;
}

.btn.sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

.btn.danger-btn {
  background: #fff5f5;
  color: #e03131;
  border-color: #ffc9c9;
}

.panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  overflow: hidden;
}

.panel-head {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.panel-head h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.panel-head p {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 2px 0 0;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  background: #f8fafc;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
}

td {
  padding: 14px 20px;
  border-bottom: 1px solid #f8fafc;
  font-size: 13px;
  color: #334155;
}

tr:hover td {
  background: #fbfcfe;
}

.channel-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.status.active, .status.published, .status.monetized, .status.paid, .status.success {
  background: #ecfdf5;
  color: #059669;
}

.status.pending, .status.processing, .status.review, .status.warning {
  background: #fffbeb;
  color: #d97706;
}

.status.inactive, .status.draft, .status.suspended, .status.unlisted {
  background: #f1f5f9;
  color: #64748b;
}

.status.failed, .status.danger {
  background: #fef2f2;
  color: #dc2626;
}

/* FILTERS */
.filters {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.filters input, .filters select {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  outline: none;
}

.panel-end {
  padding: 12px 24px;
  font-size: 12px;
  color: #94a3b8;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

/* FORMS */
input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  margin-top: 6px;
  background: #ffffff;
  color: #1e293b;
}

input:focus, select:focus, textarea:focus {
  border-color: #fa5252;
  box-shadow: 0 0 0 3px rgba(250, 82, 82, 0.12);
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.form-panel {
  padding: 28px;
  max-width: 860px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.delete-form {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.alert {
  padding: 12px 18px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #065f46;
  margin-bottom: 20px;
  font-size: 13.5px;
}

.alert.danger {
  background: #fef2f2;
  color: #991b1b;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.stat {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: #f8fafc;
}

.stat-icon.red { background: #fff5f5; color: #fa5252; }
.stat-icon.blue { background: #eff6ff; color: #2563eb; }
.stat-icon.green { background: #ecfdf5; color: #10b981; }
.stat-icon.amber { background: #fffbeb; color: #f59e0b; }

.stat small { color: #94a3b8; font-weight: 600; font-size: 13px; }
.stat strong { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; color: #1e293b; }
.stat .stat-meta { font-size: 12px; color: #94a3b8; }
.badge-trend-up { color: #10b981; font-weight: 700; }

.progress-bar {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
  margin: 6px 0;
}

.progress-fill {
  height: 100%;
  background: #fa5252;
  border-radius: 4px;
}

/* AUTH LIGHT */
.auth-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.text-link {
  color: #fa5252;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .dash-grid-top, .dash-grid-mid { grid-template-columns: 1fr; }
  .goals-bottom-row { grid-template-columns: repeat(2, 1fr); }
  .sidebar-main { width: 200px; }
}

@media (max-width: 768px) {
  body { padding: 0; }
  .app-container { border-radius: 0; flex-direction: column; }
  .sidebar-main { width: 100%; height: auto; position: static; padding: 12px 16px; border-right: none; border-bottom: 1px solid #e2e8f0; }
  .sidebar-nav-list { flex-direction: row; overflow-x: auto; }
  .nav-link-row span { white-space: nowrap; }
  .topbar { padding: 0 16px; }
  .content-canvas { padding: 16px; }
  .metrics-cards-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .quick-shortcuts-bar { flex-direction: column; align-items: flex-start; }
}
