/*
Theme Name: GlowOdia Jobs
Theme URI: https://job.glowodisha.com
Author: GlowOdia
Author URI: https://glowodisha.com
Description: Odishas #1 Job Portal - Mobile-first, SEO-optimized WordPress theme.
Version: 2.6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glowodisha-jobs
Tags: job-portal, odisha, mobile-first, responsive
*/


/* SUBSCRIPTION BADGES */
.gj-sub-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 6px;
  vertical-align: middle;
}
.gj-badge-free { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }
.gj-badge-premium { background: #eff6ff; color: #0073ff; border: 1px solid #bfdbfe; }
.gj-badge-premium-plus { 
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%); 
  color: #7c3aed; 
  border: 1px solid #e9d5ff;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.1);
}

/* PREMIUM HIGHLIGHT */
.gj-premium-highlight {
  border: 1px solid #0073ff !important;
  box-shadow: 0 8px 24px rgba(0, 115, 255, 0.15) !important;
  position: relative;
}
.gj-premium-highlight::after {
  content: 'PREMIUM';
  position: absolute;
  top: -8px;
  right: 12px;
  background: #0073ff;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}


/* ============================================
   GLOWODISHA JOBS – Responsive UI
   Mobile → Tablet → Desktop
   ============================================ */

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #e8ecf4;
  min-height: 100vh;
  color: #1a1d2b;
  -webkit-font-smoothing: antialiased;
}

a, button {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* ============================================
   DESKTOP TOPNAV – hidden on mobile/tablet
   ============================================ */
.desktop-topnav {
  display: none;
}

/* ============================================
   PAGE LAYOUT WRAPPER
   Mobile: just a pass-through container
   Desktop: becomes a centered max-width wrapper
   ============================================ */
.page-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ============================================
   DESKTOP SIDEBAR – hidden on mobile/tablet
   ============================================ */
.desktop-sidebar {
  display: none;
}

/* ============================================
   APP WRAPPER – the mobile "phone" container
   ============================================ */
.app-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: #f5f7fb;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
}

/* ============================================
   MOBILE NAV SPACER
   ============================================ */
.mobile-nav-spacer {
  height: 80px;
}

/* ============================================
   DESKTOP FOOTER – hidden on mobile/tablet
   ============================================ */
.desktop-footer {
  display: none;
}

/* ============================================
   STICKY HEADER (mobile app header)
   ============================================ */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0073ff;
  transition: box-shadow 0.25s ease;
}

.app-header.header-scrolled {
  box-shadow: 0 4px 20px rgba(0, 115, 255, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.header-text {
  display: flex;
  flex-direction: column;
}

.header-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.header-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 0.2px;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.header-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.2s;
}

.header-btn:hover { background: rgba(255, 255, 255, 0.25); }
.header-btn:active { background: rgba(255, 255, 255, 0.3); }

.notif-dot {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 8px;
  height: 8px;
  background: #ff4d4d;
  border-radius: 50%;
  border: 2px solid #0073ff;
}

/* ---- SEARCH BAR (inside mobile header) ---- */
.search-wrap {
  padding: 10px 14px 14px;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 0 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  gap: 8px;
}

.search-icon { flex-shrink: 0; }

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13.5px;
  color: #374151;
  font-family: inherit;
  padding: 13px 0;
  font-weight: 400;
}

.search-input::placeholder { color: #9ca3af; }

.search-filter-btn {
  width: 30px;
  height: 30px;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.search-filter-btn:active { background: #dbeafe; }

/* ============================================
   MAIN SCROLL AREA
   ============================================ */
.app-main {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner {
  background: linear-gradient(135deg, #0073ff 0%, #0052cc 50%, #1e40af 100%);
  padding: 20px 16px 28px;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; }

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero-accent { color: #ffd60a; }

.hero-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  margin-bottom: 18px;
  font-weight: 400;
}

.hero-stats {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 0;
  backdrop-filter: blur(6px);
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stat-num {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
}

/* ============================================
   NOTICE TICKER
   ============================================ */
.notice-ticker {
  display: flex;
  align-items: center;
  background: #fff8e6;
  border-bottom: 1px solid #fde68a;
  overflow: hidden;
  padding: 9px 0;
}

.ticker-label {
  background: #f59e0b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 0 4px 4px 0;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
}

.ticker-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  color: #92400e;
  font-weight: 500;
  padding-left: 12px;
  animation: ticker 22s linear infinite;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section { padding: 20px 16px 0; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
  position: relative;
  padding-left: 10px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 18px;
  background: #0073ff;
  border-radius: 2px;
}

.section-link {
  font-size: 12px;
  color: #0073ff;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 10px;
  background: #eff6ff;
  border-radius: 20px;
  transition: background 0.2s;
}

.section-link:hover  { background: #dbeafe; }
.section-link:active { background: #dbeafe; }

/* ============================================
   CATEGORY GRID (Mobile: 4 cols)
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-bottom: 4px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 6px 12px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.cat-card:hover  { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); }
.cat-card:active { transform: scale(0.95); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08); }

.cat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-blue   { background: #eff6ff; color: #0073ff; }
.cat-green  { background: #f0fdf4; color: #16a34a; }
.cat-orange { background: #fff7ed; color: #ea580c; }
.cat-purple { background: #faf5ff; color: #7c3aed; }
.cat-teal   { background: #f0fdfa; color: #0d9488; }
.cat-red    { background: #fff1f2; color: #e11d48; }
.cat-indigo { background: #eef2ff; color: #4f46e5; }
.cat-gray   { background: #f9fafb; color: #6b7280; }

.cat-label {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  text-align: center;
  line-height: 1.2;
}

.cat-count {
  font-size: 10px;
  color: #9ca3af;
  font-weight: 500;
}

/* ============================================
   FEATURED JOBS – HORIZONTAL SCROLL
   ============================================ */
.featured-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.featured-scroll::-webkit-scrollbar { display: none; }

.featured-card {
  flex-shrink: 0;
  width: 270px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
  border: 1.5px solid #f1f5f9;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.featured-card:hover  { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12); }
.featured-card:active { transform: scale(0.98); }

.fc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.fc-org-logo {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.fc-logo-blue   { background: linear-gradient(135deg, #0073ff, #005ce6); }
.fc-logo-green  { background: linear-gradient(135deg, #16a34a, #15803d); }
.fc-logo-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.fc-logo-orange { background: linear-gradient(135deg, #ea580c, #c2410c); }

.fc-badges { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }

.fc-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 4px;
}

.fc-dept {
  font-size: 11.5px;
  color: #6b7280;
  margin-bottom: 12px;
  line-height: 1.4;
}

.fc-meta { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }

.fc-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #6b7280;
}

.fc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

.fc-salary { display: flex; flex-direction: column; gap: 1px; }

.salary-label {
  font-size: 9px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.salary-val { font-size: 12px; font-weight: 700; color: #16a34a; }

.btn-apply {
  background: #0073ff;
  color: #fff;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-apply:hover  { background: #0060d6; }
.btn-apply:active { background: #005ce6; }

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.badge-featured { background: #fef9c3; color: #854d0e; }
.badge-hot      { background: #fee2e2; color: #b91c1c; }
.badge-new      { background: #dcfce7; color: #166534; }
.badge-urgent   { background: #fff3e0; color: #c2410c; }

/* ============================================
   FILTER PILLS
   ============================================ */
.quick-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.quick-pills::-webkit-scrollbar { display: none; }

.pill {
  flex-shrink: 0;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.pill:hover    { border-color: #0073ff; color: #0073ff; }
.pill:active,
.pill-active   { background: #0073ff; color: #ffffff; border-color: #0073ff; }

/* ============================================
   JOB CARDS – Latest Jobs (Mobile: 1 column)
   ============================================ */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 8px;
}

.job-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  border: 1.5px solid #f1f5f9;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.job-card:hover  { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); }
.job-card:active { transform: scale(0.99); }

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.job-card-org { display: flex; align-items: center; gap: 10px; flex: 1; }

.org-avatar {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.org-blue   { background: linear-gradient(135deg, #0073ff, #005ce6); }
.org-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.org-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.org-teal   { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.org-green  { background: linear-gradient(135deg, #22c55e, #16a34a); }

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

.job-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 3px;
  word-break: break-word;
}

.job-dept { font-size: 11.5px; color: #6b7280; line-height: 1.4; }

.job-meta-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 11.5px;
  color: #374151;
  font-weight: 500;
}

.meta-chip.meta-red   { background: #fff1f2; border-color: #fecdd3; color: #be123c; }
.meta-chip.meta-green { background: #f0fdf4; border-color: #bbf7d0; color: #16a34a; }
.meta-chip.meta-purple { background: #f5f3ff; border-color: #ddd6fe; color: #7c3aed; }
.meta-chip.meta-govt   { background: #fffbeb; border-color: #fde68a; color: #92400e; font-weight: 700; }
.meta-chip.meta-other  { background: #f0f9ff; border-color: #bae6fd; color: #0284c7; }

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

.job-vacancy { font-size: 11.5px; color: #6b7280; font-weight: 500; }

.btn-view {
  background: #eff6ff;
  color: #0073ff;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-view:hover  { background: #dbeafe; }
.btn-view:active { background: #dbeafe; }

/* Load More */
.btn-load-more {
  width: 100%;
  background: #ffffff;
  border: 1.5px dashed #d1d5db;
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0073ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.btn-load-more:hover  { background: #eff6ff; border-color: #93c5fd; }
.btn-load-more:active { background: #eff6ff; border-color: #93c5fd; }
.btn-load-more:disabled { color: #9ca3af; cursor: default; }

/* ============================================
   QUICK UPDATES
   ============================================ */
.updates-list { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }

.update-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 12px;
  padding: 13px 14px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1.5px solid #f1f5f9;
  transition: background 0.15s;
}

.update-item:hover  { background: #f9fafb; }
.update-item:active { background: #f9fafb; }

.update-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.update-icon-blue   { background: #0073ff; }
.update-icon-green  { background: #16a34a; }
.update-icon-orange { background: #f97316; }

.update-content { flex: 1; min-width: 0; }

.update-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 2px;
}

.update-time { font-size: 11px; color: #9ca3af; }

/* ============================================
   BOTTOM NAVIGATION (mobile)
   ============================================ */
.bottom-nav {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  display: flex;
  align-items: stretch;
  border-top: 1px solid #f1f5f9;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  min-height: 64px;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #9ca3af;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s ease;
  cursor: pointer;
}

.nav-item.nav-item-active { color: #0073ff; }

.nav-item.nav-item-active .nav-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: #0073ff;
  border-radius: 50%;
}

.nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
}

.nav-label { font-size: 10px; font-weight: 600; letter-spacing: 0.2px; }

.nav-badge {
  position: absolute;
  top: 6px; right: 14px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

/* ============================================
   SIDEBAR STYLES (compiled here, shown on desktop)
   ============================================ */
.sidebar-widget {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1.5px solid #f1f5f9;
}

.sidebar-widget-title {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  padding-left: 10px;
  position: relative;
  margin-bottom: 14px;
}

.sidebar-widget-title::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 16px;
  background: #0073ff;
  border-radius: 2px;
}

.sidebar-cat-list { display: flex; flex-direction: column; gap: 4px; }

.sidebar-cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  transition: background 0.15s;
}

.sidebar-cat-item:hover { background: #f5f7fb; }

.sc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sc-dot-blue   { background: #0073ff; }
.sc-dot-green  { background: #16a34a; }
.sc-dot-orange { background: #ea580c; }
.sc-dot-purple { background: #7c3aed; }
.sc-dot-teal   { background: #0d9488; }
.sc-dot-red    { background: #e11d48; }
.sc-dot-indigo { background: #4f46e5; }

.sc-num {
  margin-left: auto;
  font-size: 11px;
  color: #9ca3af;
  font-weight: 600;
  background: #f3f4f6;
  padding: 2px 7px;
  border-radius: 10px;
}

.sidebar-district-list { display: flex; flex-direction: column; gap: 8px; }

.sidebar-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
}

.sidebar-checkbox input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: #0073ff;
  cursor: pointer;
}

/* Sidebar Ad Widget */
.sidebar-ad-inner {
  background: linear-gradient(135deg, #0073ff, #1e40af);
  border-radius: 10px;
  padding: 16px;
}

.sidebar-ad-tag {
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.sidebar-ad-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 6px;
}

.sidebar-ad-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
  line-height: 1.4;
}

.sidebar-ad-btn {
  display: inline-block;
  background: #ffffff;
  color: #0073ff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.sidebar-ad-btn:hover { opacity: 0.9; }

/* Desktop nav elements – also styled here */
.dtnav-logo {
  background: rgba(255,255,255,0.15) !important;
}

.btn-sign-in {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-sign-in:hover { background: rgba(255,255,255,0.25); }

.btn-post-job {
  background: #ffd60a;
  color: #1a1d2b;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-post-job:hover { opacity: 0.9; }

.dtnav-link {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.dtnav-link:hover    { color: #ffffff; }
.dtnav-link-active   { color: #ffffff; border-bottom-color: #ffd60a; }

/* Footer */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-name { font-size: 16px; font-weight: 800; color: #ffffff; }

.footer-brand-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.footer-links { display: flex; gap: 40px; }

.footer-col { display: flex; flex-direction: column; gap: 8px; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: #ffffff; }

/* ============================================
   SINGLE JOB PAGE STYLES
   ============================================ */
.single-job-wrap {
  padding: 20px 16px;
}

.single-job-header {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1.5px solid #f1f5f9;
  margin-bottom: 16px;
}

.single-job-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.single-job-logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0073ff, #005ce6);
}

.single-job-title-wrap { flex: 1; }

.single-job-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 4px;
}

.single-job-dept {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.single-job-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.single-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: #374151;
  font-weight: 500;
}

.single-meta-item span { font-weight: 700; color: #111827; }

.single-job-actions {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.btn-apply-now {
  flex: 1;
  background: #0073ff;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  display: block;
  transition: background 0.2s;
}

.btn-apply-now:hover { background: #0060d6; }

.btn-share {
  width: 46px; height: 46px;
  background: #f3f4f6;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.btn-share:hover { background: #e5e7eb; }

.single-job-body {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1.5px solid #f1f5f9;
  margin-bottom: 16px;
}

.single-job-body h2 {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
  padding-left: 10px;
  position: relative;
}

.single-job-body h2::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 16px;
  background: #0073ff;
  border-radius: 2px;
}

.single-job-body p,
.single-job-body ul,
.single-job-body table {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.7;
}

.single-job-body ul { padding-left: 18px; }
.single-job-body ul li { margin-bottom: 4px; }

.single-job-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.single-job-body table th,
.single-job-body table td {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.single-job-body table th {
  background: #f9fafb;
  font-weight: 700;
  color: #111827;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0073ff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 16px;
  background: #eff6ff;
  border-radius: 10px;
  margin-bottom: 16px;
  transition: background 0.2s;
}

.back-btn:hover { background: #dbeafe; }

/* Archive page styles */
.archive-jobs-wrap {
  padding: 20px 16px;
}

.archive-header {
  margin-bottom: 20px;
}

.archive-title {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.archive-count {
  font-size: 13px;
  color: #6b7280;
}

.archive-filters {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1.5px solid #f1f5f9;
  margin-bottom: 16px;
}

.archive-filters-title {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 10px;
}

.archive-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding-bottom: 8px;
}

.archive-pagination a,
.archive-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #ffffff;
  color: #374151;
  border: 1.5px solid #e5e7eb;
  transition: all 0.2s;
}

.archive-pagination .current,
.archive-pagination a:hover {
  background: #0073ff;
  color: #ffffff;
  border-color: #0073ff;
}

/* ============================================
   SMALL MOBILE (< 360px)
   ============================================ */
@media (max-width: 360px) {
  .hero-title       { font-size: 19px; }
  .category-grid    { gap: 7px; }
  .cat-icon         { width: 38px; height: 38px; }
  .featured-card    { width: 242px; }
  .section          { padding: 16px 12px 0; }
}

/* ============================================
   TABLET (768px – 1023px)
   ============================================ */
@media (min-width: 768px) {

  body {
    background: #e4e8f2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-layout {
    width: 100%;
    max-width: 780px;
    justify-content: center;
  }

  /* App wrapper expands to fill tablet */
  .app-wrapper {
    max-width: 780px;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }

  /* Hero bigger on tablet */
  .hero-banner { padding: 30px 28px 36px; }
  .hero-title  { font-size: 26px; }
  .hero-desc   { font-size: 14px; }

  /* Sections get more breathing room */
  .section { padding: 24px 24px 0; }

  /* Category grid: 4 → 6 columns on tablet */
  .category-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }

  .cat-icon  { width: 48px; height: 48px; }
  .cat-label { font-size: 12px; }

  /* Featured cards slightly wider */
  .featured-card { width: 300px; }
  .fc-title      { font-size: 15px; }

  /* Job list: 2-column grid on tablet */
  .jobs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Load more spans both columns */
  .btn-load-more { grid-column: 1 / -1; }

  /* Updates: 2-column grid on tablet */
  .updates-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Section titles slightly larger */
  .section-title { font-size: 17px; }

  /* Search bar wider */
  .search-wrap { padding: 12px 20px 16px; }

  /* Stat numbers bigger */
  .stat-num { font-size: 22px; }

  /* Mobile spacer smaller since content is wider */
  .mobile-nav-spacer { height: 80px; }
}

/* ============================================
   DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {

  /* Body becomes a full-page container */
  body {
    background: #eef1f8;
    display: block;
    align-items: unset;
  }

  /* ---- DESKTOP TOP NAV ---- */
  .desktop-topnav {
    display: block;
    position: sticky;
    top: 0;
    z-index: 200;
    background: #0073ff;
    box-shadow: 0 2px 16px rgba(0, 115, 255, 0.3);
  }

  .desktop-topnav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .dtnav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .dtnav-search {
    flex: 1;
    max-width: 380px;
  }

  .dtnav-searchbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  .search-input { padding: 10px 0; font-size: 13px; }

  .dtnav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
  }

  .dtnav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* ---- PAGE LAYOUT (sidebar + main) ---- */
  .page-layout {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: flex-start;
  }

  /* ---- DESKTOP SIDEBAR ---- */
  .desktop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
  }

  /* ---- APP WRAPPER becomes main content column ---- */
  .app-wrapper {
    max-width: 100%;
    min-height: unset;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
    overflow: hidden;
  }

  /* App header hidden on desktop (replaced by desktop-topnav) */
  .app-header {
    display: none;
  }

  /* Override sticky scroll behavior on desktop: use window scroll */
  .app-main {
    overflow: visible;
    max-height: none;
  }

  /* Hero wider layout */
  .hero-banner { padding: 48px 40px; }
  .hero-title  { font-size: 32px; }
  .hero-desc   { font-size: 15px; }
  .hero-stats  { max-width: 480px; }
  .stat-num    { font-size: 24px; }

  /* Sections generous padding */
  .section { padding: 28px 32px 0; }
  .section-title { font-size: 18px; }

  /* Category grid: 8 columns on desktop */
  .category-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
  }

  .cat-icon  { width: 50px; height: 50px; }
  .cat-label { font-size: 11.5px; }

  /* Featured: let cards be wider, still horizontal scroll */
  .featured-card { width: 310px; }
  .fc-title { font-size: 15px; }

  /* Job list: 2-column grid */
  .jobs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .btn-load-more { grid-column: 1 / -1; }

  .job-card { border-radius: 12px; }
  .job-title { font-size: 14.5px; }

  /* Updates: 3 across */
  .updates-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  /* Hide mobile bottom nav on desktop */
  .bottom-nav { display: none; }

  /* Hide mobile nav spacer */
  .mobile-nav-spacer { display: none; }

  /* Pill filter wraps instead of scrolls */
  .quick-pills {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  /* Filter pills slightly bigger on desktop */
  .pill { font-size: 13px; padding: 8px 18px; }

  /* ---- DESKTOP FOOTER ---- */
  .desktop-footer {
    display: block;
    background: #1a1d2b;
    margin-top: 0;
  }

  .page-layout {
    padding-bottom: 40px;
  }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }

  .footer-bottom {
    background: rgba(0,0,0,0.2);
    text-align: center;
    padding: 14px 24px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
  }

  /* Section headers get hover on link */
  .section-link { font-size: 13px; }

  /* Single job & archive wider padding */
  .single-job-wrap,
  .archive-jobs-wrap { padding: 28px 32px; }

  .single-job-meta-grid { gap: 10px; }
}

/* ============================================
   LARGE DESKTOP (1280px+)
   ============================================ */
@media (min-width: 1280px) {
  .page-layout {
    grid-template-columns: 280px 1fr;
    gap: 28px;
  }

  /* Job cards: 3 columns on large screens */
  .jobs-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .updates-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   v1.7.0 – AUTH, DASHBOARD & JOB SUBMISSION
   All new rules below. No existing rules changed.
   ============================================ */

/* ─── AUTH PAGE (login / register) ─────────── */
.gj-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #f5f7fb;
}

.gj-auth-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  border: 1.5px solid #f1f5f9;
}

.gj-auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.gj-auth-logo {
  width: 48px; height: 48px;
  background: #0073ff;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gj-auth-site-name {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.gj-auth-site-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}

.gj-auth-heading {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}

.gj-auth-subheading {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
}

/* ─── ALERTS ────────────────────────────────── */
.gj-auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.5;
}

.gj-auth-alert-error {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.gj-auth-alert-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* ─── AUTH FORM ELEMENTS ─────────────────────── */
.gj-auth-form { display: flex; flex-direction: column; gap: 0; }

.gj-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.gj-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gj-form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gj-required { color: #e11d48; }

.gj-form-hint {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 400;
}

.gj-form-input {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13.5px;
  color: #111827;
  font-family: inherit;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.gj-form-input:focus {
  border-color: #0073ff;
  box-shadow: 0 0 0 3px rgba(0, 115, 255, 0.1);
}

.gj-form-input::placeholder { color: #9ca3af; }

.gj-form-input:disabled,
.gj-form-input[readonly] {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}

.gj-form-select { appearance: none; cursor: pointer; }

.gj-form-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.gj-input-wrap { position: relative; display: flex; align-items: center; }
.gj-input-wrap .gj-form-input { padding-right: 44px; }

.gj-pw-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.gj-pw-toggle:hover { opacity: 1; }

.gj-form-check { margin-bottom: 16px; }

.gj-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
}

.gj-check-label input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: #0073ff;
  cursor: pointer;
}

/* ─── BUTTONS ─────────────────────────────── */
.gj-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #0073ff;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.gj-btn-primary:hover  { background: #0060d6; }
.gj-btn-primary:active { transform: scale(0.98); }

.gj-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f3f4f6;
  color: #374151;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.gj-btn-outline:hover { background: #e5e7eb; }

.gj-btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #fff1f2;
  color: #be123c;
  border: 1.5px solid #fecdd3;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.gj-btn-danger:hover { background: #fecdd3; }

.gj-btn-full { width: 100%; }

.gj-btn-sm {
  padding: 8px 14px;
  font-size: 12.5px;
  border-radius: 8px;
}

.gj-btn-xs {
  padding: 5px 10px;
  font-size: 11.5px;
  border-radius: 7px;
}

/* ─── AUTH MISC ──────────────────────────── */
.gj-forgot-link {
  font-size: 12px;
  color: #0073ff;
  text-decoration: none;
  font-weight: 500;
}
.gj-forgot-link:hover { text-decoration: underline; }

.gj-auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #6b7280;
}

.gj-auth-switch-link {
  color: #0073ff;
  font-weight: 700;
  text-decoration: none;
}
.gj-auth-switch-link:hover { text-decoration: underline; }

/* ─── DASHBOARD PAGE ──────────────────────── */
.gj-dashboard-page {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gj-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1.5px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 12px;
}

.gj-dash-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gj-dash-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0073ff, #1e40af);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.gj-avatar-lg { width: 60px; height: 60px; font-size: 20px; }

.gj-dash-username {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.gj-dash-role-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.gj-role-admin    { background: #fff1f2; color: #be123c; }
.gj-role-employer { background: #eff6ff; color: #1d4ed8; }
.gj-role-user,
.gj-role-subscriber { background: #f0fdf4; color: #15803d; }
.gj-role-editor   { background: #faf5ff; color: #7c3aed; }

.gj-dash-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ─── STATS ROW ──────────────────────────── */
.gj-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gj-stat-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1.5px solid #f1f5f9;
}

.gj-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  margin-bottom: 4px;
}

.gj-stat-num.gj-green  { color: #16a34a; }
.gj-stat-num.gj-orange { color: #ea580c; }

.gj-stat-label {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ─── TABS ───────────────────────────────── */
.gj-dash-tabs {
  display: flex;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.gj-tab {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s;
}

.gj-tab:hover { color: #374151; }

.gj-tab-active {
  background: #ffffff;
  color: #0073ff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ─── DASHBOARD JOB LIST ─────────────────── */
.gj-dash-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gj-dash-job-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 13px;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1.5px solid #f1f5f9;
  gap: 12px;
  flex-wrap: wrap;
}

.gj-dash-job-info { flex: 1; min-width: 0; }

.gj-dash-job-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 3px;
}

.gj-dash-job-dept {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 3px;
}

.gj-dash-job-date { font-size: 11px; color: #9ca3af; }

.gj-dash-job-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ─── STATUS BADGES ──────────────────────── */
.gj-status-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.gj-status-pub   { background: #dcfce7; color: #166534; }
.gj-status-pend  { background: #fff7ed; color: #c2410c; }
.gj-status-draft { background: #f3f4f6; color: #6b7280; }
.gj-status-trash { background: #fff1f2; color: #be123c; }

/* ─── EMPTY STATE ────────────────────────── */
.gj-dash-empty {
  text-align: center;
  padding: 48px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px dashed #d1d5db;
}

.gj-dash-empty svg { margin-bottom: 12px; opacity: 0.5; }
.gj-dash-empty p   { font-size: 13.5px; color: #6b7280; margin-bottom: 16px; }

/* ─── PROFILE FORM ───────────────────────── */
.gj-profile-form { display: flex; flex-direction: column; gap: 0; }

.gj-profile-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1.5px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gj-profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.gj-profile-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 14px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

/* ─── JOB SUBMIT PAGE ────────────────────── */
.gj-submit-page {
  padding: 20px 16px;
}

.gj-submit-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1.5px solid #f1f5f9;
}

.gj-submit-heading {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.gj-submit-sub {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
}

.gj-submit-form { display: flex; flex-direction: column; gap: 0; }

.gj-form-section {
  border: 1.5px solid #f1f5f9;
  border-radius: 13px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fafbfc;
}

.gj-form-section-title {
  font-size: 13px;
  font-weight: 800;
  color: #0073ff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.gj-submit-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: #1e40af;
  margin-bottom: 18px;
  line-height: 1.5;
}

/* ─── RESPONSIVE AUTH/DASH ───────────────── */
@media (max-width: 480px) {
  .gj-auth-card          { padding: 24px 18px; }
  .gj-form-row           { grid-template-columns: 1fr; }
  .gj-dash-header        { padding: 14px; }
  .gj-dash-job-card      { flex-direction: column; }
  .gj-dash-job-actions   { width: 100%; justify-content: flex-start; }
  .gj-submit-card        { padding: 18px 14px; }
}

@media (min-width: 768px) {
  .gj-dashboard-page     { padding: 24px; max-width: 720px; margin: 0 auto; }
  .gj-auth-page          { background: #e8ecf4; }
  .gj-submit-page        { padding: 24px; }
  .gj-submit-card        { max-width: 720px; margin: 0 auto; }
  .gj-form-row           { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .gj-dashboard-page     { max-width: 860px; margin: 0 auto; padding: 32px; }
  .gj-submit-page        { padding: 32px; }
  .gj-submit-card        { max-width: 820px; }
  .gj-auth-page          { background: #eef1f8; }
}

/* ============================================
   v1.8.0 – District Dropdown + Verify Page
   ============================================ */

/* ─── District dropdown in sidebar ───────── */
.gj-district-dropdown-wrap {
  position: relative;
}

.gj-district-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s;
}

.gj-district-toggle:hover  { border-color: #0073ff; }
.gj-district-toggle[aria-expanded="true"] { border-color: #0073ff; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.gj-district-toggle[aria-expanded="true"] .gj-dist-chevron { transform: rotate(180deg); }

.gj-dist-chevron { transition: transform 0.2s; flex-shrink: 0; }

.gj-district-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid #0073ff;
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 260px;
  overflow-y: auto;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.gj-district-list.gj-dist-open { display: block; }

.gj-dist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  font-size: 12.5px;
  color: #374151;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.15s;
}

.gj-dist-item:last-child  { border-bottom: none; }
.gj-dist-item:hover       { background: #eff6ff; color: #0073ff; }
.gj-dist-item.gj-dist-active { color: #0073ff; font-weight: 700; background: #eff6ff; }

/* ─── Hide admin bar body padding ────────── */
html { margin-top: 0 !important; }
#wpadminbar { display: none !important; }

/* ============================================
   v1.9.0 – Auth Page Gap Fix + Social Login
             + Premium Notification Styles
   ============================================ */

/* Fix login/register page gap on desktop sidebar layout */
.gj-auth-page-spaced {
  padding-top: 16px;
  padding-bottom: 24px;
  min-height: auto;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .gj-auth-page-spaced {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 32px;
    align-items: center;
  }
}

/* ─── Social Login Divider ───────────────── */
.gj-social-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
}

.gj-social-divider::before,
.gj-social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

/* ─── Social Login Wrap (Nextend plugin) ─── */
.gj-social-login-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

/* Style Google button from Nextend plugin to match theme */
.gj-social-login-wrap .nsl-container {
  justify-content: center !important;
}

.gj-social-login-wrap .nsl-button {
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 11px 18px !important;
  border: 1.5px solid #e5e7eb !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
  transition: box-shadow 0.2s, transform 0.15s !important;
}

.gj-social-login-wrap .nsl-button:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
  transform: translateY(-1px) !important;
}

/* ─── Premium OneSignal Subscription Banner ─ */
/* The OneSignal slide-down prompt is styled by
   OneSignal itself; we only control the trigger
   button animation */
#notification-btn:hover,
#dtnav-notif-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.05);
  transition: background 0.2s, transform 0.2s;
}

/* Pulse animation on notif-dot to attract attention */
.notif-dot {
  animation: gjPulse 2s infinite;
}

@keyframes gjPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.7; }
}

/* ─── Subscribed Toast (premium look) ──────── */
#gj-subscribed-toast {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── Premium Header Dropdown (v2.1.0) ─────── */
.gj-user-dropdown {
  position: relative;
  display: inline-block;
  margin: 0 12px;
}

.gj-user-dropbtn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.gj-user-dropbtn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gj-user-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-radius: 12px;
  z-index: 1000;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  transform-origin: top right;
  animation: gjDropScale 0.2s ease-out;
}

@keyframes gjDropScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.gj-show {
  display: block;
}

.gj-user-dropdown-content a {
  color: #334155;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s;
}

.gj-user-dropdown-content a svg {
  opacity: 0.6;
}

.gj-user-dropdown-content a:hover {
  background-color: #f8fafc;
  color: #0073ff;
}

/* ─── Dashboard Preference Fields ──────────── */
.gj-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .gj-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.gj-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5H7z' fill='%2364748b'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ─── Latest Jobs UI v2 (Improved) ─────────── */
.job-card-v2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1.5px solid #f1f5f9;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  padding: 16px;
}

.job-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: #e2e8f0;
}

.job-card-v2 .job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.job-card-v2 .job-title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card-v2 .job-dept {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.job-card-v2 .job-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.job-card-v2 .meta-chip {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #f1f5f9;
  background: #f8fafc;
  color: #475569;
}

.job-card-v2 .meta-red { border-color: #fee2e2; background: #fef2f2; color: #ef4444; }
.job-card-v2 .meta-green { border-color: #dcfce7; background: #f0fdf4; color: #22c55e; }
.job-card-v2 .meta-purple { border-color: #e9d5ff; background: #faf5ff; color: #7c3aed; }

.job-card-v2 .job-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-card-v2 .job-vacancy {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.job-card-v2 .btn-view {
  font-size: 11.5px;
  font-weight: 700;
  color: #0073ff;
  text-decoration: none;
}
