.blue-gradient {
  background: linear-gradient(90deg, #0f62fe, #0366d6, #0052cc);
}

.bg-grid {
  background-image: radial-gradient(currentColor 0.6px, transparent 0.6px),
    linear-gradient(currentColor 0.2px, transparent 0.2px);
  background-size: 20px 20px, 100% 20px;
  color: rgba(15, 23, 42, 0.04);
}

.sort-btn {
  cursor: pointer;
  user-select: none;
}

.sort-btn:hover {
  color: #2563eb;
}

/* Remove number input spinners in all browsers */
#networth::-webkit-outer-spin-button,
#networth::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#networth {
  -moz-appearance: textfield;
  /* Firefox */
  text-align: center;
  /* Center the number */
}

.banner-ad {
  display: block;
  max-width: 728px; /* adjust banner size */
  width: 100%;
  margin: 20px auto;
  text-decoration: none;
  position: relative;
}

.ad-wrapper {
  position: relative;
}

.ad-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px; /* optional rounded corners */
}

.ad-label {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 0, 0, 0.8); /* red semi-transparent */
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 10;
  pointer-events: none; /* ensures clicking still goes to href */
}

/* Make the ad fully responsive */
@media (max-width: 480px) {
  .banner-ad {
    max-width: 100%;
  }
}
