/* Southmakkah cpanel design tokens — Buildora structure, Maqrah navy/gold */

@font-face {
  font-family: "Thmanyah Sans";
  src: url("/fonts/thmanyah/thmanyahsans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("/fonts/thmanyah/thmanyahsans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("/fonts/thmanyah/thmanyahsans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("/fonts/thmanyah/thmanyahsans-Medium.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("/fonts/thmanyah/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("/fonts/thmanyah/thmanyahsans-Black.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("/fonts/thmanyah/thmanyahsans-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  --font-sans: "Thmanyah Sans", "Segoe UI", Tahoma, Arial, sans-serif;

  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-pink: #eef2f6;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --text: #0b1c2c;
  --text-2: #1f2937;
  --slate: #475569;
  --muted: #5a6672;
  --muted-2: #94a3b8;
  --mauve: #8d7d91;
  --white: #fff;
  --on-dark-muted: rgba(226, 232, 240, .7);

  /* Maqrah navy as primary */
  --primary: #0a2f4a;
  --primary-2: #123f5f;
  --primary-3: #b5965e;
  --primary-soft: #e8eef4;
  --success: #28a169;
  --success-soft: #e8f7ef;
  --warning: #ce8d22;
  --warning-soft: #fff3de;
  --danger: #d94f72;
  --danger-soft: #fdeaf0;
  --info: #2d78ba;
  --purple: #7654a8;
  --blue: #60758a;
  --blue-soft: #eef2f6;

  --gold: #b5965e;
  --gold-deep: #9a7d4a;
  --gold-soft: #f4eee2;
  --teal-deep: #082538;
  --teal-soft: #e8eef4;

  --shadow-sm: 0 8px 24px rgba(10, 47, 74, .055);
  --shadow-md: 0 14px 36px rgba(10, 47, 74, .075);
  --shadow-lg: 0 24px 60px rgba(10, 47, 74, .12);
  /* Legacy soft radii (compat only — prefer control/card below) */
  --radius-sm: 15px;
  --radius-md: 20px;
  --radius-lg: 24px;

  --fs-xs: 10px;
  --fs-sm: 11px;
  --fs-md: 12px;
  --fs-base: 13px;
  --fs-lg: 14px;
  --fs-xl: 16px;
  --fs-2xl: 18px;
  --fs-3xl: 20px;
  --fs-4xl: 24px;
  --fs-5xl: 28px;
  --fs-display: clamp(24px, 2.5vw, 32px);
  --fs-hero: clamp(32px, 4vw, 48px);

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.2;
  --lh-title: 1.35;
  --lh-body: 1.5;

  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  --brand: #b5965e;
  --brand-soft: #f4eee2;
  --ink: #0b1c2c;
  --gray-25: #fcfcfd;
  --gray-50: #f9fafb;
  --gray-100: #f2f4f7;
  --gray-200: #eaecf0;
  --gray-300: #d2d6db;
  --gray-400: #98a2b3;
  --gray-500: #667085;
  --gray-600: #475467;
  --gray-700: #344054;
  --gray-900: #101828;

  /* Product radius scale: controls 6 · cards/surfaces 8 · pills 999 · menus 0 · avatars 50% */
  --radius-control: 6px;
  --radius-card: 8px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, .05);

  --field-select-height: 40px;
  --field-select-radius: var(--radius-control);
  --field-select-font-size: var(--fs-lg);
  --field-select-border: var(--gray-300);
  --field-select-border-hover: var(--gray-400);
  --field-select-border-focus: var(--gray-400);
  --field-select-ring: rgba(100, 116, 139, 0.12);
  --field-select-panel-radius: var(--radius-control);

  --sidebar-width: 268px;
  --sidebar-collapsed: 110px;
  --header-height: 50px;
  --topbar-height: 50px;
  --footer-height: 48px;

  font-family: var(--font-sans);
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--font-sans);
}
