/* Doplňky k XSmith Admin (xsmith-admin.css) */

.app-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

#app > .app-loading {
    height: 100vh;
}

#blazor-error-ui {
    background: lightyellow;
    color: #000;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Řádek tabulky, který otevírá detail */
tr.clickable {
    cursor: pointer;
}

/* Celá karta jako odkaz (přehled) */
.stat-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.stat-card-link:hover .stat-card {
    border-color: var(--bs-primary-border-subtle, currentColor);
}

/* Sekce nastavení (Můj účet) – formulářová pole by se jinak roztáhla přes celou šířku obsahu */
.settings-section {
    max-width: 64rem;
}

/* Chybová stránka uvnitř layoutu (403) – ne přes celé okno jako samostatná 404 */
.app-content .error-page {
    min-height: auto;
    padding-block: 4rem;
}

.text-break-all {
    word-break: break-all;
}
