.jobs-page {
  min-height: 100vh;
  background: #f0f2f5;
  font-family: 'Inter', sans-serif;
  padding: 24px;
}
.jobs-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.jobs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.jobs-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.jobs-header-actions {
  display: flex;
  gap: 8px;
}

/* Search / Filter bar */
.jobs-search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.jobs-search-bar input,
.jobs-search-bar select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  transition: border-color 0.15s;
}
.jobs-search-bar input:focus,
.jobs-search-bar select:focus {
  border-color: #1a73e8;
  outline: none;
  box-shadow: 0 0 0 2px rgba(26,115,232,0.12);
}
.jobs-search-bar input { flex: 1; min-width: 200px; }

/* Job cards grid */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}
.job-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 16px;
  transition: all 0.15s;
  border: 1px solid transparent;
  cursor: pointer;
}
.job-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border-color: #1a73e8;
  transform: translateY(-2px);
}
.job-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.job-card-logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #1a73e8;
  flex-shrink: 0;
  overflow: hidden;
}
.job-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.job-card-info { flex: 1; min-width: 0; }
.job-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.job-card-company {
  font-size: 13px;
  color: #1a73e8;
  font-weight: 500;
}
.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.job-card-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 500;
  background: #f0f4ff;
  color: #1a73e8;
}
.job-card-tag.remote { background: #e8f5e9; color: #2d9249; }
.job-card-tag.salary { background: #fff8e1; color: #f57f17; }
.job-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 8px;
}
.job-card-skill {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #666;
  font-weight: 500;
}
.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
  font-size: 11px;
  color: #777;
}
.job-card-date { color: #999; }

/* Job Detail */
.job-detail-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  font-family: 'Inter', sans-serif;
}
.job-detail-header {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 16px;
}
.job-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.job-detail-company {
  font-size: 16px;
  color: #1a73e8;
  font-weight: 500;
  margin-bottom: 12px;
}
.job-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.job-detail-body {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 16px;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.8;
}
.job-detail-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 24px 0 10px;
}
.job-detail-body h2:first-child { margin-top: 0; }
.job-detail-body p,
.job-detail-body li,
.job-detail-body div {
  font-size: 15px;
  line-height: 1.8;
  color: #1f2937;
}
.job-detail-body ul { padding-left: 20px; }
.job-detail-body .job-card-skill {
  font-size: 11px;
  padding: 4px 10px;
  background: #edf2f7;
  color: #2c3e50;
  font-weight: 600;
}

/* Apply page */
.apply-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 24px;
  font-family: 'Inter', sans-serif;
}
.apply-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.apply-card h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.apply-card .job-ref {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}
.form-group textarea,
.form-group input,
.form-group select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.form-group textarea:focus,
.form-group input:focus,
.form-group select:focus {
  border-color: #1a73e8;
  outline: none;
  box-shadow: 0 0 0 2px rgba(26,115,232,0.12);
}
.resume-select-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: border-color 0.12s;
}
.resume-select-card:hover { border-color: #1a73e8; }
.resume-select-card.selected { border-color: #1a73e8; background: #e8f0fe; }
.resume-select-card input[type="radio"] { accent-color: #1a73e8; }

/* Employer pages */
.employer-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 16px;
}
.employer-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px;
}

/* Application cards */
.app-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 8px;
  transition: border-color 0.12s;
}
.app-card:hover { border-color: #1a73e8; }
.app-card-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.app-card-info { flex: 1; min-width: 0; }
.app-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.app-card-date {
  font-size: 11px;
  color: #777;
}
.app-card-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 12px;
}
.status-pending { background: #fff8e1; color: #f57f17; }
.status-reviewed { background: #e8f0fe; color: #1a73e8; }
.status-shortlisted { background: #e8f5e9; color: #2d9249; }
.status-rejected { background: #fce8e6; color: #c5221f; }
.status-hired { background: #e8f5e9; color: #2d9249; }

/* Employer dashboard stats */
.emp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.emp-stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  border: 1px solid #eee;
}
.emp-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #1a73e8;
}
.emp-stat-lbl {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 15px; margin: 0; color: #666; }

/* Mobile */
@media (max-width: 768px) {
  .jobs-page { padding: 12px; }
  .jobs-grid { grid-template-columns: 1fr; }
  .jobs-header { flex-direction: column; align-items: stretch; }
  .jobs-search-bar input { min-width: 120px; }
  .job-detail-page { padding: 12px; }
  .apply-page { padding: 12px; }
  .emp-stats { grid-template-columns: 1fr 1fr; }
}
