/* ==========================================================================
   Stitch Theme - Talentrack Design System (Project 17545015501608936165)
   Modern Cobalt, Tangerine, and Slate Design Tokens & Component Overrides
   ========================================================================== */

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

:root {
  /* Brand Core Colors */
  --stitch-primary: #1d4ed8;            /* Electric Cobalt */
  --stitch-primary-dark: #0037b0;       /* Deep Cobalt */
  --stitch-primary-tint: #2151da;       /* Surface Tint */
  --stitch-primary-container: #1d4ed8;
  --stitch-primary-light: #dce1ff;      /* Primary Fixed / Badges */
  --stitch-primary-hover: #1e40af;

  /* Accent Colors */
  --stitch-secondary: #f97316;          /* Warm Tangerine */
  --stitch-secondary-dark: #9d4300;
  --stitch-secondary-container: #fd761a;
  --stitch-secondary-light: #ffdbca;
  --stitch-secondary-hover: #ea580c;

  --stitch-tertiary: #7c3aed;           /* Royal Purple */
  --stitch-tertiary-container: #712ae2;
  --stitch-tertiary-light: #eaddff;

  /* Neutrals & Typography Colors */
  --stitch-neutral-dark: #0f172a;       /* Deep Slate */
  --stitch-on-surface: #131b2e;         /* Headings & High Contrast Text */
  --stitch-body-text: #334155;          /* Crisp Body Text */
  --stitch-muted: #64748b;              /* Secondary / Muted Text */
  --stitch-outline: #94a3b8;            /* Form Borders */
  --stitch-border: #e2e8f0;             /* Card / Divider Borders */

  /* Surfaces & Backgrounds */
  --stitch-bg: #faf8ff;                 /* Canvas Background */
  --stitch-surface: #ffffff;            /* Card White Surface */
  --stitch-surface-container: #eaedff;  /* Soft Blue-tinted Container */
  --stitch-surface-low: #f8faff;        /* Very Soft Fill */
  --stitch-surface-dim: #d2d9f4;

  /* Layout & Styling Tokens */
  --stitch-radius-sm: 4px;
  --stitch-radius-md: 8px;              /* Stitch Round Eight */
  --stitch-radius-lg: 14px;
  --stitch-radius-full: 9999px;

  --stitch-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --stitch-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --stitch-shadow-lg: 0 10px 25px rgba(29, 78, 216, 0.12);
  --stitch-shadow-hover: 0 12px 24px -4px rgba(29, 78, 216, 0.15), 0 4px 8px -2px rgba(0, 0, 0, 0.04);

  /* Fonts */
  --stitch-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --stitch-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base Typography Overrides */
body {
  font-family: var(--stitch-font-body) !important;
  color: var(--stitch-body-text);
  background-color: var(--stitch-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.font-display-hero, .titleTop h3, .heading, .main-heading {
  font-family: var(--stitch-font-heading) !important;
  color: var(--stitch-neutral-dark);
  letter-spacing: -0.02em;
}

a {
  color: var(--stitch-primary);
  transition: all 0.2s ease-in-out;
}
a:hover {
  color: var(--stitch-primary-dark);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header, #siteheader {
  background: var(--stitch-surface) !important;
  border-bottom: 1px solid var(--stitch-border) !important;
  box-shadow: var(--stitch-shadow-sm) !important;
}

.navbar-light .navbar-nav .nav-link {
  font-family: var(--stitch-font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--stitch-on-surface) !important;
  padding: 8px 16px !important;
  transition: all 0.2s ease;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link:hover {
  color: var(--stitch-primary) !important;
  border-bottom-color: var(--stitch-primary) !important;
}

/* Navigation CTA Buttons */
.navbar-expand-lg .navbar-nav .nav-item.register a,
.navbar-expand-lg .navbar-nav .nav-item.foruserbtn a {
  background: var(--stitch-primary) !important;
  color: #ffffff !important;
  border-radius: var(--stitch-radius-md) !important;
  font-family: var(--stitch-font-heading) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.25) !important;
  transition: all 0.2s ease !important;
}

.navbar-expand-lg .navbar-nav .nav-item.register a:hover,
.navbar-expand-lg .navbar-nav .nav-item.foruserbtn a:hover {
  background: var(--stitch-primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.35) !important;
}

.navbar-expand-lg .navbar-nav .nav-item.loginlink a {
  color: var(--stitch-primary) !important;
  font-weight: 600;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn-primary,
.button,
.btn-yellow,
.apply-btn {
  background: var(--stitch-primary) !important;
  border-color: var(--stitch-primary) !important;
  color: #ffffff !important;
  font-family: var(--stitch-font-heading) !important;
  font-weight: 600 !important;
  border-radius: var(--stitch-radius-md) !important;
  box-shadow: 0 2px 4px rgba(29, 78, 216, 0.2) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-yellow:hover,
.apply-btn:hover {
  background: var(--stitch-primary-hover) !important;
  border-color: var(--stitch-primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: var(--stitch-shadow-lg) !important;
}

/* Accent Buttons (Warm Tangerine from Stitch) */
.button-orng,
.sitebtn,
.btn-warning {
  background: linear-gradient(135deg, var(--stitch-secondary-container) 0%, var(--stitch-secondary) 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-family: var(--stitch-font-heading) !important;
  font-weight: 700 !important;
  border-radius: var(--stitch-radius-md) !important;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3) !important;
  transition: all 0.2s ease !important;
}

.button-orng:hover,
.sitebtn:hover,
.btn-warning:hover {
  background: linear-gradient(135deg, var(--stitch-secondary) 0%, var(--stitch-secondary-dark) 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.4) !important;
}

/* Hero / Get Started Button */
.getstarted a {
  border-radius: var(--stitch-radius-full) !important;
  border: 2px solid #ffffff !important;
  font-family: var(--stitch-font-heading) !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}
.getstarted a:hover {
  background: var(--stitch-primary) !important;
  border-color: var(--stitch-primary) !important;
  transform: scale(1.03);
}

/* ==========================================================================
   Search Bar & Inputs
   ========================================================================== */
.searchbar .input-group {
  border: 1.5px solid var(--stitch-primary-light) !important;
  background: #ffffff !important;
  border-radius: var(--stitch-radius-lg) !important;
  box-shadow: var(--stitch-shadow-md) !important;
  padding: 6px !important;
}

.searchbar .form-control {
  font-family: var(--stitch-font-body) !important;
  color: var(--stitch-on-surface) !important;
}

.searchbar .btn {
  background: var(--stitch-primary) !important;
  border-radius: var(--stitch-radius-md) !important;
  font-family: var(--stitch-font-heading) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  padding: 12px 28px !important;
  transition: all 0.2s ease !important;
}

.searchbar .btn:hover {
  background: var(--stitch-secondary) !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35) !important;
}

.form-control:focus {
  border-color: var(--stitch-primary) !important;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15) !important;
}

/* ==========================================================================
   Cards, Listings & Highlights
   ========================================================================== */
/* Job cards & Employer cards */
.featuredlist .jobint,
.latestjoblist .jobint,
.employerList li .empint,
.compnaieslist li .compint {
  background: var(--stitch-surface) !important;
  border: 1px solid var(--stitch-border) !important;
  border-radius: var(--stitch-radius-md) !important;
  box-shadow: var(--stitch-shadow-sm) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.featuredlist .jobint:hover,
.latestjoblist .jobint:hover,
.employerList li .empint:hover,
.compnaieslist li:hover .compint {
  border-color: var(--stitch-primary-tint) !important;
  transform: translateY(-4px) !important;
  box-shadow: var(--stitch-shadow-hover) !important;
}

.featuredlist .jobint h4 a,
.compnaieslist li h3 a,
.latestjoblist .jobint h4 a {
  color: var(--stitch-neutral-dark) !important;
  font-family: var(--stitch-font-heading) !important;
  font-weight: 700 !important;
  transition: color 0.2s ease;
}

.featuredlist .jobint:hover h4 a,
.compnaieslist li:hover h3 a {
  color: var(--stitch-primary) !important;
}

/* Category cards */
.catelist li a,
.categorylisting li .catecard {
  background: var(--stitch-surface) !important;
  border: 1px solid var(--stitch-border) !important;
  border-left: 4px solid var(--stitch-primary) !important;
  border-radius: var(--stitch-radius-md) !important;
  box-shadow: var(--stitch-shadow-sm) !important;
  font-family: var(--stitch-font-heading) !important;
  transition: all 0.2s ease !important;
}

.catelist li a:hover,
.categorylisting li .catecard:hover {
  border-left-color: var(--stitch-secondary) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--stitch-shadow-md) !important;
}

.catelist li span,
.categorylisting li .catecard:hover h3 {
  color: var(--stitch-primary) !important;
}

/* Badges & Chips */
.badge,
.categorylisting li .catecard .badge,
.intcategorylisting li .catecard .badge {
  background: var(--stitch-surface-container) !important;
  color: var(--stitch-primary-dark) !important;
  font-family: var(--stitch-font-heading) !important;
  font-weight: 600 !important;
  border-radius: var(--stitch-radius-full) !important;
  padding: 4px 12px !important;
}

/* Tab Navigation */
.tabswrap {
  border-bottom: 2px solid var(--stitch-border) !important;
}

.tabswrap .nav-tabs > li > a.active,
.tabswrap .nav-tabs > li > a.active:focus {
  background: var(--stitch-primary) !important;
  color: #ffffff !important;
  border-color: var(--stitch-primary) !important;
  border-radius: var(--stitch-radius-md) var(--stitch-radius-md) 0 0 !important;
  font-family: var(--stitch-font-heading) !important;
  font-weight: 700 !important;
}

/* Title Accents */
.titleTop h3 {
  position: relative;
  display: inline-block;
  font-weight: 800;
  margin-bottom: 24px;
}

.titleTop h3 i {
  color: var(--stitch-primary) !important;
}

.titleTop p {
  color: var(--stitch-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ==========================================================================
   Footer Overrides
   ========================================================================== */
.footerWrap {
  background: var(--stitch-neutral-dark) !important;
  color: #94a3b8;
  border-top: 3px solid var(--stitch-primary);
}

.footerWrap h5 {
  font-family: var(--stitch-font-heading) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.footerWrap a {
  color: #cbd5e1 !important;
}

.footerWrap a:hover {
  color: var(--stitch-secondary) !important;
}

.bcktoTop {
  background: var(--stitch-primary) !important;
  border-radius: var(--stitch-radius-md) !important;
  transition: all 0.2s ease;
}
.bcktoTop:hover {
  background: var(--stitch-secondary) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Stitch Helper Utilities
   ========================================================================== */
.text-stitch-primary { color: var(--stitch-primary) !important; }
.text-stitch-secondary { color: var(--stitch-secondary) !important; }
.text-stitch-tertiary { color: var(--stitch-tertiary) !important; }
.bg-stitch-primary { background-color: var(--stitch-primary) !important; }
.bg-stitch-secondary { background-color: var(--stitch-secondary) !important; }
.bg-stitch-surface { background-color: var(--stitch-surface) !important; }
.bg-stitch-container { background-color: var(--stitch-surface-container) !important; }

.gradient-stitch-hero {
  background: linear-gradient(135deg, var(--stitch-primary-dark) 0%, var(--stitch-primary) 50%, var(--stitch-tertiary) 100%) !important;
}

.gradient-stitch-accent {
  background: linear-gradient(135deg, var(--stitch-secondary-container) 0%, var(--stitch-secondary) 50%, var(--stitch-primary) 100%) !important;
}
