/* /Components/ChatPanel.razor.rz.scp.css */
.chat-badge[b-y9iliovxlq] {
    position: absolute;
    top: -2px;
    right: -4px;
    background: #4caf50;
    color: #fff;
    border-radius: 10px;
    font-size: 0.62rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    padding: 0 3px;
}

.chat-panel[b-y9iliovxlq] {
    position: fixed;
    left: var(--sidebar-width, 250px);
    top: 0;
    bottom: 0;
    width: 520px;
    max-width: calc(100vw - var(--sidebar-width, 250px));
    background: var(--card);
    color: var(--text);
    border-right: 1px solid var(--border);
    box-shadow: 4px 0 20px rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.chat-panel-header[b-y9iliovxlq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.chat-close[b-y9iliovxlq] {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    padding: 0;
}

.chat-close:hover[b-y9iliovxlq] { color: var(--text); }

.chat-panel-body[b-y9iliovxlq] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.chat-group-list[b-y9iliovxlq] {
    width: 190px;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.15);
}

.chat-group-item[b-y9iliovxlq] {
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    border-radius: 4px;
    margin: 0 0.3rem;
    position: relative;
    transition: background 0.1s;
}

.chat-group-item:hover[b-y9iliovxlq],
.chat-group-item.active[b-y9iliovxlq] {
    background: rgba(255,255,255,0.08);
}

.chat-group-name[b-y9iliovxlq] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 22px;
}

.chat-group-preview[b-y9iliovxlq] {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.chat-group-badge[b-y9iliovxlq] {
    position: absolute;
    top: 0.5rem;
    right: 0.6rem;
    background: #4caf50;
    color: #fff;
    border-radius: 10px;
    font-size: 0.62rem;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    padding: 0 3px;
    font-weight: 700;
}

.chat-new-btn[b-y9iliovxlq] {
    margin: 0.5rem;
    padding: 0.35rem 0.6rem;
    background: none;
    border: 1px dashed var(--border);
    border-radius: 4px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 0.78rem;
    transition: all 0.15s;
}

.chat-new-btn:hover[b-y9iliovxlq] {
    border-color: var(--nav1);
    color: var(--nav1);
}

.chat-messages-area[b-y9iliovxlq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-messages-list[b-y9iliovxlq] {
    flex: 1;
    overflow-y: auto;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-no-group[b-y9iliovxlq] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.chat-loading[b-y9iliovxlq] {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    padding: 0.5rem;
}

.chat-msg[b-y9iliovxlq] {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.chat-msg.mine[b-y9iliovxlq] {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-msg.theirs[b-y9iliovxlq] {
    align-self: flex-start;
    align-items: flex-start;
}

.chat-msg-sender[b-y9iliovxlq] {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2px;
}

.chat-msg-bubble[b-y9iliovxlq] {
    padding: 0.45rem 0.7rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    word-break: break-word;
}

.mine .chat-msg-bubble[b-y9iliovxlq] {
    background: var(--nav1);
    color: #fff;
    border-bottom-right-radius: 3px;
}

.theirs .chat-msg-bubble[b-y9iliovxlq] {
    background: rgba(255,255,255,0.1);
    color: var(--text);
    border-bottom-left-radius: 3px;
}

.chat-msg-time[b-y9iliovxlq] {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.chat-input-row[b-y9iliovxlq] {
    display: flex;
    gap: 0.4rem;
    padding: 0.7rem;
    border-top: 1px solid var(--border);
    background: var(--card);
}

.chat-input[b-y9iliovxlq] {
    flex: 1;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--input);
    color: var(--text);
    font-size: 0.85rem;
    outline: none;
}

.chat-input:focus[b-y9iliovxlq] {
    border-color: var(--nav1);
}

.chat-send-btn[b-y9iliovxlq] {
    padding: 0.45rem 0.8rem;
    background: var(--nav1);
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.15s;
}

.chat-send-btn:disabled[b-y9iliovxlq] { opacity: 0.4; cursor: default; }
.chat-send-btn:not(:disabled):hover[b-y9iliovxlq] { opacity: 0.85; }

.chat-backdrop[b-y9iliovxlq] {
    position: fixed;
    inset: 0;
    z-index: 1999;
    background: rgba(0,0,0,0.3);
}

.chat-msg-header[b-y9iliovxlq] {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.9rem;
}

.chat-msg-header-title[b-y9iliovxlq] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* New chat dialog */
.chat-new-dialog[b-y9iliovxlq] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.2rem;
    z-index: 3000;
    min-width: 280px;
    max-width: 360px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

.chat-new-dialog-header[b-y9iliovxlq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.chat-back-btn[b-y9iliovxlq] {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 1rem;
    padding: 0 0.4rem 0 0;
}

.chat-new-dialog-body[b-y9iliovxlq] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-new-option[b-y9iliovxlq] {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: border-color 0.15s;
}

.chat-new-option:hover[b-y9iliovxlq] {
    border-color: var(--nav1);
    background: rgba(255,255,255,0.04);
}

.chat-new-option-icon[b-y9iliovxlq] { font-size: 1.3rem; }
.chat-new-option-title[b-y9iliovxlq] { font-weight: 600; }

.chat-user-search[b-y9iliovxlq] {
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--input);
    color: var(--text);
    font-size: 0.85rem;
    outline: none;
    width: 100%;
}

.chat-user-search:focus[b-y9iliovxlq] { border-color: var(--nav1); }

.chat-group-name-input[b-y9iliovxlq] {
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--input);
    color: var(--text);
    font-size: 0.85rem;
    outline: none;
    width: 100%;
    font-weight: 600;
}

.chat-group-name-input:focus[b-y9iliovxlq] { border-color: var(--nav1); }

.chat-user-list[b-y9iliovxlq] {
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.chat-user-item[b-y9iliovxlq] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.7rem;
    cursor: pointer;
    transition: background 0.1s;
    font-size: 0.85rem;
}

.chat-user-item:hover[b-y9iliovxlq] { background: rgba(255,255,255,0.06); }
.chat-user-item.selected[b-y9iliovxlq] { background: rgba(123,158,135,0.15); }

.chat-user-avatar[b-y9iliovxlq] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--nav1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-user-name[b-y9iliovxlq] { font-weight: 500; }
.chat-user-check[b-y9iliovxlq] { width: 16px; text-align: center; color: var(--nav1); font-weight: 700; }

.chat-selected-chips[b-y9iliovxlq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.chat-user-chip[b-y9iliovxlq] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: rgba(123,158,135,0.2);
    border: 1px solid var(--nav1);
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.75rem;
    color: var(--text);
}

.chat-user-chip button[b-y9iliovxlq] {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1;
}

.chat-new-backdrop[b-y9iliovxlq] {
    position: fixed;
    inset: 0;
    z-index: 2999;
}
/* /Components/NotificationBell.razor.rz.scp.css */
.notif-badge[b-s9f1vshliq] {
    position: absolute;
    top: -2px;
    right: -4px;
    background: #e05555;
    color: #fff;
    border-radius: 10px;
    font-size: 0.62rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    padding: 0 3px;
}

.notif-panel[b-s9f1vshliq] {
    position: fixed;
    top: 0;
    left: var(--sidebar-width, 250px);
    width: 320px;
    max-height: 440px;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notif-panel-header[b-s9f1vshliq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    flex-shrink: 0;
}

.notif-header-actions[b-s9f1vshliq] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.notif-mark-all[b-s9f1vshliq] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.78rem;
    color: var(--nav1);
    padding: 0;
}

.notif-dismiss-all[b-s9f1vshliq] {
    color: rgba(255,255,255,0.4);
}

.notif-dismiss-all:hover[b-s9f1vshliq] { color: #e05555; }

.notif-panel-body[b-s9f1vshliq] {
    overflow-y: auto;
    flex: 1;
}

.notif-empty[b-s9f1vshliq] {
    padding: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.notif-item[b-s9f1vshliq] {
    padding: 0.7rem 2rem 0.7rem 1rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.1s;
    position: relative;
}

.notif-item:hover[b-s9f1vshliq] { background: rgba(255,255,255,0.05); }
.notif-item:last-child[b-s9f1vshliq] { border-bottom: none; }

.notif-unread[b-s9f1vshliq] {
    border-left: 3px solid var(--nav1);
    padding-left: calc(1rem - 3px);
}

.notif-title[b-s9f1vshliq] {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
}

.notif-body[b-s9f1vshliq] {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
    line-height: 1.3;
}

.notif-time[b-s9f1vshliq] {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    margin-top: 3px;
}

.notif-dismiss[b-s9f1vshliq] {
    position: absolute;
    top: 6px;
    right: 6px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.35);
    font-size: 1rem;
    padding: 0 4px;
    line-height: 1;
    cursor: pointer;
}

.notif-dismiss:hover[b-s9f1vshliq] { color: #e05555; }

.notif-backdrop[b-s9f1vshliq] {
    position: fixed;
    inset: 0;
    z-index: 1999;
}

.notif-type-badge[b-s9f1vshliq] {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    margin-bottom: 3px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.notif-type-zugewiesen[b-s9f1vshliq]  { background: rgba(77,157,224,0.15);  color: #4d9de0; border: 1px solid #4d9de0; }
.notif-type-modifiziert[b-s9f1vshliq] { background: rgba(160,160,160,0.1);  color: #aaa;    border: 1px solid #666;   }
.notif-type-erledigt[b-s9f1vshliq]    { background: rgba(64,191,128,0.15);  color: #40bf80; border: 1px solid #40bf80; }
/* /Layout/NavMenu.razor.rz.scp.css */
.top-row[b-tku6jt0cmt] {
    background: linear-gradient(to bottom, var(--nav1, #7B9E87), var(--nav2, #4A7C59));
    color: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 12px;
    gap: 10px;
}

.nav-toolbar[b-tku6jt0cmt] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-tool-btn[b-tku6jt0cmt] {
    background: none;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.25s ease;
    position: relative;
    color: #fff;
    flex-shrink: 0;
    font-size: 1rem;
}

.nav-tool-btn:hover[b-tku6jt0cmt] {
    background-color: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
    transform: scale(1.08);
}

.notif-badge[b-tku6jt0cmt],
.chat-badge[b-tku6jt0cmt] {
    position: absolute;
    top: -4px;
    right: -4px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    padding: 0 3px;
    color: #fff;
    pointer-events: none;
}

.notif-badge[b-tku6jt0cmt] { background: #e05555; }
.chat-badge[b-tku6jt0cmt]  { background: #4caf50; }

.nav-notif-count[b-tku6jt0cmt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e05555;
    color: #fff;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0 6px;
    min-width: 18px;
    height: 16px;
    margin-left: 0.4rem;
    line-height: 16px;
}

.nav-user-info[b-tku6jt0cmt] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    color: #fff;
    flex: 1;
    min-width: 0;
}

.nav-user-name[b-tku6jt0cmt] {
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.95;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.nav-user-role[b-tku6jt0cmt] {
    font-size: 0.7rem;
    opacity: 0.7;
}

.navbar-logo[b-tku6jt0cmt] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.navbar-column[b-tku6jt0cmt] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.navbar-footer[b-tku6jt0cmt] {
    flex-shrink: 0;
    padding: 0.5rem 0.75rem 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.nav-audit-btn[b-tku6jt0cmt] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: opacity 0.2s, background-color 0.15s;
}

.nav-audit-btn:hover[b-tku6jt0cmt] {
    color: #fff;
    background-color: rgba(255,255,255,0.07);
}

.nav-footer-brand[b-tku6jt0cmt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.1rem;
}

.navbar-logo-footer[b-tku6jt0cmt] {
    height: 24px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
    opacity: 0.7;
}

.nav-footer-version[b-tku6jt0cmt] {
    font-size: 0.72rem;
    opacity: 0.4;
    color: #fff;
    white-space: nowrap;
}

.nav-divider[b-tku6jt0cmt] {
    border-color: rgba(255,255,255,0.12);
    margin: 0.25rem 0.75rem;
}
