:root {
    --primary: #8C52FF;
    --primary-dark: #6A3AE2;
    --secondary: #FF7752;
    --light: #F9F9F9;
    --dark: #1A1A2E;
    --success: #28a745;
    --error: #dc3545;
    --card-bg: #232342;
    --card-border: #383863;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* ensures it stays above other elements */
    background-color: #fff; /* or match your site's theme */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* optional: adds a subtle shadow */
}
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0F0F29 0%, #1A1A3A 100%);
    color: white;
    min-height: 100vh;
    position: relative;
    padding-top: 100px;
}

.navbar {
    background-color: #0F0F29;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.site-logo {
    font-size: 24px;
   
    font-weight: 600px;
    font-size: 1.5rem;
   
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    padding: 20px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.card-body {
    padding: 20px;
}

.step-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    background-color: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-top: 10px;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.3);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(106, 58, 226, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(106, 58, 226, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.product-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.product-card.selected {
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.3);
}

.product-img {
    width: auto;
    height: 200px;
    margin: 0 auto 10px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.product-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.payment-option.selected {
    border-color: var(--primary);
    background: rgba(140, 82, 255, 0.1);
}

.payment-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.payment-details {
    flex: 1;
}

.payment-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.payment-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.checkout-bar {
    position: sticky;
    bottom: 0;
    background: rgba(15, 15, 41, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.total-price {
    font-size: 18px;
    font-weight: 700;
}

.price-amount {
    color: var(--secondary);
}

.product-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.swiper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

footer {
    padding: 20px;
    background-color: #0F0F29;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-button {
    position: fixed;
    bottom: 180px;
    right: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(140, 82, 255, 0.5);
    cursor: pointer;
    z-index: 100;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(140, 82, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(140, 82, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(140, 82, 255, 0);
    }
}

.support-icon {
    font-size: 24px;
    color: white;
}

.box-error {
    border: 1px solid var(--error) !important;
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

#user_found {
    display: inline-block;
    padding: 8px 15px;
    margin-top: 10px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.user-found-success {
    color: var(--success) !important;
}

.user-found-error {
    color: var(--error) !important;
}

.loader {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Professional Header Style for Irra Store */

/* Header Base Styles */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }

.navbar {
  padding: 0.8rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .logo {
  transform: scale(1.1);
}

.site-logo {
  font-family: 'Grechen Fuemen', cursive;
  font-size: 1.8rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  padding: 0;
  margin-bottom: 0;
}

.nav-item {
  list-style: none;
}

.nav-link {
  color: #e0e0e0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #3498db;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
  width: 80%;
}

/* Responsive Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1.5rem;
}

.action-btn {
  background-color: transparent;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.4rem;
}

.action-btn:hover {
  color: #3498db;
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Banner area below header */
.header-banner {
  background-color: #3498db;
  padding: 0.8rem 0;
  text-align: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: fadeInDown 0.5s ease-out;
}

.header-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.2s ease;
}

.header-banner a:hover {
  color: #f8f9fa;
  text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .navbar .container {
    position: relative;
  }
  
  .nav-menu {
    position: fixed;
    top: 72px;
    right: -100%;
    background-color: #16213e;
    width: 250px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1rem;
    transition: right 0.3s ease;
    gap: 1rem;
    z-index: 1001;
  }
  
  .nav-menu.active {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }
  
  .nav-link::after {
    left: 0;
    transform: none;
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 30%;
  }
  
  .mobile-toggle {
    display: block;
    order: 3;
  }
  
  .header-actions {
    order: 2;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 0.6rem 0;
  }
  
  .site-logo {
    font-size: 1.5rem;
  }
  
  .logo {
    width: 32px;
    height: 32px;
  }
  
  .header-actions {
    margin-left: 0.5rem;
    gap: 0.5rem;
  }
  
  .action-btn {
    font-size: 1.1rem;
  }
  
  .header-banner {
    font-size: 0.85rem;
    padding: 0.6rem 0;
  }
}


/* Modern Search Styling - Enhanced Version */

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(23, 25, 35, 0.9);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
  backdrop-filter: blur(10px);
}

.search-container {
  width: 90%;
  max-width: 650px;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes slideDown {
  from {
      opacity: 0;
      transform: translateY(-40px) scale(0.98);
  }
  to {
      opacity: 1;
      transform: translateY(0) scale(1);
  }
}

.search-form {
  display: flex;
  position: relative;
  padding: 24px;
  background: linear-gradient(135deg, #3a1c71, #d76d77, #ffaf7b);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.search-input:focus {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  outline: none;
  transform: translateY(-1px);
}

.search-submit-btn {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 0 28px;
  margin-left: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.search-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.search-submit-btn:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.search-cancel-btn {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 0 20px;
  margin-left: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.search-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.search-cancel-btn:active {
  transform: translateY(1px);
}

.search-close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: white;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.search-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg) scale(1.1);
}

.search-results {
  max-height: 500px;
  overflow-y: auto;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: #ddd #f8f8f8;
}

.search-results::-webkit-scrollbar {
  width: 6px;
}

.search-results::-webkit-scrollbar-track {
  background: #f8f8f8;
}

.search-results::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 6px;
}

.search-results::-webkit-scrollbar-thumb:hover {
  background-color: #ccc;
}

.results-header {
  padding: 14px 18px;
  background-color: #f9f9f9;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 8px;
  margin: 4px 0;
}

.search-result-item:hover {
  background-color: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.search-result-item:active {
  background-color: #f3f3f3;
  transform: translateY(0);
}

.result-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  margin-right: 18px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.search-result-item:hover .result-img {
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
  transform: scale(1.05);
}

.result-info {
  flex: 1;
}

.result-name {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 16px;
  transition: color 0.2s;
}

.search-result-item:hover .result-name {
  color: #ff6b6b;
}

.result-price {
  color: #ff6b6b;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  background: rgba(255, 107, 107, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  transition: all 0.2s;
}

.search-result-item:hover .result-price {
  background: rgba(255, 107, 107, 0.15);
  transform: scale(1.05);
}

.result-action {
  color: #aaa;
  padding-left: 12px;
  transition: transform 0.2s;
}

.search-result-item:hover .result-action {
  color: #ff6b6b;
  transform: translateX(4px);
}

.highlight {
  background-color: rgba(255, 107, 107, 0.18);
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 600;
  color: #ff6b6b;
}

.empty-search {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  color: #666;
}

.empty-search i {
  font-size: 48px;
  color: #e0e0e0;
  margin-bottom: 20px;
  opacity: 0.8;
}

.empty-search p {
  margin: 6px 0;
  text-align: center;
}

.empty-search p:first-of-type {
  font-size: 18px;
  font-weight: 500;
}

.search-suggestions {
  font-size: 15px;
  color: #999;
  margin-top: 8px;
}

.search-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  color: #666;
}

.search-loading i {
  font-size: 30px;
  margin-bottom: 16px;
  color: #ff6b6b;
}

.search-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  color: #666;
}

.search-prompt i {
  font-size: 28px;
  margin-bottom: 16px;
  color: #999;
  opacity: 0.7;
}

.highlight-product {
  position: relative;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 6px rgba(255, 107, 107, 0.6);
  border-radius: 12px;
  z-index: 50;
  transform: scale(1.02);
}

@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  }
  70% {
      box-shadow: 0 0 0 12px rgba(255, 107, 107, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

.recent-searches {
  margin-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.recent-searches-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background-color: #f9f9f9;
}

.recent-searches-header span {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.clear-recent-searches {
  background: none;
  border: none;
  color: #ff6b6b;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.clear-recent-searches:hover {
  background: rgba(255, 107, 107, 0.1);
}

.recent-searches-list {
  padding: 6px 0;
}

.recent-search-item {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 6px;
  margin: 2px 8px;
}

.recent-search-item:hover {
  background-color: #f5f5f5;
}

.recent-search-item i {
  color: #aaa;
  margin-right: 12px;
  font-size: 14px;
  transition: transform 0.2s;
}

.recent-search-item:hover i {
  color: #ff6b6b;
  transform: translateX(3px);
}

.recent-search-item span {
  transition: color 0.2s;
}

.recent-search-item:hover span {
  color: #ff6b6b;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .search-overlay {
      padding-top: 50px;
      align-items: flex-start;
  }
  
  .search-container {
      width: 95%;
      max-height: 80vh;
      display: flex;
      flex-direction: column;
  }
  
  .search-form {
      flex-wrap: wrap;
      gap: 12px;
      padding: 18px;
  }
  
  .search-input {
      flex: 0 0 100%;
      order: 1;
      font-size: 15px;
      padding: 14px 20px;
  }
  
  .search-submit-btn {
      flex: 1;
      order: 2;
      margin-left: 0;
      padding: 12px 0;
  }
  
  .search-cancel-btn {
      flex: 1;
      order: 3;
      margin-left: 12px;
      padding: 12px 0;
  }
  
  .search-results {
      flex: 1;
      overflow-y: auto;
  }
  
  .result-img {
      width: 60px;
      height: 60px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .search-container {
      background-color: #1f2937;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  }
  
  .search-input {
      background-color: #374151;
      color: #f3f4f6;
  }
  
  .results-header {
      background-color: #2d3748;
      color: #e5e7eb;
      border-bottom: 1px solid #4b5563;
  }
  
  .search-result-item {
      border-bottom: 1px solid #374151;
  }
  
  .search-result-item:hover {
      background-color: #2d3748;
  }
  
  .result-name {
      color: #f3f4f6;
  }
  
  .recent-searches {
      border-top: 1px solid #374151;
  }
  
  .recent-searches-header {
      background-color: #2d3748;
  }
  
  .recent-searches-header span {
      color: #e5e7eb;
  }
  
  .recent-search-item:hover {
      background-color: #2d3748;
  }
  
  .empty-search {
      color: #d1d5db;
  }
  
  .search-prompt {
      color: #d1d5db;
  }
  
  .search-suggestions {
      color: #9ca3af;
  }

  /* Scrollbar for dark mode */
  .search-results::-webkit-scrollbar-track {
      background: #374151;
  }

  .search-results::-webkit-scrollbar-thumb {
      background-color: #4b5563;
  }
  
  .search-results::-webkit-scrollbar-thumb:hover {
      background-color: #6b7280;
  }
}

/* Animation for search results appearing */
.search-result-item {
  animation: fadeIn 0.3s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes fadeIn {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Apply sequential delay to search results */
.search-result-item:nth-child(1) { animation-delay: 0.05s; }
.search-result-item:nth-child(2) { animation-delay: 0.1s; }
.search-result-item:nth-child(3) { animation-delay: 0.15s; }
.search-result-item:nth-child(4) { animation-delay: 0.2s; }
.search-result-item:nth-child(5) { animation-delay: 0.25s; }
.search-result-item:nth-child(6) { animation-delay: 0.3s; }
.search-result-item:nth-child(7) { animation-delay: 0.35s; }
.search-result-item:nth-child(8) { animation-delay: 0.4s; }