/* ══════════════════════════════════════════════════════
   VNUA JobShares — Global stylesheet
   Chứa biến CSS và styles dùng chung toàn site.
   Các styles riêng cho module Employer → employer.css
   ══════════════════════════════════════════════════════ */
:root {
  --primary: #1e3a8a;
  --primary-dark: #172554;
  --primary-light: #2563eb;
  --primary-soft: #eef2ff;
  --accent: #d97706;
  --success: #047857;
  --success-soft: #ecfdf5;
  --text-muted: #64748b;
  --surface: #ffffff;
  --surface-bg: #f1f5f9;
  --border: #e2e8f0;

  /* Bootstrap theme sync */
  --bs-primary: #1e3a8a;
  --bs-primary-rgb: 30, 58, 138;
  --bs-link-color: #1e40af;
  --bs-link-hover-color: #172554;
  --bs-body-bg: #f1f5f9;
  --bs-border-color: #e2e8f0;
  --bs-success: #047857;
  --bs-success-rgb: 4, 120, 87;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--surface-bg);
  min-height: 100vh;
  color: #1e293b;
}

/* ── Top navbar (portal) ── */
.navbar.bg-primary,
.navbar.app-navbar {
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 52%, #1d4ed8 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.navbar.bg-primary .navbar-brand,
.navbar.app-primary .navbar-brand {
  letter-spacing: .01em;
}
.navbar.bg-primary .btn-outline-light {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.navbar.bg-primary .btn-outline-light:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .65);
  color: #fff;
}

/* ── Trang chủ: thông tin học phần thực tập trong header ── */
#publicNav {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
}
.navbar.navbar-home {
  padding-top: .65rem;
  padding-bottom: .65rem;
  overflow: visible;
}
.navbar.navbar-home.is-scrolled,
#publicNav.is-scrolled {
  box-shadow: 0 4px 16px rgba(15, 23, 42, .22) !important;
}
.navbar.navbar-home > .container.navbar-home-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: .5rem;
  width: 100%;
}
.navbar-home .navbar-brand {
  grid-column: 1;
  margin-right: 0;
  white-space: nowrap;
}
.navbar-home .header-project-info {
  grid-column: 2;
}
.navbar-home .navbar-home-actions {
  grid-column: 3;
  margin-left: 0;
}
.header-project-info {
  text-align: center;
  color: #ffffff;
  line-height: 1.45;
  padding: 4px 8px;
  min-width: 0;
  overflow: visible;
}
.header-project-info .project-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}
.header-project-info .project-students {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  white-space: normal;
  word-break: break-word;
}
.header-project-info .project-students strong {
  font-weight: 600;
  color: #ffffff;
}
@media (max-width: 768px) {
  .navbar.navbar-home > .container.navbar-home-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .navbar-home .navbar-brand,
  .navbar-home .header-project-info,
  .navbar-home .navbar-home-actions {
    grid-column: 1;
    width: 100%;
  }
  .navbar-home .navbar-home-actions {
    justify-content: center !important;
  }
  .header-project-info {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .header-project-info .project-title {
    font-size: 13px;
  }
  .header-project-info .project-students {
    font-size: 12px;
  }
}

/* ── Sidebar menu ── */
.sidebar-layout aside .list-group {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(15, 23, 42, .05);
}
.sidebar-layout aside .list-group-item {
  border: none;
  border-bottom: 1px solid #f1f5f9;
  padding: .72rem 1rem;
  color: #475569;
  font-weight: 500;
  font-size: .9rem;
  transition: background .15s, color .15s;
}
.sidebar-layout aside .list-group-item:last-child {
  border-bottom: none;
}
.sidebar-layout aside .list-group-item:hover {
  background: #f8fafc;
  color: var(--primary);
}
.sidebar-layout aside .list-group-item.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
  border-left: 3px solid var(--primary);
  padding-left: calc(1rem - 3px);
}

/* ── Buttons (softer, professional) ── */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 1px 2px rgba(30, 58, 138, .15);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline-primary {
  color: var(--primary);
  border-color: #93c5fd;
  background: #fff;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.btn-outline-secondary {
  border-color: #cbd5e1;
  color: #475569;
}
.btn-outline-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #334155;
}

.hero-section {
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 45%, #2563eb 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 45%);
  pointer-events: none;
}
.hero-section .container {
  position: relative;
  z-index: 1;
}
.hero-section .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.hero-section h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: .75rem;
}
.hero-section .hero-lead {
  font-size: 1.05rem;
  opacity: .92;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.home-search-box {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
  border: 1px solid rgba(255,255,255,.15);
  max-width: 820px;
  margin: 0 auto;
}
.home-search-box .search-field {
  position: relative;
}
.home-search-box .search-field .field-icon {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  z-index: 2;
}
.home-search-box .search-field .form-control,
.home-search-box .search-field .form-select {
  padding-left: 2.35rem;
  border-radius: 10px;
  border-color: var(--border);
  font-size: .95rem;
}
.home-search-box .btn-search {
  border-radius: 10px;
  font-weight: 600;
  padding: .6rem 1rem;
}

.home-jobs-section {
  padding: 3rem 0 4rem;
}
.home-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.home-section-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}
.home-section-header p {
  color: var(--text-muted);
  font-size: .9rem;
  margin: .25rem 0 0;
}
.home-count-badge {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #c7d2fe;
  border-radius: 20px;
  padding: .25em .85em;
  font-size: .8rem;
  font-weight: 600;
}
.home-features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.home-feature-item {
  text-align: center;
  padding: .5rem;
}
.home-feature-item .feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: .75rem;
}
.home-feature-item h6 {
  font-weight: 600;
  font-size: .95rem;
  color: #334155;
  margin-bottom: .35rem;
}
.home-feature-item p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
}
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  padding: 2.5rem 0 1.5rem;
}
.site-footer .footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: .5rem;
}
.site-footer .footer-links a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .875rem;
  margin-right: 1.25rem;
}
.site-footer .footer-links a:hover {
  color: #fff;
}
.site-footer .footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-internship-info {
  color: #ffffff;
  line-height: 1.6;
}
.footer-internship-info h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}
.footer-internship-info p {
  margin-bottom: 8px;
  font-size: 14px;
  opacity: 0.95;
}
.footer-internship-info strong {
  font-weight: 600;
}
.footer-internship-info a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  word-break: break-word;
}
.footer-internship-info a:hover {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .site-footer .footer-links {
    text-align: left !important;
  }
  .site-footer .footer-links a {
    display: inline-block;
    margin: 0 1rem 0.5rem 0;
  }
  .footer-internship-info {
    margin-top: 0;
    text-align: left;
  }
  .footer-internship-info h5 {
    font-size: 15px;
  }
  .footer-internship-info p {
    font-size: 13px;
  }
}

body:has(#publicNav.navbar-home) .hero-section {
  margin-top: 0;
}

.job-card {
  transition: transform .2s, box-shadow .2s, border-color .2s;
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
  border-color: #cbd5e1 !important;
}
.job-card h5 a {
  color: var(--primary-dark);
  font-weight: 600;
}
.job-card h5 a:hover {
  color: var(--primary-light);
}
.job-card .job-company,
.job-card .text-primary {
  color: #475569 !important;
}
.job-card .job-salary,
.job-card .text-success {
  color: var(--success) !important;
}

.sidebar-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  min-height: calc(100vh - 56px);
}

@media (max-width: 768px) {
  .sidebar-layout {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(15, 23, 42, .05);
}

/* Saved job bookmark — muted amber instead of harsh warning */
.btn-save.saved {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #92400e;
}
.btn-save.saved:hover {
  background: #fef3c7;
  border-color: #fbbf24;
  color: #78350f;
}

.badge-status {
  font-weight: 500;
}

.table-actions .btn {
  margin-right: 4px;
}

/* Nội dung tin từ TinyMCE (xem chi tiết) */
.job-rich-content {
  line-height: 1.6;
  word-wrap: break-word;
}

.job-rich-content p {
  margin-bottom: 0.5rem;
}

.job-rich-content ul,
.job-rich-content ol {
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
}

/* ── Auth pages (login, register) ── */
.auth-page {
  min-height: 100vh;
  background: var(--surface-bg);
}

.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.auth-brand {
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 45%, #2563eb 100%);
  color: #fff;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 85%, rgba(255,255,255,.1) 0%, transparent 50%),
              radial-gradient(circle at 85% 15%, rgba(255,255,255,.07) 0%, transparent 45%);
  pointer-events: none;
}
.auth-brand > * { position: relative; z-index: 1; }

.auth-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}
.auth-brand-link i { font-size: 1.35rem; opacity: .9; }
.auth-brand-link:hover { color: rgba(255,255,255,.9); }

.auth-brand h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.auth-brand .auth-lead {
  font-size: 1rem;
  opacity: .9;
  max-width: 380px;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.auth-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.auth-features li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .9rem;
  opacity: .92;
  margin-bottom: .75rem;
}
.auth-features li i {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, .08);
}
.auth-card.auth-card-wide {
  max-width: 560px;
}
.auth-card.auth-card-compact {
  max-width: 620px;
  padding: 1.25rem 1.5rem;
}
.auth-card.auth-card-compact h2 {
  font-size: 1.2rem;
  margin-bottom: 0;
}
.auth-card.auth-card-compact .auth-subtitle {
  font-size: .8rem;
  margin-bottom: .65rem;
}
.auth-card.auth-card-compact .auth-note {
  padding: .45rem .65rem;
  font-size: .75rem;
  margin-bottom: .75rem;
  border-radius: 8px;
}
.auth-card.auth-card-compact .auth-form-section {
  margin-bottom: .75rem;
}
.auth-card.auth-card-compact .auth-form-section h6 {
  font-size: .72rem;
  margin-bottom: .45rem;
  padding-bottom: .25rem;
}
.auth-card.auth-card-compact .auth-field,
.auth-card.auth-card-compact .auth-field-plain {
  margin-bottom: 0;
}
.auth-card.auth-card-compact .auth-field-plain label,
.auth-card.auth-card-compact .auth-field label {
  font-size: .74rem;
  margin-bottom: .2rem;
}
.auth-card.auth-card-compact .auth-field-row {
  gap: .45rem .6rem;
}
.auth-card.auth-card-compact .auth-field-row-3 {
  grid-template-columns: repeat(3, 1fr);
}
.auth-card.auth-card-compact .auth-field-span-2 {
  grid-column: span 2;
}
.auth-card.auth-card-compact .auth-field-plain .form-control,
.auth-card.auth-card-compact .auth-field-plain textarea.form-control {
  font-size: .875rem;
  padding: .35rem .65rem;
  border-radius: 8px;
}
.auth-card.auth-card-compact .auth-submit {
  padding: .5rem 1rem;
  margin-top: .15rem;
  font-size: .9rem;
}
.auth-card.auth-card-compact .auth-footer-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .35rem .65rem;
  margin-top: .75rem;
  font-size: .82rem;
}
.auth-card.auth-card-compact .auth-footer-inline a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 500;
}
.auth-card.auth-card-compact .auth-footer-inline a:hover {
  color: var(--primary-dark);
}
.auth-card.auth-card-compact .auth-footer-inline .sep {
  color: #cbd5e1;
}
.auth-card.auth-card-scroll {
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}
.auth-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: .75rem .9rem;
  font-size: .82rem;
  color: #92400e;
  margin-bottom: 1.25rem;
}
.auth-note i { flex-shrink: 0; margin-top: .1rem; }
.auth-form-section {
  margin-bottom: 1.25rem;
}
.auth-form-section h6 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: .4rem;
  margin-bottom: .85rem;
}
.auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.auth-field-plain .form-control,
.auth-field-plain .form-select,
.auth-field-plain textarea.form-control {
  border-radius: 10px;
  border-color: var(--border);
  font-size: .95rem;
}
.auth-field-plain .form-control:focus,
.auth-field-plain textarea.form-control:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.auth-login-link {
  text-align: center;
  margin-top: 1.25rem;
  font-size: .875rem;
}
.auth-login-link a {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: none;
}
.auth-login-link a:hover { color: var(--primary-dark); }
.auth-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: .25rem;
}
.auth-card .auth-subtitle {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.auth-field {
  margin-bottom: 1rem;
}
.auth-field label {
  font-size: .82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: .35rem;
}
.auth-input-wrap {
  position: relative;
}
.auth-input-wrap .field-icon {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  z-index: 2;
}
.auth-input-wrap .form-control {
  padding-left: 2.35rem;
  border-radius: 10px;
  border-color: var(--border);
  font-size: .95rem;
}
.auth-input-wrap .form-control:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.auth-submit {
  border-radius: 10px;
  font-weight: 600;
  padding: .65rem 1rem;
  margin-top: .5rem;
}

.auth-forgot {
  text-align: center;
  margin-top: 1rem;
  font-size: .875rem;
}
.auth-forgot a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 500;
}
.auth-forgot a:hover { color: var(--primary-dark); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.5rem 0;
  font-size: .78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-alt-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.auth-alt-btns .btn {
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 600;
  padding: .55rem .5rem;
}

.auth-home-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.25rem;
  font-size: .875rem;
  color: var(--text-muted);
  text-decoration: none;
}
.auth-home-link:hover { color: var(--primary); }

@media (max-width: 991px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand {
    padding: 2rem 1.5rem;
    min-height: auto;
  }
  .auth-brand h1 { font-size: 1.35rem; }
  .auth-features { display: none; }
  .auth-main { padding: 1.5rem 1rem 2.5rem; }
  .auth-field-row { grid-template-columns: 1fr; }
  .auth-card.auth-card-compact .auth-field-row-3 { grid-template-columns: 1fr; }
  .auth-card.auth-card-compact .auth-field-span-2 { grid-column: span 1; }
}

.job-rich-content h2,
.job-rich-content h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

/* ── Job detail page ── */
.job-detail-page {
  padding: 1.5rem 0 3rem;
}
.job-detail-breadcrumb {
  font-size: .85rem;
  margin-bottom: 1.25rem;
}
.job-detail-breadcrumb .breadcrumb-item a {
  color: var(--primary-light);
  text-decoration: none;
}
.job-detail-breadcrumb .breadcrumb-item.active {
  color: var(--text-muted);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .05);
  margin-bottom: 1rem;
}
.job-detail-header {
  margin-bottom: 1rem;
}
.job-detail-header h1 {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: .75rem;
}
.job-detail-company {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.job-detail-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.job-detail-logo-ph {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.job-detail-company-name {
  font-weight: 600;
  color: #334155;
  font-size: 1rem;
  margin-bottom: .1rem;
}
.job-detail-company-meta {
  font-size: .82rem;
  color: var(--text-muted);
}
.job-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.job-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 500;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--border);
  color: #475569;
}
.job-detail-chip i { color: var(--primary); font-size: .85rem; }
.job-detail-chip.salary {
  background: var(--success-soft);
  border-color: #a7f3d0;
  color: var(--success);
  font-weight: 600;
}
.job-detail-chip.salary i { color: var(--success); }

.job-detail-section-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: .85rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.job-detail-section-title i {
  color: var(--primary);
  font-size: 1rem;
}

.job-detail-sidebar .sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .05);
  margin-bottom: 1rem;
}
.job-detail-sidebar .sidebar-card.sticky-panel {
  position: sticky;
  top: 1rem;
}
.job-detail-sidebar .salary-highlight {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: .75rem;
}
.job-detail-sidebar .info-row {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  margin-bottom: .55rem;
  color: #475569;
}
.job-detail-sidebar .info-row i {
  color: var(--primary);
  margin-top: .15rem;
  flex-shrink: 0;
}
.job-detail-sidebar .info-row .lbl {
  color: var(--text-muted);
  min-width: 72px;
  flex-shrink: 0;
}
.job-detail-sidebar .action-btns {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1rem;
}
.job-detail-sidebar .action-btns .btn {
  border-radius: 10px;
  font-weight: 600;
  padding: .6rem 1rem;
}

.job-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.job-detail-tag {
  font-size: .78rem;
  font-weight: 500;
  padding: .3rem .65rem;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
}

.job-detail-login-hint {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: .85rem;
  font-size: .85rem;
  color: #1e40af;
  margin-top: .75rem;
}
.job-detail-login-hint a { font-weight: 600; }

.job-detail-sk {
  background: #e9ecef;
  border-radius: 6px;
  animation: sk-pulse 1.4s ease-in-out infinite;
}
@keyframes sk-pulse { 0%,100%{ opacity: 1; } 50%{ opacity: .5; } }

@media (max-width: 991px) {
  .job-detail-sidebar .sidebar-card.sticky-panel { position: static; }
  .job-detail-breadcrumb .breadcrumb-item.active { max-width: 160px; }
}
