/* Every htmx fragment page: the shell (templates/htmxShell.html, View::htmxShell()),
   pliki/htmx-bridge.js and templates/twig/error.html.twig. A page's own fragment
   styles live in its stylesheet (pliki/team-stats.css). */

.htmx-fragment-loading { padding: 20px 0; }

/* The message box outside the swap target, written by the bridge */
.htmx-fragment-msg:empty { display: none; }
.htmx-fragment-msg {
    margin: 10px 50px;
    padding: 8px 12px;
    border: 1px solid #9F0000;
    background: #fff4f4;
    color: #9F0000;
    font-weight: bold;
    font-size: 11px;
}
.htmx-fragment-msg-text { display: inline; margin: 0 10px 0 0; }
.htmx-error { color: #9F0000; font-weight: bold; font-size: 12px; }

/* The role="status" region: read by screen readers, not shown */
.htmx-fragment-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
