/* Việc làm IT — same light public style as the rest of the site. */
.page-vieclam-it {
  background: #fff;
  color: #242424;
}

.page-vieclam-it .page,
.page-vieclam-it .page-wrapper,
.page-vieclam-it .page-body {
  background: transparent;
}

.page-vieclam-it .vl-topbar,
.page-vieclam-it .navbar {
  background: rgba(8, 16, 40, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vl-line);
}

.page-vieclam-it .navbar-brand a {
  font-family: var(--vl-display);
  font-weight: 700;
  color: var(--vl-ink);
  letter-spacing: -0.03em;
}

.page-vieclam-it .nav-link-title {
  font-weight: 500;
}

.page-vieclam-it .vl-footer {
  color: var(--vl-ink-soft);
  border-top: 1px solid var(--vl-line);
  margin-top: 2rem;
}

body.mdl .vl-btn-primary,
body.mdl .btn.vl-btn-primary {
  background: #191919;
  border-color: #191919;
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
}

body.mdl .vl-btn-primary:hover,
body.mdl .btn.vl-btn-primary:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

body.mdl .vl-btn-ghost,
body.mdl .btn.vl-btn-ghost {
  background: #fff;
  border: 1px solid #242424;
  color: #242424;
  font-weight: 600;
  border-radius: 999px;
}

body.mdl .vl-btn-ghost:hover {
  background: #242424;
  border-color: #242424;
  color: #fff;
}

/* Hero */
.vl-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: #242424;
  border-bottom: 1px solid #242424;
  overflow: hidden;
}

.vl-hero__media {
  display: none;
}

.vl-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3.5rem 0 3rem;
}

.vl-hero__brand {
  font-family: var(--vl-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  animation: vl-rise 0.8s var(--vl-ease) both;
}

.vl-hero__lead {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #242424;
  margin: 0 0 1.5rem;
  animation: vl-rise 0.8s var(--vl-ease) 0.12s both;
}

.vl-hero__search {
  display: flex;
  gap: 0.6rem;
  max-width: 40rem;
  animation: vl-rise 0.8s var(--vl-ease) 0.22s both;
}

.vl-hero__search input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--vl-line);
  border-radius: 0.55rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--vl-ink);
  background: var(--vl-white);
}

.vl-hero__search input:focus {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 1px;
}

.vl-hero__search button {
  white-space: nowrap;
  padding-inline: 1.25rem;
}

@media (max-width: 575.98px) {
  .vl-hero {
    min-height: 420px;
  }

  .vl-hero__search {
    flex-direction: column;
  }
}

/* Results */
.vl-results {
  padding: 2.25rem 0 3.5rem;
}

.vl-results__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.vl-results__title {
  font-family: var(--vl-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.vl-results__count {
  color: var(--vl-ink-soft);
  font-size: 0.95rem;
}

.vl-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--vl-line);
}

.vl-filters .form-control,
.vl-filters .form-select {
  border-color: var(--vl-line);
  background: var(--vl-white);
  border-radius: 0.45rem;
}

.vl-filters__remote {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-inline: 0.25rem;
  color: var(--vl-ink-soft);
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .vl-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .vl-filters {
    grid-template-columns: 1fr;
  }
}

/* Job list — interactive rows, not card grid */
.vl-job-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vl-job {
  border-bottom: 1px solid var(--vl-line);
  opacity: 0;
  transform: translateY(10px);
  animation: vl-rise 0.55s var(--vl-ease) forwards;
}

.vl-job:nth-child(1) { animation-delay: 0.05s; }
.vl-job:nth-child(2) { animation-delay: 0.1s; }
.vl-job:nth-child(3) { animation-delay: 0.15s; }
.vl-job:nth-child(4) { animation-delay: 0.2s; }
.vl-job:nth-child(5) { animation-delay: 0.25s; }
.vl-job:nth-child(n+6) { animation-delay: 0.3s; }

.vl-job__link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.15rem 0.35rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.25s var(--vl-ease), padding-left 0.25s var(--vl-ease);
}

.vl-job__link:hover {
  background: rgba(37, 99, 235, 0.1);
  padding-left: 0.65rem;
  color: inherit;
}

.vl-job__title {
  font-family: var(--vl-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}

.vl-job__company {
  color: var(--vl-ink-soft);
  margin: 0 0 0.55rem;
}

.vl-job__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.vl-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--vl-line);
  border-radius: 0.3rem;
  font-size: 0.78rem;
  color: var(--vl-ink-soft);
  background: #f2f2f2;
}

.vl-tag--pay {
  border-color: rgba(37, 99, 235, 0.45);
  color: var(--vl-sea-deep);
  font-weight: 600;
}

.vl-job__side {
  text-align: right;
  color: var(--vl-ink-soft);
  font-size: 0.9rem;
  align-self: start;
  padding-top: 0.2rem;
}

.vl-empty {
  padding: 2.5rem 0.5rem;
  text-align: center;
  color: var(--vl-ink-soft);
}

.vl-empty strong {
  display: block;
  font-family: var(--vl-display);
  color: var(--vl-ink);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.vl-pager {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.vl-pager a,
.vl-pager span {
  min-width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vl-line);
  border-radius: 0.4rem;
  color: var(--vl-ink);
  text-decoration: none;
  background: var(--vl-white);
}

.vl-pager a:hover {
  border-color: var(--vl-sea);
  color: var(--vl-sea-deep);
}

.vl-pager .is-active {
  background: #191919;
  border-color: #191919;
  color: #fff;
}

/* Detail */
.vl-detail-hero {
  position: relative;
  padding: 2.5rem 0 2rem;
  color: #242424;
  border-bottom: 1px solid #f2f2f2;
  overflow: hidden;
}

.vl-detail-hero__media {
  display: none;
}

.vl-detail-hero__inner {
  position: relative;
  z-index: 1;
  animation: vl-rise 0.7s var(--vl-ease) both;
}

.vl-back {
  color: #6b6b6b;
  text-decoration: none;
  font-size: 0.92rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.vl-back:hover {
  color: #242424;
}

.vl-detail-hero h1 {
  font-family: var(--vl-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.vl-detail-hero__company {
  font-size: 1.05rem;
  color: #6b6b6b;
  margin: 0 0 0.85rem;
}

.vl-detail-body {
  padding: 2rem 0 3.5rem;
}

.vl-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 991.98px) {
  .vl-detail-grid {
    grid-template-columns: 1fr;
  }
}

.vl-section {
  margin-bottom: 2rem;
}

.vl-section h2 {
  font-family: var(--vl-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--vl-line);
}

.vl-prose {
  color: var(--vl-ink-soft);
  line-height: 1.7;
}

.vl-prose p:last-child {
  margin-bottom: 0;
}

.vl-apply {
  background: var(--vl-white);
  border: 1px solid var(--vl-line);
  border-radius: 0.65rem;
  padding: 1.25rem;
  position: sticky;
  top: 4.5rem;
  animation: vl-slide 0.65s var(--vl-ease) both;
}

.vl-apply h2 {
  font-family: var(--vl-display);
  font-size: 1.1rem;
  margin: 0 0 0.85rem;
}

.vl-apply .form-label {
  font-weight: 500;
  color: var(--vl-ink);
}

.vl-apply .form-control,
.vl-apply .form-select {
  border-color: var(--vl-line);
  border-radius: 0.45rem;
}

.vl-apply__done {
  color: var(--vl-sea-deep);
  font-weight: 600;
  margin: 0;
}

.vl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.vl-detail-hero .vl-tag {
  border-color: #e6e6e6;
  color: #6b6b6b;
  background: #f2f2f2;
}

.vl-detail-hero .vl-tag--pay {
  border-color: #242424;
  color: #242424;
  background: #fff;
}

.vl-detail-hero .vl-btn-ghost {
  border-color: #242424;
  color: #242424;
}

.vl-detail-hero .vl-btn-ghost:hover {
  border-color: #242424;
  color: #fff;
  background: #242424;
}

@keyframes vl-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vl-slide {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes vl-hero-pan {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.6%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .vl-hero__media,
  .vl-hero__brand,
  .vl-hero__lead,
  .vl-hero__search,
  .vl-job,
  .vl-detail-hero__inner,
  .vl-apply {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
