:root {
  --primary: #0077c8;
  --primary-dark: #005a98;
  --secondary: #0f172a;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #0ea5e9;

  /* Backgrounds */
  --bg-body: #f5f7fb;
  --bg-sidebar: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --bg-hover: rgba(0, 119, 200, 0.08);
  --bg-soft: rgba(0, 119, 200, 0.06);

  --text-main: #0b1220;
  --text-muted: #475569;
  --text-inverse: #ffffff;

  /* Borders */
  --border-color: #e2e8f0;
  --border-focus: #0077c8;

  --app-header-height: 64px;
  --app-header-bg: #000000;
  --app-header-fg: #ffffff;
  --app-header-fg-muted: rgba(255, 255, 255, 0.78);

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;

  /* Fonts */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
}

/* Specific overrides for placeholders */
::placeholder {
  color: var(--text-muted) !important;
  opacity: 1;
}

/* Helper Classes */
.text-muted {
  color: var(--text-muted) !important;
}

.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-dark);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
