.connect-wallet {
  cursor: pointer;
}

.modal-overlay-others {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-others {
  display: flex;
  flex-direction: column;
  width: 95%;
  max-width: 800px;
  background-color: #111;
  color: white;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  max-height: 90vh;
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header button {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.wallet-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
  padding: 16px;
  overflow-y: auto;
  max-height: 70vh;
  scrollbar-width: thin;
}

.wallet-options::-webkit-scrollbar {
  width: 6px;
}

.wallet-options::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 4px;
}

.wallet-options div {
  background-color: #1c1c1c;
  border: none;
  color: white;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
}

.wallet-options div:hover {
  background-color: #0077e433;
}

.wallet-options img {
  background-color: white;
  padding: 4px;
  border-radius: 6px;
  width: 40px;
  height: 40px;
  margin: 0 auto 8px auto;
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
  .modal-others {
    width: 95%;
    max-height: 95vh;
  }

  .wallet-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-height: 60vh;
  }
}
