.search-page-wrapper {
    background:
      radial-gradient(circle at top left, rgba(13, 110, 253, 0.08), transparent 22%),
      radial-gradient(circle at top right, rgba(102, 16, 242, 0.08), transparent 18%),
      linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    min-height: 100vh;
  }

  .search-hero-card,
  .search-filter-panel,
  .search-results-shell {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(13, 110, 253, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  }

  .search-hero-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
  }

  .search-hero-card::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    top: -70px;
    right: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.14), transparent 70%);
  }

  .search-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d4fd6;
    font-weight: 700;
    font-size: 0.92rem;
  }

  .search-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f172a;
  }

  .search-page-subtitle {
    max-width: 760px;
    color: #64748b;
    line-height: 1.8;
    font-size: 1.02rem;
  }

  .search-stat-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(13,110,253,0.08), rgba(32,201,151,0.10));
    border: 1px solid rgba(13,110,253,0.10);
    border-radius: 1.25rem;
    padding: 1.1rem 1rem;
  }

  .search-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 12px 24px rgba(13,110,253,0.2);
  }

  .search-form-card {
    background: #fff;
    border: 1px solid rgba(13, 110, 253, 0.08);
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  }

  .search-input-group {
    position: relative;
  }

  .search-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
  }

  .search-input {
    min-height: 58px;
    padding-left: 2.85rem;
    border-radius: 999px;
    border: 1px solid rgba(13,110,253,0.14);
    box-shadow: none;
  }

  .search-input:focus,
  .search-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.12);
  }

  .search-select {
    min-height: 58px;
    border-radius: 999px;
    border: 1px solid rgba(13,110,253,0.14);
  }

  .search-btn-primary {
    min-height: 58px;
    border-radius: 999px;
    font-weight: 700;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border: none;
    color: #fff;
    box-shadow: 0 12px 24px rgba(13,110,253,0.2);
  }

  .search-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
  }

  .search-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
  }

  .quick-links-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #64748b;
  }

  .search-quick-links a {
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(13,110,253,0.08);
    color: #0d4fd6;
    font-weight: 600;
    font-size: 0.9rem;
  }

  .search-quick-links a:hover {
    background: rgba(13,110,253,0.14);
  }

  .search-filter-panel {
    padding: 1.4rem;
    position: sticky;
    top: 1.5rem;
  }

  .filter-panel-header h5 {
    font-weight: 800;
    color: #0f172a;
  }

  .filter-panel-header p {
    color: #64748b;
    font-size: 0.95rem;
  }

  .filter-block {
    margin-top: 1.3rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(15,23,42,0.08);
  }

  .filter-title {
    display: block;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a;
  }

  .search-results-shell {
    padding: 1.4rem;
  }

  .results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15,23,42,0.08);
  }

  .results-toolbar h4 {
    font-weight: 800;
    color: #0f172a;
  }

  .results-toolbar-actions {
    display: flex;
    gap: 0.5rem;
  }

  .view-toggle-btn {
    border-radius: 999px;
    padding-inline: 0.9rem;
  }

  .view-toggle-btn.active {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
  }

  .search-results-content {
    min-height: 240px;
  }

  @media (max-width: 991.98px) {
    .search-hero-card {
      padding: 1.4rem;
    }

    .search-filter-panel {
      position: static;
    }
  }

  @media (max-width: 575.98px) {
    .results-toolbar {
      align-items: flex-start;
    }

    .search-page-title {
      font-size: 2rem;
    }
  }

.search-results-component {
    width: 100%;
  }

  .results-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
    flex-wrap: wrap;
  }

  .results-count {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .results-count-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(13, 110, 253, 0.1);
    color: #0d4fd6;
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    font-weight: 700;
    font-size: 0.92rem;
  }

  .results-query-text {
    color: #64748b;
    font-size: 0.96rem;
  }

  .search-result-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .search-result-card {
    border-radius: 1.35rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(13, 110, 253, 0.08);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
    transition: all 0.25s ease;
    overflow: hidden;
  }

  .search-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
    border-color: rgba(13, 110, 253, 0.15);
  }

  .search-result-card-inner {
    padding: 1.35rem 1.35rem 1.2rem;
  }

  .search-result-top {
    margin-bottom: 0.85rem;
  }

  .search-result-badges {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
  }

  .result-type-badge,
  .result-org-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.42rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .result-type-badge {
    background: rgba(13, 110, 253, 0.10);
    color: #0d4fd6;
  }

  .result-org-badge {
    background: rgba(15, 23, 42, 0.08);
    color: #334155;
  }

  .search-result-title {
    margin-bottom: 0.55rem;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
  }

  .search-result-title a {
    color: #0f172a;
    text-decoration: none;
  }

  .search-result-title a:hover {
    color: #0d6efd;
  }

  .search-result-subtitle {
    color: #475569;
    font-weight: 600;
    margin-bottom: 0.6rem;
  }

  .search-result-snippet {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 0;
  }

  .search-result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
  }

  .search-result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: #0d6efd;
    font-weight: 700;
  }

  .search-result-link:hover {
    color: #084298;
  }

  .search-result-date {
    color: #94a3b8;
    font-size: 0.84rem;
  }

  .search-empty-state,
  .search-no-results {
    text-align: center;
    padding: 3rem 1.25rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,251,255,0.96));
    border: 1px dashed rgba(13, 110, 253, 0.18);
  }

  .search-empty-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13,110,253,0.12), rgba(102,16,242,0.10));
    color: #0d6efd;
    font-size: 2rem;
  }

  .search-empty-icon.warning {
    background: linear-gradient(135deg, rgba(255,193,7,0.14), rgba(255,99,132,0.10));
    color: #d97706;
  }

  .search-empty-state h3,
  .search-no-results h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
  }

  .search-empty-state p,
  .search-no-results p {
    max-width: 720px;
    margin: 0 auto 1rem;
    color: #64748b;
    line-height: 1.8;
  }

  .search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.2rem;
  }

  .suggestion-label {
    font-weight: 700;
    color: #475569;
  }

  .suggestion-chip {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    color: #0d4fd6;
    font-weight: 600;
    font-size: 0.92rem;
  }

  .suggestion-chip:hover {
    background: rgba(13, 110, 253, 0.14);
    color: #0d4fd6;
  }

  .modern-pagination .page-link {
    border-radius: 999px !important;
    margin: 0 0.2rem;
    border: 1px solid rgba(13, 110, 253, 0.12);
    color: #0d6efd;
    padding: 0.6rem 0.9rem;
  }

  .modern-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border-color: transparent;
    color: #fff;
  }

  .modern-pagination .page-item.disabled .page-link {
    color: #94a3b8;
    background: #f8fafc;
  }

  @media (min-width: 992px) {
    .search-result-grid {
      gap: 1.35rem;
    }
  }

  @media (max-width: 575.98px) {
    .search-result-card-inner {
      padding: 1rem;
    }

    .search-result-footer {
      align-items: flex-start;
      flex-direction: column;
    }

    .search-empty-state,
    .search-no-results {
      padding: 2rem 1rem;
    }
  }
