.kanji-tool {
  max-width: 900px;
  margin: auto;
  padding: 16px;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
}
 
#suggestions {
	position: inherit;
	background: #cfe2ff;
	border: 1px solid #9ec5fe;
	width: 100%;
	display: none;
	z-index: 10;
	color: #052c65;
	border-radius: 10px;
}

.suggestion-item {
  padding: 10px;
  cursor: pointer;
}

.suggestion-item:hover {
	background: #bfd8fd;
}

.filter-box {
  margin-top: 10px;
}

.kanji-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}

.kanji-card p {
	display: inline-grid;
	padding: 5px 15px;
}
.kanji-main {
  font-size: 40px;
  cursor: pointer;
}

.copy-note {
  font-size: 12px;
  color: green;
  display: none;
}
.copy-icon {
  font-size: 14px;
  margin-left: 6px;
  cursor: pointer;
}

.highlight {
  background: yellow;
}

/* Toast Notification */
.kanji-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

.kanji-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Copy animation */
.kanji-main {
  transition: transform 0.15s ease;
}

.kanji-main.copied {
  transform: scale(1.2);
}

/* Copy icon */
.copy-icon {
  font-size: 14px;
  margin-left: 6px;
  cursor: pointer;
  opacity: 0.6;
}

.copy-icon:hover {
  opacity: 1;
}