/* _content/DungeonWorld/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-78krguirf7] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-78krguirf7] {
    flex: 1;
}

.sidebar[b-78krguirf7] {
    background-image: linear-gradient(180deg, rgb(90, 52, 35) 0%, #464036 70%);
    height: 100vh;
    overflow: hidden;
}

.top-row[b-78krguirf7] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-78krguirf7]  a, .top-row[b-78krguirf7]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-78krguirf7]  a:hover, .top-row[b-78krguirf7]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-78krguirf7]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-78krguirf7] {
        justify-content: space-between;
    }

    .top-row[b-78krguirf7]  a, .top-row[b-78krguirf7]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-78krguirf7] {
        flex-direction: row;
    }

    .sidebar[b-78krguirf7] {
        width: 250px;
        position: sticky;
        top: 0;
    }

    .top-row[b-78krguirf7] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-78krguirf7]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-78krguirf7], article[b-78krguirf7] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-78krguirf7] {
    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-78krguirf7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* _content/DungeonWorld/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-18a22mj77g] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-18a22mj77g] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-18a22mj77g] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-18a22mj77g] {
    font-size: 1.1rem;
}

.nav-item[b-18a22mj77g] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-18a22mj77g] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-18a22mj77g] {
        padding-bottom: 1rem;
    }

    .nav-item[b-18a22mj77g]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-18a22mj77g]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-18a22mj77g]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-18a22mj77g] {
    display: none;
    /* Fix: make nav menu scrollable and not overflow page */
    max-height: calc(100vh - 3.5rem);
    overflow-y: auto;
}

.navbar-toggler:checked ~ .nav-scrollable[b-18a22mj77g] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-18a22mj77g] {
        display: none;
    }

    .nav-scrollable[b-18a22mj77g] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        max-height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* FontAwesome icon alignment and spacing for nav */
.nav-link i[b-18a22mj77g] {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    display: inline-block;
    vertical-align: middle;
    min-width: 1.5em;
    text-align: center;
}

.nav-link[b-18a22mj77g] {
    display: flex;
    align-items: center;
    min-height: 2.5rem;
    gap: 0.5rem;
}

.nav-separator[b-18a22mj77g] {
    border: none;
    border-top: 1px solid #e0e0e0; /* Light gray */
    margin: 1.25rem 0;
    width: 100%;
}
/* _content/DungeonWorld/Components/Pages/TabNav.razor.rz.scp.css */

.tab-nav[b-f8niaxvph7] {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border-bottom: 3px solid #bfa76a;
    margin-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #bfa76a #222;
    background: #2d2922;
}

.tab-nav[b-f8niaxvph7]::-webkit-scrollbar {
    height: 6px;
    background: #2d2922;
}
.tab-nav[b-f8niaxvph7]::-webkit-scrollbar-thumb {
    background: #bfa76a;
    border-radius: 3px;
}

.tab-btn[b-f8niaxvph7] {
    flex: 0 0 auto;
    min-width: 100px;
    padding: 0.5rem 1rem;
    margin-right: 0.25rem;
    background: #2d2922;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1.1rem;
    color: #bfa76a;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    outline: none;
}

.tab-btn.active[b-f8niaxvph7] {
    background: #4a4231;
    color: #fff;
    border-bottom: 3px solid #fff;
    font-weight: bold;
}

@media (max-width: 600px) {
    .tab-btn[b-f8niaxvph7] {
        min-width: 80px;
        font-size: 0.95rem;
        padding: 0.5rem 0.5rem;
    }
}
