/* =====================
   TSalad Tools
===================== */

.tsalad-tools {
  max-width: 1200px;
  margin: 24px auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =====================
   ID Type Cards
===================== */

.tsalad-tools .uuid-type-cards {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.tsalad-tools .uuid-type-cards label {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 12px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}

.tsalad-tools .uuid-type-cards label strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.tsalad-tools .uuid-type-cards label span {
  font-size: 12px;
  color: #6b7280;
}

.tsalad-tools .uuid-type-cards input {
  display: none;
}

/* 選択中 */
.tsalad-tools .uuid-type-cards label:has(input:checked) {
  border-color: #4f46e5;
  background: #eef2ff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}


/* =====================
   Main Output
===================== */

.tsalad-tools .uuid-main {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.tsalad-tools #uuid-output {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-family: monospace;
  font-size: 14px;
}

.tsalad-tools .uuid-main button {
  padding: 0 14px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}

/**
 * copied toast
 */
#uuid-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 9999;
}

#uuid-toast.show {
  opacity: 1;
  transform: translateY(0);
}