/* ==========================================================================
   PlacementStore Design System & Core Styles
   Modern, Ultra-Lightweight, Zero-Bloat CSS
   ========================================================================== */

:root {
  --primary: #1967d2;
  --primary-hover: #1251a3;
  --primary-light: #ebf3ff;
  --secondary: #059669;
  --secondary-light: #ecfdf5;
  --accent: #f59e0b;
  --accent-light: #fffbeb;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --dark: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg-light: #f8fafc;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.92);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 30px -10px rgba(25, 103, 210, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

/* ==========================================================================
   Header & Navigation - Boxed Card Floating Header
   ========================================================================== */
.ps-header-wrap {
  position: sticky;
  top: 14px;
  z-index: 1000;
  width: 100%;
  pointer-events: none;
  transition: top 0.2s ease;
  padding-top: 20px;
  padding-bottom: 8px;
}

body.admin-bar .ps-header-wrap {
  top: 46px;
}

.ps-header-wrap .container {
  pointer-events: auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0 24px;
  transition: box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  font-family: var(--font-heading);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo .custom-logo,
.brand-logo img.ps-site-logo {
  width: var(--ps-logo-size, 50px);
  height: var(--ps-logo-size, 50px);
  max-width: var(--ps-logo-size, 50px);
  max-height: var(--ps-logo-size, 50px);
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.brand-logo:hover .ps-site-logo {
  transform: scale(1.04);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: var(--ps-title-size, 22px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.6px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.brand-logo:hover .brand-title {
  color: var(--primary);
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: var(--ps-tagline-size, 11px);
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.2px;
  margin-top: 3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding-top: 20px;
}

.nav-links a {
  color: var(--slate);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* ==========================================================================
   Navigation Speech Bubble Badges & Dropdown Panes
   ========================================================================== */
.nav-item-has-dropdown {
  position: relative;
}

.nav-link-with-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-chevron {
  transition: transform 0.2s ease;
  opacity: 0.65;
  margin-top: 1px;
}

.nav-item-has-dropdown:hover .nav-chevron,
.nav-item-has-dropdown.active .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.ps-nav-badge {
  position: absolute;
  top: -19px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  padding: 3.5px 8.5px;
  border-radius: 5px;
  color: #ffffff !important;
  white-space: nowrap;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  z-index: 10;
  transform-origin: 50% 100%;
}

.ps-nav-badge::after {
  content: '';
  position: absolute;
  bottom: -4px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

/* In mobile nav drawer, badges are inline without speech bubble tail */
.nav-label .ps-nav-badge {
  position: static !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 5px !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
}
.nav-label .ps-nav-badge::after {
  display: none !important;
}

/* Wiggle / Tilt Bounce Animation for Navigation Badges */
@keyframes psBadgeWiggle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  4% {
    transform: translateY(-3px) rotate(-6deg) scale(1.05);
  }
  8% {
    transform: translateY(-5px) rotate(6deg) scale(1.08);
  }
  12% {
    transform: translateY(-3px) rotate(-4deg) scale(1.05);
  }
  16% {
    transform: translateY(-4px) rotate(4deg) scale(1.03);
  }
  20% {
    transform: translateY(-1px) rotate(-2deg) scale(1.01);
  }
  24% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  58% {
    transform: translateY(-2px) rotate(0deg) scale(1);
  }
  70% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes psBadgeHoverPop {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.15) rotate(-3deg);
  }
  100% {
    transform: translateY(-3px) scale(1.1) rotate(0deg);
  }
}

.nav-item-has-dropdown:hover .ps-nav-badge {
  animation: psBadgeHoverPop 0.35s ease-out forwards;
}

/* Hot badge on Jobs (Vibrant Red Gradient with speech bubble tail & wiggle) */
.ps-badge-hot {
  background: linear-gradient(135deg, #ff4757 0%, #ea3838 100%);
  right: 2px;
  box-shadow: 0 3px 9px rgba(234, 56, 56, 0.35);
  animation: psBadgeWiggle 3.2s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
  animation-delay: 0.2s;
}
.ps-badge-hot::after {
  left: 8px;
  border-top: 5px solid #ea3838;
}

/* Featured badge on More (Vibrant Emerald Gradient with speech bubble tail & alternating wiggle) */
.ps-badge-featured {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  left: -2px;
  box-shadow: 0 3px 9px rgba(16, 185, 129, 0.35);
  animation: psBadgeWiggle 3.2s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
  animation-delay: 1.8s;
}
.ps-badge-featured::after {
  left: 10px;
  border-top: 5px solid #059669;
}

/* Floating Dropdown Pane */
.ps-nav-dropdown-pane {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 270px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.14), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  padding: 8px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
}

.ps-nav-dropdown-pane::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
}

.ps-nav-dropdown-pane.ps-nav-dropdown-right {
  left: auto;
  right: 0;
  transform: translateY(8px);
}

/* Mega Dropdown for More (2-Column clean layout) */
.ps-nav-dropdown-mega {
  min-width: 610px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 270px 285px;
  column-gap: 24px;
}

.ps-mega-col {
  display: flex;
  flex-direction: column;
}

.ps-mega-col:first-child {
  border-right: 1px solid #f1f5f9;
  padding-right: 20px;
}

.ps-mega-heading {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
  padding: 0 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  letter-spacing: -0.3px;
  line-height: 1.25;
  white-space: nowrap;
}

.ps-mega-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ps-mega-list li {
  padding: 0 !important;
  margin: 0 !important;
}

.ps-mega-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  padding: 8px 10px !important;
  border-radius: 9px;
  text-decoration: none !important;
  color: #334155 !important;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.35;
}

.ps-mega-item::after,
.nav-links .ps-mega-item::after {
  display: none !important;
}

.ps-mega-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.ps-mega-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.ps-mega-label {
  flex: 1;
  white-space: nowrap;
}

.ps-mega-arrow {
  color: #94a3b8;
  opacity: 1 !important;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.ps-mega-item:hover {
  background: #f8fafc !important;
  color: #2563eb !important;
}

.ps-mega-item:hover .ps-mega-icon {
  transform: scale(1.08);
  filter: brightness(0.95);
}

.ps-mega-item:hover .ps-mega-arrow {
  color: #2563eb !important;
  transform: translateX(3px);
}

.nav-item-has-dropdown:hover .ps-nav-dropdown-pane,
.nav-item-has-dropdown.active .ps-nav-dropdown-pane {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-item-has-dropdown:hover .ps-nav-dropdown-pane.ps-nav-dropdown-right,
.nav-item-has-dropdown.active .ps-nav-dropdown-pane.ps-nav-dropdown-right {
  transform: translateY(0);
}

.ps-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ps-dropdown-item::after,
.nav-links .ps-nav-dropdown-pane a::after {
  display: none !important;
}

.ps-dropdown-item:hover {
  background: #f8fafc;
  transform: translateX(3px);
}

.ps-dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ps-dropdown-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.ps-dropdown-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.3;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-actions .btn {
  height: 48px;
  font-size: 15px;
  padding: 0 20px;
  border-radius: 10px;
}

/* User Profile Menu Dropdown */
.user-menu-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.user-dropdown-btn:hover, .user-menu-dropdown.active .user-dropdown-btn {
  border-color: var(--primary);
  background: var(--bg-light);
  box-shadow: 0 4px 12px rgba(25, 103, 210, 0.12);
}

.user-avatar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1967d2 0%, #0d47a1 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(25, 103, 210, 0.3);
  overflow: hidden;
  flex-shrink: 0;
}

.user-avatar-badge img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  transform: none !important;
}

.user-avatar-badge:has(img) {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.ps-card-candidate-avatar {
  overflow: hidden !important;
  border-radius: 50% !important;
}

.ps-card-candidate-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  transform: none !important;
}

.ps-card-candidate-avatar:has(img) {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.user-name-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-arrow {
  color: #64748b;
  transition: transform 0.2s ease;
}

.user-menu-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.user-dropdown-pane {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.06);
  padding: 10px 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.user-menu-dropdown.active .user-dropdown-pane,
.user-menu-dropdown:hover .user-dropdown-pane {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-user-info {
  padding: 8px 18px 10px;
}

.dropdown-display-name {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-role-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.candidate-badge {
  background: #dbeafe;
  color: #1e40af;
}

.employer-badge {
  background: #fef3c7;
  color: #92400e;
}

.dropdown-sep {
  height: 1px;
  background: #f1f5f9;
  margin: 6px 0;
}

.dropdown-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-links a:hover {
  background: #f8fafc;
  color: var(--primary);
}

.dropdown-links a svg {
  color: #64748b;
  transition: color 0.15s ease;
}

.dropdown-links a:hover svg {
  color: var(--primary);
}

.dropdown-logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  color: #ef4444;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.dropdown-logout-btn:hover {
  background: #fef2f2;
  color: #dc2626;
}

.dropdown-logout-btn svg {
  color: #ef4444;
}

/* ==========================================================================
   BUTTONS - RIGHT-TO-LEFT SLIDE & ICON ANIMATION SYSTEM
   ========================================================================== */
.btn, .site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-main);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  outline: none;
  line-height: 1.4;
  text-decoration: none;
  color: rgba(0, 0, 0, 0) !important;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  text-shadow: 0 0 0 #ffffff, 350px 0 0 #ffffff;
}

.btn:hover, .site-button:hover {
  transform: translateY(-2px);
  text-shadow: -350px 0 0 #ffffff, 0 0 0 #ffffff;
}

.btn:active, .site-button:active {
  transform: translateY(0);
}

.btn i, .site-button i {
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.btn svg, .site-button svg,
.btn i, .site-button i {
  vertical-align: middle;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.btn:hover svg, .site-button:hover svg,
.btn:hover i, .site-button:hover i {
  transform: translateX(-4px);
}

/* Glass Dark Button (e.g. Change Banner Button) */
.btn-glass-dark {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: 0 0 0 #ffffff, 350px 0 0 #ffffff !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-glass-dark:hover {
  background: rgba(15, 23, 42, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: -350px 0 0 #ffffff, 0 0 0 #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

/* Outline Primary Button (e.g. My Public Profile in Employer View) */
.btn-outline-primary {
  background-color: #ffffff !important;
  border: 1.5px solid #2563eb !important;
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: 0 0 0 #2563eb, 350px 0 0 #2563eb !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.btn-outline-primary i, .btn-outline-primary svg {
  color: #2563eb !important;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.btn-outline-primary:hover {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: -350px 0 0 #ffffff, 0 0 0 #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.btn-outline-primary:hover i, .btn-outline-primary:hover svg {
  color: #ffffff !important;
}

/* Primary Button (Solid Blue) */
.btn-primary, .site-button.primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: 0 0 0 #ffffff, 350px 0 0 #ffffff;
  box-shadow: 0 4px 14px rgba(25, 103, 210, 0.25);
}

.btn-primary:hover, .site-button.primary:hover {
  background-color: #171d28 !important;
  border-color: #171d28 !important;
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: -350px 0 0 #ffffff, 0 0 0 #ffffff;
  box-shadow: 0 6px 20px rgba(23, 29, 40, 0.35);
}

/* Outline / Light Button */
.btn-outline, .site-button.light {
  background-color: #eef5fe;
  border-color: #cbd5e1;
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: 0 0 0 var(--primary), 350px 0 0 var(--primary);
}

.btn-outline:hover, .site-button.light:hover {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: -350px 0 0 #ffffff, 0 0 0 #ffffff;
  box-shadow: 0 6px 20px rgba(25, 103, 210, 0.25);
}

/* Dark Accent Button (e.g. Header Post a Job) */
.btn-dark, .btn-primary.btn-dark-accent {
  background-color: #0f172a;
  border-color: #0f172a;
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: 0 0 0 #ffffff, 350px 0 0 #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-dark:hover, .btn-primary.btn-dark-accent:hover {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: -350px 0 0 #ffffff, 0 0 0 #ffffff;
  box-shadow: 0 6px 20px rgba(25, 103, 210, 0.35);
}

/* Buttons on Dark Backgrounds: Default & Hover (Footer, Job Details Banner, CTA) */
.site-footer .btn-primary,
.job-detail-hero .btn-primary,
.profile-showcase-hero .btn-primary,
.cta-banner .btn-primary,
.btn-on-dark {
  background-color: #2563eb;
  border-color: #2563eb;
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: 0 0 0 #ffffff, 350px 0 0 #2563eb;
}

.site-footer .btn-primary:hover,
.job-detail-hero .btn-primary:hover,
.profile-showcase-hero .btn-primary:hover,
.cta-banner .btn-primary:hover,
.btn-on-dark:hover {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: rgba(0, 0, 0, 0) !important;
  text-shadow: -350px 0 0 #ffffff, 0 0 0 #2563eb !important;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3), 0 0 16px rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-2px);
}

/* Size Variants */
.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
  border-radius: 9px;
}
.btn-sm i {
  font-size: 14.5px;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
  border-radius: 10px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 80px 0 60px;
  background: #f2f7fe;
  position: relative;
  overflow: hidden;
}

/* Home Page Only: Header background and Hero Card seamless color #f2f7fe */
body.home {
  background-color: #f2f7fe;
}

body.home .ps-header-wrap {
  background-color: transparent;
  background: transparent;
}

body.home .hero-section {
  background: #f2f7fe;
  background-color: #f2f7fe;
}

body.home #categoriesSection,
body.home #whyChooseSection {
  background-color: var(--bg-light);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-pill span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Modern Search Box */
.search-box-card {
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 48px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition);
}

.search-field:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 103, 210, 0.12);
}

.search-field svg {
  color: var(--muted);
  flex-shrink: 0;
}

.search-field input, .search-field select {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14.5px;
  width: 100%;
  color: var(--dark);
  font-family: var(--font-main);
}

.popular-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}

.popular-tags a {
  background: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--slate);
  font-weight: 500;
}

.popular-tags a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* ==========================================================================
   Job Categories
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-header-center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 44px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--muted);
  font-size: 16px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.cat-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
}

.cat-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.cat-count {
  font-size: 13.5px;
  color: var(--muted);
}

/* ==========================================================================
   Featured Jobs Grid
   ========================================================================== */
.jobs-filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--slate);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.job-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.job-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.company-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.job-meta-top h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
}

.job-company {
  font-size: 14px;
  color: var(--slate);
  font-weight: 500;
}

.job-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-blue {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-green {
  background: var(--secondary-light);
  color: var(--secondary);
}

.badge-amber {
  background: var(--accent-light);
  color: #b45309;
}

.job-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.job-salary {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
}

.job-location {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Employer CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-lg);
  margin: 40px 0 80px;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  color: #94a3b8;
  font-size: 17px;
  max-width: 580px;
}

/* ==========================================================================
   Footer - Boxed Card Container (Matching Profile Card Width & Design)
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 40px 24px;
  border-radius: 16px;
  border: 1px solid #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4,
.footer-col-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.footer-col h4::after,
.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: #2563eb;
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-col ul a::before {
  content: "›";
  color: #38bdf8;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-col ul a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-col ul a:hover::before {
  color: #60a5fa;
  transform: translateX(2px);
}

/* Footer Tier 2: Follow Us & Job Alerts */
.footer-tier-2 {
  border-top: 1px solid #1e293b;
  padding-top: 32px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.ps-footer-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 14px;
}

.ps-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 13.5px;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ps-social-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.ps-social-link .ps-soc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ps-social-link:hover .ps-soc-icon {
  transform: scale(1.15);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-outline-primary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #2563eb;
  transition: all 0.2s ease;
}

.btn-outline-primary:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.ps-footer-alerts-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
}

@media (max-width: 480px) {
  .ps-footer-alerts-form {
    flex-direction: column;
    gap: 10px;
  }
  .ps-footer-alerts-form input {
    width: 100% !important;
  }
  .ps-footer-alerts-form button {
    width: 100% !important;
    justify-content: center;
    padding: 12px 16px !important;
  }
}

@media (max-width: 992px) {
  .ps-footer-wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .site-footer {
    padding: 36px 28px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
  }
  .footer-tier-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ps-footer-social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ps-footer-wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-bottom: 24px !important;
  }
  .site-footer {
    padding: 28px 18px 18px;
    border-radius: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }
  .footer-tier-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ps-footer-social-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ==========================================================================
   Modal Dialogs (Auth & Apply)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 32px;
  position: relative;
  animation: modalIn 0.25s ease-out forwards;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.modal-tab-btn {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.modal-tab-btn.active {
  color: var(--primary);
  border-color: var(--primary);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-main);
  font-size: 14.5px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 103, 210, 0.12);
}

.auth-msg {
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 16px;
  display: none;
}

.auth-msg.error {
  display: block;
  background: var(--danger-light);
  color: var(--danger);
}

.auth-msg.success {
  display: block;
  background: var(--secondary-light);
  color: var(--secondary);
}

/* ==========================================================================
   Google Auth & Role Selector Enhancements
   ========================================================================== */
.btn-google-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 11px 16px;
  background: #ffffff;
  border: 1.5px solid #dadce0;
  border-radius: var(--radius-sm, 8px);
  color: #3c4043;
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-google-auth:hover {
  background: #f8fafc;
  border-color: #c2c7d0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.btn-google-auth:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-google-auth .google-icon {
  flex-shrink: 0;
}

.btn-google-auth.loading {
  opacity: 0.75;
  pointer-events: none;
  cursor: wait;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 16px;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
  padding: 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ps-role-label {
  user-select: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ps-role-label.ps-role-active {
  border-color: var(--primary) !important;
  background: #eff6ff !important;
  color: #1e40af !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ps-role-error-pulse {
  animation: roleShake 0.4s ease-in-out;
}

.ps-role-error-pulse .ps-role-label {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  color: #b91c1c !important;
}

@keyframes roleShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
/* ==========================================================================
   Mobile Header & Sliding Drawer Navigation
   ========================================================================== */
.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  padding: 0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 84%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 99999;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.mobile-drawer.active {
  right: 0;
}

body.mobile-drawer-open {
  overflow: hidden !important;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.mobile-drawer-close {
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.22s ease;
  flex-shrink: 0;
}

.mobile-drawer-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.mobile-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 18px;
  border: 1px solid #f1f5f9;
}

.mobile-user-details {
  display: flex;
  flex-direction: column;
}

.mobile-user-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dark);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: #f8fafc;
  color: var(--primary);
}

.nav-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--primary, #1967d2);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

/* Mobile Nav Colorful Accents (Jobs dropdown style) */
.mobile-nav-links a .nav-icon-wrap.ps-mob-icon-home { background: #eff6ff !important; color: #2563eb !important; }
.mobile-nav-links a .nav-icon-wrap.ps-mob-icon-jobs { background: #ecfdf5 !important; color: #059669 !important; }
.mobile-nav-links a .nav-icon-wrap.ps-mob-icon-candidates { background: #f5f3ff !important; color: #7c3aed !important; }
.mobile-nav-links a .nav-icon-wrap.ps-mob-icon-employers { background: #fffbeb !important; color: #d97706 !important; }
.mobile-nav-links a .nav-icon-wrap.ps-mob-icon-more { background: #fdf2f8 !important; color: #db2777 !important; }
.mobile-nav-links a .nav-icon-wrap.ps-mob-icon-dashboard { background: #f0f9ff !important; color: #0284c7 !important; }
.mobile-nav-links a .nav-icon-wrap.ps-mob-icon-profile { background: #eef2ff !important; color: #4f46e5 !important; }
.mobile-nav-links a .nav-icon-wrap.ps-mob-icon-logout { background: #fee2e2 !important; color: #dc2626 !important; }

.mobile-nav-links a:hover .nav-icon-wrap,
.mobile-nav-links a.active .nav-icon-wrap {
  transform: scale(1.08) !important;
  filter: brightness(0.94) !important;
}

.nav-label {
  flex: 1;
}

.nav-arrow {
  margin-left: auto;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.mobile-nav-links a:hover .nav-arrow,
.mobile-nav-links a.active .nav-arrow {
  color: var(--primary, #1967d2);
  transform: translateX(3px);
}

.mobile-more-sub {
  display: none;
  background: #f8fafc;
  border-radius: 12px;
  padding: 8px;
  margin-top: 6px;
  border: 1px solid #e2e8f0;
}

.mobile-nav-item-jobs,
.mobile-nav-item-more {
  position: relative;
}

.mobile-nav-jobs-link,
.mobile-nav-more-link {
  cursor: pointer;
}

.mobile-jobs-arrow,
.mobile-more-arrow {
  transition: transform 0.25s ease !important;
}

.mobile-nav-item-jobs.open .mobile-jobs-arrow,
.mobile-nav-item-more.open .mobile-more-arrow {
  transform: rotate(90deg) !important;
  color: var(--primary, #1967d2);
}

.mobile-nav-item-jobs.open #mobileJobsSub,
.mobile-nav-item-more.open #mobileMoreSub {
  display: block;
}

.mobile-sub-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  margin: 10px 0 6px;
  padding: 2px 8px;
}

.mobile-sub-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.mobile-sub-link:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.mobile-sub-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
  transition: transform 0.15s ease, filter 0.15s ease !important;
}

.mobile-sub-icon svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

.mobile-sub-link:hover .mobile-sub-icon {
  transform: scale(1.08) !important;
  filter: brightness(0.95) !important;
}

.mobile-sub-label {
  flex: 1;
}

.mobile-sub-arrow {
  margin-left: auto;
  color: #94a3b8;
  opacity: 0.7;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.mobile-drawer-sep {
  height: 1px;
  background: #f1f5f9;
  margin: 16px 0;
}

.mobile-drawer-actions {
  margin-top: 0;
  padding-top: 0;
}

.drawer-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.drawer-btn-signin,
.drawer-btn-signup {
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  color: rgba(0, 0, 0, 0) !important;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.drawer-btn-signin i,
.drawer-btn-signup i {
  font-size: 15px;
  line-height: 1;
  display: inline-block;
}

.drawer-btn-signin {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  text-shadow: 0 0 0 #1e293b, 400px 0 0 #1e293b;
}

.drawer-btn-signin:hover, .drawer-btn-signin:active {
  background: #171d28;
  border-color: #171d28;
  text-shadow: -400px 0 0 #ffffff, 0 0 0 #ffffff;
}

.drawer-btn-signup {
  background: #1967d2;
  border: 1.5px solid #1967d2;
  text-shadow: 0 0 0 #ffffff, 400px 0 0 #ffffff;
  box-shadow: 0 3px 12px rgba(25, 103, 210, 0.25);
}

.drawer-btn-signup:hover, .drawer-btn-signup:active {
  background: #171d28;
  border-color: #171d28;
  text-shadow: -400px 0 0 #ffffff, 0 0 0 #ffffff;
  box-shadow: 0 5px 16px rgba(23, 29, 40, 0.35);
}

/* Mobile Red Back Button (Deprecated/Removed) */
.ps-mobile-back-btn,
.ps-mobile-back-btn.is-visible {
  display: none !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .desktop-nav,
  .desktop-actions {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
  }
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .header-inner {
    height: 70px;
  }
  .search-box-card {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  .hero-title {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }
  .brand-logo {
    gap: 8px;
    white-space: nowrap;
  }
  .brand-text-wrap {
    white-space: nowrap;
  }
  .brand-title,
  .brand-tagline {
    white-space: nowrap;
  }
  .mobile-toggle {
    width: 38px;
    height: 38px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .job-layout-grid,
  .dash-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Bookmark & Saved Jobs Styling
   ========================================================================== */
.btn-bookmark {
  background: #ffffff;
  border: 1px solid var(--border);
  color: #94a3b8;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 0;
  outline: none;
  flex-shrink: 0;
}
.btn-bookmark:hover {
  color: #f59e0b;
  border-color: #fcd34d;
  background: #fff;
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.btn-bookmark.active {
  color: #d97706;
  background: #fffbeb;
  border-color: #fde68a;
}
.btn-bookmark svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.btn-bookmark.active svg {
  fill: #f59e0b !important;
  color: #d97706;
}
.job-hero-content .btn-bookmark.active {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #fbbf24 !important;
}

/* Floating Toast Notification */
.ps-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.ps-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.ps-toast.success {
  border-left: 4px solid #10b981;
}
.ps-toast.info {
  border-left: 4px solid #3b82f6;
}

/* Profile Showcase Cards */
.profile-showcase-hero {
  background: linear-gradient(135deg, #0b1528 0%, #1e293b 100%);
  padding: 56px 0 44px;
  color: #fff;
  position: relative;
}
/* Back Buttons completely removed and hidden on all devices */
.ps-hero-back-link,
.ps-article-back-link {
  display: none !important;
}

@media (max-width: 768px) {
  .ps-hero-back-link,
  .ps-article-back-link {
    display: none !important;
  }
}

/* Clickable Category Badge / Pill Navigation */
.ps-clickable-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0e7ff !important;
  color: #4338ca !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  margin-bottom: 14px !important;
  text-decoration: none !important;
  border: 1px solid rgba(99, 102, 241, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 2px rgba(67, 56, 202, 0.08);
}

.ps-clickable-category-badge:hover {
  background: #4338ca !important;
  color: #ffffff !important;
  border-color: #4338ca !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.28);
}

.profile-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Why Choose Us Feature Cards Grid */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  margin-bottom: 56px;
}

@media (max-width: 991px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.why-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 30px 32px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.why-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 1;
  transition: height 0.25s ease;
}

.why-feature-card.card-blue::before {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.why-feature-card.card-green::before {
  background: linear-gradient(90deg, #059669, #34d399);
}

.why-feature-card.card-amber::before {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

.why-feature-card:hover {
  transform: translateY(-8px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
}

.why-feature-card:hover::before {
  height: 6px;
}

.why-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.why-feature-card:hover .why-icon-badge {
  transform: scale(1.1);
}

.why-icon-badge.badge-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.why-icon-badge.badge-green {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border: 1px solid #a7f3d0;
}

.why-icon-badge.badge-amber {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
  border: 1px solid #fde68a;
}

.why-card-title {
  font-size: 21px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  font-family: var(--font-heading);
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.why-card-text {
  font-size: 15px;
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.why-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  font-size: 13.5px;
  font-weight: 600;
}

/* ==========================================================================
   Modern Recruitment Blog & News Article Styles
   ========================================================================== */

.entry-content {
  font-size: 16px;
  line-height: 1.85;
  color: #334155;
  word-wrap: break-word;
}

.entry-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 34px 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}

.entry-content h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  background: #2563eb;
  border-radius: 4px;
  flex-shrink: 0;
}

.entry-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 26px 0 12px 0;
  letter-spacing: -0.2px;
}

.entry-content p {
  margin: 0 0 18px 0;
  line-height: 1.85;
}

.entry-content ul,
.entry-content ol {
  margin: 16px 0 24px 0;
  padding-left: 24px;
}

.entry-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.entry-content li strong {
  color: #0f172a;
}

.entry-content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.entry-content a:hover {
  color: #1d4ed8;
}

/* Styled Blockquote for Related Post / Also Read (Hindi News & Job Blog Style) */
.entry-content blockquote {
  position: relative;
  margin: 24px 0;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px dashed #d9534f;
  border-radius: 4px;
  box-shadow: none;
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.entry-content blockquote:hover {
  border-color: #c0392b;
  background: #eff6ff;
}

/* "Also read" label sitting on top of the dashed border */
.entry-content blockquote::before {
  content: "Also read";
  position: absolute;
  top: -9px;
  left: 14px;
  background: #ffffff;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #c0392b;
  line-height: 1;
  letter-spacing: 0.2px;
  z-index: 2;
  transition: background-color 0.2s ease;
}

.entry-content blockquote:hover::before {
  background: #eff6ff;
}

.entry-content blockquote p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

/* Thumbnail Image inside Blockquote */
.entry-content blockquote img {
  width: 82px;
  height: 50px;
  min-width: 82px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  margin: 0 !important;
}

/* Automatic default thumbnail icon if NO <img> tag is included */
.entry-content blockquote:not(:has(img)) p::before,
.entry-content blockquote:not(:has(img)):not(:has(p))::before {
  content: "";
  display: inline-block;
  width: 76px;
  height: 48px;
  min-width: 76px;
  background: #fff5f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='22' height='22' fill='none' stroke='%23c0392b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  border-radius: 4px;
  border: 1px solid #fecaca;
  flex-shrink: 0;
}

/* Post Title Link */
.entry-content blockquote a {
  color: #111827;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.15s ease;
  flex: 1;
}

.entry-content blockquote a:hover {
  color: #2563eb;
  text-decoration: underline;
}

@media (max-width: 576px) {
  .entry-content blockquote {
    padding: 12px 14px;
    gap: 10px;
  }
  .entry-content blockquote p {
    gap: 10px;
  }
  .entry-content blockquote img,
  .entry-content blockquote:not(:has(img)) p::before {
    width: 65px;
    height: 42px;
    min-width: 65px;
  }
  .entry-content blockquote a {
    font-size: 13.5px;
  }
}

/* Styled Modern Tables (Overview, Pay Scale, Links) */
.entry-content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.entry-content table th,
.entry-content table thead th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 18px;
  text-align: left;
  border-bottom: 2px solid #1e293b;
  letter-spacing: 0.3px;
}

.entry-content table td {
  padding: 13px 18px;
  font-size: 14.5px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  border-right: 1px solid #f8fafc;
  line-height: 1.6;
}

.entry-content table tr:last-child td {
  border-bottom: none;
}

.entry-content table tr:nth-child(even) td {
  background: #f8fafc;
}

.entry-content table tr:hover td {
  background: #eff6ff;
}

.entry-content table td strong {
  color: #0f172a;
}

/* Alert & Notice Boxes */
.ps-alert {
  padding: 16px 20px;
  border-radius: 10px;
  margin: 24px 0;
  font-size: 14.5px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ps-alert-warning {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 5px solid #f59e0b;
  color: #92400e;
}

.ps-alert-info {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-left: 5px solid #2563eb;
  color: #1e40af;
}

.ps-alert-success {
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  border-left: 5px solid #10b981;
  color: #065f46;
}

/* Link CTA Buttons in Tables */
.ps-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  background: #2563eb;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.ps-btn-link:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.ps-btn-link.secondary {
  background: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.ps-btn-link.secondary:hover {
  background: #1e293b;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.35);
}

/* ==========================================================================
   Animated Google Preference Button ("Add us on Google")
   ========================================================================== */

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.google-pref-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  background: linear-gradient(-45deg, #ea4335, #fbbc05, #34a853, #4285f4);
  background-size: 300% 300%;
  animation: gradientBG 8s ease infinite;
  color: #ffffff !important;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.google-pref-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  color: #ffffff !important;
}

.google-pref-btn svg,
.google-pref-btn img {
  width: 24px;
  height: 24px;
  margin-right: 9px;
  flex-shrink: 0;
}

/* ==========================================================================
   Article Share Button & Dropdown Menu
   ========================================================================== */
.ps-share-wrapper {
  position: relative;
  display: inline-block;
}

.ps-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  height: 36px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #1e293b;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
  outline: none;
}

.ps-share-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ps-share-btn:active {
  transform: translateY(0);
}

.ps-share-btn svg {
  color: #4f46e5;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ps-share-btn:hover svg {
  transform: scale(1.1);
}

.ps-share-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.15), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  padding: 8px;
  z-index: 1000;
  animation: psShareFadeIn 0.18s ease-out;
}

.ps-share-dropdown.active {
  display: block !important;
}

@keyframes psShareFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ps-share-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #334155;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.ps-share-item:hover {
  background: #f1f5f9;
  color: #0f172a;
  text-decoration: none !important;
}

.ps-share-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* ==========================================================================
   Blog Card Styles & Hover Animations
   ========================================================================== */
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.1) !important;
  border-color: #cbd5e1 !important;
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}
.blog-card:hover .ps-blog-title-link {
  color: #2563eb !important;
}

.ps-card-share-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
  padding: 0;
  outline: none;
}

.ps-card-share-btn:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
  border-color: transparent !important;
}

.ps-card-share-btn:active {
  transform: scale(0.95);
}

.ps-card-share-btn.copied {
  background: #16a34a !important;
  border-color: #16a34a !important;
}

.ps-card-share-popover {
  position: absolute;
  width: 200px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.18), 0 4px 10px -2px rgba(15, 23, 42, 0.08);
  padding: 8px;
  z-index: 99999;
  display: none;
  animation: psShareFadeIn 0.18s ease-out;
}

.ps-card-share-popover.active {
  display: block !important;
}

.ps-share-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ps-share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Candidate Comments & Discussion Section Styles
   ========================================================================== */

#comments input[type="text"]:focus,
#comments input[type="email"]:focus,
#comments textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.comment-reply-link {
  color: #2563eb !important;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #eff6ff;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.comment-reply-link:hover {
  background: #2563eb;
  color: #ffffff !important;
}

.ps-comment-submit-btn:hover {
  background: #1d4ed8 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35) !important;
}

@media (max-width: 640px) {
  #comments {
    padding: 24px 18px !important;
    margin-top: 32px !important;
  }
  .ps-form-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Responsive boxed hero cards */
@media (max-width: 768px) {
  .job-detail-hero,
  .employers-directory-hero,
  .candidates-directory-hero,
  .jobs-directory-hero,
  .blog-directory-hero,
  .post-job-hero {
    padding: 24px 18px 22px !important;
    border-radius: 14px !important;
    margin-bottom: 20px !important;
  }
  .job-detail-hero h1,
  .employers-directory-hero h1,
  .candidates-directory-hero h1,
  .jobs-directory-hero h1,
  .blog-directory-hero h1,
  .post-job-hero h1 {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }
  .ps-job-title {
    font-size: 24px !important;
  }
}

/* Candidate / Dashboard phone and location dark readable color */
#psCandidatePhoneWrap,
#psCandidatePhoneWrap span,
#psDashboardPhoneWrap,
#psDashboardPhoneWrap span,
.ps-candidate-phone,
.ps-candidate-phone span {
  color: #334155 !important;
  font-weight: 500 !important;
}
