/* ============================================================
   QR Code Generator - page-specific styles
   Shared tool styles live in dev-tools.css (status bar / editor /
   buttons / .qr-preview) and main.css (.geo-direct-answer base).
   This file only holds the blocks unique to this page:
   quick examples / inline code in the GEO block / capacity readout.

   The shared blocks below (quick examples / inline code) are kept
   identical to json-tool.css, base64-tool.css and calculators.css -
   when changing one, sync the others.
   ============================================================ */

/* ---- Quick examples (same style as the scenario buttons in json-tool.css) ---- */
.quick-scenarios {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: -4px 0 16px;
}

.quick-scenarios-label {
    margin-right: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.scenario-btn {
    padding: 7px 14px;
    border: 1.5px solid #1a73e8;
    border-radius: 999px;
    background: #fff;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.scenario-btn:hover,
.scenario-btn:focus-visible {
    background: #1a73e8;
    color: #fff;
    outline: none;
}

/* ---- Inline code in the direct-answer block / FAQ / SEO copy ---- */
.geo-direct-answer code,
.faq-list code,
.seo-content code {
    padding: 1px 5px;
    border-radius: 4px;
    background: #eef3fb;
    color: #0b4ea2;
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 0.92em;
    word-break: break-word;
}

/* Short snippets in the GEO block (WIFI:... and similar) never wrap mid-token */
.geo-direct-answer code {
    white-space: nowrap;
}

/* ---- Input row: label + capacity readout (used / limit) ---- */
.dev-tool-label-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 6px;
}

.dev-tool-label-row .dev-tool-label {
    margin-bottom: 0;
}

.qr-capacity {
    font-size: 12px;
    font-weight: 600;
    color: #5f6368;
    font-variant-numeric: tabular-nums;
}

/* Turns warning-coloured once the content exceeds the level-M limit */
.qr-capacity[data-state="warn"] {
    color: #b3261e;
}

.qr-capacity:empty {
    display: none;
}

@media (max-width: 600px) {
    .scenario-btn {
        padding: 6px 11px;
        font-size: 12px;
    }
}
