/* ═══════════════════════════════════════════════════════════════════════════
   WEB VERSION – Overrides für den Browser-Einsatz
   Wird nach styles.css geladen und überschreibt Extension-spezifische Werte
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset Extension-Dimensionen ─────────────────────────────────────────── */
html, body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;       /* Kein Body-Scroll – Layout bleibt fixed wie Extension */
  font-size: 14px;
}

/* ── Layout: Vollbild statt 800×640 ──────────────────────────────────────── */
body {
  display: flex;
  flex-direction: column;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.header {
  padding: 0 28px;
  height: 58px;
  flex-shrink: 0;
}

.header-icon {
  width: 40px;
  height: 40px;
  font-size: 20px;
}

.header-title {
  font-size: 16px;
}

.header-subtitle {
  font-size: 11px;
}

/* SVG-Icon statt Emoji wenn vorhanden */
.header-icon img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

/* ── Haupt-Layout: Vollbreite ─────────────────────────────────────────────── */
.main-layout {
  flex: 1;
  min-height: 0;
  max-width: 100%;
}

/* ── Linkes Panel: Mehr Platz ─────────────────────────────────────────────── */
.left-panel {
  min-width: 0;
}

/* ── Rechtes Panel: Breiter ───────────────────────────────────────────────── */
.right-panel {
  width: 360px;
  padding: 16px 18px;
}

.right-title {
  font-size: 11px;
}

/* ── Tabs: Größer ─────────────────────────────────────────────────────────── */
.tabs {
  height: 46px;
}

.tab {
  padding: 12px 14px;
  font-size: 12px;
  letter-spacing: 0.3px;
}

/* ── Content / Sections ───────────────────────────────────────────────────── */
.content {
  padding: 18px 22px;
}

.section {
  padding: 14px 0;
}

.section-label {
  font-size: 10px;
  margin-bottom: 12px;
}

.field-label {
  font-size: 12px;
  margin-bottom: 5px;
}

/* ── Selects & Inputs ─────────────────────────────────────────────────────── */
select {
  font-size: 13px;
  padding: 9px 32px 9px 12px;
  height: 38px;
}

.api-key-input {
  font-size: 13px;
  padding: 9px 12px;
}

/* ── Grid ─────────────────────────────────────────────────────────────────── */
.grid-2 {
  gap: 14px;
}

/* ── Chips ────────────────────────────────────────────────────────────────── */
.chip {
  font-size: 12px;
  padding: 6px 12px;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-reset {
  font-size: 12px;
  padding: 7px 14px;
}

.btn-promptbase {
  font-size: 12px;
  padding: 7px 14px;
}

.btn-copy {
  font-size: 13px;
  padding: 10px 16px;
}

.btn-ki-assistent {
  font-size: 12px;
  padding: 9px 12px;
}

/* ── Prompt-Box ───────────────────────────────────────────────────────────── */
.prompt-box {
  font-size: 13px;
  line-height: 1.65;
}

.prompt-char-count {
  font-size: 11px;
}

/* ── Overlays: Breiter auf großen Screens ─────────────────────────────────── */
.overlay-box {
  width: 520px;
  max-width: 90vw;
}

.ki-overlay-box {
  width: 700px;
  max-width: 92vw;
}

.ki-text-input {
  min-height: 120px;
  font-size: 13px;
}

.edit-textarea {
  min-height: 200px;
  font-size: 13px;
}

/* ── Person-Switcher ──────────────────────────────────────────────────────── */
.person-appearance-grid {
  gap: 12px;
}

/* ── Divider ──────────────────────────────────────────────────────────────── */
.divider {
  margin: 4px 0;
}

/* ── Scrollbar Web-Look ───────────────────────────────────────────────────── */
.content::-webkit-scrollbar { width: 5px; }

/* ── Hover-Effekte nur auf Desktop ───────────────────────────────────────── */
@media (hover: hover) {
  select:hover        { border-color: rgba(200,169,110,0.5); }
  .chip:hover         { opacity: 1; }
}

/* ── Favicon-Icon im Header (wenn SVG vorhanden) ─────────────────────────── */
.header-icon-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
