/* ==========================================================================
   JobTM - Premium Employment & Recruitment Portal Stylesheet
   Design Language: Clean Corporate Modern with Mobile App Experience
   Brand Colors: JobTM Navy (#0e213f) + JobTM Gold (#fab802)
   ========================================================================== */

:root {
  --jd-primary: #0e213f;
  --jd-primary-dark: #09162a;
  --jd-primary-light: #eef4fc;
  --jd-accent: #fab802;
  --jd-accent-hover: #dfa300;
  --jd-accent-light: #fffbeb;
  --jd-dark: #09162a;
  --jd-dark-surface: #12233f;
  --jd-text: #334155;
  --jd-text-light: #64748b;
  --jd-border: #e2e8f0;
  --jd-bg: #f8fafc;
  --jd-white: #ffffff;
  
  --white-collar: #0284c7;
  --white-collar-bg: #e0f2fe;
  --green-collar: #16a34a;
  --green-collar-bg: #dcfce7;
  --grey-collar: #64748b;
  --grey-collar-bg: #f1f5f9;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 16px 36px rgba(14, 33, 63, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-color: #040913; /* Dark background matching footer to eliminate white bar */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--jd-text);
  background-color: var(--jd-bg);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  padding: 0 !important;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 0 !important; /* Zero white gap below footer */
  }
}

a {
  color: var(--jd-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--jd-accent-hover);
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.top-notice-bar {
  background: #09162a;
  color: #94a3b8;
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-bar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.top-notice-bar a:hover {
  color: #fab802;
}

/* Sticky Header Wrapper */
header.sticky-top {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  width: 100% !important;
  background: #ffffff !important;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
  margin: 0 !important;
  padding: 0 !important;
}

.navbar-main {
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  padding: 12px 0;
  transition: all 0.25s ease;
  width: 100%;
}

/* Modern Hamburger Drawer Button */
.mobile-menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  color: #0e213f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active,
.mobile-menu-btn:focus {
  background: #e2e8f0;
  color: #0e213f;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(14, 33, 63, 0.1) !important;
}

.navbar-brand-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: height 0.2s ease;
}

.header-auth-group {
  display: inline-flex;
  align-items: center;
  gap: 8px !important;
}

@media (max-width: 575.98px) {
  .header-auth-group {
    gap: 7px !important;
  }
}

.header-auth-btn {
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.header-auth-btn.btn-outline-jd {
  border: 1.5px solid #cbd5e1;
  color: #0e213f !important;
  background: #ffffff;
}

.header-auth-btn.btn-outline-jd:hover {
  background: #f8fafc;
  border-color: #0e213f;
  color: #0e213f !important;
}

.header-auth-btn.btn-primary-jd {
  background: linear-gradient(135deg, #0e213f 0%, #1e3a8a 100%);
  color: #ffffff !important;
  border: 1.5px solid #0e213f;
  box-shadow: 0 3px 10px rgba(14, 33, 63, 0.18);
}

.header-auth-btn.btn-primary-jd:hover {
  background: #0e213f;
  box-shadow: 0 5px 14px rgba(14, 33, 63, 0.25);
}

@media (max-width: 767.98px) {
  .navbar-main {
    padding: 10px 0 !important;
    min-height: 60px;
  }
  .navbar-brand-img {
    height: 38px !important;
  }
  .header-auth-btn {
    padding: 6.5px 13px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 380px) {
  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .navbar-brand-img {
    height: 34px !important;
  }
  .header-auth-btn {
    padding: 5.5px 10px !important;
    font-size: 12px !important;
  }
}

.navbar-main .nav-link {
  font-weight: 600;
  font-size: 14.5px;
  color: #475569;
  padding: 8px 16px !important;
  border-radius: 10px;
  transition: all 0.2s ease;
  background: transparent !important;
  border: none !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navbar-main .nav-link:hover {
  color: #0e213f !important;
  background: #f1f5f9 !important;
}

.navbar-main .nav-link.active {
  color: #0e213f !important;
  background: #eef4fc !important;
  font-weight: 700;
}

.navbar-main .dropdown-menu {
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(15, 23, 42, 0.04) !important;
  padding: 8px !important;
}

.navbar-main .dropdown-item {
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  transition: all 0.15s ease;
}

.navbar-main .dropdown-item:hover {
  background: #f8fafc;
  color: #0e213f;
  transform: translateX(3px);
}

/* ==========================================================================
   Page Header Banner with Executive Background & Modern Breadcrumb
   ========================================================================== */
.page-banner-section {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(250, 184, 2, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
              linear-gradient(135deg, #071222 0%, #0e213f 60%, #15325b 100%);
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
                    radial-gradient(circle at 85% 20%, rgba(250, 184, 2, 0.08) 0%, transparent 45%),
                    linear-gradient(135deg, #071222 0%, #0e213f 60%, #15325b 100%);
  background-size: 28px 28px, auto, auto;
  padding: 44px 0 38px;
  color: #ffffff;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.page-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(250, 184, 2, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner-title {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #ffffff;
  margin-bottom: 8px;
}

.page-banner-subtitle {
  font-size: 0.98rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 16px auto;
  line-height: 1.5;
}

.page-banner-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
}

.page-banner-breadcrumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
}

.page-banner-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  font-size: 9px;
  color: #fab802;
  padding: 0 10px;
}

.page-banner-breadcrumb .breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}

.page-banner-breadcrumb .breadcrumb-item a:hover {
  color: #fab802;
}

.page-banner-breadcrumb .breadcrumb-item.active {
  color: #fab802;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .page-banner-section {
    padding: 32px 0 24px;
  }
  .page-banner-title {
    font-size: 1.65rem;
  }
  .page-banner-breadcrumb {
    font-size: 12px;
    padding: 5px 14px;
  }
}

/* ==========================================================================
   Sidebar Category Widget Styling
   ========================================================================== */
.sidebar-cat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #edf2f7;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.sidebar-cat-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0e213f;
  transform: translateX(4px);
}

.sidebar-cat-item.active {
  background: #0e213f;
  border-color: #0e213f;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(14, 33, 63, 0.18);
}

.sidebar-cat-item.active .cat-arrow-icon {
  color: #fab802 !important;
}

.sidebar-cat-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.sidebar-cat-item:hover .sidebar-cat-badge {
  background: #e2e8f0;
  color: #0e213f;
}

.sidebar-cat-item.active .sidebar-cat-badge {
  background: #fab802;
  color: #0e213f;
  border-color: #fab802;
}

/* Remove button border/box outline on toggler */
.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.btn-close:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Open menu dropdown on hover on desktop */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: fadeInDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes fadeInDropdown {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.btn-primary-jd {
  background: linear-gradient(135deg, var(--jd-primary), #173767);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  box-shadow: 0 4px 12px rgba(14, 33, 63, 0.25);
  transition: all 0.25s ease;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-jd:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 33, 63, 0.35);
  color: #ffffff !important;
}

/* Keep split button halves perfectly locked together on hover */
.btn-group .btn-primary-jd,
.btn-group .btn-primary-jd:hover,
.btn-group .btn-primary-jd:focus,
.btn-group .btn-primary-jd:active,
.btn-group .btn-accent-jd,
.btn-group .btn-accent-jd:hover,
.btn-group .btn-accent-jd:focus,
.btn-group .btn-accent-jd:active {
  transform: none !important;
  box-shadow: none !important;
}

.btn-group {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  vertical-align: middle;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(14, 33, 63, 0.25);
}

.btn-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 33, 63, 0.35);
}

.btn-group > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
}

.btn-accent-jd {
  background: linear-gradient(135deg, var(--jd-accent), #f59e0b);
  color: #0e213f !important;
  font-weight: 700;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  box-shadow: 0 4px 14px rgba(250, 184, 2, 0.3);
  transition: all 0.25s ease;
}

.btn-accent-jd:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 184, 2, 0.5);
  color: #0e213f !important;
}

.btn-outline-jd {
  border: 1.5px solid var(--jd-primary);
  color: var(--jd-primary) !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  background: transparent;
  transition: all 0.2s;
}

.btn-outline-jd:hover {
  background: var(--jd-primary);
  color: #ffffff !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-wrapper {
  background: linear-gradient(135deg, #09162a 0%, #0e213f 60%, #173767 100%);
  color: #ffffff;
  padding: 60px 0 80px;
  position: relative;
  overflow: visible !important;
  z-index: 1000;
}

.hero-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(250, 184, 2, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-wrapper::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffb86c;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.hero-title span {
  color: #fab802;
  text-shadow: 0 0 30px rgba(255, 157, 66, 0.3);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-search-box {
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  margin-bottom: 24px;
}

.hero-search-input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.search-field-item {
  flex: 1 1 200px;
  position: relative;
}

.search-field-item .field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
  pointer-events: none;
}

.search-field-item .form-control,
.search-field-item .form-select {
  padding-left: 42px;
  height: 52px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--jd-dark);
}

.search-field-item .form-control:focus,
.search-field-item .form-select:focus {
  border-color: var(--jd-primary);
  box-shadow: 0 0 0 4px rgba(14, 33, 63, 0.1);
}

.btn-search-hero {
  height: 52px;
  padding: 0 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--jd-accent), #f59e0b);
  color: #0e213f !important;
  border: none;
  box-shadow: 0 4px 16px rgba(250, 184, 2, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-search-hero:hover {
  background: linear-gradient(135deg, #dfa300, #f59e0b);
  transform: translateY(-2px);
  color: #0e213f !important;
  box-shadow: 0 6px 20px rgba(250, 184, 2, 0.5);
}

.trending-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
}

.trending-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.2s;
}

.trending-tag:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.hero-image-wrap {
  position: relative;
  text-align: center;
}

.hero-image-wrap img {
  max-width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: #ffffff;
  color: var(--jd-dark);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

/* ==========================================================================
   Collar Badges & Hub
   ========================================================================== */
.badge-collar {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-white {
  background: var(--white-collar-bg);
  color: var(--white-collar);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.badge-green {
  background: var(--green-collar-bg);
  color: var(--green-collar);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.badge-grey {
  background: var(--grey-collar-bg);
  color: var(--grey-collar);
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.collar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--jd-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.collar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.collar-card.collar-white::before { background: var(--white-collar); }
.collar-card.collar-green::before { background: var(--green-collar); }
.collar-card.collar-grey::before { background: var(--grey-collar); }

.collar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.collar-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.collar-white .collar-icon { background: var(--white-collar-bg); color: var(--white-collar); }
.collar-green .collar-icon { background: var(--green-collar-bg); color: var(--green-collar); }
.collar-grey .collar-icon { background: var(--grey-collar-bg); color: var(--grey-collar); }

/* ==========================================================================
   Modern Job Cards & Filter Sidebar
   ========================================================================== */

/* Filter Sidebar Card */
.job-filter-sidebar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
}

@media (min-width: 992px) {
  .job-filter-sidebar {
    position: sticky;
    top: 86px;
    z-index: 10;
  }
}

@media (max-width: 991.98px) {
  .job-filter-sidebar {
    position: static;
    margin-bottom: 24px;
    border-radius: 16px;
  }
}

.filter-sidebar-header {
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef4fc;
  color: #0e213f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.filter-reset-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #ef4444;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fef2f2;
  transition: all 0.15s ease;
}

.filter-reset-link:hover {
  background: #fee2e2;
  color: #dc2626;
}

.filter-group-block {
  margin-bottom: 18px;
}

.filter-label-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #64748b;
  margin-bottom: 8px;
  display: block;
}

.filter-form-control,
.filter-form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: #1e293b;
  font-weight: 500;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.filter-form-control:focus,
.filter-form-select:focus {
  border-color: #0e213f;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 33, 63, 0.08);
}

.filter-switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  margin-bottom: 8px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.filter-switch-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
  cursor: pointer;
}

.filter-checkbox-item:hover {
  background: #f8fafc;
}

.filter-checkbox-item .form-check-input {
  cursor: pointer;
  margin-top: 0;
}

.filter-checkbox-item label {
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 0;
}

/* ==========================================================================
   Redesigned Premium Job Item Card
   ========================================================================== */
.job-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 22px 24px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.job-item-card:hover {
  transform: translateY(-3px);
  border-color: #3b82f6;
  box-shadow: 0 14px 34px -4px rgba(14, 33, 63, 0.09);
}

.job-item-card.featured-card {
  border: 1.5px solid #fcd34d !important;
  background: linear-gradient(135deg, #ffffff 0%, #fffdf5 100%);
  box-shadow: 0 4px 18px rgba(250, 184, 2, 0.08);
}

/* Card Top Row */
.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.job-card-brand-group {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.company-avatar-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef4fc 0%, #dbeafe 100%);
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(14, 33, 63, 0.06);
  border: 1px solid #cbd5e1;
  overflow: hidden;
}

.company-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  background: #ffffff;
}

.job-card-meta-titles {
  flex: 1;
  min-width: 0;
}

.job-title-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  transition: color 0.15s ease;
  display: inline-block;
}

.job-title-link:hover {
  color: #2563eb;
}

.job-company-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 4px;
  font-size: 13.5px;
  color: #475569;
}

.job-company-name {
  font-weight: 600;
  color: #1e293b;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
}

.urgent-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
}

.featured-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
}

.job-card-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.job-post-time {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

.btn-save-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 0;
}

.btn-save-circle:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
  transform: scale(1.08);
}

/* Key Highlights Row */
.job-card-specs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #edf2f6;
  border-radius: 12px;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  white-space: nowrap;
}

.spec-chip.spec-salary {
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 3px 10px;
}

.spec-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
}

/* Card Bottom: Skills & Action */
.job-card-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

.job-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.skill-tag-pill {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.skill-tag-pill:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.qa-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.qa-link-pill:hover {
  color: #2563eb;
  border-color: #93c5fd;
  background: #eff6ff;
}

.rating-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #854d0e;
  padding: 3px 9px;
  border-radius: 20px;
  background: #fef9c3;
  border: 1px solid #fde047;
}

.btn-card-apply {
  background: linear-gradient(135deg, #0e213f 0%, #1a3c6d 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(14, 33, 63, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-card-apply:hover {
  background: linear-gradient(135deg, #162f55 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
  color: #ffffff !important;
}

.btn-card-apply i {
  transition: transform 0.2s ease;
}

.btn-card-apply:hover i {
  transform: translateX(3px);
}

.btn-card-applied {
  background: #ecfdf5;
  color: #065f46 !important;
  border: 1.5px solid #10b981;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-card-applied:hover {
  background: #10b981;
  color: #ffffff !important;
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}
.btn-card-applied:hover i {
  color: #ffffff !important;
}

/* User Panel (acc/) Enhancements */
.candidate-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 3px;
  color: #334155;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none !important;
  transition: all 0.18s ease;
}

.candidate-nav-item:hover {
  background: #f1f5f9;
  color: #0e213f;
  transform: translateX(3px);
}

.candidate-nav-item.active {
  background: #0e213f !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(14, 33, 63, 0.18);
}

.candidate-nav-item.active i {
  color: #fab802 !important;
}

.metric-stat-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
  height: 100%;
}

.metric-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   Category Cards
   ========================================================================== */
.category-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  border: 1px solid var(--jd-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: block;
  color: var(--jd-dark);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--jd-primary);
  color: var(--jd-primary);
}

.category-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--jd-primary-light);
  color: var(--jd-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.category-card:hover .category-card-icon {
  background: var(--jd-primary);
  color: #ffffff;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  margin-bottom: 36px;
}

.section-tag {
  color: var(--jd-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 6px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--jd-dark);
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--jd-text-light);
  font-size: 15px;
  max-width: 600px;
}

/* ==========================================================================
   Mobile App-Style Bottom Navigation Bar (Active on screen < 768px)
   ========================================================================== */
.mobile-bottom-nav {
  display: none !important;
}

@media (max-width: 767.98px) {
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #09162a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    z-index: 1040;
    justify-content: space-around;
    align-items: center;
    padding: 4px 6px;
  }
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8 !important;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 0;
  transition: all 0.15s ease;
  position: relative;
}

.mobile-nav-item i {
  font-size: 19px;
  margin-bottom: 2px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: #fab802 !important;
}

.mobile-nav-item.active i {
  transform: translateY(-2px);
}

.mobile-nav-item.mobile-action-center {
  position: relative;
  top: -14px;
}

.mobile-nav-item.mobile-action-center .action-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jd-accent), #f59e0b);
  color: #0e213f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(250, 184, 2, 0.45);
  border: 3px solid #09162a !important;
  margin-bottom: 2px;
}

/* ==========================================================================
   Mobile App-Style Drawer / Offcanvas (Native App Feel)
   ========================================================================== */
.mobile-app-drawer {
  max-width: 320px;
  background: #f8fafc;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.25);
}

.mobile-app-drawer .offcanvas-header {
  background: linear-gradient(135deg, #0e213f 0%, #09162a 100%);
  color: #ffffff;
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #fab802;
}

.mobile-app-drawer .offcanvas-header::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(250, 184, 2, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mobile-drawer-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 36px;
}

.mobile-drawer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(250, 184, 2, 0.55);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jd-primary);
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.mobile-drawer-avatar img {
  border-radius: 50%;
}

.drawer-verified-tick {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1877f2;
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 5;
  pointer-events: none;
}

.drawer-verified-tick i {
  line-height: 1;
  display: block;
}

.drawer-user-sub {
  color: #cbd5e1;
  font-size: 12px;
  display: block;
  margin-top: 2px;
  letter-spacing: 0.2px;
}

.drawer-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
}

.drawer-close-btn:hover {
  background: rgba(250, 184, 2, 0.25);
  color: #fab802;
  border-color: #fab802;
  transform: scale(1.08);
}

.drawer-auth-card {
  background: #ffffff;
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.drawer-section-header {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  padding: 14px 16px 6px;
}

.mobile-drawer-links {
  list-style: none;
  padding: 4px 10px;
  margin: 0;
}

.mobile-drawer-links li {
  margin-bottom: 3px;
}

.mobile-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  color: #1e293b;
  font-weight: 600;
  font-size: 14.5px;
  background: transparent;
  transition: all 0.2s ease;
}

.mobile-drawer-links a:hover,
.mobile-drawer-links a.active {
  background: #ffffff;
  color: var(--jd-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.drawer-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.drawer-chevron {
  font-size: 11px;
  color: #cbd5e1;
  transition: transform 0.2s;
}

.mobile-drawer-links a:hover .drawer-chevron {
  color: var(--jd-primary);
  transform: translateX(2px);
}

.drawer-footer-strip {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 12px 16px 14px;
  margin-top: auto;
}

.drawer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.drawer-social-btn.facebook {
  background: #1877f2;
  color: #ffffff !important;
}

.drawer-social-btn.linkedin {
  background: #0a66c2;
  color: #ffffff !important;
}

.drawer-social-btn.twitter {
  background: #000000;
  color: #ffffff !important;
}

.drawer-social-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
}

.drawer-social-btn.youtube {
  background: #ff0000;
  color: #ffffff !important;
}

.drawer-social-btn.whatsapp {
  background: #25d366;
  color: #ffffff !important;
}

.drawer-social-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  color: #ffffff !important;
  opacity: 0.95;
}

/* ==========================================================================
   Comprehensive Multi-Column Footer with World-Class Modern Styling
   ========================================================================== */
.footer-wrapper {
  background: radial-gradient(circle at 85% 0%, #11284a 0%, #060d19 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding: 0;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #fab802 0%, #0e213f 50%, #10b981 100%) 1;
  flex-shrink: 0;
}

/* Subtle background accent orbs */
.footer-wrapper::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-wrapper::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(250, 184, 2, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Top Feature Highlights Bar */
.footer-top-strip {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 0;
  position: relative;
  z-index: 2;
}

.footer-feature-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.footer-feature-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.footer-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.footer-icon-circle.wa {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.22), rgba(18, 140, 126, 0.32));
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.footer-icon-circle.shield {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.22), rgba(14, 165, 233, 0.3));
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.footer-icon-circle.help {
  background: linear-gradient(135deg, rgba(250, 184, 2, 0.22), rgba(245, 158, 11, 0.3));
  color: #fab802;
  border: 1px solid rgba(250, 184, 2, 0.4);
}

.footer-feature-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.footer-feature-sub {
  color: #94a3b8;
  font-size: 13px;
  margin: 0;
}

/* Main Footer */
.footer-main {
  padding: 70px 0 45px;
  position: relative;
  z-index: 2;
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  /*background: #ffffff;*/
  margin-bottom: 5px;
  transition: transform 0.2s ease;
}

.footer-logo-card:hover {
  transform: translateY(-2px);
}

.footer-brand .footer-desc {
  color: #cbd5e1 !important;
  font-size: 14px;
  line-height: 1.75;
}

.footer-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
  font-size: 13.5px;
  margin-bottom: 10px;
}

.footer-meta-item i {
  margin-top: 4px;
  font-size: 14px;
  flex-shrink: 0;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.25s ease;
}

.footer-social-btn:hover {
  background: var(--jd-accent);
  border-color: var(--jd-accent);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(250, 184, 2, 0.4);
}

.footer-col-title {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  position: relative;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--jd-accent), #fab802);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: #cbd5e1 !important;
  font-size: 13.5px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a .link-bullet {
  font-size: 9px;
  color: #fab802;
  transition: transform 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}

.footer-links a:hover .link-bullet {
  color: #fab802;
  transform: translateX(2px);
}

/* Footer App Box & Badges */
.footer-app-box {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  margin-top: 8px;
}
.footer-app-btn {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #091220;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  text-decoration: none !important;
  color: #ffffff !important;
  margin-bottom: 10px;
  transition: all 0.25s ease;
}
.footer-app-btn:hover {
  background: #14284b;
  border-color: #fab802;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.footer-app-btn-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  margin-right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-app-btn-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}
.footer-app-btn-sub {
  font-size: 9.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #94a3b8;
  display: block;
  margin-bottom: 2px;
}
.footer-app-btn-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  display: block;
}
.footer-app-qr-card {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 4px;
}
.footer-app-qr-img {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #ffffff;
  border-radius: 8px;
  padding: 3px;
  object-fit: contain;
  margin-right: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.footer-app-qr-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}
.footer-app-qr-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.footer-app-qr-header strong {
  font-size: 12.5px;
  color: #ffffff;
}
.footer-app-qr-sub {
  font-size: 11px;
  color: #94a3b8;
}
.footer-app-trust-pills {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10.5px;
  color: #94a3b8;
}

/* Collar dots */
.collar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.collar-dot.white { background-color: #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.6); }
.collar-dot.green { background-color: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }
.collar-dot.grey  { background-color: #94a3b8; box-shadow: 0 0 6px rgba(148, 163, 184, 0.6); }

/* Quick alert box */
.footer-alert-card {
  background: linear-gradient(135deg, rgba(14, 33, 63, 0.35), rgba(15, 23, 42, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 28px;
  margin: 30px 0 10px;
  backdrop-filter: blur(8px);
}

/* Bottom Strip */
.footer-bottom {
  background: #040913;
  padding: 22px 0;
  font-size: 13.5px;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 2;
}

.footer-bottom a {
  color: #cbd5e1 !important;
  transition: all 0.2s;
}

.footer-bottom a:hover {
  color: #fab802 !important;
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: #cbd5e1;
}

@media (max-width: 767.98px) {
  .footer-bottom {
    padding-top: 14px !important;
    padding-bottom: 74px !important;
    background: #040913 !important;
  }
  .footer-top-strip {
    padding: 12px 0;
  }
  .footer-main {
    padding: 26px 0 14px !important;
  }
}

/* App Download Banner */
.app-banner-card {
  background: linear-gradient(135deg, #09162a, #0e213f);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #ffffff;
  overflow: hidden;
  position: relative;
  margin: 60px 0;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.app-store-btn:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Back to Top Floating Action Button
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 84px; /* Floats above the mobile navigation bar */
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jd-accent), #f59e0b);
  color: #0e213f;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(250, 184, 2, 0.45);
  z-index: 1050;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: #0e213f;
  color: #fab802;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(14, 33, 63, 0.5);
  border-color: rgba(250, 184, 2, 0.5);
}

@media (min-width: 768px) {
  .back-to-top-btn {
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}

/* ==========================================================================
   WHY CHOOSE CARDS — Professional Hover Cards
   ========================================================================== */
.why-card {
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e8edf4;
  box-shadow: 0 2px 12px rgba(14,33,63,0.05);
  transition: all 0.28s ease;
  text-align: center;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(14,33,63,0.12);
  border-color: var(--jd-accent);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 1rem;
}

.why-card-icon.bg-warning {
  color: #0e213f !important;
}

/* ==========================================================================
   HOVER SHADOW UTILITY
   ========================================================================== */
.hover-shadow:hover {
  box-shadow: 0 6px 24px rgba(14,33,63,0.12) !important;
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

/* ==========================================================================
   SECTION HEADER REFINEMENTS
   ========================================================================== */
.section-tag {
  display: inline-block;
  background: rgba(14,33,63,0.07);
  color: var(--jd-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--jd-primary);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
}

/* ==========================================================================
   PROFESSIONAL TYPOGRAPHY POLISH
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.01em;
}

p {
  line-height: 1.7;
}

/* Remove any remaining legacy orange */
:root {
  --orange-legacy: #ff6b00;
  --orange-hover-legacy: #e05e00;
}

/* ==========================================================================
   PORTAL AUTH PAGES (Candidate & Employer)
   ========================================================================== */
.auth-page-wrapper {
  background-color: #f8fafc !important;
  padding-top: 36px !important;
  padding-bottom: 40px !important;
  width: 100%;
  margin: 0;
  flex: 1 0 auto;
}

.auth-card {
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.03) !important;
  margin-top: 0 !important;
  margin-bottom: 25px !important;
}

@media (max-width: 767.98px) {
  .auth-page-wrapper {
    padding-top: 20px !important;
    padding-bottom: 115px !important; /* Clearance for sticky mobile bottom nav (62px + elevated action button) */
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .auth-card {
    border-radius: 18px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08) !important;
  }
  .auth-card .p-4 {
    padding: 24px 18px !important;
  }
}

/* ==========================================================================
   INTERACTIVE TAG / CHIP INPUT COMPONENT
   ========================================================================== */
.tag-input-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 12px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  cursor: text;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tag-input-wrapper:focus-within {
  border-color: #0e213f;
  box-shadow: 0 0 0 3px rgba(14, 33, 63, 0.12);
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0e213f;
  color: #ffffff;
  border: 1px solid #0e213f;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(14, 33, 63, 0.1);
  user-select: none;
  animation: tagPop 0.15s ease-out;
}

@keyframes tagPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.tag-badge .tag-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
  flex-shrink: 0;
  line-height: 0;
  transition: all 0.15s ease;
}

.tag-badge .tag-remove-btn i {
  font-size: 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.tag-badge .tag-remove-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

.tag-text-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  flex: 1 1 120px;
  min-width: 120px;
  padding: 6px 4px;
  font-size: 14px;
  color: #0f172a;
}

.tag-text-input::placeholder {
  color: #94a3b8;
  font-size: 13px;
}

/* ==========================================================================
   Job Detail Page Styles (Moved from in-page)
   ========================================================================== */
.job-detail-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.job-detail-highlight-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}

.job-detail-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  min-width: 0;
}

.job-detail-highlight-item .icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.job-detail-highlight-item .highlight-label {
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: normal;
  line-height: 1.25;
}

.job-detail-highlight-item .highlight-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
}

.job-apply-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f7ff 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: 16px;
  padding: 16px 20px;
}

.job-description-content {
  font-size: 0.97rem;
  line-height: 1.85;
  color: #475569;
}

.job-description-content p {
  margin-bottom: 1.1rem;
}

.job-description-content ul, 
.job-description-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}

.job-description-content li {
  margin-bottom: 0.45rem;
}

.job-skill-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.job-skill-chip:hover {
  background: #eef2f6;
  border-color: #cbd5e1;
  color: #0e213f;
  transform: translateY(-1px);
}

.job-spec-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  height: 100%;
  transition: all 0.2s ease;
}

.job-spec-tile:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.job-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

/* Social Media Share Buttons */
.share-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: none;
  cursor: pointer;
}

.share-btn:hover {
  transform: translateY(-3px) scale(1.05);
  color: #ffffff !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.share-wa { background-color: #25D366; }
.share-li { background-color: #0A66C2; }
.share-fb { background-color: #1877F2; }
.share-tw { background-color: #000000; }
.share-tg { background-color: #0088cc; }
.share-cp { background-color: #0e213f; }
.share-native { 
  background: linear-gradient(135deg, #fab802, #f59e0b); 
  color: #0e213f !important; 
}

/* Interactive Star Rating */
.star-rating-box {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
  vertical-align: middle;
}

.star-rating-box input {
  display: none;
}

.star-rating-box label {
  font-size: 1.45rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  margin-bottom: 0;
}

.star-rating-box label:hover,
.star-rating-box label:hover ~ label,
.star-rating-box input:checked ~ label {
  color: #f59e0b;
}

.star-rating-box label:hover {
  transform: scale(1.18);
}

/* Comments List Styling */
.comment-item {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.comment-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.comment-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0e213f 0%, #1e3a8a 100%);
  color: #ffffff;
  flex-shrink: 0;
}

.comment-avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fab802;
}

.employer-reply-block {
  background: #f8fafc;
  border-left: 3.5px solid #2563eb;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 12px;
}

/* Related Job Cards */
.related-job-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.related-job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(14, 33, 63, 0.09) !important;
  border-color: #fab802 !important;
}

/* ==========================================================================
   Mobile Global Viewport & Responsive Anti-Overflow Fixes
   ========================================================================== */
@media (max-width: 767.98px) {
  html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .container, .container-fluid {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100% !important;
  }

  /* Prevent row margin blowout on mobile */
  .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }

  .row > * {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Sticky header mobile stability */
  header.sticky-top {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1030 !important;
    background: #ffffff !important;
  }

  /* Prevent image / svg blowout */
  img, svg {
    max-width: 100%;
    height: auto;
  }
}




