/* ThinkaBell Theme Generator — tool-specific styles */
/* Extracted from free-theme-generator.php inline styles */

#theme-output {
  display: none;
}

#theme-output.tb-hidden {
  display: none;
}

#theme-palette {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

#theme-palette > div {
  height: 60px;
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.25rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#theme-palette > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#theme-palette > div span {
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--font-mono, 'SF Mono', 'Fira Code', monospace);
}

#theme-css {
  font-family: var(--font-mono, 'SF Mono', 'Fira Code', monospace);
  font-size: 0.85rem;
  line-height: 1.6;
  background: var(--moss-light, #f1f5f9);
  padding: 1rem;
  border-radius: var(--radius, 8px);
  overflow-x: auto;
  white-space: pre;
  color: var(--ink);
}

.tb-color-input {
  width: 80px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 2px;
}

@media (max-width: 600px) {
  #theme-palette {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  #theme-palette > div {
    height: 50px;
  }

  #theme-css {
    font-size: 0.75rem;
    padding: 0.75rem;
  }
}
