/* Recruiter panel — indigo / teal / light-cyan theme layered on top of style.css */
:root {
  --rec-purple: #4f46e5;       /* indigo */
  --rec-purple-dark: #4338ca;  /* deeper indigo */
  --rec-blue: #0d9488;         /* teal */
  --rec-green: #06b6d4;        /* cyan */
  --rec-orange: #fd9644;
  --rec-pink: #eb3b5a;
  --rec-yellow: #f6b93b;
  --rec-cyan-light: #ecfeff;
}

.jp-rec-banner {
  background: linear-gradient(135deg, var(--rec-purple) 0%, var(--rec-blue) 100%);
  border-radius: var(--jp-radius-lg);
  padding: 28px 30px;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.25);
}
.jp-rec-banner::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  z-index: 0;
  pointer-events: none;
}
.jp-rec-banner > * {
  position: relative;
  z-index: 1;
}
.jp-rec-banner h4 { color: #fff; font-weight: 700; margin-bottom: 4px; }
.jp-rec-banner p { color: rgba(255,255,255,0.85); margin-bottom: 0; }
.jp-rec-banner .jp-btn-primary {
  background: var(--rec-yellow);
  color: #1a1a1a !important;
  font-weight: 700;
  border: none;
}
.jp-rec-banner .jp-btn-primary:hover { background: #f4a721; }

/* Sidebar — clean white card with pill-highlighted nav */
.jp-rec-sidebar { position: relative; overflow: hidden; }
.jp-rec-sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rec-purple), var(--rec-blue), var(--rec-green));
}
.jp-rec-sidebar .jp-dash-avatar {
  background: linear-gradient(135deg, var(--rec-purple), var(--rec-blue));
  color: #fff;
}
.jp-rec-sidebar h6 { color: var(--jp-text); }
.jp-rec-sidebar p.jp-role { color: var(--jp-muted); }
.jp-rec-sidebar .jp-dash-nav { padding: 0 12px; }
.jp-rec-sidebar .jp-dash-nav li { margin-bottom: 3px; }
.jp-rec-sidebar .jp-dash-nav li a {
  border-radius: 10px;
  border-left: none !important;
  padding: 11px 14px;
}
.jp-rec-sidebar .jp-dash-nav li a.active,
.jp-rec-sidebar .jp-dash-nav li a:hover {
  background: var(--rec-cyan-light);
  color: var(--rec-purple-dark);
  font-weight: 650;
}

/* Stat cards with colored accents */
.jp-rec-stat {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--jp-border);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 4px solid var(--stat-color, var(--rec-purple));
  box-shadow: var(--jp-shadow-1);
  transition: transform .18s var(--jp-ease), box-shadow .18s var(--jp-ease);
}
.jp-rec-stat:hover { transform: translateY(-3px); box-shadow: var(--jp-shadow-2); }
.jp-rec-stat-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background: var(--stat-color, var(--rec-purple));
}
.jp-rec-stat h3 { font-weight: 700; margin: 0; color: #23272f; font-size: 1.7rem; }
.jp-rec-stat span { color: var(--jp-muted); font-size: 13.5px; }
.jp-rec-stat--blue { --stat-color: var(--rec-blue); }
.jp-rec-stat--green { --stat-color: var(--rec-green); }
.jp-rec-stat--purple { --stat-color: var(--rec-purple); }
.jp-rec-stat--orange { --stat-color: var(--rec-orange); }

/* Compact "coming soon" tile */
.jp-rec-stat--soon { opacity: 0.62; border-left-color: var(--jp-border); }
.jp-rec-stat--soon .jp-rec-stat-icon { background: var(--jp-border); color: #9aa1ad; }

/* Section card headers with colored icon chip */
.jp-rec-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 18px;
}
.jp-rec-card-title i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(79, 70, 229, 0.12);
  color: var(--rec-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

/* Table styling */
.jp-rec-table thead th {
  background: #eef1ff;
  color: var(--rec-purple-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: none;
}
.jp-rec-table tbody tr { border-left: 3px solid transparent; }
.jp-rec-table tbody tr:hover { background: #f7f8ff; }
.jp-rec-table tbody tr.jp-row-active { border-left-color: var(--rec-blue); }
.jp-rec-table tbody tr.jp-row-closed { border-left-color: var(--jp-muted); }
.jp-cand-skills { max-width: 260px; }

.jp-rec-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-block;
}
.jp-rec-badge--applied { background: #eef1f5; color: #555; }
.jp-rec-badge--shortlisted { background: #e6f0ff; color: var(--rec-purple); }
.jp-rec-badge--rejected { background: #fde8ec; color: var(--rec-pink); }
.jp-rec-badge--hired { background: #e3faf1; color: var(--rec-blue); }
.jp-rec-badge--active { background: var(--rec-cyan-light); color: #0e7490; }
.jp-rec-badge--closed { background: #eef1f5; color: #666; }

/* Top job mini-card */
.jp-rec-top-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--jp-border);
  border-radius: var(--jp-radius-md);
  color: inherit;
  transition: transform .16s var(--jp-ease), box-shadow .16s var(--jp-ease), border-color .16s var(--jp-ease);
}
.jp-rec-top-card:hover { transform: translateY(-2px); box-shadow: var(--jp-shadow-1); border-color: rgba(79, 70, 229, 0.25); color: inherit; }
.jp-rec-top-icon {
  width: 40px; height: 40px; min-width: 40px; border-radius: 10px;
  background: var(--rec-cyan-light); color: #0e7490;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.jp-rec-top-body { flex: 1 1 auto; min-width: 0; }
.jp-rec-top-body h6 { font-weight: 700; margin: 0 0 2px; font-size: 14px; }
.jp-rec-top-body span { color: var(--jp-muted); font-size: 12.5px; }

/* Forms */
.jp-rec-form-section {
  border-top: 1px solid var(--jp-border);
  margin-top: 22px;
  padding-top: 20px;
}
.jp-rec-form-section:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.jp-rec-form-section-title {
  font-weight: 700;
  color: var(--rec-purple-dark);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.jp-rec-form-section-title i { color: var(--rec-purple); }

.jp-dash-card .form-control:focus,
.jp-dash-card .form-select:focus {
  border-color: var(--rec-purple);
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

.jp-btn-rec-primary {
  background: linear-gradient(135deg, var(--rec-purple), var(--rec-blue));
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  padding: 12px 30px;
  display: inline-block;
}
.jp-btn-rec-primary:hover { opacity: 0.92; color: #fff; }

.jp-empty-state i { color: var(--rec-purple); opacity: 0.35; }

/* Auth pages (register/login) */
.jp-rec-auth-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.12);
  color: var(--rec-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}
.jp-rec-auth-card .btn-submit {
  background: linear-gradient(135deg, var(--rec-purple), var(--rec-blue));
}
.jp-rec-auth-card .btn-submit:hover { opacity: 0.92; }
.jp-rec-auth-card .form-control:focus,
.jp-rec-auth-card .form-select:focus {
  border-color: var(--rec-purple);
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}
.jp-rec-auth-switch a { color: var(--rec-purple); font-weight: 600; }
