/* =================================================
   NAUKRIGULF SEARCH PAGE — COMPLETE STYLESHEET
   ================================================= */

/* ---- TOP SEARCH BAR ---- */
.ng-search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #d0dae8;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.ng-search-inline {
  background: #fff;
  border: 1px solid var(--ng-border);
  border-radius: 6px;
  margin-bottom: 20px;
}
.ng-search-field {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 12px;
}
.ng-search-field:first-child { border-right: 1px solid #e0e4ea; }
.ng-search-divider { width: 1px; height: 36px; background: #e0e4ea; }
.ng-search-input {
  border: none;
  outline: none;
  font-size: 14px;
  color: #334155;
  width: 100%;
  padding: 12px 0;
  background: transparent;
  font-family: inherit;
}
.ng-search-submit {
  background: #1e61db;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}
.ng-search-submit:hover { background: #1a56db; }

/* ---- TWO-COLUMN LAYOUT ---- */
.ng-search-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
}

/* ---- FILTER SIDEBAR ---- */
.ng-filter-sidebar {
  background: #fff;
  border: 1px solid var(--ng-border);
  border-radius: 6px;
  padding: 16px;
  position: sticky;
  top: 76px;
}
.ng-filter-group { margin-bottom: 20px; }
.ng-filter-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--ng-text-dark);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ng-border);
}
.ng-filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ng-text-medium);
  margin-bottom: 8px;
  cursor: pointer;
  line-height: 1.3;
}
.ng-filter-group label:hover { color: #1e61db; }
.ng-filter-group input[type="radio"],
.ng-filter-group input[type="checkbox"] {
  accent-color: #1e61db;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---- RESULTS AREA ---- */
.ng-search-results { min-width: 0; }
.ng-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ng-border);
}
.ng-results-count {
  font-size: 14px;
  color: var(--ng-text-medium);
}
.ng-results-count strong { color: #1e293b; }
.ng-results-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ng-text-medium);
}
.ng-results-sort select {
  border: 1px solid var(--ng-border);
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
  outline: none;
}

/* ---- RESULT CARD ---- */
.ng-result-card {
  background: #fff;
  border: 1px solid var(--ng-border);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.ng-result-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-color: #b8cdf0;
}
.ng-result-featured {
  border-left: 3px solid #f59e0b;
}

/* COMPANY LOGO PLACEHOLDER */
.ng-result-logo-wrap { flex-shrink: 0; }
.ng-job-logo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e0eaff 0%, #c8d8ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #1e61db;
  border: 1px solid #d0dcf5;
  flex-shrink: 0;
}

/* RESULT BODY */
.ng-result-body { flex: 1; min-width: 0; }
.ng-result-top { margin-bottom: 6px; }
.ng-result-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e61db;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1.3;
}
.ng-result-title:hover {
  color: #1a56db;
  text-decoration: underline;
}
.ng-result-company {
  font-size: 13px;
  color: var(--ng-text-medium);
  margin-bottom: 8px;
  font-weight: 500;
}
.ng-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.ng-result-meta-item {
  font-size: 12.5px;
  color: var(--ng-text-medium);
  display: flex;
  align-items: center;
  gap: 4px;
}
.ng-result-excerpt {
  font-size: 13px;
  color: var(--ng-text-medium);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ng-result-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ng-result-date {
  font-size: 11px;
  color: var(--ng-text-light);
}

/* BADGES */
.ng-badge-featured {
  background: #fef3c7;
  color: #b45309;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  border: 1px solid #fde68a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.ng-badge-new {
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}

/* VIEW & APPLY BUTTON */
.ng-btn-outline-sm {
  display: inline-block;
  border: 1.5px solid #1e61db;
  color: #1e61db;
  background: #fff;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.ng-btn-outline-sm:hover {
  background: #1e61db;
  color: #fff;
  text-decoration: none;
}

/* ---- PAGINATION ---- */
.ng-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.ng-page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ng-border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--ng-text-medium);
  background: #fff;
  transition: all 0.15s;
  text-decoration: none;
}
.ng-page-btn:hover,
.ng-page-btn.active {
  background: #1e61db;
  border-color: #1e61db;
  color: #fff;
  text-decoration: none;
}

/* ---- NO RESULTS ---- */
.ng-no-results {
  background: #fff;
  padding: 48px 40px;
  border: 1px solid var(--ng-border);
  border-radius: 6px;
  text-align: center;
  color: var(--ng-text-medium);
}
.ng-no-results svg { opacity: 0.3; margin-bottom: 16px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .ng-search-layout {
    grid-template-columns: 1fr;
  }
  .ng-filter-sidebar {
    position: static;
  }
  .ng-search-box {
    flex-wrap: wrap;
  }
  .ng-result-card {
    flex-direction: column;
    gap: 10px;
  }
}
