/* /Components/Common/CopyButton.razor.rz.scp.css */
.copy-btn[b-63vsuw8t5h] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 1px solid rgba(43, 33, 27, 0.18);
    border-radius: 3px;
    color: #6e5e54;
    cursor: pointer;
    flex-shrink: 0;
    transition: color .12s ease, background-color .12s ease, border-color .12s ease;
    position: relative;
}

.copy-btn:hover[b-63vsuw8t5h] {
    color: #2b211b;
    background-color: rgba(197, 106, 58, 0.08);
    border-color: rgba(43, 33, 27, 0.35);
}

.copy-btn:active[b-63vsuw8t5h] {
    background-color: rgba(197, 106, 58, 0.16);
}

.copy-btn:focus-visible[b-63vsuw8t5h] {
    outline: 2px solid #c56a3a;
    outline-offset: 1px;
}

.copy-btn__icon[b-63vsuw8t5h] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .12s ease;
}

.copy-btn__icon--check[b-63vsuw8t5h] {
    opacity: 0;
    color: #5f7f4f;
}

.copy-btn.is-copied[b-63vsuw8t5h] {
    color: #5f7f4f;
    border-color: rgba(95, 127, 79, 0.45);
    background-color: rgba(95, 127, 79, 0.1);
}

.copy-btn.is-copied .copy-btn__icon--copy[b-63vsuw8t5h] { opacity: 0; }
.copy-btn.is-copied .copy-btn__icon--check[b-63vsuw8t5h] { opacity: 1; }
/* /Components/Pages/GeoStats/GeoStats.razor.rz.scp.css */
/* Geo dashboard — same utilitarian look as the reviewer Stats page, but its own
   scoped stylesheet. The classes are shared by name only; Blazor CSS isolation
   means Stats.razor.css does NOT reach this component, so the table styling has
   to live here too (otherwise the columns render unstyled and run together). */

.stats[b-udt0m9ba1c] {
    max-width: 64rem;
    margin: 2rem auto 4rem;
    padding: 0 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f1f1f;
}

.stats__head[b-udt0m9ba1c] {
    border-bottom: 2px solid #d8d8d8;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.stats__title[b-udt0m9ba1c] {
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.stats__lead[b-udt0m9ba1c] {
    font-size: 1.05rem;
    margin: 0.3rem 0;
    color: #333;
}

/* --- headline: three visitor buckets (people / AI agents / other bots) --- */

.stats__groups[b-udt0m9ba1c] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0.8rem 0 0.6rem;
}

.stats__group[b-udt0m9ba1c] {
    flex: 1 1 10rem;
    border: 1px solid #e2e2e2;
    border-left-width: 4px;
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

/* People are the honest headline → biggest, strongest accent. AI agents are
   the watch-this signal. Other bots are deliberately muted. */
.stats__group--human[b-udt0m9ba1c] {
    border-left-color: #2f8f5b;
}

.stats__group--ai[b-udt0m9ba1c] {
    border-left-color: #3a82a8;
}

.stats__group--bots[b-udt0m9ba1c] {
    border-left-color: #b8b8b8;
    background: #fafafa;
}

.stats__group-value[b-udt0m9ba1c] {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    color: #1f1f1f;
}

.stats__group--bots .stats__group-value[b-udt0m9ba1c] {
    color: #777;
}

.stats__group-label[b-udt0m9ba1c] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
}

.stats__meta[b-udt0m9ba1c] {
    color: #666;
    font-size: 0.95rem;
}

/* Každá sekce dashboardu drží stejný odstup. Engagement sekce (stažení,
   jazyky) přibyly později a v tomhle výčtu chyběly, takže se jejich nadpisy
   lepily na předchozí blok. */
.stats__categories[b-udt0m9ba1c],
.stats__continents[b-udt0m9ba1c],
.stats__chart-section[b-udt0m9ba1c],
.stats__public-downloads[b-udt0m9ba1c],
.stats__public-visits[b-udt0m9ba1c] {
    margin-top: 2rem;
}

/* --- daily visits bar chart (server-rendered SVG) --- */

.stats__chart[b-udt0m9ba1c] {
    width: 100%;
    height: auto;
    display: block;
    background: white;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    box-sizing: border-box;
}

.stats__gridline[b-udt0m9ba1c] {
    stroke: #e6e6e6;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.stats__bar[b-udt0m9ba1c] {
    fill: #3a82a8;
}

.stats__bar:hover[b-udt0m9ba1c] {
    fill: #2f6d8f;
}

.stats__section-title[b-udt0m9ba1c] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.8rem;
    color: #2a3f4d;
}

/* --- tables --- */

.stats__table[b-udt0m9ba1c] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
}

.stats__table thead th[b-udt0m9ba1c] {
    text-align: left;
    background: #f4f4f4;
    border-bottom: 2px solid #d0d0d0;
    padding: 0.55rem 0.7rem;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
}

.stats__table tbody td[b-udt0m9ba1c] {
    border-bottom: 1px solid #ececec;
    padding: 0.55rem 0.7rem;
    vertical-align: top;
}

.stats__num[b-udt0m9ba1c] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.stats__row--pending[b-udt0m9ba1c] {
    color: #888;
    background: #fafafa;
}

.stats__row--visited[b-udt0m9ba1c] {
    background: white;
}

/* --- continent groups (collapsible) --- */

.geo__continent[b-udt0m9ba1c] {
    margin-bottom: 1.25rem;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    overflow: hidden;
}

.geo__continent-summary[b-udt0m9ba1c] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background: #f7f9fb;
    cursor: pointer;
    user-select: none;
}

.geo__continent-summary[b-udt0m9ba1c]::-webkit-details-marker {
    color: #8a98a4;
}

.geo__continent-name[b-udt0m9ba1c] {
    font-weight: 600;
    font-size: 1.05rem;
    color: #2a3f4d;
}

.geo__continent[open] > .geo__continent-summary[b-udt0m9ba1c] {
    border-bottom: 1px solid #e2e2e2;
}

.geo__continent .stats__table[b-udt0m9ba1c] {
    box-shadow: none;
    margin-bottom: 0;
}

/* Public-visitor engagement sections (downloads + visits-by-language), moved
   here from the /stats reviewer dashboard. Chip styling mirrors Stats.razor.css
   so the pamphlet/whitepaper per-language breakdown reads as pills, not a run-on. */
.stats__downloads[b-udt0m9ba1c] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.6rem 0 0;
    font-size: 0.9rem;
    color: #555;
}

.stats__download-chip[b-udt0m9ba1c] {
    background: #eef4f8;
    border: 1px solid #cfdde6;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

/* Anonymous drop-box messages ("Vzkazy z webu"). Newest first; each row is
   a quiet card so long messages stay readable without a table's rigidity. */
.stats__feedback-list[b-udt0m9ba1c] {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
}

.stats__feedback-item[b-udt0m9ba1c] {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 0.55rem 0.8rem;
    margin: 0 0 0.5rem;
}

.stats__feedback-text[b-udt0m9ba1c] {
    margin: 0.15rem 0 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 0.95rem;
    color: #333;
}
/* /Components/Pages/Stats/Stats.razor.rz.scp.css */
/* Private operator dashboard — utilitární styl, ne paper aesthetic.
   Cíl: rychlý přehled, vysoká hustota informací, žádné zbytečné dekorace. */

.stats[b-j2ubrar7fv] {
    max-width: 64rem;
    margin: 2rem auto 4rem;
    padding: 0 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f1f1f;
}

.stats__head[b-j2ubrar7fv] {
    border-bottom: 2px solid #d8d8d8;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.stats__title[b-j2ubrar7fv] {
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.stats__lead[b-j2ubrar7fv] {
    font-size: 1.05rem;
    margin: 0.3rem 0;
    color: #333;
}

.stats__meta[b-j2ubrar7fv] {
    color: #666;
    font-size: 0.95rem;
}

.stats__downloads[b-j2ubrar7fv] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.6rem 0 0;
    font-size: 0.9rem;
    color: #555;
}

.stats__download-chip[b-j2ubrar7fv] {
    background: #eef4f8;
    border: 1px solid #cfdde6;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

.stats__table[b-j2ubrar7fv] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.stats__table thead th[b-j2ubrar7fv] {
    text-align: left;
    background: #f4f4f4;
    border-bottom: 2px solid #d0d0d0;
    padding: 0.55rem 0.7rem;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
}

.stats__table tbody td[b-j2ubrar7fv] {
    border-bottom: 1px solid #ececec;
    padding: 0.55rem 0.7rem;
    vertical-align: top;
}

.stats__num[b-j2ubrar7fv] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.stats__notes[b-j2ubrar7fv] {
    color: #666;
    font-style: italic;
    font-size: 0.88rem;
}

.stats__row--pending[b-j2ubrar7fv] {
    color: #888;
    background: #fafafa;
}

.stats__row--visited[b-j2ubrar7fv] {
    background: white;
}

.stats__badge[b-j2ubrar7fv] {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.stats__badge--ok[b-j2ubrar7fv] {
    background: #d6efd6;
    color: #195919;
    border: 1px solid #a4d2a4;
}

.stats__badge--pending[b-j2ubrar7fv] {
    background: #ececec;
    color: #777;
    border: 1px solid #d4d4d4;
}

.stats__badge--revoked[b-j2ubrar7fv] {
    background: #f6dede;
    color: #8a2020;
    border: 1px solid #e0a6a6;
}

.stats__row--revoked[b-j2ubrar7fv] {
    background: #fbf3f3;
    color: #9a8a8a;
}

.stats__row--revoked td:first-child[b-j2ubrar7fv] {
    text-decoration: line-through;
}

.stats__action-btn[b-j2ubrar7fv] {
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.82rem;
    cursor: pointer;
    background: white;
    white-space: nowrap;
}

.stats__action-btn--revoke[b-j2ubrar7fv] {
    border: 1px solid #d8a0a0;
    color: #9a2a2a;
}

.stats__action-btn--revoke:hover[b-j2ubrar7fv] {
    background: #f6dede;
}

.stats__action-btn--restore[b-j2ubrar7fv] {
    border: 1px solid #a4c2a4;
    color: #2a6a2a;
}

.stats__action-btn--restore:hover[b-j2ubrar7fv] {
    background: #e3f1e3;
}

.stats__action-btn--delete[b-j2ubrar7fv] {
    border: 1px solid #c98a8a;
    color: #fff;
    background: #b34040;
}

.stats__action-btn--delete:hover[b-j2ubrar7fv] {
    background: #962f2f;
}

.stats__action-btn--edit[b-j2ubrar7fv] {
    border: 1px solid #b9c6d0;
    color: #355;
    text-decoration: none;
}

.stats__action-btn--edit:hover[b-j2ubrar7fv] {
    background: #eef4f8;
}

.stats__actions[b-j2ubrar7fv] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    white-space: nowrap;
}

.stats__actions form[b-j2ubrar7fv] {
    margin: 0;
}

.stats__row--editing[b-j2ubrar7fv] {
    background: #fff8e8;
}

.stats__edit-form[b-j2ubrar7fv] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.6rem;
    margin: 0;
}

/* --- New-reviewer form (top of dashboard) --- */

.stats__new[b-j2ubrar7fv] {
    background: #f7f9fb;
    border: 1px solid #d8e2ea;
    border-radius: 6px;
    padding: 1rem 1.2rem 1.2rem;
    margin-bottom: 1.75rem;
}

.stats__section-title[b-j2ubrar7fv] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.8rem;
    color: #2a3f4d;
}

.stats__new-row[b-j2ubrar7fv] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.8rem;
}

.stats__field[b-j2ubrar7fv] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 14rem;
}

.stats__field-label[b-j2ubrar7fv] {
    font-size: 0.82rem;
    color: #5a6b78;
}

.stats__input[b-j2ubrar7fv] {
    padding: 0.45rem 0.6rem;
    border: 1px solid #c2cfd9;
    border-radius: 4px;
    font-size: 0.95rem;
    background: white;
}

.stats__input:focus[b-j2ubrar7fv] {
    outline: none;
    border-color: #5a93b8;
    box-shadow: 0 0 0 2px rgba(90, 147, 184, 0.25);
}

.stats__submit[b-j2ubrar7fv] {
    padding: 0.5rem 1.1rem;
    border: 1px solid #2f6d8f;
    background: #3a82a8;
    color: white;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.stats__submit:hover[b-j2ubrar7fv] {
    background: #2f6d8f;
}

.stats__validation[b-j2ubrar7fv] {
    display: block;
    margin-top: 0.5rem;
    color: #b1331f;
    font-size: 0.85rem;
}

.stats__created[b-j2ubrar7fv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    background: #e8f6e8;
    border: 1px solid #a4d2a4;
    border-radius: 4px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.9rem;
}

.stats__created-name[b-j2ubrar7fv] {
    font-weight: 600;
    color: #195919;
}

.stats__created-url[b-j2ubrar7fv] {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.85rem;
    color: #234;
    word-break: break-all;
    flex: 1 1 18rem;
}
