@font-face {
  font-family: "Kahroba";
  src: url("../fonts/Kahroba-FD-RG.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kahroba";
  src: url("../fonts/Kahroba-FD-B.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #1a4fb3;
  --primary-hover: #174b7a;
  --primary-soft: #e8eef5;
  --primary-mid: #174b7a;
  --primary-rgb: 16, 43, 78;
  --secondary: #f5c400;
  --secondary-hover: #e0b300;
  --secondary-soft: #fff8db;
  --navy: #1a4fb3;
  --line: #e2e8f0;
  --muted: #64748b;
  --success: #10b981;
  --danger: #f43f5e;
  --warning: #f59e0b;
  --bg-main: #fff;
  --card-bg: #ffffff;
  --sidebar-bg: linear-gradient(180deg, #1a4fb3 0%, #174b7a 100%);
  --sidebar-muted: #a3a3a3;
  --sidebar-hover: rgba(255, 255, 255, 0.08);
  --border-color: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --font-base: 14px;
  --font-description: 12px;
  --font-sm: var(--font-description);
  --font-md: 16px;
  --font-lg: 18px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 1px 5px rgba(15, 23, 42, 0.05);
  --shadow-elevated: 0 12px 28px rgba(16, 43, 78, 0.12);
  --sidebar-width: 280px;
  --header-h: 80px;
  --grad-primary: linear-gradient(135deg, #1a4fb3 0%, #174b7a 100%);
  --grad-icon: linear-gradient(135deg, #1a4fb3 0%, #174b7a 100%);
  --grad-sidebar-active: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.08)
  );
}

[data-theme="dark"] {
  --bg-main: #0b1220;
  --card-bg: #111827;
  --border-color: #1f2937;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --primary-soft: #152a45;
  --secondary-soft: #2a2408;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-elevated: 0 12px 28px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  font-family: "Kahroba", "Vazirmatn", Tahoma, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  overflow-x: clip;
  font-size: var(--font-base) !important;
  line-height: 1.8;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

a[class],
a[class]:hover,
a[class]:focus,
a[class]:active,
a[class]:visited {
  text-decoration: none !important;
}
