/* _content/InnerCorner/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ic6sca1g9t] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--ms-bg, var(--bg-page));
    color: var(--ms-text, var(--text-primary));
}

main[b-ic6sca1g9t] {
    flex: 1;
    background-color: var(--ms-bg, var(--bg-page));
    color: var(--ms-text, var(--text-primary));
}

.page[b-ic6sca1g9t]  .ic-topbar {
    background-color: var(--ms-surface, var(--bg-surface)) !important;
    color: var(--ms-text, var(--text-primary)) !important;
    border-color: var(--ms-border, var(--bg-surface-muted)) !important;
}

.sidebar[b-ic6sca1g9t] {
    background-color: var(--ms-surface, var(--bg-surface));
    color: var(--ms-text, var(--text-primary));
    background-image: none;
    border-right: 1px solid var(--ms-border, var(--bg-surface-muted));
}

.top-row[b-ic6sca1g9t] {
    background-color: var(--ms-surface, var(--bg-surface));
    color: var(--ms-text, var(--text-primary));
    border-bottom: 1px solid var(--ms-border, var(--bg-surface-muted));
    justify-content: space-between;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ic6sca1g9t]  a, .top-row[b-ic6sca1g9t]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-ic6sca1g9t]  a:hover, .top-row[b-ic6sca1g9t]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-ic6sca1g9t]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row[b-ic6sca1g9t] {
        justify-content: space-between;
    }

        .top-row[b-ic6sca1g9t]  a, .top-row[b-ic6sca1g9t]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-ic6sca1g9t] {
        flex-direction: row;
    }

    .sidebar[b-ic6sca1g9t] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ic6sca1g9t] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-ic6sca1g9t]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-ic6sca1g9t], article[b-ic6sca1g9t] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ic6sca1g9t] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ic6sca1g9t] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/InnerCorner/Components/Layout/NavMenu.razor.rz.scp.css */
.ic-topbar[b-sfv3m7qdon] {
    background-color: var(--ms-surface, var(--bg-surface)) !important;
    color: var(--ms-text, var(--text-primary)) !important;
    border-color: var(--ms-border, var(--bg-surface-muted)) !important;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .ic-topbar[b-sfv3m7qdon]  .nav-link {
        color: var(--ms-text, var(--text-primary));
        transition: background-color 0.15s ease, color 0.15s ease;
    }

        .ic-topbar[b-sfv3m7qdon]  .nav-link:hover {
            background-color: var(--ms-border, var(--bg-surface-muted));
            color: var(--ms-text, var(--text-primary));
        }

        .ic-topbar[b-sfv3m7qdon]  .nav-link.active {
            background-color: var(--ms-accent, var(--brand-primary)) !important;
            color: var(--ms-on-accent, var(--bg-page)) !important;
            font-weight: 600;
        }

.ic-menu-toggle[b-sfv3m7qdon] {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ms-bg, var(--bg-page));
    color: var(--ms-text, var(--text-primary));
    border: 1px solid var(--ms-border, var(--bg-surface-muted));
    border-radius: 8px;
}

    .ic-menu-toggle:hover[b-sfv3m7qdon] {
        background-color: var(--ms-border, var(--bg-surface-muted));
        color: var(--ms-text, var(--text-primary));
    }

.ic-topbar-grid[b-sfv3m7qdon] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

@media (min-width: 992px) {
    .ic-topbar-grid[b-sfv3m7qdon] {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
}

.ic-search-pill[b-sfv3m7qdon] {
    height: 40px;
    border-radius: 999px;
    min-width: 210px;
    max-width: 280px;
}

.ic-search-input[b-sfv3m7qdon] {
    border: 0;
    outline: none;
    background: transparent;
    color: var(--ms-text, var(--text-primary));
    font-size: 0.9rem;
    width: 100%;
}

.ic-center-tab[b-sfv3m7qdon] {
    position: relative;
    width: 68px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ms-text, var(--text-primary));
    opacity: 0.78;
    transition: background-color 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}

    .ic-center-tab:hover[b-sfv3m7qdon] {
        opacity: 1;
        background-color: var(--ms-bg, var(--bg-page));
        color: var(--ms-accent, #78C2AD);
    }

    .ic-center-tab.active[b-sfv3m7qdon] {
        opacity: 1;
        color: var(--ms-accent, #78C2AD);
    }

        .ic-center-tab.active[b-sfv3m7qdon]::before {
            content: "";
            position: absolute;
            bottom: -6px;
            left: 10px;
            right: 10px;
            height: 3px;
            border-radius: 999px;
            background-color: var(--ms-accent, #78C2AD);
        }

    .ic-center-tab[b-sfv3m7qdon]::after {
        content: attr(data-tooltip);
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%) translateY(-4px);
        padding: 5px 10px;
        border-radius: 8px;
        background-color: rgba(28, 32, 36, 0.92);
        color: #ffffff;
        font-size: 0.76rem;
        font-weight: 500;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
        transition: opacity 0.16s ease, transform 0.16s ease;
        z-index: 1070;
    }

    .ic-center-tab:hover[b-sfv3m7qdon]::after,
    .ic-center-tab:focus-visible[b-sfv3m7qdon]::after {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

.ic-circle-btn[b-sfv3m7qdon] {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ms-bg, var(--bg-page));
    color: var(--ms-text, var(--text-primary));
    border: 1px solid var(--ms-border, var(--bg-surface-muted));
}

    .ic-circle-btn:hover[b-sfv3m7qdon],
    .ic-circle-btn.active[b-sfv3m7qdon] {
        background-color: var(--ms-border, var(--bg-surface-muted));
        color: var(--ms-accent, #78C2AD);
    }

.ic-create-btn[b-sfv3m7qdon] {
    background-color: var(--ms-accent, #78C2AD);
    color: var(--ms-on-accent, #ffffff);
    border-color: var(--ms-accent, #78C2AD);
}

    .ic-create-btn:hover[b-sfv3m7qdon] {
        opacity: 0.92;
        color: var(--ms-on-accent, #ffffff);
        background-color: var(--ms-accent, #78C2AD);
    }

.ic-avatar-trigger[b-sfv3m7qdon] {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ic-avatar-img[b-sfv3m7qdon] {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
    border: 1.5px solid var(--ms-border, var(--bg-surface-muted));
}

.ic-avatar-fallback[b-sfv3m7qdon] {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ms-accent, #78C2AD);
    color: var(--ms-on-accent, #ffffff);
    font-weight: 700;
    font-size: 0.95rem;
}

.ic-avatar-caret[b-sfv3m7qdon] {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background-color: var(--ms-surface, #ffffff);
    color: var(--ms-text, #222222);
    border: 1px solid var(--ms-border, #dddddd);
    font-size: 0.62rem;
    line-height: 13px;
    text-align: center;
}

.ic-top-badge[b-sfv3m7qdon] {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background-color: #dc3545;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.ic-popover-menu[b-sfv3m7qdon] {
    position: absolute;
    top: calc(100% + 8px);
    z-index: 1060;
}

.ic-popover-item[b-sfv3m7qdon] {
    background: transparent;
    color: inherit;
}

    .ic-popover-item:hover[b-sfv3m7qdon],
    .ic-popover-item.active[b-sfv3m7qdon] {
        background-color: var(--ms-bg, var(--bg-page));
        font-weight: 600;
    }

.ic-mobile-bottom-bar[b-sfv3m7qdon] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--ms-border, var(--bg-surface-muted));
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.24s ease, transform 0.24s ease;
    will-change: opacity, transform;
}

    .ic-mobile-bottom-bar.ic-bottom-bar--hidden[b-sfv3m7qdon] {
        opacity: 0;
        transform: translateY(100%);
        pointer-events: none;
    }

.ic-bottom-item[b-sfv3m7qdon] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 46px;
    padding: 3px 2px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--ms-text, var(--text-primary));
    opacity: 0.78;
}

    .ic-bottom-item.active[b-sfv3m7qdon] {
        opacity: 1;
        color: var(--ms-accent, #78C2AD);
        font-weight: 600;
        background-color: rgba(120, 194, 173, 0.14);
    }

.ic-bottom-label[b-sfv3m7qdon] {
    font-size: 0.68rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.ic-bottom-badge[b-sfv3m7qdon] {
    position: absolute;
    top: -5px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background-color: #dc3545;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}
