/* high5p · Generator-Skin
 * Überschreibt das Standalone-Design der Generatoren mit dem high5p-Glassmorphism.
 * Wird nach dem Inline-<style> der Generatoren geladen.
 */

:root {
  --bg: transparent;
  --paper: rgba(255,255,255,0.18);
  --ink: #ffffff;
  --ink-soft: rgba(255,255,255,0.78);
  --accent: #fde047;
  --accent-soft: rgba(255,255,255,0.18);
  --line: rgba(255,255,255,0.25);
  --good: #6ee7b7;
  --good-soft: rgba(110,231,183,0.2);
}

html, body {
  background: linear-gradient(135deg, #34d399, #06b6d4, #6366f1) !important;
  background-image: linear-gradient(135deg, #34d399, #06b6d4, #6366f1) !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-position: center !important;
  color: #fff !important;
  min-height: 100vh;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
  padding: 1.25rem 1rem 3rem !important;
  line-height: 1.55;
}

.container {
  max-width: 56rem !important;
  position: relative;
  z-index: 1;
}

/* Dekorative Hintergrund-Spielereien aus den Generatoren weg — kollidieren mit Glass-Look */
.deco { display: none !important; }

/* Eyebrow / Lead */
.eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.15em !important;
  color: rgba(255,255,255,0.85) !important;
  margin-bottom: 0.5rem;
}

h1, h2, h3, h4 {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  line-height: 1.15 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
h1 { font-size: 2.25rem !important; margin-bottom: 0.75rem !important; }
h1 em {
  font-style: italic !important;
  color: #fde047 !important;
  font-weight: 800 !important;
}

.lead {
  font-family: ui-sans-serif, system-ui, sans-serif !important;
  font-size: 1.05rem !important;
  color: rgba(255,255,255,0.88) !important;
  margin-bottom: 2rem !important;
}

/* Glass-Karten ─ jede `.step`-Section wird zur Glaskarte */
.step {
  background: rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 1.5rem !important;
  padding: 1.5rem !important;
  margin-bottom: 1.25rem !important;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1) !important;
}

.step-title {
  font-family: ui-sans-serif, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem !important;
}
.step-num {
  font-family: ui-monospace, monospace !important;
  background: rgba(255,255,255,0.25) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.45) !important;
  border-radius: 9999px !important;
  width: 1.75rem; height: 1.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem !important;
  font-weight: 700;
  padding: 0 !important;
}
.step-opt {
  font-family: ui-sans-serif, sans-serif !important;
  color: rgba(255,255,255,0.7) !important;
  font-style: italic;
  font-size: 0.78rem !important;
}
.step-desc {
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.92rem !important;
  margin-bottom: 0.85rem !important;
}

/* Inputs */
input[type="text"], input[type="password"], input[type="number"], input[type="email"],
input[type="file"], select, textarea {
  background: rgba(255,255,255,0.22) !important;
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.4) !important;
  border-radius: 0.75rem !important;
  color: #fff !important;
  font-family: ui-sans-serif, system-ui, sans-serif !important;
  font-size: 1rem !important;
  padding: 0.75rem 1rem !important;
  outline: none;
  transition: all 0.15s ease;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.6) !important; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(255,255,255,0.85) !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2) !important;
  background: rgba(255,255,255,0.28) !important;
}
select option { background: #0f172a; color: #fff; }
textarea { font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important; resize: vertical; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem !important;
  font-family: ui-sans-serif, system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 0.75rem !important;
  border: none !important;
  border-bottom: 4px solid rgba(0,0,0,0.18) !important;
  background: #10b981 !important;
  color: #fff !important;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.button:hover { background: #34d399 !important; transform: translateY(-1px); }
.button:active { transform: scale(0.96); border-bottom-width: 2px !important; }
.button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.button.ghost {
  background: rgba(255,255,255,0.22) !important;
  border-bottom: 4px solid rgba(0,0,0,0.12) !important;
}
.button.ghost:hover { background: rgba(255,255,255,0.32) !important; }

/* Difficulty / toggle buttons (Buchstabensalat hat .diff-btn) */
.diff-btn {
  background: rgba(255,255,255,0.18) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: #fff !important;
  border-radius: 0.6rem !important;
  padding: 0.45rem 0.85rem !important;
  font-family: ui-sans-serif, sans-serif !important;
  font-size: 0.85rem !important;
  cursor: pointer;
  transition: all 0.15s ease;
}
.diff-btn:hover { background: rgba(255,255,255,0.28) !important; }
.diff-btn.active {
  background: #fde047 !important;
  color: #0f172a !important;
  border-color: #fde047 !important;
  font-weight: 700;
}

/* Live-Anzeigen */
.live {
  font-family: ui-monospace, Consolas, monospace !important;
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.85) !important;
  margin-top: 0.6rem;
}
.live strong { color: #fde047 !important; font-weight: 700; }

/* Code-Inline */
code {
  font-family: ui-monospace, Consolas, monospace !important;
  background: rgba(255,255,255,0.2) !important;
  color: #fde047 !important;
  padding: 0.1rem 0.4rem !important;
  border-radius: 0.35rem !important;
  font-size: 0.88em;
}

/* File-Upload-Zone (Excel) */
.excel-zone {
  background: rgba(255,255,255,0.12) !important;
  border: 2px dashed rgba(255,255,255,0.45) !important;
  border-radius: 0.85rem !important;
  padding: 1rem !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.excel-zone .label {
  background: #fde047 !important;
  color: #0f172a !important;
  padding: 0.2rem 0.6rem !important;
  border-radius: 9999px !important;
  font-family: ui-monospace, monospace !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Status-Box */
.status {
  background: rgba(255,255,255,0.2) !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  border-radius: 0.75rem !important;
  padding: 0.85rem 1rem !important;
  color: #fff !important;
  font-family: ui-monospace, Consolas, monospace !important;
  font-size: 0.88rem !important;
  white-space: pre-wrap;
  margin-top: 1rem;
}
.status.error {
  background: rgba(244,63,94,0.3) !important;
  border-color: rgba(253,164,175,0.6) !important;
  color: #ffe4e6 !important;
}
.status.success {
  background: rgba(52,211,153,0.3) !important;
  border-color: rgba(110,231,183,0.7) !important;
  color: #ecfdf5 !important;
}

/* Details / Hilfe-Akkordeons */
details {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 0.6rem !important;
  padding: 0.5rem 0.85rem !important;
  margin-top: 0.6rem;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff !important;
  font-family: ui-sans-serif, sans-serif !important;
}
details > div {
  margin-top: 0.6rem !important;
  padding-left: 0.8rem !important;
  border-left: 2px solid rgba(255,255,255,0.4) !important;
  color: rgba(255,255,255,0.85) !important;
}

/* Footer */
.footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.6) !important;
  font-family: ui-sans-serif, sans-serif !important;
}
.footer strong { color: rgba(255,255,255,0.85) !important; }
.footer a { color: #fde047 !important; }

/* Divider „oder" */
.divider-or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.7) !important;
  font-family: ui-sans-serif, sans-serif !important;
  font-size: 0.85rem !important;
  margin: 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.divider-or::before, .divider-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.3) !important;
}

/* Hinweis-Boxen */
.tip, .info, .hint {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 0.75rem !important;
  padding: 0.85rem 1rem !important;
  color: rgba(255,255,255,0.92) !important;
}

/* Labels */
label {
  color: #fff !important;
  font-family: ui-sans-serif, sans-serif !important;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.3rem;
}

/* Checkboxen sichtbar machen */
input[type="checkbox"], input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #fde047;
  vertical-align: middle;
  margin-right: 0.4rem;
}

/* Mobile */
@media (max-width: 640px) {
  body { padding: 1rem 0.75rem 2rem !important; }
  h1 { font-size: 1.7rem !important; }
  .step { padding: 1.1rem !important; border-radius: 1.2rem !important; }
}
