/* =============================================================
   Job Postulations Plugin — Main Stylesheet v2.0
   Design: Groupito / Lupio OS
   ============================================================= */

:root {
  --jpp-green:        #1AC97E;
  --jpp-green-dark:   #15a066;
  --jpp-green-light:  #e8faf2;
  --jpp-teal:         #3db8e8;
  --jpp-blue:         #4b9ef5;
  --jpp-red:          #ef4444;
  --jpp-red-light:    #fef2f2;
  --jpp-orange:       #f59e0b;
  --jpp-bg:           #f9fafb;
  --jpp-beige:        #fef4e8;
  --jpp-white:        #ffffff;
  --jpp-border:       #e5e7eb;
  --jpp-text:         #111827;
  --jpp-text-muted:   #6b7280;
  --jpp-text-light:   #9ca3af;
  --jpp-radius:       8px;
  --jpp-radius-lg:    12px;
  --jpp-sidebar-w:    200px;
  --jpp-topbar-h:     60px;
  --jpp-shadow:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --jpp-shadow-md:    0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
}

/* ── Reset ────────────────────────────────────────────────── */
.jpp-public-wrap *,
.jpp-dashboard * {
  box-sizing: border-box;
}
.jpp-public-wrap a,
.jpp-dashboard a {
  text-decoration: none;
}
.jpp-public-wrap a:hover,
.jpp-dashboard a:hover {
  text-decoration: none;
}

/* ── Public layout ───────────────────────────────────────── */
.jpp-public-wrap {
  background: transparent;
  min-height: 60vh;
}

.jpp-content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

/* ── Hero banner ─────────────────────────────────────────── */
.jpp-hero-banner {
  width: 100%;
  height: 300px;
  background: #374151 url('') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.jpp-hero-banner.jpp-hero-detail {
  height: 340px;
  align-items: flex-end;
}
.jpp-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}
.jpp-hero-inner {
  position: relative;
  z-index: 1;
  padding: 32px 40px;
  width: 100%;
}
.jpp-hero-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--jpp-text);
}
.jpp-hero-job-title {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* ── Tagline bar ─────────────────────────────────────────── */
.jpp-tagline-bar {
  background: var(--jpp-green);
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  padding: 18px 20px;
  letter-spacing: .01em;
}

/* ── Back link ───────────────────────────────────────────── */
.jpp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--jpp-blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 20px;
  transition: opacity .15s;
}
.jpp-back-link:hover { opacity: .7; }
.jpp-back-link span { font-size: 18px; line-height: 1; }

/* ── Filter section ──────────────────────────────────────── */
.jpp-filter-section {
  margin-bottom: 24px;
}
.jpp-filter-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--jpp-text);
  margin-bottom: 8px;
}
.jpp-filter-section .jpp-select-wrap { position: relative; }
.jpp-filter-section .jpp-select {
  height: 48px;
  padding: 0 48px 0 16px;
  font-size: 15px;
  font-weight: 500;
  border: 1.5px solid var(--jpp-border);
  border-radius: 12px;
  background: var(--jpp-white);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.jpp-filter-section .jpp-select:focus {
  border-color: var(--jpp-green);
  box-shadow: 0 0 0 3px rgba(26,201,126,.12);
}
.jpp-filter-section .jpp-select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--jpp-text-muted);
  display: flex;
  align-items: center;
}

/* ── Job cards ───────────────────────────────────────────── */
.jpp-job-card {
  background: var(--jpp-white);
  border: 1px solid var(--jpp-border);
  border-radius: var(--jpp-radius-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: box-shadow .15s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.jpp-job-card:hover {
  box-shadow: var(--jpp-shadow-md);
  text-decoration: none;
  color: inherit;
}
.jpp-job-card-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--jpp-radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--jpp-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.jpp-job-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jpp-thumb-placeholder {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: var(--jpp-bg);
  border-radius: var(--jpp-radius);
}
.jpp-job-card-body { flex: 1; min-width: 0; }
.jpp-job-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--jpp-text);
  margin: 0 0 6px;
}
.jpp-job-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.jpp-job-card-action { flex-shrink: 0; }

/* ── Meta items ──────────────────────────────────────────── */
.jpp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--jpp-text-muted);
}

/* ── Badges ──────────────────────────────────────────────── */
.jpp-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.jpp-badge-green {
  background: var(--jpp-green-light);
  color: var(--jpp-green-dark);
  border: 1px solid var(--jpp-green);
}
.jpp-badge-teal {
  background: #e0f8f0;
  color: #0e9f6e;
  border: 1px solid #34d399;
}

/* Status badges */
.jpp-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.jpp-status-new      { background: #eff6ff; color: #3b82f6; border: 1px solid #93c5fd; }
.jpp-status-review   { background: #fffbeb; color: #d97706; border: 1px solid #fbbf24; }
.jpp-status-contacted{ background: #fff7ed; color: #ea580c; border: 1px solid #fb923c; }
.jpp-status-rejected { background: #fef2f2; color: #ef4444; border: 1px solid #fca5a5; }
.jpp-status-hired    { background: #f0fdf4; color: #16a34a; border: 1px solid #86efac; }
.jpp-status-active   { background: var(--jpp-green-light); color: var(--jpp-green-dark); border: 1px solid var(--jpp-green); }
.jpp-status-closed   { background: #f3f4f6; color: #6b7280; border: 1px solid #d1d5db; }
.jpp-status-pending  { background: #fffbeb; color: #d97706; border: 1px solid #fbbf24; }
.jpp-pending-label   { font-size: 11px; color: var(--jpp-text-muted); font-style: italic; margin-left: 6px; }

/* ── Buttons ─────────────────────────────────────────────── */
.jpp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, opacity .15s;
  white-space: nowrap;
}
.jpp-btn:focus { outline: 2px solid var(--jpp-green); outline-offset: 2px; }

.jpp-btn-primary {
  background: var(--jpp-green);
  color: #fff;
}
.jpp-btn-primary:hover { background: var(--jpp-green-dark); color: #fff; }

.jpp-btn-outline {
  background: transparent;
  border: 2px solid var(--jpp-green);
  color: var(--jpp-green);
}
.jpp-btn-outline:hover { background: var(--jpp-green-light); }

.jpp-btn-outline-gray {
  background: transparent;
  border: 1.5px solid var(--jpp-border);
  color: var(--jpp-text);
}
.jpp-btn-outline-gray:hover { background: var(--jpp-bg); }

.jpp-btn-ghost {
  background: transparent;
  border: none;
  color: var(--jpp-text-muted);
}
.jpp-btn-ghost:hover { color: var(--jpp-text); }

.jpp-btn-reject {
  background: transparent;
  border: 1.5px solid var(--jpp-red);
  color: var(--jpp-red);
}
.jpp-btn-reject:hover { background: var(--jpp-red-light); }

.jpp-btn-sm { padding: 6px 14px; font-size: 12px; }

/* Icon buttons */
.jpp-btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  border: 1.5px solid var(--jpp-border);
  background: var(--jpp-white);
  color: var(--jpp-text);
  cursor: pointer;
  text-decoration: none;
  transition: background .1s;
}
.jpp-btn-icon:hover { background: var(--jpp-bg); }
.jpp-btn-icon-teal { border-color: var(--jpp-teal); color: var(--jpp-teal); }
.jpp-btn-icon-teal:hover { background: #e0f5fb; }
.jpp-btn-icon-danger { border-color: var(--jpp-red); color: var(--jpp-red); }
.jpp-btn-icon-danger:hover { background: var(--jpp-red-light); }

.jpp-count-badge {
  background: var(--jpp-green);
  color: #fff;
  border-radius: 10px;
  font-size: 10px;
  padding: 1px 5px;
  margin-left: 2px;
}

/* ── Load more ───────────────────────────────────────────── */
.jpp-load-more-wrap {
  text-align: center;
  margin-top: 28px;
}

/* ── Detail layout ───────────────────────────────────────── */
.jpp-detail-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
  margin-top: 24px;
}
.jpp-detail-right {
  position: sticky;
  top: 24px;
}
@media (max-width: 860px) {
  .jpp-detail-grid { grid-template-columns: 1fr; }
  .jpp-detail-right { position: static; }
}
.jpp-detail-job-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--jpp-text);
  margin: 0 0 12px;
}
.jpp-detail-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}
.jpp-detail-section { margin-bottom: 28px; }
.jpp-detail-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--jpp-text);
  margin: 0 0 10px;
}
.jpp-detail-content { color: var(--jpp-text); font-size: 14px; line-height: 1.7; }
.jpp-detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--jpp-text);
  font-size: 14px;
  line-height: 1.8;
}

/* ── Application card ────────────────────────────────────── */
.jpp-application-card {
  background: var(--jpp-white);
  border-radius: var(--jpp-radius-lg);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,.10), 0 1px 4px rgba(0,0,0,.06);
  position: sticky;
  top: 20px;
}
.jpp-form-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--jpp-text);
  margin: 0 0 20px;
}

/* ── Forms ───────────────────────────────────────────────── */
.jpp-form-group { margin-bottom: 16px; }
.jpp-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--jpp-text);
  margin-bottom: 6px;
}
.jpp-label-muted { color: var(--jpp-text-muted); }
.jpp-required { color: var(--jpp-red); }

.jpp-input,
.jpp-select,
.jpp-textarea {
  width: 100%;
  border: 1px solid var(--jpp-border);
  border-radius: var(--jpp-radius);
  padding: 9px 12px;
  font-size: 14px;
  color: var(--jpp-text);
  background: var(--jpp-white);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
  -webkit-appearance: none;
}
.jpp-input:focus,
.jpp-select:focus,
.jpp-textarea:focus {
  outline: none;
  border-color: var(--jpp-green);
  box-shadow: 0 0 0 3px rgba(26,201,126,.12);
}
.jpp-input::placeholder { color: var(--jpp-text-light); }
.jpp-textarea { resize: vertical; min-height: 100px; }

.jpp-form-row { display: grid; gap: 16px; }
.jpp-form-row-2 { grid-template-columns: 1fr 1fr; }
.jpp-form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) {
  .jpp-form-row-2,
  .jpp-form-row-3 { grid-template-columns: 1fr; }
}

.jpp-select-wrap { position: relative; }
.jpp-select-wrap .jpp-select { padding-right: 32px; cursor: pointer; }
.jpp-select-chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--jpp-text-muted);
  font-size: 16px;
}
.jpp-select-sm { font-size: 13px; padding: 6px 28px 6px 10px; }

/* Phone group */
.jpp-phone-group { display: flex; gap: 6px; }
.jpp-phone-code  { width: 72px; flex-shrink: 0; }
.jpp-phone-number { flex: 1; }

/* Readonly field */
.jpp-readonly-field {
  border: 1px solid var(--jpp-border);
  border-radius: var(--jpp-radius);
  padding: 9px 12px;
  font-size: 14px;
  color: var(--jpp-text);
  background: var(--jpp-bg);
  min-height: 38px;
}

/* Upload zone */
.jpp-upload-zone {
  border: 1.5px dashed var(--jpp-border);
  border-radius: var(--jpp-radius);
  background: var(--jpp-white);
  cursor: pointer;
  transition: border-color .15s;
}
.jpp-upload-zone:hover { border-color: var(--jpp-green); }
.jpp-upload-zone.jpp-drag-over {
  border-color: var(--jpp-green);
  border-style: dashed;
  background: var(--jpp-green-light);
}
.jpp-upload-zone.jpp-has-file {
  border-style: solid;
  border-color: var(--jpp-green);
}
.jpp-upload-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 6px;
  text-align: center;
  cursor: pointer;
}
.jpp-upload-text { font-size: 13px; font-weight: 500; color: var(--jpp-text); }
.jpp-upload-hint { font-size: 11px; color: var(--jpp-text-muted); }
.jpp-upload-preview-img {
  max-height: 100px;
  max-width: 100%;
  border-radius: 6px;
  object-fit: contain;
  margin-bottom: 2px;
}
.jpp-upload-selected-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--jpp-text);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jpp-upload-change-hint { font-size: 11px; color: var(--jpp-text-muted); }
.jpp-upload-filename {
  padding: 8px 16px;
  background: var(--jpp-green-light);
  color: var(--jpp-green-dark);
  font-size: 13px;
  border-top: 1px dashed var(--jpp-border);
  border-radius: 0 0 var(--jpp-radius) var(--jpp-radius);
}

/* Download box */
.jpp-download-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--jpp-border);
  border-radius: var(--jpp-radius);
  padding: 28px;
  text-decoration: none;
  transition: border-color .15s, background .15s;
  background: var(--jpp-white);
}
.jpp-download-box:hover { border-color: var(--jpp-green); background: var(--jpp-green-light); }
.jpp-download-text { font-size: 14px; font-weight: 600; color: var(--jpp-text); }
.jpp-download-hint { font-size: 12px; color: var(--jpp-text-muted); }

/* Form actions */
.jpp-form-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.jpp-form-actions-right { justify-content: flex-end; }
.jpp-form-actions-center { justify-content: center; }

/* Form sections */
.jpp-form-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--jpp-text);
  margin-bottom: 10px;
}
.jpp-form-section-divider {
  height: 1px;
  background: var(--jpp-border);
  margin-bottom: 20px;
}

/* Repeater */
.jpp-repeater { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.jpp-repeater-row { display: flex; align-items: center; gap: 8px; }
.jpp-repeater-row .jpp-input { flex: 1; }
.jpp-repeater-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.jpp-repeater-add {
  background: none;
  border: none;
  color: var(--jpp-teal);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  text-align: left;
}
.jpp-repeater-add:hover { text-decoration: underline; }

/* ── Alerts ──────────────────────────────────────────────── */
.jpp-alert {
  padding: 12px 16px;
  border-radius: var(--jpp-radius);
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid;
}
.jpp-alert-success { background: #f0fdf4; color: #16a34a; border-color: #86efac; }
.jpp-alert-error   { background: var(--jpp-red-light); color: var(--jpp-red); border-color: #fca5a5; }
.jpp-alert-info    { background: #eff6ff; color: #2563eb; border-color: #93c5fd; }

/* ── Card ────────────────────────────────────────────────── */
.jpp-card {
  background: var(--jpp-white);
  border: 1px solid var(--jpp-border);
  border-radius: var(--jpp-radius-lg);
  padding: 24px;
  box-shadow: var(--jpp-shadow);
}

/* ── Empty state ─────────────────────────────────────────── */
.jpp-empty-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--jpp-text-muted);
  font-size: 14px;
}

/* ── Text utils ──────────────────────────────────────────── */
.jpp-text-muted { color: var(--jpp-text-muted); }

/* ══════════════════════════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════════════════════════ */
.jpp-dashboard {
  display: flex;
  min-height: 100vh;
  background: var(--jpp-bg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.jpp-sidebar {
  width: var(--jpp-sidebar-w);
  min-height: 100vh;
  background: var(--jpp-white);
  border-right: 1px solid var(--jpp-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: width .2s;
  position: relative;
  z-index: 10;
}
.jpp-sidebar.collapsed { width: 56px; }

.jpp-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 1px solid var(--jpp-border);
  min-height: var(--jpp-topbar-h);
}
.jpp-site-logo { max-height: 36px; max-width: 120px; object-fit: contain; }
.jpp-site-name { font-weight: 800; font-size: 14px; color: var(--jpp-text); text-decoration: none; }

.jpp-sidebar-collapse {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--jpp-text-muted);
  padding: 4px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.jpp-sidebar-collapse:hover { color: var(--jpp-text); }

.jpp-sidebar-nav {
  flex: 1;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jpp-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--jpp-text-muted);
  text-decoration: none;
  border-radius: 0;
  transition: background .12s, color .12s;
  border-left: 3px solid transparent;
  white-space: nowrap;
  overflow: hidden;
}
.jpp-nav-item:hover {
  background: var(--jpp-green-light);
  color: var(--jpp-green-dark);
}
.jpp-nav-item-active {
  background: var(--jpp-green);
  color: #fff !important;
  border-left-color: var(--jpp-green-dark);
}
.jpp-nav-item-active:hover { background: var(--jpp-green-dark); }

.jpp-sidebar-footer {
  padding: 12px 0;
  border-top: 1px solid var(--jpp-border);
}
.jpp-nav-logout { color: var(--jpp-text-muted); }
.jpp-nav-logout:hover { background: var(--jpp-red-light); color: var(--jpp-red); }

/* Collapsed sidebar */
.jpp-sidebar.collapsed .jpp-nav-label,
.jpp-sidebar.collapsed .jpp-site-name,
.jpp-sidebar.collapsed .jpp-site-logo { display: none; }
.jpp-sidebar.collapsed .jpp-nav-item { padding: 10px; justify-content: center; }
.jpp-sidebar.collapsed .jpp-sidebar-header { justify-content: center; }

/* ── Main area ───────────────────────────────────────────── */
.jpp-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: hidden;
}

/* ── Topbar ──────────────────────────────────────────────── */
.jpp-topbar {
  height: var(--jpp-topbar-h);
  background: var(--jpp-white);
  border-bottom: 1px solid var(--jpp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 5;
}
.jpp-topbar-right { display: flex; align-items: center; gap: 16px; }
.jpp-topbar-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--jpp-text-muted);
  display: flex;
  align-items: center;
  padding: 4px;
  position: relative;
}
.jpp-topbar-icon:hover { color: var(--jpp-text); }

.jpp-user-badge { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.jpp-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
}
.jpp-user-avatar-initials {
  background: var(--jpp-green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* ── Dashboard alerts ────────────────────────────────────── */
.jpp-dash-alert {
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 500;
}
.jpp-dash-alert-success { background: #f0fdf4; color: #16a34a; border-bottom: 1px solid #86efac; }
.jpp-dash-alert-error   { background: var(--jpp-red-light); color: var(--jpp-red); border-bottom: 1px solid #fca5a5; }

/* ── Content ─────────────────────────────────────────────── */
.jpp-content {
  flex: 1;
  padding: 28px;
  min-width: 0;
}

/* ── View header ─────────────────────────────────────────── */
.jpp-view-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.jpp-view-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--jpp-text);
  margin: 0 0 4px;
}
.jpp-view-subtitle { font-size: 13px; color: var(--jpp-text-muted); margin: 0; }
.jpp-view-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Search ──────────────────────────────────────────────── */
.jpp-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.jpp-search-input {
  border: 1px solid var(--jpp-border);
  border-radius: 100px;
  padding: 8px 36px 8px 14px;
  font-size: 13px;
  color: var(--jpp-text);
  background: var(--jpp-white);
  width: 220px;
  transition: border-color .15s;
}
.jpp-search-input:focus { outline: none; border-color: var(--jpp-green); }
.jpp-search-wrap svg { position: absolute; right: 12px; pointer-events: none; }

/* ── Table card ──────────────────────────────────────────── */
.jpp-table-card { padding: 0; overflow: hidden; }
.jpp-table-filters {
  padding: 16px 20px;
  border-bottom: 1px solid var(--jpp-border);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Table ───────────────────────────────────────────────── */
.jpp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.jpp-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--jpp-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--jpp-border);
  white-space: nowrap;
}
.jpp-table tbody td {
  padding: 14px 16px;
  color: var(--jpp-text);
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.jpp-table tbody tr:last-child td { border-bottom: none; }
.jpp-table tbody tr:hover td { background: #fafafa; }
.jpp-table-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

/* ── Filter pills ────────────────────────────────────────── */
.jpp-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--jpp-border);
}
.jpp-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--jpp-border);
  color: var(--jpp-text-muted);
  background: var(--jpp-white);
  text-decoration: none;
  transition: background .12s, border-color .12s, color .12s;
}
.jpp-pill:hover { border-color: var(--jpp-green); color: var(--jpp-green); }
.jpp-pill-active {
  background: var(--jpp-green);
  border-color: var(--jpp-green);
  color: #fff !important;
}

/* ── Table footer ────────────────────────────────────────── */
.jpp-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--jpp-border);
  font-size: 13px;
  color: var(--jpp-text-muted);
}
.jpp-pagination { display: flex; align-items: center; gap: 4px; }
.jpp-page-btn {
  width: 28px; height: 28px;
  border: 1.5px solid var(--jpp-border);
  border-radius: 6px;
  background: var(--jpp-white);
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--jpp-text-muted);
  transition: background .1s;
}
.jpp-page-btn:hover:not(:disabled) { background: var(--jpp-bg); }
.jpp-page-btn:disabled { opacity: .4; cursor: not-allowed; }
.jpp-page-num {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  border-radius: 6px;
}
.jpp-page-active { background: var(--jpp-green); color: #fff; }

/* ── Dashboard footer ────────────────────────────────────── */
.jpp-dash-footer {
  padding: 12px 28px;
  border-top: 1px solid var(--jpp-border);
  background: var(--jpp-white);
}

/* ── Candidate header card ───────────────────────────────── */
.jpp-candidate-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.jpp-candidate-identity { display: flex; flex-direction: column; gap: 6px; }
.jpp-candidate-name { font-size: 22px; font-weight: 800; color: var(--jpp-text); margin: 0; }
.jpp-candidate-job { font-size: 13px; color: var(--jpp-text-muted); margin-top: 2px; }
.jpp-candidate-quick-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ── Back link dashboard variant ────────────────────────── */
.jpp-back-link-dash {
  color: var(--jpp-green);
  margin-bottom: 12px;
  font-weight: 600;
}

/* ── Form card ───────────────────────────────────────────── */
.jpp-form-card { margin-bottom: 20px; }
.jpp-vacancy-form .jpp-card { padding: 28px; }

/* ── Access page ─────────────────────────────────────────── */
.jpp-access-gate { padding: 40px 20px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .jpp-dashboard { flex-direction: column; }
  .jpp-sidebar {
    width: 100%;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid var(--jpp-border);
  }
  .jpp-sidebar-header { display: none; }
  .jpp-sidebar-nav {
    flex-direction: row;
    padding: 4px 8px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: 4px;
  }
  .jpp-sidebar-nav::-webkit-scrollbar { display: none; }
  .jpp-nav-item { flex-shrink: 0; }
  .jpp-sidebar-footer { display: none; }
  .jpp-content { padding: 16px; }
  .jpp-view-header { flex-direction: column; gap: 12px; }
  .jpp-view-actions { width: 100%; }
  .jpp-search-wrap { flex: 1; min-width: 0; }
}

/* ── Mobile table → card layout ──────────────────────────── */
@media (max-width: 640px) {
  /* Filter pills: horizontal scroll strip */
  .jpp-filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .jpp-filter-pills::-webkit-scrollbar { display: none; }
  .jpp-filter-pills .jpp-pill { flex-shrink: 0; }

  /* Hide table header row */
  .jpp-table thead { display: none; }

  /* Each row becomes a card */
  .jpp-table tbody tr {
    display: block;
    border: 1px solid var(--jpp-border);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 0 10px;
    background: var(--jpp-white);
  }

  /* Each cell: flex row with label + value */
  .jpp-table tbody td {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border: none;
    font-size: 13px;
    gap: 8px;
  }

  /* Label prefix from data-label attribute */
  .jpp-table tbody td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 11px;
    color: var(--jpp-text-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    min-width: 56px;
    flex-shrink: 0;
  }

  /* First td: card title — full-width header, no label */
  .jpp-table tbody td:first-child {
    display: block;
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--jpp-border);
    margin-bottom: 4px;
  }
  .jpp-table tbody td:first-child::before { display: none; }

  /* Actions td: row of tap-friendly buttons at card bottom */
  .jpp-table-actions {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px;
    padding-top: 10px !important;
    border-top: 1px solid var(--jpp-border);
    margin-top: 4px;
    justify-content: flex-start;
  }
  .jpp-table-actions .jpp-btn-icon-teal {
    flex: 1;
    justify-content: center;
    border-radius: 8px;
    padding: 9px 10px;
    height: auto;
    min-height: 38px;
    font-size: 13px;
  }
  .jpp-table-actions .jpp-btn-icon,
  .jpp-table-actions .jpp-btn-icon-danger {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 8px;
    justify-content: center;
    flex-shrink: 0;
  }
}

/* ═══════════════════════════════════════════════════════════
   FULL-WIDTH BREAKOUT — escape TwentyTwentyFive container
   ═══════════════════════════════════════════════════════════ */
.jpp-dashboard,
.jpp-public-wrap {
  margin-left:  calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
  overflow-x: clip;
}

/* Remove theme content padding when plugin is present */
.wp-block-post-content:has(.jpp-dashboard),
.wp-block-post-content:has(.jpp-public-wrap),
.entry-content:has(.jpp-dashboard),
.entry-content:has(.jpp-public-wrap) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

/* ═══════════════════════════════════════════════════════════
   ACCESS PAGE — split-screen login/register with tabs
   ═══════════════════════════════════════════════════════════ */
.jpp-access-wrap {
  min-height: 100vh;
  background: var(--jpp-bg);
}

.jpp-access-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left branding panel */
.jpp-access-brand {
  background: linear-gradient(145deg, #0f8c56 0%, var(--jpp-green) 60%, #22e48d 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
}
.jpp-access-brand::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.jpp-access-brand::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}

.jpp-access-logo {
  max-height: 48px;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 48px;
  filter: brightness(0) invert(1);
}
.jpp-access-site-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 48px;
}
.jpp-access-brand-headline {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #fff;
}
.jpp-access-brand-sub {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin: 0 0 40px;
}
.jpp-access-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.jpp-access-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}
.jpp-access-features li svg {
  flex-shrink: 0;
  stroke: rgba(255,255,255,.9);
}

/* Right form panel */
.jpp-access-panel {
  background: var(--jpp-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

/* Auth tabs */
.jpp-auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--jpp-border);
  margin-bottom: 28px;
  gap: 0;
}
.jpp-auth-tab {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--jpp-text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.jpp-auth-tab:hover { color: var(--jpp-text); }
.jpp-auth-tab-active {
  color: var(--jpp-green);
  border-bottom-color: var(--jpp-green);
}

/* Auth panes */
.jpp-auth-pane       { display: none; }
.jpp-auth-pane-active { display: block; }

.jpp-auth-pane-intro {
  font-size: 14px;
  color: var(--jpp-text-muted);
  margin: 0 0 24px;
  line-height: 1.5;
}
.jpp-auth-terms {
  font-size: 12px;
  color: var(--jpp-text-light);
  text-align: center;
  margin-top: 16px;
}

/* WP login form overrides inside plugin */
.jpp-auth-pane #loginform,
.jpp-auth-pane .login-form {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.jpp-auth-pane #loginform label,
.jpp-auth-pane .login-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--jpp-text);
}
.jpp-auth-pane #loginform input[type="text"],
.jpp-auth-pane #loginform input[type="password"],
.jpp-auth-pane .login-form input[type="text"],
.jpp-auth-pane .login-form input[type="password"] {
  width: 100%;
  border: 1px solid var(--jpp-border);
  border-radius: var(--jpp-radius);
  padding: 9px 12px;
  font-size: 14px;
  color: var(--jpp-text);
  background: var(--jpp-white);
  transition: border-color .15s;
  box-shadow: none;
  margin-bottom: 4px;
}
.jpp-auth-pane #loginform input:focus,
.jpp-auth-pane .login-form input:focus {
  border-color: var(--jpp-green);
  box-shadow: 0 0 0 3px rgba(26,201,126,.12);
  outline: none;
}
.jpp-auth-pane #wp-submit,
.jpp-auth-pane .login-form input[type="submit"] {
  width: 100%;
  background: var(--jpp-green);
  border: none;
  border-radius: 100px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  margin-top: 8px;
  transition: background .15s;
}
.jpp-auth-pane #wp-submit:hover,
.jpp-auth-pane .login-form input[type="submit"]:hover {
  background: var(--jpp-green-dark);
}
.jpp-auth-pane .login-remember { margin: 12px 0 8px; }
.jpp-auth-pane .login-remember label { font-size: 13px; color: var(--jpp-text-muted); }
.jpp-auth-pane #nav,
.jpp-auth-pane .login-form .nav { margin-top: 12px; text-align: center; font-size: 13px; }
.jpp-auth-pane #nav a,
.jpp-auth-pane .login-form .nav a { color: var(--jpp-green); text-decoration: none; }

/* Access page responsive */
@media (max-width: 860px) {
  .jpp-access-screen { grid-template-columns: 1fr; }
  .jpp-access-brand  { display: none; }
  .jpp-access-panel  { padding: 40px 28px; max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   USER DROPDOWN MENU
   ═══════════════════════════════════════════════════════════ */
.jpp-topbar-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--jpp-text-muted);
  display: flex;
  align-items: center;
  padding: 4px;
  display: none; /* shown on mobile */
}
.jpp-topbar-menu-btn:hover { color: var(--jpp-text); }

.jpp-user-menu {
  position: relative;
}

.jpp-user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid var(--jpp-border);
  border-radius: 100px;
  padding: 4px 12px 4px 4px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.jpp-user-badge:hover {
  border-color: var(--jpp-green);
  background: var(--jpp-green-light);
}

.jpp-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--jpp-text);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jpp-user-chevron {
  color: var(--jpp-text-muted);
  transition: transform .2s;
  flex-shrink: 0;
}
.jpp-user-menu.open .jpp-user-chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.jpp-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--jpp-white);
  border: 1px solid var(--jpp-border);
  border-radius: var(--jpp-radius-lg);
  box-shadow: var(--jpp-shadow-md), 0 10px 30px rgba(0,0,0,.08);
  z-index: 200;
  overflow: hidden;
  animation: jppDropIn .15s ease;
}
.jpp-user-menu.open .jpp-user-dropdown {
  display: block;
}

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

.jpp-user-dropdown-header {
  padding: 14px 16px 12px;
}
.jpp-user-dropdown-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--jpp-text);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jpp-user-dropdown-email {
  font-size: 12px;
  color: var(--jpp-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jpp-user-dropdown-divider {
  height: 1px;
  background: var(--jpp-border);
  margin: 2px 0;
}

.jpp-user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--jpp-text);
  text-decoration: none;
  transition: background .1s;
}
.jpp-user-dropdown-item:hover {
  background: var(--jpp-bg);
  color: var(--jpp-text);
}
.jpp-user-dropdown-item svg {
  color: var(--jpp-text-muted);
  flex-shrink: 0;
}

.jpp-user-dropdown-logout { color: var(--jpp-red); }
.jpp-user-dropdown-logout svg { color: var(--jpp-red); }
.jpp-user-dropdown-logout:hover { background: var(--jpp-red-light); color: var(--jpp-red); }

/* Mobile hamburger */
@media (max-width: 768px) {
  .jpp-topbar-menu-btn { display: flex; }
  .jpp-user-name { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   FORGOT PASSWORD LINK
   ═══════════════════════════════════════════════════════════ */
.jpp-forgot-link {
  font-size: 12px;
  color: var(--jpp-green);
  text-decoration: none;
  font-weight: 500;
}
.jpp-forgot-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   JOB DETAIL — COVER HERO
   ═══════════════════════════════════════════════════════════ */
.jpp-detail-cover {
  width: 100%;
  min-height: 280px;
  background: #18d288;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.jpp-detail-cover-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.jpp-detail-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.jpp-detail-cover-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 700px;
}
.jpp-detail-cover-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.jpp-detail-cover-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  line-height: 1.2;
}
.jpp-detail-cover-company {
  color: rgba(255,255,255,.8);
  font-size: 15px;
  margin: 0;
  font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════
   COMPANY NAV SHORTCODE — DROPDOWN + NOTIFICATIONS
   ═══════════════════════════════════════════════════════════ */
.jpp-cnav-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.jpp-cnav {
  position: relative;
}

/* Bell button */
.jpp-cnav-notif { position: relative; }
.jpp-cnav-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  color: var(--jpp-text-muted);
  transition: background .15s, color .15s;
}
.jpp-cnav-bell:hover { background: var(--jpp-bg); color: var(--jpp-text); }

/* Unread badge */
.jpp-cnav-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--jpp-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  border-radius: 9px;
  text-align: center;
  pointer-events: none;
}

/* Notifications dropdown */
.jpp-cnav-notif-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 340px;
  background: var(--jpp-white);
  border: 1px solid var(--jpp-border);
  border-radius: var(--jpp-radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  overflow: hidden;
  z-index: 1000;
}
.jpp-cnav-notif-dropdown.jpp-cnav-notif-open { display: block; }

.jpp-cnav-notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--jpp-border);
}
.jpp-cnav-notif-head-title { font-size: 14px; font-weight: 700; color: var(--jpp-text); }
.jpp-cnav-notif-new-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--jpp-green-dark);
  background: var(--jpp-green-light);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Notification list */
.jpp-cnav-notif-list { max-height: 320px; overflow-y: auto; }
.jpp-cnav-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--jpp-text);
  border-bottom: 1px solid var(--jpp-border);
  transition: background .12s;
}
.jpp-cnav-notif-item:last-child { border-bottom: none; }
.jpp-cnav-notif-item:hover { background: var(--jpp-bg); }
.jpp-cnav-notif-unread { background: rgba(26,201,126,.06); }
.jpp-cnav-notif-unread:hover { background: rgba(26,201,126,.10); }

.jpp-cnav-notif-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jpp-border);
  margin-top: 5px;
}
.jpp-cnav-notif-dot-new { background: var(--jpp-green); }

.jpp-cnav-notif-body { flex: 1; min-width: 0; }
.jpp-cnav-notif-text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--jpp-text);
}
.jpp-cnav-notif-text strong { font-weight: 600; }
.jpp-cnav-notif-text em { font-style: normal; color: var(--jpp-green-dark); }
.jpp-cnav-notif-time {
  font-size: 11px;
  color: var(--jpp-text-muted);
  margin-top: 3px;
}
.jpp-cnav-notif-arrow {
  flex-shrink: 0;
  color: var(--jpp-text-light);
  margin-top: 2px;
}

/* Footer */
.jpp-cnav-notif-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--jpp-border);
  text-align: center;
}
.jpp-cnav-notif-footer a {
  font-size: 13px;
  font-weight: 500;
  color: var(--jpp-green-dark);
  text-decoration: none;
}
.jpp-cnav-notif-footer a:hover { text-decoration: underline; }

/* Empty state */
.jpp-cnav-notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  gap: 8px;
}
.jpp-cnav-notif-empty p {
  font-size: 13px;
  color: var(--jpp-text-muted);
  margin: 0;
}
.jpp-cnav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--jpp-text);
  transition: border-color .15s, box-shadow .15s;
}
.jpp-cnav-trigger:hover {
  border-color: var(--jpp-green);
  box-shadow: 0 0 0 3px rgba(26,201,126,.08);
}
.jpp-cnav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.jpp-cnav-avatar-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--jpp-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.jpp-cnav-email {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}
.jpp-cnav-chevron {
  flex-shrink: 0;
  transition: transform .2s;
}
.jpp-cnav.jpp-cnav-open .jpp-cnav-chevron { transform: rotate(180deg); }

.jpp-cnav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--jpp-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  z-index: 9999;
  overflow: hidden;
}
.jpp-cnav.jpp-cnav-open .jpp-cnav-dropdown { display: block; }

.jpp-cnav-header {
  padding: 12px 16px;
}
.jpp-cnav-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--jpp-text);
  margin-bottom: 2px;
}
.jpp-cnav-email-sub {
  font-size: 12px;
  color: var(--jpp-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jpp-cnav-divider {
  height: 1px;
  background: var(--jpp-border);
  margin: 4px 0;
}
.jpp-cnav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--jpp-text);
  text-decoration: none;
  transition: background .12s;
}
.jpp-cnav-item:hover,
.jpp-cnav-item-active {
  background: var(--jpp-green-light);
  color: var(--jpp-green-dark);
}
.jpp-cnav-item-logout { color: var(--jpp-text-muted); }
.jpp-cnav-item-logout:hover { background: var(--jpp-red-light); color: var(--jpp-red); }

/* ── Job card — mobile ───────────────────────────────────── */
@media (max-width: 600px) {
  .jpp-job-card {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }
  .jpp-job-card-thumb {
    width: 52px;
    height: 52px;
  }
  .jpp-thumb-placeholder { width: 52px; height: 52px; }
  .jpp-job-card-body {
    flex: 1;
    min-width: 0;
  }
  .jpp-job-card-title { font-size: 15px; }
  .jpp-job-card-meta { gap: 8px; }
  .jpp-job-card-action {
    width: 100%;
    order: 3;
  }
  .jpp-job-card-action .jpp-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Applications load-more ──────────────────────────────── */
.jpp-apps-row-hidden { display: none !important; }
.jpp-load-more-apps-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0 4px;
}
.jpp-table-info-count {
  font-size: 13px;
  color: var(--jpp-text-muted);
  text-align: center;
  padding-bottom: 4px;
}

/* ═══════════════════════════════════════════════════════════
   PENDING REVIEW SCREEN
   ═══════════════════════════════════════════════════════════ */
.jpp-pending-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jpp-bg);
  padding: 24px 16px;
}
.jpp-pending-card {
  background: var(--jpp-white);
  border: 1px solid var(--jpp-border);
  border-radius: 20px;
  padding: 48px 40px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--jpp-shadow-md);
}
.jpp-pending-logo { margin-bottom: 32px; }
.jpp-pending-logo-img { max-height: 40px; max-width: 160px; object-fit: contain; }
.jpp-pending-logo-text { font-weight: 800; font-size: 18px; color: var(--jpp-text); }

.jpp-pending-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--jpp-green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.jpp-pending-icon-rejected {
  background: var(--jpp-red-light);
  color: var(--jpp-red);
}
.jpp-pending-title {
  font-size: 22px; font-weight: 800;
  color: var(--jpp-text); margin: 0 0 12px;
}
.jpp-pending-text {
  font-size: 14px; color: var(--jpp-text-muted);
  line-height: 1.6; margin: 0 0 28px;
}

/* Progress steps */
.jpp-pending-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  background: var(--jpp-bg);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.jpp-pending-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--jpp-text-muted);
}
.jpp-pending-step-active { color: var(--jpp-text); font-weight: 600; }
.jpp-pending-step-done   { color: var(--jpp-green-dark); }
.jpp-pending-step-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--jpp-border);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--jpp-white);
  color: var(--jpp-text-muted);
}
.jpp-pending-step-done .jpp-pending-step-dot {
  border-color: var(--jpp-green);
  background: var(--jpp-green);
  color: #fff;
}
.jpp-pending-step-active .jpp-pending-step-dot { border-color: var(--jpp-green); }
.jpp-pending-step-dot-pulse {
  background: var(--jpp-green);
  border-color: var(--jpp-green);
  animation: jpp-pulse 1.6s infinite;
}
.jpp-pending-step-dot-empty { background: var(--jpp-bg); }
@keyframes jpp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.85); }
}

.jpp-pending-logout {
  font-size: 13px; color: var(--jpp-text-muted);
  text-decoration: none;
  display: inline-block;
}
.jpp-pending-logout:hover { color: var(--jpp-red); }

/* ═══════════════════════════════════════════════════════════
   NEGOCIOS VIEW
   ═══════════════════════════════════════════════════════════ */
.jpp-biz-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.jpp-biz-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--jpp-border);
}
.jpp-biz-logo-initials {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--jpp-green-light);
  color: var(--jpp-green-dark);
  font-weight: 700;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Business status badges */
.jpp-biz-status-pending  { background: #fef9c3; color: #854d0e; }
.jpp-biz-status-approved { background: #dcfce7; color: #166534; }
.jpp-biz-status-rejected { background: var(--jpp-red-light); color: var(--jpp-red); }

/* Pill count badge */
.jpp-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.08);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 2px;
}

/* ═══════════════════════════════════════════════════════════
   JOB DETAIL — COMPANY INFO SECTION
   ═══════════════════════════════════════════════════════════ */
.jpp-company-section {
  margin-top: 40px;
}

.jpp-company-card {
  background: var(--jpp-white);
  border: 1px solid var(--jpp-border);
  border-radius: 16px;
  padding: 28px 32px;
}

.jpp-company-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.jpp-company-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--jpp-border);
  flex-shrink: 0;
}

.jpp-company-logo-initials {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--jpp-green-light);
  color: var(--jpp-green-dark);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.jpp-company-header-info {
  flex: 1;
  min-width: 0;
}

.jpp-company-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--jpp-text);
  margin: 0 0 4px;
  line-height: 1.3;
}

.jpp-company-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--jpp-text-muted);
}

.jpp-company-location svg {
  flex-shrink: 0;
}

.jpp-company-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--jpp-text);
  margin: 0 0 20px;
}

.jpp-company-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 16px;
}

.jpp-company-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--jpp-text-muted);
}

.jpp-company-contact-item svg {
  flex-shrink: 0;
  color: var(--jpp-text-muted);
}

.jpp-company-contact-link {
  color: var(--jpp-green-dark);
  text-decoration: none;
  font-size: 13px;
}

.jpp-company-contact-link:hover {
  text-decoration: underline;
}

.jpp-company-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.jpp-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s;
  color: #fff;
}

.jpp-social-btn:hover {
  opacity: .85;
  color: #fff;
}

.jpp-social-instagram {
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

.jpp-social-facebook {
  background: #1877f2;
}

.jpp-social-linkedin {
  background: #0a66c2;
}

@media (max-width: 640px) {
  .jpp-company-card {
    padding: 20px 18px;
  }
  .jpp-company-header {
    gap: 12px;
  }
  .jpp-company-logo,
  .jpp-company-logo-initials {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }
  .jpp-company-name {
    font-size: 16px;
  }
}
.jpp-pill-active .jpp-pill-count { background: rgba(255,255,255,.3); }
