/* Recently Viewed Jobs */
#recently-viewed {
  display: none;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200, #e2e8f0);
  margin-bottom: 8px;
}
.rv-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy, #0f172a);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rv-heading::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.rv-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300, #cbd5e1) transparent;
}
.rv-scroll::-webkit-scrollbar {
  height: 4px;
}
.rv-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.rv-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-300, #cbd5e1);
  border-radius: 2px;
}
.rv-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--white, #fff);
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: var(--radius, 8px);
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 0;
}
.rv-card:hover {
  border-color: #0d9488;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
}
.rv-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--navy, #0f172a);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-company {
  font-size: 12px;
  color: var(--gray-500, #64748b);
}
.rv-location {
  font-size: 11px;
  color: var(--gray-400, #94a3b8);
}
.rv-location i {
  font-size: 10px;
  color: #0d9488;
}
.rv-salary {
  font-size: 12px;
  font-weight: 700;
  color: #0d9488;
  margin-top: 2px;
}
@media (max-width: 480px) {
  .rv-card { flex: 0 0 180px; padding: 12px; }
  .rv-title { font-size: 12px; }
}
