/* Favicon-Generator – ergänzt tool-kit.css */

.fg-drop {
  border: 2px dashed rgba(59, 130, 246, 0.35);
  border-radius: 20px;
  background: rgba(59, 130, 246, 0.04);
  cursor: pointer;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.25s ease;
}

.fg-drop:hover, .fg-drop-active {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
}

.fg-drop:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; }

.fg-drop-icon { font-size: 2rem; line-height: 1; margin-bottom: 0.75rem; }
.fg-drop-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.35rem; }
.fg-drop-hint { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

#fg-source-name {
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 1rem 0 0;
  text-align: center;
}

#fg-status {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
  text-align: center;
}

/* Optionen */
.fg-options {
  border-top: 1px solid var(--glass-border);
  margin-top: 1.75rem;
  padding-top: 1.75rem;
}

/* Tab-Vorschau */
.fg-tab-preview {
  background: #1e293b;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 1.5rem;
  max-width: 320px;
  padding: 0.6rem 0.9rem;
}

.fg-tab-preview img {
  width: 16px;
  height: 16px;
  display: block;
  flex: none;
}

.fg-tab-preview span {
  color: #cbd5e1;
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fg-tab-caption {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin: -1rem 0 1.5rem;
  text-align: center;
}

/* Dateiliste */
.fg-files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.9rem;
}

.fg-file {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1rem 0.75rem;
  text-align: center;
}

.fg-file-thumb {
  align-items: center;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
    linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
  border-radius: 10px;
  display: flex;
  height: 76px;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.fg-file-thumb img { image-rendering: pixelated; }

.fg-file-name {
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fg-file-meta { color: var(--text-muted); font-size: 0.7rem; margin: 0.15rem 0 0; }
.fg-file-hint { color: var(--text-muted); font-size: 0.68rem; margin: 0.3rem 0 0.7rem; opacity: 0.8; }

/* Code-Ausgaben */
.fg-code-block { margin-top: 1.75rem; }

.fg-code-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.fg-code-head .card-title { margin: 0; }

#fg-snippet { min-height: 170px; }
#fg-manifest { min-height: 210px; }
