.ng-jd-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.ng-jd-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ng-jd-card {
  background: #fff;
  border: 1px solid var(--ng-border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.ng-jd-top-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.ng-jd-logo-wrap {
  flex-shrink: 0;
}

.ng-jd-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid var(--ng-border);
  border-radius: 6px;
  padding: 4px;
}

.ng-jd-logo-placeholder {
  width: 64px;
  height: 64px;
  background: var(--ng-bg-section);
  border: 1px solid var(--ng-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--ng-text-light);
}

.ng-jd-title-block {
  flex: 1;
  min-width: 0;
}

.ng-jd-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ng-text-dark);
  margin-bottom: 6px;
}

.ng-jd-company {
  font-size: 14px;
  font-weight: 600;
  color: var(--ng-blue);
  display: inline-block;
  margin-bottom: 12px;
}
.ng-jd-company:hover {
  color: var(--ng-blue-hover);
}

.ng-jd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--ng-text-medium);
}

/* QUICK INFO BAR */
.ng-jd-info-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--ng-border);
  border-bottom: 1px solid var(--ng-border);
  padding: 16px 0;
  margin-bottom: 24px;
}

.ng-jd-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ng-jd-info-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ng-text-light);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ng-jd-info-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--ng-text-dark);
}

/* APPLY BAR */
.ng-jd-apply-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.ng-btn-red {
  background: #1e61db;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease, transform 0.1s ease;
  box-shadow: 0 4px 12px rgba(30, 97, 219, 0.25);
}
.ng-btn-red:hover {
  background: #1a56db;
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.ng-btn-outline {
  background: #fff;
  color: #1e61db;
  border: 1.5px solid #1e61db;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.ng-btn-outline:hover {
  background: #eff6ff;
  color: #1a56db;
  border-color: #1a56db;
}

.ng-btn-text {
  background: transparent;
  color: #64748b;
  border: 1.5px solid #cbd5e1;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.ng-btn-text:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

/* SIDEBAR CARD & COMPANY OVERVIEW */
.ng-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.ng-sidebar-head {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ng-sidebar-text {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

.ng-sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #334155;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.ng-sidebar-meta div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ng-sidebar-meta a {
  color: #1e61db;
  text-decoration: none;
  font-weight: 600;
}

.ng-sidebar-meta a:hover {
  text-decoration: underline;
}

/* SIMILAR JOBS LIST */
.ng-similar-job {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  transition: transform 0.15s ease;
}
.ng-similar-job:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ng-similar-job:hover {
  transform: translateX(3px);
}

.ng-similar-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e61db;
  display: block;
  margin-bottom: 4px;
  line-height: 1.35;
  text-decoration: none;
}
.ng-similar-title:hover {
  color: #1a56db;
  text-decoration: underline;
}

.ng-similar-meta {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 992px) {
  .ng-jd-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ng-jd-apply-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .ng-jd-apply-bar > .ng-btn-red {
    grid-column: 1 / -1;
    width: 100%;
    padding: 14px 20px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
  }
  .ng-jd-apply-bar > .ng-btn-outline,
  .ng-jd-apply-bar > .ng-btn-text {
    width: 100%;
    padding: 12px 14px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 480px) {
  .ng-jd-card, .ng-sidebar-card {
    padding: 18px;
    border-radius: 12px;
  }
  .ng-jd-top-header {
    flex-direction: column;
    gap: 12px;
  }
  .ng-jd-info-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}


