   :root {
      --primary: #4361ee;
      --primary-dark: #3a0ca3;
      --secondary: #7209b7;
      --accent: #4cc9f0;
      --light: #f8f9fa;
      --dark: #212529;
      --success: #2ec4b6;
      --warning: #ff9f1c;
      --danger: #e71d36;
      --gray: #6c757d;
      --light-gray: #dee2e6;
    }
    html, body {
    height: 100%;
    margin: 0;
}

    body {
      background:#fafbfc;
      min-height: 100vh;
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
      color: var(--dark);
      padding-top: 130px; 
       display: flex;
    flex-direction: column;
    }
    
    .app-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 15px;
    }
    
 
    .search-navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: white;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      padding: 1rem 0;
    }
    
    .search-navbar-content {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 15px;
    }
    
    .navbar-top {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
    }
    
    .navbar-brand {
      font-weight: 800;
      color: var(--primary);
      font-size: 1.5rem;
      margin-right: 15px;
      display: flex;
      align-items: center;
      text-decoration: none;
    }
    
    .navbar-brand img {
      height: 35px;
    }
    
    .search-container {
      flex-grow: 1;
    }
    
    .search-box {
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      transition: all 0.3s;
      border: 1px solid var(--light-gray);
      display: flex;
      background: white;
    }
    
    .search-box:focus-within {
      box-shadow: 0 4px 16px rgba(67, 97, 238, 0.2);
      border-color: var(--primary);
    }
    
    .search-input {
      border: none;
      padding: 0.8rem 1.2rem;
      font-size: 1rem;
      background: transparent;
      flex-grow: 1;
      min-width: 50px;
    }
    
    .search-input:focus {
      box-shadow: none;
      outline: none;
    }
    
    .search-btn {
      background: transparent;
      border: none;
      padding: 0.8rem 1.2rem;
      color: var(--primary);
      transition: all 0.3s;
      cursor: pointer;
    }
    
    .search-btn:hover {
      color: var(--primary-dark);
    }
    
    .filter-container {
      display: flex;
      overflow-x: auto;
      padding-bottom: 5px;
      scrollbar-width: thin;
    }
    
    .filter-container::-webkit-scrollbar {
      height: 4px;
    }
    
    .filter-container::-webkit-scrollbar-thumb {
      background: var(--light-gray);
      border-radius: 4px;
    }
    
    .filter-btn {
      background-color: white;
      border: 1px solid var(--light-gray);
      border-radius: 16px;
      padding: 0.4rem 0.8rem;
      margin-right: 0.5rem;
      font-size: 0.85rem;
      transition: all 0.2s;
      white-space: nowrap;
      flex-shrink: 0;
      cursor: pointer;
    }
    
    .filter-btn:hover, .filter-btn.active {
      background-color: var(--primary);
      color: white;
      border-color: var(--primary);
    }
    
    .nav-user {
      display: flex;
      align-items: center;
      margin-left: 15px;
    }
    
    .user-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 600;
    }
    
    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      font-size: 1.2rem;
      color: var(--gray);
      margin-left: 10px;
      cursor: pointer;
    }
    
    /* Main content */
    .hero-section {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      color: white;
      border-radius: 16px;
      padding: 2.5rem;
      margin: 2rem 0;
      box-shadow: 0 20px 40px rgba(67, 97, 238, 0.2);
      position: relative;
      overflow: hidden;
    }
    
    .hero-section::before {
      content: "";
      position: absolute;
      top: -50%;
      right: -50%;
      width: 100%;
      height: 200%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    }
    
    .hero-title {
      font-weight: 800;
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    
    .hero-subtitle {
      font-size: 1.2rem;
      opacity: 0.9;
      margin-bottom: 1.5rem;
    }
    
    .card {
      border: none;
      border-radius: 16px;
      overflow: hidden;
      transition: all 0.3s;
      height: 100%;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }
    
    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .card-img-top {
      height: 180px;
      object-fit: cover;
      background: linear-gradient(45deg, var(--primary), var(--accent));
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 3.5rem;
      position: relative;
      overflow: hidden;
    }
    
    .card-img-top::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    }
    
    .card-title {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--dark);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-height: 1.4;
    }
    
    .card-text {
      font-size: 0.9rem;
      color: var(--gray);
      line-height: 1.5;
    }
    
    .card-link {
      text-decoration: none;
      color: inherit;
    }
    
    .badge-type {
      background-color: var(--primary);
      color: white;
      font-weight: 500;
      padding: 0.4rem 0.8rem;
      border-radius: 20px;
    }
    
    .loader {
      display: none;
      text-align: center;
      margin: 3rem 0;
    }
    
    .loader .spinner-border {
      width: 3.5rem;
      height: 3.5rem;
      color: var(--primary);
    }
    
    .pagination {
      justify-content: center;
      margin-top: 2.5rem;
    }
    
    .page-link {
      border-radius: 12px;
      margin: 0 0.3rem;
      border: none;
      color: var(--dark);
      padding: 0.7rem 1.2rem;
      font-weight: 500;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
    
    .page-link:hover {
      background-color: var(--primary);
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 8px 15px rgba(67, 97, 238, 0.3);
    }
    
    .page-item.active .page-link {
      background-color: var(--primary);
      border-color: var(--primary);
      box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    }
    
    #pageInfo {
      text-align: center;
      margin-top: 1.2rem;
      font-weight: 500;
      color: var(--gray);
    }
    
    .result-stats {
      color: var(--gray);
      margin-bottom: 1.2rem;
      font-weight: 500;
    }
    
    .empty-state {
      text-align: center;
      padding: 3rem 1rem;
      color: var(--gray);
    }
    
    .empty-state i {
      font-size: 4.5rem;
      margin-bottom: 1.2rem;
      color: var(--light-gray);
      opacity: 0.7;
    }
    
    .empty-state h4 {
      font-weight: 600;
      margin-bottom: 0.8rem;
      color: var(--dark);
    }
    
  
    
    .result-card {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s, transform 0.5s;
    }
    
    .result-card.visible {
      opacity: 1;
      transform: translateY(0);
    }
    
    .suggestion-item {
      padding: 0.8rem 1.2rem;
      border-bottom: 1px solid var(--light-gray);
      cursor: pointer;
      transition: all 0.2s;
    }
    
    .suggestion-item:hover {
      background-color: var(--light);
    }
    
    .suggestion-item:last-child {
      border-bottom: none;
    }
    
    #suggestionsContainer {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      border-radius: 0 0 16px 16px;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      max-height: 300px;
      overflow-y: auto;
      display: none;
    }
    
    .search-wrapper {
      position: relative;
      flex-grow: 1;
    }
    
    .quick-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      margin-top: 1.5rem;
      justify-content: center;
    }
    
    .quick-action-btn {
      background: rgba(255, 255, 255, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: white;
      border-radius: 24px;
      padding: 0.5rem 1.2rem;
      font-size: 0.9rem;
      transition: all 0.3s;
      backdrop-filter: blur(10px);
      cursor: pointer;
    }
    
    .quick-action-btn:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: translateY(-2px);
    }
    
    /* Mobile styles */
    @media (max-width: 992px) {
      body {
        padding-top: 120px;
      }
      
      .hero-title {
        font-size: 2rem;
      }
      
      .hero-subtitle {
        font-size: 1.1rem;
      }
    }
    
    @media (max-width: 768px) {
      body {
        padding-top: 110px;
      }
      
      .navbar-brand {
        font-size: 1.3rem;
      }
      
      .navbar-brand img {
        height: 30px;
      }
      
      .hero-section {
        padding: 1.8rem;
        margin: 1.5rem 0;
        text-align: center;
      }
      
      .hero-title {
        font-size: 1.8rem;
      }
      
      .card-img-top {
        height: 160px;
        font-size: 3rem;
      }
      
      .filter-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
      }
      
      .mobile-menu-btn {
        display: block;
      }
      
      .nav-user {
        display: none;
      }
    }
    
    @media (max-width: 576px) {
      body {
        padding-top: 100px;
      }
      
      .search-navbar {
        padding: 0.8rem 0;
      }
      
      .navbar-top {
        flex-wrap: wrap;
      }
      
      .navbar-brand {
        font-size: 1.2rem;
        margin-right: 10px;
      }
      
      .search-container {
        width: 100%;
        order: 3;
        margin-top: 10px;
      }
      
      .hero-title {
        font-size: 1.6rem;
      }
      
      .search-input {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
      }
      
      .search-btn {
        padding: 0.7rem 1rem;
      }
      
      .filter-container {
        margin-top: 5px;
      }
    }
    
    /* Animation keyframes */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .fade-in {
      animation: fadeIn 0.5s ease forwards;
    }
    .quick-actions-horizontal {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  background: white;
  scrollbar-width: thin;
}

.quick-actions-horizontal::-webkit-scrollbar {
  height: 6px;
}

.quick-actions-horizontal::-webkit-scrollbar-thumb {
  background: var(--light-gray);
  border-radius: 6px;
}

.quick-action-btn {
  flex-shrink: 0;
  background: var(--light);
  border: 1px solid var(--light-gray);
  color: var(--dark);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.quick-action-btn:hover {
  background: var(--primary);
  color: white;
}
 
  @keyframes bounceInfinite {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
  }

  .bounce-icon {
    animation: bounceInfinite 1.5s infinite;
  }


  @keyframes fadeLoop {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
  }

  .fade-text {
    animation: fadeLoop 2s infinite;
  }