/**
 * Timviec24h - Employer Dashboard Redesign Styles
 * Brand Green: #00b074 | Text: #0f172a, #334155, #64748b | Border: #e2e8f0 | Light Bg: #f8fafc
 */

/* ==========================================================================
   1. RESET & SIDEBAR LAYOUT
   ========================================================================== */

/* Biến đổi toàn bộ sidebar sang Light Theme đồng bộ */
.page-dashboard {
  background-color: #f8fafc;
  min-height: calc(100vh - 120px);
  padding: 30px 0 60px;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.inner-dashboard {
  background: transparent;
}

.page-dashboard #main-content {
  padding-left: 15px;
  padding-right: 15px;
}

/* Sidebar Wrapper */
.sidebar-wrapper {
  margin-bottom: 25px;
}

.sidebar-wrapper .sidebar.sidebar-left {
  background: transparent;
  padding: 0;
  border: none;
}

.widget_apus_user_short_profile {
  margin-bottom: 0;
  padding: 0;
  border: none;
  background: transparent;
}

/* ==========================================================================
   2. TIMVIEC24H EMPLOYER SIDEBAR
   ========================================================================== */
.timviec24h-employer-sidebar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 20px 16px;
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  transition: all 0.25s ease;
}

/* Header Card Doanh Nghiệp đầu Sidebar */
.employer-sidebar-profile-card {
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.employer-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.employer-card-logo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.employer-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.employer-card-logo .logo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00b074 0%, #00875a 100%);
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

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

.employer-card-meta .employer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #00b074;
  background: #e6f7f0;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.employer-card-meta .employer-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.employer-card-meta .employer-subtext {
  font-size: 12px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.employer-card-meta .employer-subtext span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.employer-card-actions {
  margin-top: 10px;
  padding-top: 8px;
}

.employer-card-actions .btn-view-public {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #00b074;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  transition: all 0.2s ease;
}

.employer-card-actions .btn-view-public:hover {
  background: #00b074;
  color: #ffffff;
  border-color: #00b074;
}

/* Nhóm Menu Điều Hướng */
.employer-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-group-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  margin-bottom: 2px;
}

.nav-group-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-group-menu .menu-item {
  margin: 0;
  padding: 0;
}

.nav-group-menu .menu-item .nav-link {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.nav-group-menu .menu-item .nav-icon {
  width: 22px;
  font-size: 15px;
  color: #64748b;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.nav-group-menu .menu-item .nav-text {
  flex: 1;
}

.nav-group-menu .menu-item:hover .nav-link {
  background: #f1f5f9;
  color: #00b074;
}

.nav-group-menu .menu-item:hover .nav-icon {
  color: #00b074;
}

/* Active State Nổi Bật Thương Hiệu */
.nav-group-menu .menu-item.active .nav-link {
  background: #e6f7f0;
  color: #009663;
  font-weight: 600;
}

.nav-group-menu .menu-item.active .nav-icon {
  color: #00b074;
}

.nav-group-menu .menu-item.active .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: #00b074;
}

/* Badges & Counts */
.nav-badge.badge-new {
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: #ef4444;
  padding: 2px 6px;
  border-radius: 10px;
  text-transform: uppercase;
}

.nav-count {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: #00b074;
  padding: 2px 7px;
  border-radius: 10px;
}

.menu-item-logout .nav-icon,
.menu-item-logout .nav-text {
  color: #64748b;
}

.menu-item-logout:hover .nav-link {
  background: #f8fafc;
  color: #0f172a;
}

.menu-item-danger .nav-icon,
.menu-item-danger .nav-text {
  color: #94a3b8;
}

.menu-item-danger:hover .nav-link {
  background: #fef2f2;
  color: #ef4444;
}

.menu-item-danger:hover .nav-icon {
  color: #ef4444;
}

/* Hộp trợ giúp góc dưới sidebar */
.sidebar-help-box {
  margin-top: 20px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sidebar-help-box .help-icon {
  font-size: 20px;
  color: #00b074;
}

.sidebar-help-box .help-text strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 2px;
}

.sidebar-help-box .help-text p {
  font-size: 11px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.sidebar-help-box .sidebar-help-link,
.sidebar-help-box .sidebar-messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0084ff !important;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  margin-top: 3px;
  margin-bottom: 3px;
  transition: color 0.2s ease;
}

.sidebar-help-box .sidebar-help-link:hover,
.sidebar-help-box .sidebar-messenger-link:hover {
  color: #0066cc !important;
  text-decoration: underline;
}

.sidebar-help-box .sidebar-help-link i,
.sidebar-help-box .sidebar-messenger-link i {
  font-size: 14px;
  color: #0084ff;
}

/* ==========================================================================
   3. MOBILE SIDEBAR DRAWER & OVERLAY
   ========================================================================== */
.page-dashboard .mobile-sidebar-btn {
  background: #00b074 !important;
  border: 1px solid #00b074 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(0, 176, 116, 0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  text-decoration: none !important;
}

.page-dashboard .mobile-sidebar-btn:hover {
  background: #00875a !important;
  border-color: #00875a !important;
}

.sidebar-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.sidebar-drawer-header .drawer-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.close-sidebar-btn {
  cursor: pointer;
  font-size: 16px;
  color: #64748b;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.close-sidebar-btn:hover {
  background: #f1f5f9;
  color: #ef4444;
}

@media (max-width: 991px) {
  .page-dashboard .sidebar-left {
    background: #ffffff !important;
    width: 300px !important;
    max-width: 85vw !important;
    padding: 20px 16px !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15) !important;
    z-index: 99999 !important;
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    overflow-y: auto !important;
  }

  .page-dashboard .timviec24h-employer-sidebar {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .mobile-sidebar-panel-overlay.active {
    z-index: 99998 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(2px) !important;
  }
}

/* ==========================================================================
   4. EMPLOYER DASHBOARD OVERVIEW PAGE
   ========================================================================== */

/* Hero Banner Chào Mừng */
.dashboard-hero-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 45%, #ffffff 100%);
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(0, 176, 116, 0.05);
}

.dashboard-hero-banner .hero-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dashboard-hero-banner .hero-avatar {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-hero-banner .hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dashboard-hero-banner .hero-avatar .avatar-letter {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00b074 0%, #00875a 100%);
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.dashboard-hero-banner .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #00875a;
  background: #dcfce7;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.dashboard-hero-banner .hero-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.dashboard-hero-banner .hero-subtitle {
  font-size: 13.5px;
  color: #475569;
  margin: 0;
  max-width: 680px;
  line-height: 1.5;
}

.dashboard-hero-banner .hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #00b074;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0, 176, 116, 0.25);
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  background: #00875a;
  transform: translateY(-1px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #334155 !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  border-color: #00b074;
  color: #00b074 !important;
  background: #f0fdf4;
}

@media (max-width: 991px) {
  .dashboard-hero-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-hero-banner .hero-actions {
    width: 100%;
    flex-direction: row;
  }
}

@media (max-width: 575px) {
  .dashboard-hero-banner .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-hero-banner .hero-actions {
    flex-direction: column;
  }
}

/* Thẻ Thông Báo Nhắc Hoàn Thiện Hồ Sơ */
.dashboard-notice-card {
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.dashboard-notice-card.notice-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.dashboard-notice-card .notice-icon {
  font-size: 26px;
  color: #d97706;
}

.dashboard-notice-card .notice-body {
  flex: 1;
}

.dashboard-notice-card .notice-body h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 4px 0;
}

.dashboard-notice-card .notice-body p {
  font-size: 13px;
  color: #78350f;
  margin: 0;
}

.btn-notice-action {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff !important;
  background: #d97706;
  padding: 7px 14px;
  border-radius: 6px;
  text-decoration: none !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-notice-action:hover {
  background: #b45309;
}

/* Hệ Thống Thẻ Thống Kê (Stats Grid) */
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 1199px) {
  .dashboard-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
}

.stat-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-primary .stat-icon {
  background: #e6f7f0;
  color: #00b074;
}

.stat-success .stat-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.stat-amber .stat-icon {
  background: #fef3c7;
  color: #d97706;
}

.stat-info .stat-icon {
  background: #f3e8ff;
  color: #9333ea;
}

.stat-data .stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-data .stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 2px;
}

.stat-data .stat-sub {
  font-size: 12px;
  color: #64748b;
}

.text-highlight {
  color: #d97706;
  font-weight: 600;
}

.stat-footer {
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  transition: color 0.2s ease;
}

.stat-card:hover .stat-footer {
  color: #00b074;
}

/* Khối 2 cột: Ứng viên mới & Việc làm gần đây */
.dashboard-main-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 991px) {
  .dashboard-main-sections {
    grid-template-columns: 1fr;
  }
}

.dashboard-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.dashboard-card .card-header {
  padding: 18px 22px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-card .card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-card .card-subtitle {
  font-size: 12.5px;
  color: #64748b;
}

.dashboard-card .card-view-all {
  font-size: 12.5px;
  font-weight: 600;
  color: #00b074;
  text-decoration: none !important;
  white-space: nowrap;
}

.dashboard-card .card-view-all:hover {
  color: #00875a;
}

.dashboard-card .card-body {
  padding: 16px 20px;
}

/* Danh sách Ứng viên mới */
.recent-applicants-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.applicant-row-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  background: #fcfcfc;
  transition: all 0.2s ease;
}

.applicant-row-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.applicant-col-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.applicant-col-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.applicant-col-avatar .avatar-letter {
  width: 100%;
  height: 100%;
  background: #00b074;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.applicant-col-info {
  flex: 1;
  min-width: 0;
}

.applicant-col-info .applicant-name {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 3px 0;
}

.applicant-col-info .applicant-name a {
  color: #0f172a;
  text-decoration: none;
}

.applicant-col-info .applicant-name a:hover {
  color: #00b074;
}

.applicant-job-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.applicant-col-status .badge-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.badge-status.status-pending {
  background: #fef3c7;
  color: #b45309;
}

.badge-status.status-approved {
  background: #dcfce7;
  color: #15803d;
}

.badge-status.status-rejected {
  background: #fee2e2;
  color: #b91c1c;
}

.applicant-col-action .btn-view-cv {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #00b074;
  background: #e6f7f0;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.applicant-col-action .btn-view-cv:hover {
  background: #00b074;
  color: #ffffff;
}

/* Danh sách Tin tuyển dụng gần đây */
.recent-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  background: #fcfcfc;
  transition: all 0.2s ease;
}

.job-row-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.job-col-main {
  flex: 1;
  min-width: 0;
}

.job-item-title {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.job-item-title a {
  color: #0f172a;
  text-decoration: none;
}

.job-item-title a:hover {
  color: #00b074;
}

.job-item-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-job-status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-job-status.status-published {
  background: #dcfce7;
  color: #15803d;
}

.badge-job-status.status-expired {
  background: #f1f5f9;
  color: #64748b;
}

.badge-job-status.status-draft {
  background: #fef3c7;
  color: #b45309;
}

.meta-applicants a {
  color: #00b074;
  text-decoration: none;
}

.meta-applicants a:hover {
  text-decoration: underline;
}

.job-col-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-job-action {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 13px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-job-action:hover {
  border-color: #00b074;
  color: #00b074;
  background: #f0fdf4;
}

/* Empty State Card */
.empty-state-card {
  text-align: center;
  padding: 32px 20px;
}

.empty-state-card .empty-icon {
  font-size: 44px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.empty-state-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px 0;
}

.empty-state-card p {
  font-size: 13px;
  color: #64748b;
  max-width: 420px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

/* Hỗ trợ tuyển dụng 2 cột chân dashboard */
.dashboard-support-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 767px) {
  .dashboard-support-banner {
    grid-template-columns: 1fr;
  }
}

.support-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.support-icon {
  font-size: 26px;
  min-width: 32px;
}

.support-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.support-content p {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.support-link {
  font-size: 13px;
  font-weight: 600;
  color: #00b074;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.support-link:hover {
  color: #00875a;
}

/* ==========================================================================
   5. EMPLOYER PROFILE FORM REDESIGN
   ========================================================================== */

/* Hero Header Profile Card */
.employer-profile-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.hero-cover-preview {
  height: 130px;
  background-size: cover;
  background-position: center;
  background-color: #0f172a;
  position: relative;
}

.cover-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.5) 100%);
}

.cover-btn-actions {
  position: absolute;
  bottom: 12px;
  right: 16px;
  z-index: 2;
}

.btn-cover-change {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0;
  transition: all 0.2s ease;
}

.btn-cover-change:hover {
  background: rgba(0, 176, 116, 0.9);
}

.hero-meta-row {
  padding: 0 24px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.hero-logo-box {
  position: relative;
  margin-top: -45px;
  z-index: 3;
}

.hero-logo-inner {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  border: 3px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-fallback-letter {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00b074 0%, #00875a 100%);
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.btn-logo-upload {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #00b074;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  margin: 0;
}

.btn-logo-upload:hover {
  background: #00875a;
}

.hero-text-box {
  flex: 1;
  min-width: 0;
  padding-bottom: 2px;
}

.hero-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.company-display-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.badge-verified {
  font-size: 11px;
  font-weight: 600;
  color: #00b074;
  background: #e6f7f0;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.company-quick-chips {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #64748b;
}

.company-quick-chips .chip-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.company-quick-chips a {
  color: #00b074;
  text-decoration: none;
}

.hero-cta-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
}

.btn-preview-public {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-preview-public:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-primary-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00b074;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 176, 116, 0.25);
  transition: all 0.2s ease;
}

.btn-primary-save:hover {
  background: #00875a;
}

@media (max-width: 767px) {
  .hero-meta-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 16px 16px;
  }
  .hero-cta-box {
    width: 100%;
    justify-content: space-between;
  }
}

/* Các Nhóm Biểu Mẫu (Section Cards) */
.form-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  overflow: hidden;
}

.section-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fafbfc;
}

.section-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #e6f7f0;
  color: #00b074;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px 0;
}

.section-desc {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.section-card-body {
  padding: 24px;
}

/* Inputs, Labels & Form Elements */
.timviec24h-styled-form .form-group {
  margin-bottom: 20px;
}

.timviec24h-styled-form .control-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 7px;
}

.timviec24h-styled-form .control-label .req {
  color: #ef4444;
  margin-left: 2px;
}

.timviec24h-styled-form .form-control {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  height: 44px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  box-shadow: none;
  transition: all 0.2s ease;
}

.timviec24h-styled-form textarea.form-control {
  height: auto;
  line-height: 1.6;
}

.timviec24h-styled-form .form-control:focus {
  border-color: #00b074;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 176, 116, 0.15);
}

.timviec24h-styled-form .input-group-addon {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: #64748b;
  font-size: 14px;
  padding: 10px 14px;
}

.timviec24h-styled-form .input-group .form-control {
  border-radius: 0 8px 8px 0;
}

.timviec24h-styled-form .help-text {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 5px;
}

.hidden-file-input {
  display: none !important;
}

/* Sticky Action Bar ở chân form */
.employer-form-sticky-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.sticky-status-info {
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-secondary-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-reset:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   6. MY JOBS & APPLICANTS COMMON MANAGEMENT CARDS
   ========================================================================== */
.timviec24h-dashboard-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 24px;
}

.timviec24h-dashboard-card .card-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.timviec24h-dashboard-card .card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timviec24h-dashboard-card .card-subtitle {
  font-size: 13px;
  color: #64748b;
}

.timviec24h-dashboard-card .card-body {
  padding: 24px;
}

/* Summary Badges */
.applicants-summary-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 14px;
}

.badge-pill.pill-total {
  background: #f1f5f9;
  color: #334155;
}

.badge-pill.pill-approved {
  background: #dcfce7;
  color: #15803d;
}

.badge-pill.pill-rejected {
  background: #fee2e2;
  color: #b91c1c;
}

/* Table Filter Bar */
.table-filter-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px 24px !important;
  padding: 16px 20px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
}

.table-filter-bar .filter-search-box {
  flex: 1 1 300px !important;
  max-width: 400px !important;
  min-width: 240px !important;
}

.table-filter-bar .filter-search-box form {
  margin: 0 !important;
  width: 100% !important;
}

.table-filter-bar .filter-search-box .input-group {
  display: flex !important;
  width: 100% !important;
  position: relative !important;
}

.table-filter-bar .filter-search-box .form-control {
  flex: 1 1 auto !important;
  width: 1% !important;
  border: 1px solid #cbd5e1 !important;
  border-right: none !important;
  border-radius: 8px 0 0 8px !important;
  height: 42px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
}

.table-filter-bar .filter-search-box .input-group-btn {
  display: flex !important;
  width: auto !important;
  white-space: nowrap !important;
  position: static !important;
}

.table-filter-bar .filter-search-box .btn-search {
  background: #00b074 !important;
  color: #ffffff !important;
  border: 1px solid #00b074 !important;
  border-radius: 0 8px 8px 0 !important;
  height: 42px !important;
  padding: 0 20px !important;
  font-size: 15px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}

.table-filter-bar .filter-search-box .btn-search:hover {
  background: #009663 !important;
  border-color: #009663 !important;
  color: #ffffff !important;
}

.table-filter-bar .filter-search-box .job-filter-select {
  height: 42px !important;
  border: 1px solid #cbd5e1 !important;
  border-left: none !important;
  border-right: none !important;
  font-size: 13px !important;
  color: #334155 !important;
  max-width: 200px !important;
  padding: 0 10px !important;
  border-radius: 0 !important;
}

.table-filter-bar .filter-sort-box {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  white-space: nowrap !important;
}

.table-filter-bar .filter-sort-box .sort-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-right: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.table-filter-bar .filter-sort-box form {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.table-filter-bar .filter-sort-box .select2-sort,
.table-filter-bar .filter-sort-box select.form-control {
  height: 42px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 13px !important;
  padding: 6px 14px !important;
  min-width: 160px !important;
  background-color: #ffffff !important;
  color: #334155 !important;
  box-shadow: none !important;
}

@media (max-width: 1080px) {
  .table-filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }
  .table-filter-bar .filter-search-box {
    max-width: 100% !important;
    width: 100% !important;
  }
  .table-filter-bar .filter-sort-box {
    width: 100% !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
  }
  .table-filter-bar .filter-sort-box form {
    flex: 1 !important;
    max-width: 260px !important;
  }
  .table-filter-bar .filter-sort-box .select2-sort,
  .table-filter-bar .filter-sort-box select.form-control {
    width: 100% !important;
  }
}

/* My Jobs Item Card */
.my-jobs-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.my-job-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.2s ease;
}

.my-job-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.job-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.badge-type {
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
}

.job-card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.job-card-title a {
  color: #0f172a;
  text-decoration: none;
}

.job-card-title a:hover {
  color: #00b074;
}

.job-card-meta-row {
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-dot {
  color: #cbd5e1;
}

.link-applicants {
  color: #00b074 !important;
  font-weight: 600;
  text-decoration: none;
}

.job-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 14px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-action-icon:hover {
  border-color: #00b074;
  color: #00b074;
  background: #f0fdf4;
}

.btn-action-icon.deleted:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}

.btn-action-apps {
  width: auto;
  padding: 0 14px;
  gap: 6px;
  background: #e6f7f0;
  border-color: #bbf7d0;
  color: #00b074;
  font-size: 13px;
  font-weight: 600;
}

.btn-action-apps:hover {
  background: #00b074;
  color: #ffffff;
}

@media (max-width: 767px) {
  .my-job-item-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .job-card-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Submission Tips Banner */
.submission-tips-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.submission-tips-banner .tip-icon {
  font-size: 24px;
  color: #00b074;
}

.submission-tips-banner .tip-text {
  font-size: 13px;
  color: #166534;
  line-height: 1.5;
}

/* CMB2 Styling for Job Submission */
.job-submission-cmb2-wrapper .cmb-row {
  margin-bottom: 20px;
  border: none;
  padding: 0;
}

.job-submission-cmb2-wrapper .cmb-th label {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.job-submission-cmb2-wrapper input[type="text"],
.job-submission-cmb2-wrapper input[type="url"],
.job-submission-cmb2-wrapper select,
.job-submission-cmb2-wrapper textarea {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  width: 100%;
}

.job-submission-cmb2-wrapper input:focus,
.job-submission-cmb2-wrapper select:focus,
.job-submission-cmb2-wrapper textarea:focus {
  border-color: #00b074;
  box-shadow: 0 0 0 3px rgba(0, 176, 116, 0.15);
  outline: none;
}

.form-actions-row {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

/* Toast Notifications */
.timviec24h-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timviec24h-toast.is-show {
  transform: translateY(0);
  opacity: 1;
}

.timviec24h-toast.toast-success {
  background: #00b074;
}

.timviec24h-toast.toast-error {
  background: #ef4444;
}

/* ==========================================================================
   Quản Lý Hồ Sơ Ứng Viên - Redesign Hiện Đại & Chuẩn Responsive (Timviec24h)
   ========================================================================== */

/* Summary Badges Tabs */
.job-applicants-management-card .applicants-summary-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.job-applicants-management-card .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  cursor: pointer;
  background: #f1f5f9;
  color: #475569;
}

.job-applicants-management-card .badge-pill strong {
  font-weight: 700;
}

.job-applicants-management-card .badge-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.job-applicants-management-card .badge-pill.pill-total {
  background: #f8fafc;
  color: #334155;
  border-color: #e2e8f0;
}
.job-applicants-management-card .badge-pill.pill-total.active,
.job-applicants-management-card .badge-pill.pill-total:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.job-applicants-management-card .badge-pill.pill-pending {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}
.job-applicants-management-card .badge-pill.pill-pending.active,
.job-applicants-management-card .badge-pill.pill-pending:hover {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
}

.job-applicants-management-card .badge-pill.pill-approved {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}
.job-applicants-management-card .badge-pill.pill-approved.active,
.job-applicants-management-card .badge-pill.pill-approved:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.job-applicants-management-card .badge-pill.pill-rejected {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
.job-applicants-management-card .badge-pill.pill-rejected.active,
.job-applicants-management-card .badge-pill.pill-rejected:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

/* Danh sách card ứng viên */
.applicants-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

/* Thẻ ứng viên (Candidate Card) */
.timviec-applicant-card,
article.job-applicant-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
}

.timviec-applicant-card:hover,
article.job-applicant-wrapper:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

/* Điểm nhấn màu sắc theo trạng thái */
.timviec-applicant-card.status-pending,
article.job-applicant-wrapper.status-pending {
  border-left: 4px solid #f59e0b;
}

.timviec-applicant-card.status-approved,
article.job-applicant-wrapper.status-approved {
  border-left: 4px solid #10b981;
}

.timviec-applicant-card.status-rejected,
article.job-applicant-wrapper.status-rejected {
  border-left: 4px solid #ef4444;
}

/* Header của Card */
.applicant-card-header {
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.applicant-applied-job {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  flex: 1;
  min-width: 0;
}

.applicant-applied-job .job-target-badge {
  background: #e6f7f0;
  color: #00875a;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.applicant-applied-job .job-target-link {
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
  transition: color 0.15s ease;
}

.applicant-applied-job .job-target-link:hover {
  color: #00b074;
  text-decoration: underline;
}

.applicant-applied-job .job-target-text {
  color: #334155;
  font-weight: 600;
}

.applicant-header-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.applicant-submit-date {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.applicant-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.applicant-status-badge.badge-pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.applicant-status-badge.badge-approved {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.applicant-status-badge.badge-rejected {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Thân Card */
.applicant-card-body {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
}

/* Avatar Column */
.applicant-col-avatar {
  width: 72px;
  min-width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.applicant-avatar-wrap {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
}

.applicant-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.applicant-avatar-wrap:hover .applicant-avatar-img {
  transform: scale(1.05);
}

.applicant-letter-avatar {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.applicant-avatar-wrap:hover .applicant-letter-avatar {
  transform: scale(1.05);
}

.applicant-letter-avatar.color-0 { background: linear-gradient(135deg, #00b074 0%, #00875a 100%); }
.applicant-letter-avatar.color-1 { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.applicant-letter-avatar.color-2 { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.applicant-letter-avatar.color-3 { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.applicant-letter-avatar.color-4 { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.applicant-letter-avatar.color-5 { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

/* Candidate Details Column */
.applicant-col-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.applicant-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.applicant-name-row .applicant-name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.applicant-name-row .applicant-name a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.applicant-name-row .applicant-name a:hover {
  color: #00b074;
}

.applicant-position-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Meta Chips */
.applicant-meta-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-chip i {
  font-size: 12px;
}

.meta-chip .chip-label {
  color: #64748b;
  font-weight: 500;
}

.meta-chip .chip-value {
  font-weight: 600;
  color: #0f172a;
}

/* Quick Contacts */
.applicant-quick-contacts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.quick-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.quick-contact-pill.contact-phone {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.quick-contact-pill.contact-phone:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.quick-contact-pill.contact-phone.empty {
  background: #f8fafc;
  color: #94a3b8;
  border: 1px dashed #e2e8f0;
  pointer-events: none;
  font-weight: 500;
}

.quick-contact-pill.contact-email {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #dcfce7;
}

.quick-contact-pill.contact-email:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

/* Action Buttons Column */
.applicant-col-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.applicant-action-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-card-action:hover {
  transform: translateY(-1px);
}

/* Tải CV */
.btn-card-action.btn-cv {
  background: #00b074;
  color: #ffffff !important;
  border-color: #00b074;
}

.btn-card-action.btn-cv:hover {
  background: #009663;
  border-color: #009663;
  box-shadow: 0 3px 8px rgba(0, 176, 116, 0.3);
}

.btn-card-action.btn-cv.disabled {
  background: #f1f5f9;
  color: #94a3b8 !important;
  border-color: #e2e8f0;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Xem hồ sơ */
.btn-card-action.btn-view {
  background: #ffffff;
  color: #334155 !important;
  border-color: #cbd5e1;
}

.btn-card-action.btn-view:hover {
  background: #f8fafc;
  color: #00b074 !important;
  border-color: #00b074;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Duyệt ứng viên */
.btn-card-action.btn-approve {
  background: #dcfce7;
  color: #15803d !important;
  border-color: #86efac;
}

.btn-card-action.btn-approve:hover {
  background: #15803d;
  color: #ffffff !important;
  border-color: #15803d;
  box-shadow: 0 3px 8px rgba(21, 128, 61, 0.3);
}

/* Từ chối ứng viên */
.btn-card-action.btn-reject {
  background: #fee2e2;
  color: #b91c1c !important;
  border-color: #fca5a5;
}

.btn-card-action.btn-reject:hover {
  background: #b91c1c;
  color: #ffffff !important;
  border-color: #b91c1c;
  box-shadow: 0 3px 8px rgba(185, 28, 28, 0.3);
}

/* Hủy duyệt / Hủy từ chối */
.btn-card-action.btn-undo {
  background: #fef3c7;
  color: #b45309 !important;
  border-color: #fde68a;
}

.btn-card-action.btn-undo:hover {
  background: #b45309;
  color: #ffffff !important;
  border-color: #b45309;
  box-shadow: 0 3px 8px rgba(180, 83, 9, 0.3);
}

/* Xóa ứng viên */
.btn-card-action.btn-remove {
  background: #ffffff;
  color: #94a3b8 !important;
  border-color: #e2e8f0;
  padding: 7px 10px;
}

.btn-card-action.btn-remove:hover {
  background: #fee2e2;
  color: #ef4444 !important;
  border-color: #fca5a5;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2);
}

/* Loading state on AJAX buttons */
.btn-card-action.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.btn-card-action.loading:after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: applicantSpin 0.7s linear infinite;
  margin-left: 4px;
}

@keyframes applicantSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Responsive Breakpoints cho Hồ Sơ Ứng Viên
   ========================================================================== */

/* Tablet (dưới 1080px) */
@media (max-width: 1080px) {
  .applicant-card-body {
    flex-wrap: wrap;
    gap: 16px;
  }

  .applicant-col-actions {
    width: 100%;
    justify-content: flex-start;
    padding-top: 12px;
    border-top: 1px dashed #f1f5f9;
  }

  .applicant-action-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .applicant-applied-job .job-target-link {
    max-width: 320px;
  }
}

/* Mobile (dưới 767px) */
@media (max-width: 767px) {
  /* Compact Container Padding cho Mobile */
  .timviec24h-dashboard-card {
    border-radius: 10px;
    margin-bottom: 16px;
  }

  .timviec24h-dashboard-card .card-header {
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .timviec24h-dashboard-card .card-body {
    padding: 12px;
  }

  .applicants-items-list {
    gap: 12px;
    margin-top: 14px;
  }

  .timviec-applicant-card,
  article.job-applicant-wrapper {
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .job-applicants-management-card .applicants-summary-badges {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 6px;
  }

  .job-applicants-management-card .badge-pill {
    padding: 5px 11px;
    font-size: 11.5px;
    flex-shrink: 0;
  }

  /* Filter bar trên Mobile: không bị tràn ngang */
  .table-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .filter-search-box {
    width: 100%;
  }

  .filter-search-box .applicants-filter-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .filter-search-box .applicants-filter-form .input-group input.form-control {
    width: 100% !important;
    border-radius: 8px !important;
    height: 40px;
  }

  .filter-search-box .applicants-filter-form .input-group .input-group-btn {
    display: flex;
    gap: 8px;
    width: 100%;
  }

  .filter-search-box .job-filter-select {
    flex: 1;
    border-radius: 8px !important;
    height: 40px;
  }

  .filter-search-box .btn-search {
    border-radius: 8px !important;
    width: 44px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .filter-sort-box {
    width: 100%;
    justify-content: space-between;
  }

  /* Header Card trên Mobile */
  .applicant-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .applicant-applied-job {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .applicant-applied-job .job-target-badge {
    margin-bottom: 0;
  }

  .applicant-applied-job .job-target-link,
  .applicant-applied-job .job-target-text {
    width: 100%;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
    font-size: 13px;
    max-width: 100% !important;
  }

  .applicant-header-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px dashed #e2e8f0;
    box-sizing: border-box;
  }

  /* Body Card trên Mobile: Grid 2 cột (Avatar + Details) và Actions full width */
  .applicant-card-body {
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-template-areas:
      "avatar details"
      "actions actions";
    gap: 10px;
    align-items: start;
    padding: 12px;
    box-sizing: border-box;
  }

  .applicant-col-avatar {
    grid-area: avatar;
    width: 50px;
    min-width: 50px;
    height: 50px;
  }

  .applicant-letter-avatar {
    font-size: 20px;
    border-radius: 10px;
  }

  .applicant-avatar-img {
    border-radius: 10px;
  }

  .applicant-col-details {
    grid-area: details;
    width: 100%;
  }

  .applicant-name-row .applicant-name {
    font-size: 15px;
  }

  .applicant-meta-chips {
    gap: 5px;
  }

  .meta-chip {
    padding: 3px 7px;
    font-size: 11px;
  }

  .applicant-quick-contacts {
    width: 100%;
    gap: 6px;
  }

  .quick-contact-pill {
    font-size: 11px;
    padding: 3px 8px;
  }

  .applicant-col-actions {
    grid-area: actions;
    width: 100%;
    padding-top: 10px;
    border-top: 1px dashed #f1f5f9;
  }

  .applicant-action-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .btn-card-action {
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .btn-card-action.btn-remove {
    grid-column: span 2;
  }
}

