/* =========================================================
   Sitemap Generator – Styles (Basis: assets/css/tool-ui.css)
   ========================================================= */
.sg-buttons .tu-actions { height: 46px; }
.sg-start { padding: 11px 18px; }
.sg-note { margin-top: 18px; }
.sg-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* Fortschritt */
.sg-progress { margin-top: 18px; display: grid; gap: 10px; }
.sg-progress__bar { position: relative; height: 8px; border-radius: 8px; overflow: hidden; background: rgba(15,19,48,.08); }
.sg-progress__bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--grad); transition: width .4s var(--ease); }
.sg.is-crawling .sg-progress__bar i { background-image: linear-gradient(90deg, #5b8cff, #9b7bff, #5b8cff); background-size: 200% 100%; animation: sgFlow 1.4s linear infinite; }
@keyframes sgFlow { to { background-position: -200% 0; } }
.sg-progress__stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sg-progress__stats b { color: var(--ink); }
.sg-progress__state { flex-basis: 100%; color: var(--ink); }

/* Ausgabe */
.sg-pre { max-height: 360px; min-height: 120px; }
.sg-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 14px; color: var(--text); }
.sg-steps code { display: inline-block; max-width: 100%; padding: 2px 7px; border-radius: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--ink); background: rgba(15,19,48,.06); overflow-wrap: anywhere; }
.sg-mini { padding: 4px 9px; font-size: 12px; margin-left: 4px; vertical-align: middle; }

/* Ergebnistabelle */
.sg-results { margin-top: 20px; }
.sg-tablewrap { max-height: 620px; overflow: auto; border-radius: 14px; border: 1px solid rgba(15,19,48,.08); background: #fff; }
.sg-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sg-table th { position: sticky; top: 0; z-index: 1; padding: 10px 12px; text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #f7f8fc; border-bottom: 1px solid rgba(15,19,48,.08); }
.sg-table td { padding: 9px 12px; border-bottom: 1px solid rgba(15,19,48,.05); vertical-align: middle; }
.sg-table tr:last-child td { border-bottom: 0; }
.sg-table tr.is-out td { background: rgba(15,19,48,.015); }
.sg-table tr.is-out .sg-url a { color: var(--muted); }
.sg-col-check { width: 42px; text-align: center; }
.sg-col-check input { width: 17px; height: 17px; accent-color: var(--blue); cursor: pointer; }
.sg-col-date { width: 110px; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.sg-url { max-width: 0; width: 60%; }
.sg-url a { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.sg-url a:hover { color: var(--blue); }
.sg-url small { color: var(--violet); }
.sg-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.35; }
.sg-badge--ok { color: #0f7a52; background: rgba(34,192,140,.12); }
.sg-badge--out { color: #8a4712; background: rgba(240,160,75,.14); font-weight: 500; overflow-wrap: anywhere; }
.sg-empty { padding: 30px 16px; text-align: center; font-size: 14px; color: var(--muted); }
.sg-more { text-align: center; color: var(--muted); }

@media (max-width: 700px) {
  .sg-col-date { display: none; }
  .sg-url { width: 55%; }
  .sg-results .tu-card__head .tu-actions { width: 100%; }
}
