/* ============================================================
   Job Portal - Dashboard Stylesheet
   Seeker, Company & Admin Dashboards
   ============================================================ */

/* ── Dashboard Layout ─────────────────────────────────────── */
.dashboard-body {
  background: #f1f5f9;
  min-height: 100vh;
}

.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: var(--color-dark);
  display: flex;
  flex-direction: column;
  z-index: 1040;
  transition: transform 0.3s ease, width 0.3s ease;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.06);
}

/* Sidebar Logo Area */
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  min-height: 70px;
  flex-shrink: 0;
  text-decoration: none;
}

.sidebar-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-blue));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.sidebar-logo-text {
  overflow: hidden;
  transition: opacity 0.3s ease, width 0.3s ease;
}

.sidebar-logo-text .logo-name {
  font-size: 16px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  white-space: nowrap;
}

.sidebar-logo-text .logo-sub {
  font-size: 10.5px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  white-space: nowrap;
}

/* User Info in Sidebar */
.sidebar-user {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sidebar-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  overflow: hidden;
}
.sidebar-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-user-info { overflow: hidden; transition: opacity 0.3s ease; }
.sidebar-user-name {
  font-size: 13.5px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user-role {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* Sidebar Nav */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 0;
}
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.sidebar-nav-section {
  padding: 4px 0 2px;
  margin-bottom: 2px;
}
.sidebar-nav-section-title {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 20px 4px;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.sidebar-nav-link .nav-icon,
.sidebar-nav-link > i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.sidebar-nav-link .nav-label,
.sidebar-nav-link > span:not(.badge) {
  flex: 1;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.sidebar-nav-link .nav-badge {
  background: var(--color-danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.sidebar-nav-link .nav-arrow {
  font-size: 10px;
  margin-left: auto;
  color: rgba(255,255,255,0.3);
  transition: transform 0.2s ease, opacity 0.3s ease;
  flex-shrink: 0;
}

.sidebar-nav-link:hover {
  color: white;
  background: rgba(255,255,255,0.06);
  border-left-color: var(--color-primary);
  padding-left: 24px;
  text-decoration: none;
}
.sidebar-nav-link:hover .nav-icon,
.sidebar-nav-link:hover > i { color: var(--color-primary); }

.sidebar-nav-link.active {
  color: white;
  background: rgba(13,148,136,0.18);
  border-left-color: var(--color-primary);
}
.sidebar-nav-link.active .nav-icon,
.sidebar-nav-link.active > i { color: var(--color-primary); }

/* Submenu */
.sidebar-submenu {
  padding-left: 46px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.sidebar-submenu.open { max-height: 300px; }

.sidebar-submenu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.sidebar-submenu-link::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.sidebar-submenu-link:hover {
  color: white;
  background: rgba(255,255,255,0.06);
}
.sidebar-submenu-link.active {
  color: var(--color-primary);
}
.sidebar-submenu-link.active::before { background: var(--color-primary); }

/* Sidebar Footer */
.sidebar-footer {
  padding: 16px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.sidebar-footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  padding: 8px 2px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.sidebar-footer-link:hover { color: white; }
.sidebar-footer-link .nav-icon { font-size: 15px; }

/* Collapsed sidebar */
.sidebar.sidebar-collapsed {
  width: 72px;
}
.sidebar.sidebar-collapsed .sidebar-logo-text,
.sidebar.sidebar-collapsed .sidebar-brand-text,
.sidebar.sidebar-collapsed .sidebar-user-details,
.sidebar.sidebar-collapsed .nav-label,
.sidebar.sidebar-collapsed .sidebar-nav-link > span:not(.badge),
.sidebar.sidebar-collapsed .nav-badge,
.sidebar.sidebar-collapsed .nav-arrow,
.sidebar.sidebar-collapsed .sidebar-nav-section-title,
.sidebar.sidebar-collapsed .sidebar-section-label,
.sidebar.sidebar-collapsed .sidebar-submenu {
  opacity: 0;
  pointer-events: none;
  width: 0;
  overflow: hidden;
}
.sidebar.sidebar-collapsed .sidebar-nav-link {
  justify-content: center;
  padding: 12px;
  gap: 0;
}
.sidebar.sidebar-collapsed .sidebar-nav-link .nav-icon,
.sidebar.sidebar-collapsed .sidebar-nav-link > i {
  width: auto;
  font-size: 18px;
}
.sidebar.sidebar-collapsed .sidebar-footer-link { justify-content: center; }
.sidebar.sidebar-collapsed .sidebar-user { justify-content: center; }

/* ── Mobile Overlay ───────────────────────────────────────── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1039;
  backdrop-filter: blur(2px);
}
.mobile-overlay.active { display: block; }

/* ── Main Content ─────────────────────────────────────────── */
.main-content {
  margin-left: 260px;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
  display: flex;
  flex-direction: column;
}

.main-content.sidebar-collapsed {
  margin-left: 72px;
}

.content-area {
  padding: 24px;
  flex: 1;
}

/* ── Dashboard Header ─────────────────────────────────────── */
.dashboard-header {
  background: white;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1020;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.dashboard-header .header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.dashboard-header .header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-toggle-btn {
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.sidebar-toggle-btn:hover {
  background: var(--color-bg);
  color: var(--color-dark);
}

.page-title-header {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
}

.header-search {
  position: relative;
  max-width: 300px;
  flex: 1;
}
.header-search .form-control {
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  padding: 7px 14px 7px 38px;
  font-size: 13.5px;
  background: var(--color-bg);
  transition: all 0.15s ease;
}
.header-search .form-control:focus {
  background: white;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.header-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray-light);
  font-size: 13px;
}

/* Header Icon Buttons */
.header-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  text-decoration: none;
}
.header-icon-btn:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Notification Dot */
.notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--color-danger);
  border-radius: 50%;
  border: 2px solid white;
}
.notif-dot.notif-count {
  width: auto;
  min-width: 16px;
  height: 16px;
  top: 2px;
  right: 2px;
  font-size: 9px;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* User Avatar in Header */
.header-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1.5px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-bg);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.header-user-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}
.header-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
}
.header-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.header-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Stat Cards ───────────────────────────────────────────── */
.stat-card-dashboard {
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.25s ease;
  cursor: default;
  height: 100%;
}

.stat-card-dashboard:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.stat-card-dashboard .stat-info { flex: 1; }

.stat-card-dashboard .stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card-dashboard .stat-label {
  font-size: 13px;
  color: var(--color-gray);
  font-weight: 500;
  margin-bottom: 8px;
}

.stat-card-dashboard .stat-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}
.stat-trend.up    { color: var(--color-success); }
.stat-trend.down  { color: var(--color-danger); }
.stat-trend.flat  { color: var(--color-gray); }
.stat-trend .trend-period { color: var(--color-gray); font-weight: 400; }

.stat-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.stat-icon-teal   { background: rgba(168,192,154,0.22); color: #2C5240; }
.stat-icon-blue   { background: rgba(138,188,212,0.22); color: #1F5A78; }
.stat-icon-orange { background: rgba(240,164,104,0.20); color: #8A4010; }
.stat-icon-green  { background: rgba(168,192,154,0.28); color: #1E4030; }
.stat-icon-purple { background: rgba(221,216,152,0.25); color: #5A5210; }
.stat-icon-red    { background: rgba(217,91,74,0.14);   color: #8B2020; }

/* ── Profile Completion Bar ───────────────────────────────── */
.profile-completion-card {
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  padding: 22px;
}

.profile-completion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.completion-percent {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
}

.completion-label {
  font-size: 13px;
  color: var(--color-gray);
  margin-top: 2px;
}

.profile-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--color-border);
  overflow: hidden;
  margin-bottom: 16px;
}

.profile-progress .progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-blue));
  transition: width 1s ease;
}

.completion-checklist { list-style: none; padding: 0; margin: 0; }
.completion-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-gray);
  padding: 4px 0;
}
.completion-checklist li.done {
  color: var(--color-success);
  text-decoration: line-through;
  opacity: 0.7;
}
.completion-checklist li i {
  width: 18px;
  font-size: 13px;
}
.completion-checklist li.done i { color: var(--color-success); }
.completion-checklist li:not(.done) i { color: var(--color-border); }

/* ── Activity Feed ────────────────────────────────────────── */
.activity-feed { padding: 0; margin: 0; list-style: none; }

.activity-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  position: relative;
}
.activity-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.activity-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  z-index: 1;
}

.activity-content { flex: 1; }
.activity-text {
  font-size: 13.5px;
  color: var(--color-dark-2);
  line-height: 1.5;
  margin-bottom: 3px;
}
.activity-text strong { color: var(--color-dark); font-weight: 600; }
.activity-time {
  font-size: 12px;
  color: var(--color-gray-light);
}

/* ── Data Table ───────────────────────────────────────────── */
.data-table-wrapper {
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
}

.data-table-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  gap: 14px;
  flex-wrap: wrap;
}

.data-table-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.data-table thead tr {
  background: #F5F0E8;
  border-bottom: 1px solid var(--color-border);
}

.data-table th {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.data-table td {
  padding: 14px 20px;
  font-size: 13.5px;
  color: var(--color-dark-2);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: #f8fafc; }

.data-table .sortable {
  cursor: pointer;
  user-select: none;
}
.data-table .sortable:hover { color: var(--color-primary); }
.data-table .sortable i { font-size: 10px; margin-left: 4px; }

.table-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.action-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.action-btn-view   { background: var(--color-blue-light);   color: var(--color-blue); }
.action-btn-edit   { background: var(--color-accent-light); color: var(--color-accent-dark); }
.action-btn-delete { background: #fee2e2; color: #dc2626; }
.action-btn-approve{ background: #dcfce7; color: #15803d; }
.action-btn:hover { opacity: 0.8; transform: translateY(-1px); }

/* ── Status Badges ────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-published  { background: rgba(168,192,154,0.22); color: #1E4030; }
.status-published::before  { background: #3D8B6A; }
.status-draft      { background: rgba(237,232,223,0.70); color: #6B6B6B; }
.status-draft::before      { background: #A0A0A0; }
.status-closed     { background: rgba(217,91,74,0.12);   color: #8B2020; }
.status-closed::before     { background: #D95B4A; }
.status-pending    { background: rgba(240,164,104,0.18); color: #7A3808; }
.status-pending::before    { background: #E8935A; }
.status-active     { background: rgba(168,192,154,0.22); color: #1E4030; }
.status-active::before     { background: #3D8B6A; }
.status-inactive   { background: rgba(237,232,223,0.70); color: #6B6B6B; }
.status-inactive::before   { background: #A0A0A0; }
.status-approved   { background: rgba(168,192,154,0.22); color: #1E4030; }
.status-approved::before   { background: #3D8B6A; }
.status-rejected   { background: rgba(217,91,74,0.12);   color: #8B2020; }
.status-rejected::before   { background: #D95B4A; }

/* ── Filter Bar ───────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0;
  margin-bottom: 16px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  background: white;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-dark-2);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-pill:hover,
.filter-pill.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.filter-select {
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  padding: 6px 32px 6px 12px;
  font-size: 13px;
  color: var(--color-dark-2);
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  transition: all 0.15s ease;
}
.filter-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

/* ── Job Card Dashboard ───────────────────────────────────── */
.job-card-dashboard {
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 18px 20px;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.job-card-dashboard:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.job-card-d-logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.job-card-d-body { flex: 1; min-width: 0; }
.job-card-d-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-card-d-company { font-size: 13px; color: var(--color-gray); margin-bottom: 8px; }

.job-card-d-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.job-card-d-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: var(--color-gray);
}
.job-card-d-meta-item i { color: var(--color-primary); font-size: 11px; }

.job-card-d-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

/* ── Applicant Card ───────────────────────────────────────── */
.applicant-card {
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.2s ease;
}
.applicant-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.applicant-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
  overflow: hidden;
}
.applicant-avatar img { width: 100%; height: 100%; object-fit: cover; }

.applicant-info { flex: 1; min-width: 0; }
.applicant-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 3px;
}
.applicant-title {
  font-size: 13px;
  color: var(--color-gray);
  margin-bottom: 8px;
}

.applicant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-skill {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

.tag-skill-gray {
  background: var(--color-bg);
  color: var(--color-gray);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid var(--color-border);
}

.applicant-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  flex-shrink: 0;
}

/* ── Quick Actions Grid ───────────────────────────────────── */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.quick-action-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.quick-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.quick-action-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-dark-2);
  text-align: center;
  line-height: 1.3;
}
.quick-action-btn:hover .quick-action-label { color: var(--color-primary); }

/* ── Empty State ──────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}
.empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--color-border);
  margin-bottom: 20px;
}
.empty-state h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark-2);
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 13.5px;
  color: var(--color-gray);
  max-width: 320px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── Dashboard Cards General ──────────────────────────────── */
.dash-card {
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
}

.dash-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-card-title i { color: var(--color-primary); font-size: 16px; }

.dash-card-body { padding: 20px 22px; }

.dash-card-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--color-border);
  background: #F5F0E8;
}

.view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s ease;
}
.view-all-link:hover { gap: 8px; color: var(--color-primary-dark); }

/* ── Chart Placeholder ────────────────────────────────────── */
.chart-placeholder {
  background: var(--color-bg);
  border: 2px dashed var(--color-border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}
.chart-placeholder i {
  font-size: 2.5rem;
  color: var(--color-border);
  margin-bottom: 12px;
}
.chart-placeholder p {
  font-size: 13px;
  color: var(--color-gray-light);
}

/* ── Notification Dropdown ────────────────────────────────── */
.notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  z-index: 1050;
  overflow: hidden;
}

.notif-dropdown-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notif-dropdown-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-dark);
}
.notif-mark-all {
  font-size: 12px;
  color: var(--color-primary);
  cursor: pointer;
  font-weight: 600;
}

.notif-list { max-height: 360px; overflow-y: auto; }
.notif-list::-webkit-scrollbar { width: 4px; }
.notif-list::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

.notification-item {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.15s ease;
  cursor: pointer;
}
.notification-item:last-child { border-bottom: none; }
.notification-item:hover { background: var(--color-bg); }
.notification-item.unread { background: #f0fdf4; }
.notification-item.unread:hover { background: #dcfce7; }

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.notif-text {
  font-size: 13px;
  color: var(--color-dark-2);
  line-height: 1.5;
  flex: 1;
}
.notif-text strong { color: var(--color-dark); }
.notif-time {
  font-size: 11.5px;
  color: var(--color-gray-light);
  margin-top: 4px;
}

.notif-dropdown-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.notif-dropdown-footer a {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

/* ── Dashboard Breadcrumb ─────────────────────────────────── */
.dash-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-gray);
  margin-bottom: 20px;
}
.dash-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}
.dash-breadcrumb .sep { color: var(--color-border); font-size: 11px; }

/* ── Responsive Dashboard ─────────────────────────────────── */
@media (max-width: 1200px) {
  .header-search { max-width: 200px; }
}

@media (max-width: 991.98px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0 !important;
  }
  .dashboard-header {
    padding: 0 16px;
  }
  .content-area { padding: 16px; }
  .header-search { display: none; }
}

@media (max-width: 767.98px) {
  .stat-card-dashboard .stat-value { font-size: 22px; }
  .data-table-wrapper { overflow-x: auto; }
  .data-table { min-width: 600px; }
  .quick-actions-grid { grid-template-columns: repeat(3, 1fr); }
  .header-user-name { display: none; }
  .page-title-header { font-size: 14px; }
  .notification-dropdown { width: 300px; }
  .dash-card-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
  .content-area { padding: 12px; }
  .quick-actions-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { gap: 6px; }
  .applicant-card { flex-direction: column; }
  .applicant-card-actions { flex-direction: row; align-items: center; }
  .notification-dropdown {
    width: calc(100vw - 20px);
    right: -10px;
  }
}

/* ============================================================
   MISSING COMPONENT STYLES — HTML class aliases
   ============================================================ */

/* ── Sidebar Brand ────────────────────────────────────────── */
.sidebar-brand {
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  min-height: 70px;
  flex-shrink: 0;
}
.sidebar-brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sidebar-brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-blue));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}
.sidebar-brand-text {
  font-size: 16px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  white-space: nowrap;
}
.sidebar-brand-text b {
  color: var(--color-primary);
}

/* ── Sidebar User Info ────────────────────────────────────── */
/* HTML wraps avatar + details in .sidebar-user-info */
.sidebar-user-info {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sidebar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.sidebar-user-details {
  overflow: hidden;
  min-width: 0;
}

/* ── Sidebar Section Label ────────────────────────────────── */
.sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 20px 4px;
  white-space: nowrap;
  overflow: hidden;
}

/* ── Sidebar Logout Link ──────────────────────────────────── */
.sidebar-logout:hover {
  border-left-color: var(--color-danger) !important;
  color: #fca5a5 !important;
}
.sidebar-logout:hover .fa-sign-out-alt { color: #fca5a5; }

/* ── Dashboard Header Title & Actions ────────────────────── */
.header-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.header-title h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
}
.header-title small {
  font-size: 12px;
  color: var(--color-gray);
}

/* .header-actions uses Bootstrap ms-auto d-flex gap-3 — just ensure flex-shrink */
.header-actions {
  flex-shrink: 0;
  align-items: center;
}

/* ── Header Avatar ────────────────────────────────────────── */
.header-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Job Search Bar ───────────────────────────────────────── */
.job-search-bar {
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}

/* ── Fix: hoverable cards need z-index to not clip under siblings ── */
.stat-card-dashboard:hover,
.dash-card:hover,
.job-card:hover {
  position: relative;
  z-index: 2;
}

/* ── Collapsed sidebar responsive fixes ──────────────────── */
@media (max-width: 991.98px) {
  .sidebar-brand-text,
  .sidebar-user-details {
    transition: opacity 0.3s ease;
  }
  .sidebar.sidebar-collapsed .sidebar-brand-text,
  .sidebar.sidebar-collapsed .sidebar-user-details {
    opacity: 0;
    pointer-events: none;
    width: 0;
    overflow: hidden;
  }
  .sidebar.sidebar-collapsed .sidebar-brand { justify-content: center; }
  .sidebar.sidebar-collapsed .sidebar-user-info { justify-content: center; }
}


