/* /Layout/MainLayout.razor.rz.scp.css */
.layout[b-hi1bcojd1b] {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    height: 100vh; /* fallback pro starší prohlížeče */
    height: 100dvh;
}

.app-header[b-hi1bcojd1b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    background-color: #1a1a2e;
    color: #fff;
    flex-shrink: 0;
    z-index: 1000;
}

.app-title[b-hi1bcojd1b] {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.btn-kill[b-hi1bcojd1b] {
    background-color: #c0392b;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: background-color 0.15s;
    min-height: 44px; /* dotyková plocha pro mobil */
}

.btn-kill:hover[b-hi1bcojd1b] {
    background-color: #e74c3c;
}

/* Výchozí obsah stránek — omezená šířka, scrolluje */
.app-content[b-hi1bcojd1b] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1.25rem 1rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Chat zabírá celou plochu bez omezení šířky */
.app-content:has(.chat-fullscreen)[b-hi1bcojd1b] {
    max-width: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
}
