.app-card {
    border: 1px solid var(--border-light);
    border-radius: 24px;
    background: rgba(10, 17, 49, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
/* ========================================
   BROWSE CANDIDATES / JOBS PAGE CSS
   ======================================== */

/* ===== Page Container ===== */
.browse-candidates-page {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* ===== Browse Header ===== */
.browse-header {
  margin-bottom: 2rem;
}

.browse-header-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.browse-title {
  font-weight: 800;
  font-size: 2.5rem;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.browse-title .highlight {
  color: #8ab4f8;
}

.browse-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Filters Sidebar ===== */
.filters-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filters-card {
  padding: 1.2rem !important;
}

.filters-card h5 {
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.filters-card h5 i {
  color: #8ab4f8;
  margin-right: 0.3rem;
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  display: block;
}

.filter-group .form-control,
.filter-group .form-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #ffffff;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  width: 100%;
}

.filter-group .form-control::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.filter-group .form-control:focus,
.filter-group .form-select:focus {
  border-color: rgba(138, 180, 248, 0.3);
  box-shadow: 0 0 0 3px rgba(83, 100, 247, 0.08);
}

.filter-group .form-select option {
  background: #000828;
  color: #ffffff;
}

.popular-skills {
  margin-top: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.popular-skills span {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
}

.popular-skills a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  text-decoration: none;
  padding: 0.1rem 0.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s;
}

.popular-skills a:hover {
  color: #8ab4f8;
  background: rgba(138, 180, 248, 0.06);
}

.filter-group .form-check-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.filter-group .form-check-input {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.filter-group .form-check-input:checked {
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
  border-color: #5364f7;
}

.filter-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-apply-filters {
  flex: 1;
  background: linear-gradient(135deg, #5364f7, #8ab4f8) !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 0.4rem 1rem !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  color: #ffffff !important;
  transition: all 0.3s !important;
}

.btn-apply-filters:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 4px 20px rgba(83, 100, 247, 0.3) !important;
}

.btn-save-search {
  flex: 1;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 30px !important;
  padding: 0.4rem 1rem !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  color: #ffffff !important;
  transition: all 0.3s !important;
}

.btn-save-search:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(138, 180, 248, 0.15) !important;
  color: #8ab4f8 !important;
}

/* ===== AI Recommendation Card ===== */
.ai-recommend-card {
  padding: 1.2rem !important;
  text-align: center;
  border-color: rgba(138, 180, 248, 0.08);
}

.ai-recommend-content i {
  font-size: 2rem;
  color: #8ab4f8;
  margin-bottom: 0.5rem;
}

.ai-recommend-content h6 {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.ai-recommend-content p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.btn-ai-recommend {
  background: rgba(138, 180, 248, 0.06) !important;
  border: 1px solid rgba(138, 180, 248, 0.1) !important;
  border-radius: 30px !important;
  padding: 0.3rem 1.2rem !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  color: #8ab4f8 !important;
  transition: all 0.3s !important;
}

.btn-ai-recommend:hover {
  background: rgba(138, 180, 248, 0.1) !important;
  border-color: rgba(138, 180, 248, 0.15) !important;
  color: #ffffff !important;
}

/* ===== Results Header ===== */
.results-header {
  padding: 0.8rem 1.2rem !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.results-count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.results-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.results-sort label {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

.results-sort .form-select-sm {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.25rem 1.8rem 0.25rem 0.6rem;
}

.results-sort .form-select-sm option {
  background: #000828;
  color: #ffffff;
}

/* ===== Candidates List (Line View) ===== */
.candidates-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

/* ===== Candidate Item ===== */
.candidate-item {
  padding: 0.8rem 1.2rem !important;
  transition: all 0.3s;
}

.candidate-item:hover {
  border-color: rgba(138, 180, 248, 0.12);
  transform: translateX(4px);
}

.candidate-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.candidate-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.candidate-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.candidate-info {
  flex: 1;
  min-width: 140px;
}

.candidate-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.candidate-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  margin: 0;
}

.candidate-location {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.65rem;
  margin: 0;
}

.candidate-location i {
  margin-right: 0.2rem;
}

.candidate-details-line {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.candidate-details-line .detail-item {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}

.candidate-details-line .detail-item i {
  margin-right: 0.2rem;
}

.candidate-details-line .detail-item strong {
  color: rgba(255, 255, 255, 0.6);
}

.candidate-skills-line {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.candidate-skills-line .skill-tag {
  background: rgba(138, 180, 248, 0.06);
  border: 1px solid rgba(138, 180, 248, 0.06);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
}

.candidate-match-line {
  flex-shrink: 0;
}

.candidate-match-line .match-score {
  font-weight: 700;
  font-size: 1.1rem;
  color: #4ade80;
}

.candidate-actions-line {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.btn-view-profile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  padding: 0.25rem 0.8rem;
  font-weight: 500;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
}

.btn-view-profile:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn-shortlist {
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
  border: none;
  border-radius: 30px;
  padding: 0.25rem 0.8rem;
  font-weight: 500;
  font-size: 0.65rem;
  color: #ffffff;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.btn-shortlist:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(83, 100, 247, 0.3);
}

/* ===== Pagination ===== */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.table-pagination {
  display: flex;
  gap: 0.3rem;
}

.table-pagination .page-btn {
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-pagination .page-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.table-pagination .page-btn.active {
  background: rgba(83, 100, 247, 0.15);
  border-color: rgba(83, 100, 247, 0.2);
  color: #8ab4f8;
}

.table-pagination .page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.table-pagination .page-btn.prev-btn,
.table-pagination .page-btn.next-btn {
  font-size: 0.7rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
  .candidate-row {
    flex-wrap: wrap;
  }
  
  .candidate-info {
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .browse-title {
    font-size: 1.8rem;
  }
  
  .browse-description {
    font-size: 0.9rem;
  }
  
  .results-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .results-sort {
    width: 100%;
  }
  
  .results-sort .form-select-sm {
    flex: 1;
  }
  
  .candidate-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .candidate-details-line {
    width: 100%;
  }
  
  .candidate-skills-line {
    width: 100%;
  }
  
  .candidate-match-line {
    width: 100%;
  }
  
  .candidate-actions-line {
    width: 100%;
  }
  
  .btn-view-profile,
  .btn-shortlist {
    flex: 1;
    justify-content: center;
  }
  
  .filter-actions {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .browse-title {
    font-size: 1.5rem;
  }
  
  .browse-description {
    font-size: 0.85rem;
  }
  
  .candidate-item {
    padding: 0.8rem !important;
  }
  
  .candidate-avatar {
    width: 40px;
    height: 40px;
  }
  
  .candidate-name {
    font-size: 0.85rem;
  }
  
  .candidate-title {
    font-size: 0.7rem;
  }
  
  .filter-group .form-control,
  .filter-group .form-select {
    font-size: 16px;
  }
}