/* SmartQuantumHR Brand Overrides */
:root {
  /* Deep Blue primary */
  --primary-color: #1A3E73;
  --secondary-color: #2B5AA0; /* a lighter, complementary blue for hovers */
}

/* App-wide deep gradient background */
body {
  background: radial-gradient(1200px 600px at 20% -10%, #102B52 0%, #0D2246 35%, #0F2956 60%, #1A3E73 100%);
}

/* Login page background refined to new palette */
.login-container {
  background: linear-gradient(135deg, #0D2246 0%, #1A3E73 100%);
}

/* Primary button and active states auto-pick up variables; ensure contrast on hover */
.btn-primary:hover {
  filter: brightness(1.05);
}

/* Sidebar active link refinement to match deep blue */
.nav-menu a.active {
  background: rgba(26, 62, 115, 0.10);
  color: #1A3E73;
  border-right: 3px solid #1A3E73;
}

/* Spinner accent color */
.spinner { border-top-color: #1A3E73; }

/* Sidebar brand: deep gradient, light links */
.sidebar {
  background: linear-gradient(180deg, #0D2246 0%, #1A3E73 100%) !important;
  border-right: none !important;
}
.sidebar-header { border-bottom-color: rgba(255,255,255,0.12) !important; }
.sidebar-header h4 { color: #E6ECF8 !important; }
.nav-menu a { color: #CFE0FF !important; }
.nav-menu a:hover { background: rgba(255,255,255,0.06) !important; color: #FFFFFF !important; }
.nav-menu a.active { background: rgba(255,255,255,0.10) !important; color: #FFFFFF !important; border-right-color: #3BA4FF !important; }

/* Navbar: gradient top bar with light text */
.navbar.bg-white {
  background: linear-gradient(180deg, #102B52 0%, #1A3E73 100%) !important;
  color: #E6ECF8 !important;
}
.navbar .nav-link { color: #E6ECF8 !important; }
.navbar .nav-link:hover { background: rgba(255,255,255,0.06) !important; }
.sidebar-toggle { color: #E6ECF8 !important; }
.badge.bg-danger { box-shadow: 0 0 0 2px rgba(16,43,82,0.35); }

/* Recruitment tabs on dark header: ensure readable contrast */
.rec-tabs .nav-link { color: #E6ECF8 !important; }
.rec-tabs .nav-link.active { color: #0D2246 !important; background: #E6ECF8 !important; border-color: #E6ECF8 !important; }
.rec-tabs .nav-link:hover { color: #FFFFFF !important; }

/* Apps pipeline tiny buttons */
.btn.btn-xs { padding: 2px 6px; font-size: 11px; line-height: 1; border-radius: 6px; }

/* Ensure pre-like wrapping for job details blocks */
.text-prewrap { white-space: pre-wrap; }
