/* ===== CSS Variables ===================================================== */
:root {
  --primary:       #1A237E;
  --primary-dark:  #0D1554;
  --primary-light: #3949AB;
  --accent:        #2E7D32;
  --accent-light:  #43A047;
  --bg:            #F5F5F5;
  --white:         #FFFFFF;
  --text:          #212121;
  --text-muted:    #757575;
  --border:        #E0E0E0;
  --danger:        #C62828;
  --warning:       #F57F17;
  --sidebar-w:     250px;
}

/* ===== Base ============================================================== */
* { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

/* ===== Navbar ============================================================ */
.navbar-brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar-brand .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

/* ===== Sidebar Layout =================================================== */
.app-layout {
  display: flex;
  min-height: calc(100vh - 60px);
}

.sidebar {
  width: var(--sidebar-w);
  background: var(--primary);
  min-height: calc(100vh - 60px);
  flex-shrink: 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}

.sidebar-logo {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo .company-name {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-logo .user-name {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  margin-top: 2px;
}

.sidebar-logo .user-detail {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

.sidebar-nav { padding: 1rem 0; }

.sidebar-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.4);
  padding: 0.75rem 1.25rem 0.3rem;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.75);
  padding: 0.65rem 1.25rem;
  border-radius: 0;
  transition: all 0.2s;
  font-size: 0.92rem;
  border-left: 3px solid transparent;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-left-color: var(--accent);
}

.sidebar-nav .nav-link .nav-icon {
  width: 18px;
  text-align: center;
  opacity: 0.8;
}

.sidebar-nav .nav-link.active .nav-icon { opacity: 1; }

.sidebar-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: auto;
}

/* Logout button inside sidebar */
.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: rgba(198,40,40,0.15);
  border: 1px solid rgba(198,40,40,0.3);
  color: #EF9A9A;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-logout:hover {
  background: rgba(198,40,40,0.3);
  border-color: rgba(198,40,40,0.6);
  color: #fff;
}

/* Back button */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
}

.btn-back:hover {
  background: var(--white);
  border-color: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(26,35,126,0.12);
}

.main-content {
  flex: 1;
  padding: 2rem;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== Page Header ====================================================== */
.page-header {
  margin-bottom: 1.75rem;
}

.page-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.page-header p {
  color: var(--text-muted);
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}

/* ===== Cards ============================================================ */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  background: var(--white);
}

.card-header {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== Stat Cards ======================================================= */
.stat-card {
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.stat-card.primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.stat-card.accent  { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.stat-card.info    { background: linear-gradient(135deg, #0277BD, #0288D1); }
.stat-card.warning { background: linear-gradient(135deg, #E65100, #F57C00); }

.stat-card .stat-icon {
  font-size: 2rem;
  opacity: 0.35;
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  font-size: 0.82rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Notification Badge =============================================== */
.notif-badge {
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 4px;
}

/* ===== New Payslip Banner =============================================== */
.payslip-new-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 12px;
  color: #fff;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.payslip-new-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,125,50,0.35);
  color: #fff;
}

.payslip-new-banner .banner-icon {
  font-size: 2.8rem;
  opacity: 0.9;
}

.payslip-new-banner .banner-label {
  font-size: 0.8rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payslip-new-banner .banner-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.payslip-new-banner .banner-sub {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 2px;
}

/* ===== Payslip List ===================================================== */
.payslip-item {
  display: flex;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all 0.18s;
  background: var(--white);
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: var(--text);
}

.payslip-item:hover {
  border-color: var(--primary-light);
  box-shadow: 0 2px 8px rgba(26,35,126,0.1);
  color: var(--text);
}

.payslip-item.unviewed {
  border-left: 3px solid var(--accent);
  background: #F1F8F1;
}

.payslip-item .pi-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-right: 1rem;
}

.payslip-item.unviewed .pi-icon {
  background: rgba(46,125,50,0.12);
  color: var(--accent);
}

.payslip-item .pi-month { font-weight: 600; font-size: 0.95rem; }
.payslip-item .pi-year  { font-size: 0.8rem; color: var(--text-muted); }

.payslip-item .pi-amount {
  margin-left: auto;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
}

.payslip-item .pi-status {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  margin-left: 0.75rem;
}

/* ===== Buttons ========================================================== */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-success {
  background-color: var(--accent);
  border-color: var(--accent);
}

.btn-success:hover {
  background-color: #1B5E20;
  border-color: #1B5E20;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* ===== Forms ============================================================ */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.2rem rgba(57,73,171,0.2);
}

.form-label { font-weight: 500; font-size: 0.88rem; }

/* ===== Tables =========================================================== */
.table thead th {
  background: #ECEFF1;
  color: var(--primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  padding: 0.85rem 1rem;
}

.table tbody td {
  vertical-align: middle;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}

.table tbody tr:hover { background: rgba(26,35,126,0.03); }

/* ===== Salary Breakdown ================================================= */
.salary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.salary-row:last-child { border-bottom: none; }
.salary-row.total {
  font-weight: 700;
  font-size: 1.05rem;
  border-top: 2px solid var(--primary);
  margin-top: 0.25rem;
  padding-top: 0.75rem;
}

.salary-row .sr-label { color: var(--text-muted); }
.salary-row .sr-value { font-weight: 600; }
.salary-row .sr-value.deduction { color: var(--danger); }
.salary-row .sr-value.addition  { color: var(--accent); }
.salary-row .sr-value.net       { color: var(--primary); font-size: 1.1rem; }

/* ===== Alerts / Messages ================================================ */
.alert-success {
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  color: #1B5E20;
}

.alert-danger {
  background: #FFEBEE;
  border: 1px solid #EF9A9A;
  color: #B71C1C;
}

/* ===== Landing Page ===================================================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #283593 60%, #1565C0 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  clip-path: ellipse(100% 100% at 50% 0%);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero .hero-sub {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 520px;
}

.hero .hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

/* ===== Job Vacancy Cards ================================================ */
.vacancy-card {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.vacancy-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.vacancy-type-badge {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== PDF Viewer ======================================================= */
.pdf-viewer-container {
  background: #525659;
  border-radius: 12px;
  overflow: hidden;
}

.pdf-viewer-container iframe {
  border: none;
  display: block;
  width: 100%;
  height: 700px;
}

/* ===== Footer =========================================================== */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.6);
  padding: 1.25rem 0;
  font-size: 0.85rem;
}

footer a { color: rgba(255,255,255,0.8); }
footer a:hover { color: #fff; }

/* ===== Responsive ======================================================= */

/* Tablet & below */
@media (max-width: 991px) {
  .sidebar { display: none !important; }

  .app-layout { display: block; }

  .main-content {
    padding: 1rem 1rem 90px; /* extra bottom for mobile nav */
    min-height: 100vh;
  }

  .stat-card .stat-value { font-size: 1.5rem; }

  /* Tables: always horizontal scroll on smaller screens */
  .table-responsive { -webkit-overflow-scrolling: touch; }
}

/* Mobile (phones) */
@media (max-width: 576px) {
  /* Page header */
  .page-header h1 { font-size: 1.25rem; }
  .page-header { margin-bottom: 1.25rem; }

  /* Hero section */
  .hero { padding: 3.5rem 0 3rem; clip-path: none; }
  .hero h1 { font-size: 1.8rem; }
  .hero .hero-sub { font-size: 1rem; }

  /* Stat cards: 2-column grid feels cramped at 3+ cols; let Bootstrap handle it */
  .stat-card { padding: 1rem 1.25rem; }
  .stat-card .stat-value { font-size: 1.4rem; }
  .stat-card .stat-label { font-size: 0.7rem; }
  .stat-card .stat-icon { font-size: 1.5rem; }

  /* Payslip banner */
  .payslip-new-banner { padding: 1.25rem; gap: 1rem; }
  .payslip-new-banner .banner-icon { font-size: 2rem; }
  .payslip-new-banner .banner-title { font-size: 1.1rem; }

  /* Payslip list item */
  .payslip-item { padding: 0.75rem 1rem; }
  .payslip-item .pi-amount { font-size: 0.9rem; }

  /* Cards */
  .card-header { font-size: 0.88rem; padding: 0.85rem 1rem; }

  /* PDF viewer: shorter on phones */
  .pdf-viewer-container iframe { height: 320px; }

  /* Buttons: make them full touch-friendly size */
  .btn { min-height: 40px; }
  .btn-back { font-size: 0.8rem; }

  /* Forms: full-width inputs on phones */
  .modal-dialog { margin: 0.5rem; }

  /* Feature cards on landing */
  .feature-card { padding: 1.5rem 1rem; }
  .feature-icon { width: 52px; height: 52px; }

  /* Tables: smaller text */
  .table tbody td { font-size: 0.82rem; padding: 0.7rem 0.75rem; }
  .table thead th { font-size: 0.72rem; padding: 0.7rem 0.75rem; }

  /* Salary row in holerite */
  .salary-row { font-size: 0.85rem; }

  /* Page header action buttons */
  .page-header .btn { width: 100%; margin-bottom: 0.35rem; }
}

/* Mobile bottom nav height compensation */
@media (max-width: 991px) {
  body { padding-bottom: 0; } /* handled by main-content padding */
}

/* ===== Mobile Bottom Nav ================================================= */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--nav-bg, #1A237E);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.18);
  padding-bottom: env(safe-area-inset-bottom, 0);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Fix mobile bottom nav tap targets */
.mobile-nav-link {
  min-width: 56px;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 3px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.75);
  padding: 0 0.5rem;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link.active,
.mobile-nav-link:hover { color: #fff; }

.mobile-nav-link.mobile-nav-logout { color: rgba(255,150,150,0.75); }
.mobile-nav-link.mobile-nav-logout:hover { color: #FF8A80; }

/* Icon + label substructure */
.mobile-nav-icon {
  position: relative;
  font-size: 1.2rem;
  line-height: 1;
}

.mobile-nav-label {
  font-size: 0.62rem;
  letter-spacing: 0.2px;
  line-height: 1;
}

/* Active indicator: brighter icon + small underline dot */
.mobile-nav-link.active .mobile-nav-icon { color: #fff; }
.mobile-nav-link.active .mobile-nav-label { color: #fff; font-weight: 600; }

/* Notification dot on icon */
.nav-dot {
  position: absolute;
  top: -2px;
  right: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF5350;
  border: 1.5px solid var(--nav-bg, #1A237E);
}

/* ===== PWA Install Prompts =============================================== */
.install-prompt {
  position: fixed;
  /* Mobile: acima do bottom nav (64px) + safe-area + margem */
  bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 16px);
  left: 1rem;
  right: 1rem;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  padding: 1rem 1.25rem;
  z-index: 1100;
  border: 1px solid var(--border);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.install-prompt.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Desktop: não cobre a sidebar — começa após ela, canto inferior direito */
@media (min-width: 992px) {
  .install-prompt {
    left: calc(var(--sidebar-w) + 1.5rem);
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
  }
}

/* iOS install banner (apenas mobile — escondido no desktop via JS) */
.ios-install-banner {
  position: fixed;
  top: 68px;             /* below sticky navbar */
  left: 0.75rem;
  right: 0.75rem;
  background: rgba(26,35,126,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  z-index: 1100;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ios-install-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.ios-banner-dismiss {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}

.ios-banner-dismiss:hover { color: #fff; }

/* PWA standalone mode: hide standard navbar, adjust layout */
@media (display-mode: standalone) {
  /* Extra top padding for status bar on notched phones */
  body { padding-top: env(safe-area-inset-top, 0); }
}

/* ===== PDF Mobile Fallback =============================================== */
.pdf-mobile-card {
  display: none;          /* shown via JS on mobile */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: 12px;
  text-align: center;
  min-height: 200px;
}

.pdf-mobile-card .pdf-mobile-icon {
  font-size: 2.5rem;
  color: var(--primary-light);
}

/* ===== Candidatura Status Badges ======================================== */
.cand-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.cand-status-novo       { background: #E3F2FD; color: #1565C0; }
.cand-status-em_analise { background: #FFF8E1; color: #E65100; }
.cand-status-aprovado   { background: #E8F5E9; color: #1B5E20; }
.cand-status-reprovado  { background: #FFEBEE; color: #B71C1C; }

/* ===== Application count badges (admin vagas) =========================== */
.app-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  background: #EEF2FF;
  color: var(--primary);
  text-decoration: none;
  border: 1px solid rgba(26,35,126,0.15);
  transition: all 0.18s;
}

.app-count-badge:hover { background: var(--primary); color: #fff; }

.app-count-new {
  background: #FFF8E1;
  color: #E65100;
  border-color: rgba(230,81,0,0.2);
}
.app-count-new:hover { background: #E65100; color: #fff; }

/* ===== Candidatura stat cards =========================================== */
.col-md-2-4 { flex: 0 0 auto; width: 20%; }

@media (max-width: 768px) {
  .col-md-2-4 { width: 50%; }
}
@media (max-width: 400px) {
  .col-md-2-4 { width: 100%; }
}

.cand-stat-card {
  border-radius: 12px;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--border);
  text-align: center;
  transition: all 0.18s;
  cursor: pointer;
}

.cand-stat-card:hover,
.cand-stat-card.active { border-color: var(--primary); }

.cand-stat-card.cand-novo:hover,
.cand-stat-card.cand-novo.active    { border-color: #1565C0; background: #E3F2FD; }
.cand-stat-card.cand-analise:hover,
.cand-stat-card.cand-analise.active { border-color: #E65100; background: #FFF8E1; }
.cand-stat-card.cand-aprovado:hover,
.cand-stat-card.cand-aprovado.active{ border-color: var(--accent); background: #E8F5E9; }
.cand-stat-card.cand-reprovado:hover,
.cand-stat-card.cand-reprovado.active{ border-color: #B71C1C; background: #FFEBEE; }

.cand-stat-value { font-size: 1.6rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 0.2rem; }
.cand-stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== Status radio buttons (candidatura_detail) ======================== */
.status-radio-label {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 2px solid var(--border);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.18s;
  color: var(--text-muted);
}

.status-radio-label:hover { border-color: var(--primary-light); color: var(--text); }

.status-opt-novo.selected       { border-color: #1565C0; background: #E3F2FD; color: #1565C0; }
.status-opt-em_analise.selected { border-color: #E65100; background: #FFF8E1; color: #E65100; }
.status-opt-aprovado.selected   { border-color: var(--accent); background: #E8F5E9; color: var(--accent); }
.status-opt-reprovado.selected  { border-color: #B71C1C; background: #FFEBEE; color: #B71C1C; }

/* ===== Vacancy detail page (public) ===================================== */
.vacancy-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text);
}

.apply-form-sticky {
  position: sticky;
  top: 80px;
}

/* Resume upload drag-drop area */
.resume-upload-area {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
  background: var(--bg);
  cursor: pointer;
}

.resume-upload-area:hover,
.resume-upload-area.drag-over {
  border-color: var(--primary-light);
  background: #EEF2FF;
}

/* ===== Scrollbar ======================================================== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #BDBDBD; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9E9E9E; }

/* ===== Utilities ======================================================== */
.text-accent  { color: var(--accent) !important; }
.text-primary-brand { color: var(--primary) !important; }
.bg-primary-brand   { background-color: var(--primary) !important; }
.bg-accent    { background-color: var(--accent) !important; }

.rounded-xl { border-radius: 12px !important; }
.fw-600 { font-weight: 600 !important; }

.animate-fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}
