@import '_content/DnD5eCompendium/DnD5eCompendium.t5h4nazrnk.bundle.scp.css';
@import '_content/Initiative/Initiative.05mozmc2bg.bundle.scp.css';
@import '_content/Notes/Notes.765dwto5l7.bundle.scp.css';
@import '_content/PDFViewer/PDFViewer.gxxx700qnx.bundle.scp.css';
@import '_content/PluginA/PluginA.4ae4ao8yk0.bundle.scp.css';
@import '_content/PluginB/PluginB.8vw67h75xo.bundle.scp.css';
@import '_content/SerialPlugin/SerialPlugin.h2xklot185.bundle.scp.css';
@import '_content/SFXPlugin/SFXPlugin.5jok2n9mix.bundle.scp.css';
@import '_content/Shared.Razor/Shared.Razor.v82fe38qu9.bundle.scp.css';
@import '_content/VTTMap/VTTMap.hzm3pkq6p0.bundle.scp.css';

/* /Components/App.razor.rz.scp.css */
body[b-6dpyxzrha7] {
    background-color: #1e1e1e;
}
/* /Components/CampaignSelector.razor.rz.scp.css */
/* Container adjusted for the Sidebar flow */
.campaign-container[b-oe4vjoi7a9] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 1rem; /* Aligns with navbar-brand padding */
    width: 100%;
}

/* Dropdown styled to match the dark navbar theme */
.campaign-select[b-oe4vjoi7a9] {
    padding: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent dark */
    color: white;
    font-size: 0.9rem;
    flex-grow: 1; /* Lets it fill available space */
    outline: none;
}

.campaign-select option[b-oe4vjoi7a9] {
    background-color: #3a0647; /* Matches the bottom of your gradient */
    color: white;
}

/* The Plus button adjusted to look like a sidebar action */
.add-btn[b-oe4vjoi7a9] {
    width: 2rem;
    height: 2rem;
    border-radius: 4px; /* Matches your nav-link border-radius */
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.add-btn:hover[b-oe4vjoi7a9] {
    background-color: rgba(255, 255, 255, 0.2);
}

.enter-btn[b-oe4vjoi7a9] {
    height: 2rem;
    padding: 0 1rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #007acc;
    color: white;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.enter-btn:hover:not(:disabled)[b-oe4vjoi7a9] {
    background-color: #005999;
}

.enter-btn:disabled[b-oe4vjoi7a9] {
    background-color: #555;
    color: #888;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
}
/* /Components/Layout/DMOnlyLayout.razor.rz.scp.css */
.page[b-635zbr82hx] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-635zbr82hx] {
    flex: 1;
}

.top-row[b-635zbr82hx] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-635zbr82hx]  a, .top-row[b-635zbr82hx]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-635zbr82hx]  a:hover, .top-row[b-635zbr82hx]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-635zbr82hx]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-635zbr82hx] {
        justify-content: space-between;
    }

    .top-row[b-635zbr82hx]  a, .top-row[b-635zbr82hx]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-635zbr82hx] {
        flex-direction: row;
    }

    .top-row[b-635zbr82hx] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-635zbr82hx]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

}

#blazor-error-ui[b-635zbr82hx] {
    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-635zbr82hx] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
.content-dark[b-635zbr82hx] {
    background-color: #1e1e1e;
}


.login-overlay[b-635zbr82hx] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(5, 8, 12, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: auto;
    touch-action: none;
    overscroll-behavior: contain;
}

.login-wall[b-635zbr82hx] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: min(30rem, 100%);
    gap: 1rem;
    background: linear-gradient(180deg, #1b1f24 0%, #12161b 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.login-wall h3[b-635zbr82hx] {
    color: #e0e0e0;
    margin: 0;
}

.login-copy[b-635zbr82hx] {
    margin: 0;
    color: #aab3bd;
    text-align: center;
}

.login-wall input[b-635zbr82hx] {
    padding: 0.8rem;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #3b4652;
    background: #20262d;
    color: white;
    text-align: center;
    font-size: 1.1rem;
}

.login-wall button[b-635zbr82hx] {
    padding: 0.8rem 2rem;
    width: 100%;
    background-color: #2b7cff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.login-wall button:hover[b-635zbr82hx] {
    background-color: #1d63d7;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-1sc8efw2gj] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-1sc8efw2gj] {
    flex: 1;
}

.top-row[b-1sc8efw2gj] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-1sc8efw2gj]  a, .top-row[b-1sc8efw2gj]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-1sc8efw2gj]  a:hover, .top-row[b-1sc8efw2gj]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-1sc8efw2gj]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-1sc8efw2gj] {
        justify-content: space-between;
    }

    .top-row[b-1sc8efw2gj]  a, .top-row[b-1sc8efw2gj]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-1sc8efw2gj] {
        flex-direction: row;
    }

    .top-row[b-1sc8efw2gj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-1sc8efw2gj]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

}

#blazor-error-ui[b-1sc8efw2gj] {
    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-1sc8efw2gj] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
.content-dark[b-1sc8efw2gj] {
    background-color: #1e1e1e;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar[b-l615lb8vh3] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.navbar-toggler[b-l615lb8vh3] {
    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-l615lb8vh3] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-l615lb8vh3] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-l615lb8vh3] {
    font-size: 1.1rem;
}

.bi[b-l615lb8vh3] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-l615lb8vh3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-l615lb8vh3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-l615lb8vh3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-book-fill-nav-menu[b-l615lb8vh3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-book' viewBox='0 0 16 16'%3E%3Cpath d='M1 2.828c.885-.37 2.154-.769 3.388-.893 1.33-.134 2.458.063 3.112.752v9.746c-.935-.53-2.12-.603-3.213-.493-1.18.12-2.37.461-3.287.811V2.828zm7.5-.141c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492V2.687zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783z'/%3E%3C/svg%3E");
}

.bi-map-fill-nav-menu[b-l615lb8vh3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-map' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M15.817.113A.5.5 0 0 1 16 .5v14a.5.5 0 0 1-.402.49l-5 1a.502.502 0 0 1-.196 0L5.5 15.01l-4.902.98A.5.5 0 0 1 0 15.5v-14a.5.5 0 0 1 .402-.49l5-1a.5.5 0 0 1 .196 0L10.5.99l4.902-.98a.5.5 0 0 1 .415.103zM10 1.91l-4-.8v12.98l4 .8V1.91zm1 12.98 4-.8V1.11l-4 .8v12.98zm-6-.8V1.11l-4 .8v12.98l4-.8z'/%3E%3C/svg%3E");
}

.bi-gear-fill-nav-menu[b-l615lb8vh3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-gear-fill' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z'/%3E%3C/svg%3E");
}

.bi-boot-nav-menu[b-l615lb8vh3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-winged-boot' viewBox='0 0 16 16'%3E%3Cpath d='M14 11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 11.5V10h2.5c.83 0 1.5-.67 1.5-1.5v-2h2.2l1.3 2H11v1h1.5a1.5 1.5 0 0 1 1.5 1.5z'/%3E%3Cpath d='M6.5 7.5C5 7.5 3 6 1.5 4 2.5 4 3.5 4.5 4 5 3 3.5 2 2 1 1 2.5 1.5 4 2.5 5 4 4.5 3 4.5 1.5 5 0.5 6 2 7 4.5 6.5 7.5Z'/%3E%3C/svg%3E");
}
.collapsed-btn .bi[b-l615lb8vh3] {
    margin-right: 0 !important;
}
.movement-btn.collapsed-btn[b-l615lb8vh3] {
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
}

.movement-btn[b-l615lb8vh3] {
    width: 100%;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    text-align: center;
    
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.movement-btn:active[b-l615lb8vh3] {
    transform: scale(0.96);
}

.movement-locked[b-l615lb8vh3] {
    background-color: rgba(220, 53, 69, 0.9);
}

.movement-locked:hover[b-l615lb8vh3] {
    background-color: rgba(220, 53, 69, 1);
}

.movement-unlocked[b-l615lb8vh3] {
    background-color: rgba(25, 135, 84, 0.9);
}

.movement-unlocked:hover[b-l615lb8vh3] {
    background-color: rgba(25, 135, 84, 1);
}

.nav-item[b-l615lb8vh3] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-l615lb8vh3] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-l615lb8vh3] {
        padding-bottom: 1rem;
    }

    .nav-item[b-l615lb8vh3]  .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-l615lb8vh3]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-l615lb8vh3]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-l615lb8vh3] {
    display: none;
}

.nav-scrollable.nav-collapsed .nav-text[b-l615lb8vh3] {
    display: none;
}

.nav-scrollable.nav-collapsed .nav-item[b-l615lb8vh3] {
    display: flex;
    justify-content: center;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.nav-scrollable.nav-collapsed .nav-item[b-l615lb8vh3]  .nav-link {
    justify-content: center;
    padding: 0;
}

.nav-scrollable.nav-collapsed .bi[b-l615lb8vh3] {
    margin-right: 0;
}

.navbar-toggler:checked ~ .nav-scrollable[b-l615lb8vh3] {
    display: block;
}

@media (min-width: 641px) {
    .sidebar[b-l615lb8vh3] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        transition: width 0.3s ease;
    }
    
    .sidebar.collapsed[b-l615lb8vh3] {
        width: 4rem;
        overflow: hidden;
    }

    .navbar-toggler[b-l615lb8vh3] {
        display: none;
    }

    .nav-scrollable[b-l615lb8vh3] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
.nav-container-flex[b-l615lb8vh3] { display: flex; align-items: center; justify-content: flex-start; padding-left: 0; }
.nav-toggler-custom[b-l615lb8vh3] { cursor: pointer; width: 1.5em; height: 1.5em; display: inline-block; margin-right: 10px; margin-left: 0px; }
.nav-hr[b-l615lb8vh3] { color: white; margin: 10px 15px; }
.nav-section-title[b-l615lb8vh3] { color: white; font-weight: bold; }
.nav-btn-plus[b-l615lb8vh3] { padding: 0 6px; }
.nav-active-bg[b-l615lb8vh3] { background-color: rgba(255,255,255,0.1); border-radius: 4px; }
.nav-btn-delete[b-l615lb8vh3] { margin-left: 5px; border: none; background: transparent; }
.nav-icon-large[b-l615lb8vh3] { font-size: 1.5rem; line-height: 1; }
.modal-overlay-bg[b-l615lb8vh3] { background-color: rgba(0,0,0,0.5); }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2837uzy392],
.components-reconnect-repeated-attempt-visible[b-2837uzy392],
.components-reconnect-failed-visible[b-2837uzy392],
.components-pause-visible[b-2837uzy392],
.components-resume-failed-visible[b-2837uzy392],
.components-rejoining-animation[b-2837uzy392] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-2837uzy392],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-2837uzy392],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-2837uzy392],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-2837uzy392],
#components-reconnect-modal.components-reconnect-retrying[b-2837uzy392],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-2837uzy392],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-2837uzy392],
#components-reconnect-modal.components-reconnect-failed[b-2837uzy392],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-2837uzy392] {
    display: block;
}


#components-reconnect-modal[b-2837uzy392] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-2837uzy392 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2837uzy392 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2837uzy392 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2837uzy392]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2837uzy392 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2837uzy392 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2837uzy392 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2837uzy392 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-2837uzy392] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-2837uzy392] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2837uzy392] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2837uzy392] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2837uzy392] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2837uzy392] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2837uzy392] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2837uzy392 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2837uzy392] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2837uzy392 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/MapsComponent.razor.rz.scp.css */
.maps-container[b-7fhupbfxlh] {
    display: flex;
    height: 100%;
    background: #1e1e1e;
    color: #d4d4d4;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
}

/* Sidebar Styles */
.maps-sidebar[b-7fhupbfxlh] {
    width: 250px;
    background: #252526;
    border-right: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.sidebar-header[b-7fhupbfxlh] {
    padding: 10px 15px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    color: #858585;
    border-bottom: 1px solid #333;
}

.tree-container[b-7fhupbfxlh] {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

ul.tree-root[b-7fhupbfxlh], ul.tree-children[b-7fhupbfxlh] {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

ul.tree-children[b-7fhupbfxlh] { padding-left: 15px; border-left: 1px dashed #444; margin-left: 7px; }

.tree-row[b-7fhupbfxlh] {
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 13px;
    border-radius: 3px;
}

.tree-row:hover[b-7fhupbfxlh] { background: #2a2d2e; }
.tree-row.selected[b-7fhupbfxlh] { background: #37373d; color: #fff; }

.expander[b-7fhupbfxlh] {
    width: 16px;
    text-align: center;
    font-size: 10px;
    color: #858585;
    cursor: pointer;
}
.icon[b-7fhupbfxlh] { margin: 0 5px; }

/* Main View Styles */
.maps-main[b-7fhupbfxlh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.map-toolbar[b-7fhupbfxlh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #2d2d2d;
    border-bottom: 1px solid #333;
    min-height: 45px;
}

.path-display[b-7fhupbfxlh] { font-size: 13px; color: #969696; }

.action-btn[b-7fhupbfxlh] {
    background: #333;
    color: white;
    border: 1px solid #555;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}
.action-btn:hover[b-7fhupbfxlh] { background: #444; }
.action-btn.active[b-7fhupbfxlh] { background: #007acc; border-color: #007acc; }

.map-wrapper[b-7fhupbfxlh] {
    flex: 1;
    position: relative;
    overflow: auto;
    background: #111;
    display: block; 
}

.image-coordinate-container[b-7fhupbfxlh] {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.map-image[b-7fhupbfxlh] {
    max-width: 100%;
    display: block;
    user-select: none;
    height: auto;
}

/* Markers */
.map-marker[b-7fhupbfxlh] {
    position: absolute;
    transform: translate(-50%, -50%); /* Centers the button on the exact coordinate */
    background: rgba(0, 122, 204, 0.85);
    color: white;
    border: 1px solid #005a9e;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    transition: transform 0.1s, background 0.1s;
}
.map-marker:hover[b-7fhupbfxlh] {
    background: rgba(0, 152, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 10;
}
.map-marker.pending[b-7fhupbfxlh] {
    background: #e51400;
    border-color: #a70000;
    animation: pulse 1s infinite;
}

/* Add Marker Dialog */
.marker-dialog[b-7fhupbfxlh] {
    position: absolute;
    background: #252526;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 15px;
    width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 20;
    transform: translate(-50%, 15px); /* Appears just below the pin */
}

.marker-dialog h4[b-7fhupbfxlh] { margin: 0 0 10px 0; font-size: 13px; color: #fff; border-bottom: 1px solid #444; padding-bottom: 5px; }

.marker-dialog input[b-7fhupbfxlh] {
    width: 100%;
    background: #1e1e1e;
    border: 1px solid #555;
    color: #fff;
    padding: 5px;
    margin-bottom: 10px;
    font-size: 12px;
    border-radius: 2px;
    box-sizing: border-box;
}

.file-input-group[b-7fhupbfxlh] {
    margin-bottom: 15px;
    font-size: 11px;
}

.file-input-group label[b-7fhupbfxlh] {
    display: block;
    margin-bottom: 5px;
    color: #969696;
}

.file-input-group input[b-7fhupbfxlh] {
    width: 100%;
    font-size: 11px;
    color: #fff;
}

.dialog-actions[b-7fhupbfxlh] { display: flex; justify-content: space-between; gap: 5px; }

.dialog-actions button[b-7fhupbfxlh] {
    flex: 1;
    padding: 5px;
    font-size: 12px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    color: white;
}

.save-btn[b-7fhupbfxlh] { background: #007acc; }
.save-btn:hover[b-7fhupbfxlh] { background: #0098ff; }
.save-btn:disabled[b-7fhupbfxlh] { background: #444; cursor: not-allowed; opacity: 0.5; }

.cancel-btn[b-7fhupbfxlh] { background: #555; }
.cancel-btn:hover[b-7fhupbfxlh] { background: #666; }

.status[b-7fhupbfxlh] {
    font-size: 10px;
    color: #4ec9b0;
    margin-top: 5px;
    text-align: center;
}

.empty-state[b-7fhupbfxlh] {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #777;
}

.upload-label[b-7fhupbfxlh] {
    background: #007acc;
    color: white;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    display: inline-block;
    margin-top: 10px;
}
.upload-label:hover[b-7fhupbfxlh] { background: #0098ff; }
.invisible-icon[b-7fhupbfxlh] {
    opacity: 0;
}
/* /Components/MdFolderEditor.razor.rz.scp.css */
.md-component-wrapper[b-jm6o188uj7] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #1e1e1e;
    color: #d4d4d4;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
}

/* Topbar & Dropdown */
.md-topbar[b-jm6o188uj7] {
    display: flex;
    align-items: center;
    background: #2d2d2d;
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    min-height: 45px;
    flex-wrap: wrap;
}

.toolbar-controls[b-jm6o188uj7] {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.single-file-toolbar[b-jm6o188uj7] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dropdown-group[b-jm6o188uj7] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-group label[b-jm6o188uj7] {
    font-size: 13px;
    color: #969696;
}

.file-dropdown[b-jm6o188uj7] {
    background: #3c3c3c;
    color: #fff;
    border: 1px solid #555;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 13px;
    min-width: 150px;
    outline: none;
}

.file-dropdown:focus[b-jm6o188uj7] {
    border-color: #007acc;
}

.add-btn[b-jm6o188uj7] {
    background: #007acc;
    color: white;
    border: none;
    border-radius: 3px;
    width: 26px;
    height: 26px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.add-btn:hover[b-jm6o188uj7] { background: #0098ff; }

/* Search Input */
.search-group[b-jm6o188uj7] {
    flex: 1;
    max-width: 300px;
}

.search-input[b-jm6o188uj7] {
    width: 100%;
    background: #1e1e1e;
    border: 1px solid #555;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px; /* Pill shape */
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus[b-jm6o188uj7] {
    border-color: #007acc;
}

.single-file-label[b-jm6o188uj7] {
    font-size: 13px;
    color: #ccc;
    font-weight: 500;
}

.include-btn[b-jm6o188uj7] {
    background: #333;
    color: white;
    border: 1px solid #555;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.include-btn:hover[b-jm6o188uj7] {
    background: #444;
    border-color: #4ec9b0;
}

/* New File Input Inline */
.new-file-inline[b-jm6o188uj7] {
    display: flex;
    align-items: center;
    margin-left: 15px;
    gap: 5px;
}

.new-file-inline input[b-jm6o188uj7] {
    background: #1e1e1e;
    border: 1px solid #007acc;
    color: #fff;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 3px;
    outline: none;
}

.icon-btn[b-jm6o188uj7] {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
}
.confirm[b-jm6o188uj7] { color: #4ec9b0; }
.cancel[b-jm6o188uj7] { color: #f48771; }

/* Editor Pane */
.md-editor-pane[b-jm6o188uj7] { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
}

.md-content-split[b-jm6o188uj7] {
    flex: 1;
    display: flex;
    gap: 16px;
    overflow: hidden;
}

.md-main-column[b-jm6o188uj7] {
    flex: 1 1 auto;
    min-width: 0;
    margin: 10px;
    overflow-y: auto;
}

.md-include-column[b-jm6o188uj7] {
    width: min(34vw, 420px);
    min-width: 280px;
    max-width: 420px;
    padding: 16px 16px 16px 0;
    overflow-y: auto;
    flex: 0 0 auto;
}

.included-preview-card[b-jm6o188uj7] {
    margin: 0;
    border: 1px solid #4ec9b0;
    border-radius: 6px;
    background: #1f2a2f;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(78, 201, 176, 0.08);
}

.included-preview-header[b-jm6o188uj7] {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(78, 201, 176, 0.35);
    background: rgba(78, 201, 176, 0.08);
}

.included-preview-label[b-jm6o188uj7] {
    color: #4ec9b0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.included-preview-name[b-jm6o188uj7] {
    color: #d4d4d4;
    font-size: 12px;
    opacity: 0.85;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.included-preview-body[b-jm6o188uj7] {
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #141414;
}

.included-preview-body img[b-jm6o188uj7] {
    max-width: 100%;
    max-height: calc(100vh - 220px);
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.md-body[b-jm6o188uj7] { 
    height: 100%;
    padding: 20px; 
    cursor: text;
}

.md-input[b-jm6o188uj7] {
    width: 100%;
    height: 100%;
    background: transparent;
    color: #d4d4d4;
    border: none;
    resize: none;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    outline: none;
}

.md-preview[b-jm6o188uj7] { font-size: 15px; line-height: 1.6; }
.md-preview img[b-jm6o188uj7] { max-width: 100%; border-radius: 4px; }

/* Obsidian-like Tag Styling */
[b-jm6o188uj7] .ob-tag {
    background-color: #2a3a45; /* subtle blue/grey background */
    color: #4ec9b0;            /* sharp teal text */
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

[b-jm6o188uj7] .ob-tag:hover {
    background-color: #3b505f;
}

.empty-state[b-jm6o188uj7] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #777;
}
.empty-file-hint[b-jm6o188uj7] {
    opacity: 0.5;
}
/* /Components/Pages/Config.razor.rz.scp.css */
.config-container[b-50xlikslc7] {
    display: flex; 
    flex-direction: column; 
    height: 100vh; 
    background: #1e1e1e; 
    font-family: 'Segoe UI', sans-serif; 
    color: #cccccc;
}

.config-header h1[b-50xlikslc7] {
    color: #ffffff;
    font-weight: 300;
    margin-bottom: 8px;
}

.plugin-list[b-50xlikslc7] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.plugin-card[b-50xlikslc7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #252526;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.plugin-info h3[b-50xlikslc7] {
    margin: 0 0 4px 0;
    color: #ffffff;
    font-size: 18px;
}

.plugin-info .namespace[b-50xlikslc7] {
    color: #888;
    font-size: 13px;
}

.toggle-btn[b-50xlikslc7] {
    padding: 8px 24px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.toggle-btn.enabled[b-50xlikslc7] {
    background-color: #007acc; /* VS Code Blue */
    color: white;
}
.toggle-btn.enabled:hover[b-50xlikslc7] {
    background-color: #0098ff;
}

.toggle-btn.disabled[b-50xlikslc7] {
    background-color: #333333;
    color: #888888;
}
.toggle-btn.disabled:hover[b-50xlikslc7] {
    background-color: #444444;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Dark VS Code Style */
.app-container[b-hshgkav7qd] { 
    display: flex; flex-direction: column; height: 100vh; 
    background: #1e1e1e; font-family: 'Segoe UI', sans-serif; color: #cccccc;
}
.app-container.is-resizing[b-hshgkav7qd] { user-select: none; cursor: col-resize; }
.app-container.is-resizing-vertical[b-hshgkav7qd] { user-select: none; cursor: row-resize; }

.main-body[b-hshgkav7qd] { display: grid; flex: 1; overflow: hidden; }

.column-wrapper[b-hshgkav7qd] {
    display: flex; flex-direction: column; background: #1e1e1e; 
    overflow: hidden; min-width: 0;
    /* Removed "gap: 4px" so the vertical resizers take care of the spacing */
}

.column-wrapper.has-content[b-hshgkav7qd] {
    min-width: 0;
}

.pane-group[b-hshgkav7qd] {
    display: flex; flex-direction: column; 
    min-height: 0; background: #1e1e1e;
    transition: background 0.2s;
    min-width: 0; width: 100%;
}

.pane-group.has-content[b-hshgkav7qd] {
    min-height: 100px;
}

.pane-group.drag-active[b-hshgkav7qd] { background: #2a2d33; }

/* --- TABS --- */
.tab-header[b-hshgkav7qd] {
    display: flex; 
    flex-wrap: wrap;
    background: #252526; 
    min-height: 35px;
}
.tab-header[b-hshgkav7qd]::-webkit-scrollbar { display: none; }

.tab-item[b-hshgkav7qd] {
    padding: 8px 16px; cursor: pointer; background: #2d2d2d; color: #969696;
    border-right: 1px solid #1e1e1e; border-top: 1px solid transparent;
    user-select: none; white-space: nowrap; font-size: 13px; display: flex; align-items: center;
    flex-shrink: 0;
}
.tab-item:hover[b-hshgkav7qd] { background: #2b2d30; }
.tab-item.active[b-hshgkav7qd] { background: #1e1e1e; color: #ffffff; border-top: 1px solid #007acc; }
.tab-item:active[b-hshgkav7qd] { cursor: grabbing; }

.content[b-hshgkav7qd] { flex: 1; padding: 16px; overflow-y: auto; background: #1e1e1e; }

/* --- SPLIT DROP ZONE --- */
.split-zone[b-hshgkav7qd] {
    height: 0; opacity: 0; display: flex; align-items: center; justify-content: center;
    border: 2px dashed transparent; color: transparent; transition: all 0.2s ease;
    overflow: hidden; font-size: 13px;
}
.app-container.is-dragging .split-zone[b-hshgkav7qd] { height: 40px; opacity: 1; margin: 4px; border-color: #444; color: #888; }
.app-container.is-dragging .split-zone.active[b-hshgkav7qd] { border-color: #007acc; background: rgba(0, 122, 204, 0.1); color: #007acc; }

/* --- HORIZONTAL RESIZERS --- */
.resizer[b-hshgkav7qd] { display: flex; justify-content: center; align-items: center; cursor: col-resize; width: 100%; background: #1e1e1e; }
.resizer-line[b-hshgkav7qd] { width: 1px; height: 100%; background: #333; transition: background 0.2s; }
.resizer:hover .resizer-line[b-hshgkav7qd], .resizer.active .resizer-line[b-hshgkav7qd] { background: #007acc; width: 2px; }

/* --- VERTICAL RESIZERS --- */
.vertical-resizer[b-hshgkav7qd] { 
    display: flex; justify-content: center; align-items: center; cursor: row-resize; 
    height: 8px; width: 100%; background: #1e1e1e; z-index: 10;
}
.vertical-resizer-line[b-hshgkav7qd] { height: 1px; width: 100%; background: #333; transition: background 0.2s; }
.vertical-resizer:hover .vertical-resizer-line[b-hshgkav7qd], .vertical-resizer:active .vertical-resizer-line[b-hshgkav7qd] { background: #007acc; height: 2px; }

/* --- CAMPAIGN ENTRY SCREEN --- */
.campaign-entry-screen[b-hshgkav7qd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #1e1e1e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.campaign-entry-card[b-hshgkav7qd] {
    background-color: #252526;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.campaign-entry-card h2[b-hshgkav7qd] {
    color: #ffffff;
    margin: 0 0 1rem 0;
    font-size: 24px;
    font-weight: 300;
}
/* /Components/Pages/Map.razor.rz.scp.css */
/* Clean, Single-Pane VS Code Aesthetic */
.app-container[b-uo2e7fqrx2] { 
    display: flex; 
    flex-direction: column; 
    height: 100vh; 
    background: #1e1e1e; 
    font-family: 'Segoe UI', sans-serif; 
    color: #cccccc;
}

.tab-header[b-uo2e7fqrx2] {
    display: flex; 
    background: #252526; 
    border-bottom: 1px solid #333;
    padding-left: 10px;
}

.tab-item[b-uo2e7fqrx2] {
    padding: 10px 20px; 
    cursor: pointer; 
    background: #2d2d2d; 
    color: #969696;
    border-right: 1px solid #1e1e1e; 
    user-select: none; 
    font-size: 13px; 
    transition: all 0.2s;
}

.tab-item:hover[b-uo2e7fqrx2] { 
    background: #323233; 
    color: #ffffff;
}

.tab-item.active[b-uo2e7fqrx2] { 
    background: #1e1e1e; 
    color: #ffffff; 
    box-shadow: inset 0 -2px 0 #007acc; 
}

.content[b-uo2e7fqrx2] { 
    flex: 1; 
    overflow-y: auto; 
    background: #1e1e1e; 
    padding: 0;
}
/* /Components/Pages/MapGenerator.razor.rz.scp.css */
/* Base Layout */
.map-layout[b-brm0ppxvws] { display: flex; flex-direction: column; height: 100vh; background: #1e1e1e; color: #d4d4d4; font-family: 'Segoe UI', sans-serif; }
.top-bar[b-brm0ppxvws] { display: flex; justify-content: space-between; padding: 10px 20px; background: #252526; border-bottom: 1px solid #333; }

/* Buttons */
.mode-selector button[b-brm0ppxvws], .config-btn[b-brm0ppxvws], .add-btn[b-brm0ppxvws], .generate-btn[b-brm0ppxvws], .save-btn[b-brm0ppxvws] {
    background: #333; color: white; border: 1px solid #555; padding: 8px 16px; margin-right: 5px; border-radius: 4px; cursor: pointer; transition: background 0.2s;
}
.mode-selector button.active[b-brm0ppxvws] { background: #007acc; border-color: #007acc; }
.mode-selector button:hover[b-brm0ppxvws], .config-btn:hover[b-brm0ppxvws], .add-btn:hover[b-brm0ppxvws] { background: #444; }
.mode-selector button.active:hover[b-brm0ppxvws] { background: #0098ff; }
.generate-btn[b-brm0ppxvws] { background: #007acc; border-color: #007acc; width: 100%; padding: 12px; font-weight: bold; margin-bottom: 15px; }
.generate-btn:hover:not(:disabled)[b-brm0ppxvws] { background: #0098ff; }
.generate-btn:disabled[b-brm0ppxvws] { background: #555; cursor: not-allowed; opacity: 0.7; }

/* Main Areas */
.main-content[b-brm0ppxvws] { display: flex; flex: 1; overflow: hidden; }
.canvas-panel[b-brm0ppxvws] { flex: 2; display: flex; flex-direction: column; border-right: 1px solid #333; position: relative; }
.canvas-toolbar[b-brm0ppxvws] { padding: 10px; background: #2d2d2d; border-bottom: 1px solid #333; display: flex; align-items: center; gap: 15px; }
.toolbar-hint[b-brm0ppxvws] { font-size: 13px; color: #999; font-style: italic; }
.canvas-area[b-brm0ppxvws] { flex: 1; position: relative; background: #1a1a1a; overflow: hidden; background-image: radial-gradient(#333 1px, transparent 1px); background-size: 20px 20px; }

/* Map Nodes & SVG Connections */
.connection-layer[b-brm0ppxvws] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.map-node[b-brm0ppxvws] { position: absolute; width: 120px; background: #252526; border: 2px solid #555; border-radius: 6px; padding: 8px; cursor: grab; box-shadow: 0 4px 6px rgba(0,0,0,0.3); z-index: 1; user-select: none; }
.map-node:active[b-brm0ppxvws] { cursor: grabbing; }
.map-node.selected[b-brm0ppxvws] { border-color: #4ec9b0; box-shadow: 0 0 10px rgba(78, 201, 176, 0.5); }
.node-header[b-brm0ppxvws] { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; font-size: 12px; color: #9cdcfe; }
.del-btn[b-brm0ppxvws] { background: transparent; border: none; color: #f48771; cursor: pointer; font-size: 12px; }
.node-input[b-brm0ppxvws] { width: 100%; background: #1e1e1e; border: 1px solid #444; color: white; padding: 4px; font-size: 12px; border-radius: 3px; box-sizing: border-box; }

/* Right Panel Output Area */
.prompt-panel[b-brm0ppxvws] { flex: 1; padding: 20px; display: flex; flex-direction: column; background: #252526; overflow-y: auto; }
.prompt-textarea[b-brm0ppxvws] { min-height: 150px; background: #1e1e1e; color: #d4d4d4; border: 1px solid #444; border-radius: 4px; padding: 10px; resize: vertical; margin-bottom: 15px; font-family: inherit; font-size: 14px; line-height: 1.5; }
.output-area[b-brm0ppxvws] { flex: 1; background: #1e1e1e; border: 1px solid #444; border-radius: 4px; padding: 10px; overflow-y: auto; }
.output-area h4[b-brm0ppxvws] { margin: 0 0 10px 0; color: #4ec9b0; font-size: 14px; }
.output-area pre[b-brm0ppxvws] { margin: 0; font-family: 'Consolas', monospace; font-size: 13px; white-space: pre-wrap; color: #ccc; }

/* Config Modal */
.modal-overlay[b-brm0ppxvws] { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 1000; }
.modal-content[b-brm0ppxvws] { background: #252526; padding: 25px; border-radius: 8px; width: 500px; border: 1px solid #444; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.modal-content h3[b-brm0ppxvws] { margin-top: 0; margin-bottom: 15px; }

.config-tabs[b-brm0ppxvws] { display: flex; gap: 5px; margin-bottom: 15px; border-bottom: 1px solid #444; padding-bottom: 10px; }
.config-tabs button[b-brm0ppxvws] { background: transparent; border: none; color: #999; cursor: pointer; padding: 5px 10px; font-size: 14px; }
.config-tabs button.active[b-brm0ppxvws] { color: white; border-bottom: 2px solid #007acc; font-weight: bold; }

.config-body label[b-brm0ppxvws] { display: block; margin: 15px 0 5px 0; font-size: 13px; color: #9cdcfe; }
.config-body textarea[b-brm0ppxvws] { width: 100%; height: 80px; background: #1e1e1e; color: white; border: 1px solid #444; border-radius: 4px; padding: 8px; box-sizing: border-box; resize: vertical; }
.config-body input[b-brm0ppxvws], .config-body select[b-brm0ppxvws] { width: 100%; background: #1e1e1e; color: white; border: 1px solid #444; border-radius: 4px; padding: 8px; box-sizing: border-box; }

.modal-actions[b-brm0ppxvws] { margin-top: 25px; text-align: right; }
.save-btn[b-brm0ppxvws] { background: #4ec9b0; color: #1e1e1e; font-weight: bold; border: none; }
.save-btn:hover[b-brm0ppxvws] { background: #5ce6ca; }
/* /Components/Pages/PlayerView.razor.rz.scp.css */
/* ==========================================================================
   Base Layout Overrides & Core Variables
   ========================================================================== */
:deep(body)[b-z64daiw14q] {
    background: #1e1e1e;
    color: #d4d4d4;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Master Player Wrapper */
.player-container[b-z64daiw14q] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #1e1e1e;
    box-sizing: border-box;
}

.character-image[b-z64daiw14q] {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid #555;
}

/* Fallback/Waiting States styling */
.player-container > p[b-z64daiw14q] {
    margin: auto;
    font-size: 1.2rem;
    color: #858585;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* ==========================================================================
   Character Selection State
   ========================================================================== */
.player-container > h2[b-z64daiw14q] {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.character-list[b-z64daiw14q] {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0 auto padding 40px;
    padding: 20px;
    background: #252526;
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.character-card[b-z64daiw14q]
{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Buttons (Inherited & Adapted Styles)
   ========================================================================== */
.btn[b-z64daiw14q] {
    background: #333;
    color: #ffffff;
    border: 1px solid #555;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn:hover[b-z64daiw14q] {
    background: #444;
}

.btn-primary[b-z64daiw14q] {
    background: #007acc;
    border-color: #007acc;
    font-weight: bold;
}

.btn-primary:hover[b-z64daiw14q] {
    background: #0098ff;
    border-color: #0098ff;
}

/* Utility space override matching Blazor structure */
.m-2[b-z64daiw14q] {
    margin: 0.5rem !important;
}

/* ==========================================================================
   Main Map VTT Area 
   ========================================================================== */
.vtt-container[b-z64daiw14q] {
    flex: 1;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 20px 20px;
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.viewport-overlay[b-z64daiw14q] {
    position: absolute;
    right: 12px;
    top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 4;
    pointer-events: none;
}

.viewport-controls[b-z64daiw14q] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid #4b4b4b;
    border-radius: 8px;
    padding: 6px 8px;
    pointer-events: auto;
}

.viewport-controls .btn[b-z64daiw14q] {
    line-height: 1;
}

.zoom-value[b-z64daiw14q] {
    min-width: 54px;
    text-align: center;
    font-weight: 600;
    color: #e5e5e5;
}

.viewport-hint[b-z64daiw14q] {
    align-self: flex-end;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    color: #c8c8c8;
    pointer-events: none;
}

/* Canvas View Shadowing & Clean Borders */
#vtt-svg-player[b-z64daiw14q] {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border: 1px solid #3c3c3c;
    max-height: 95vh;
    max-width: 100%;
    user-select: none; /* Prevents dragging browser elements while interacting with VTT tokens */
}

/* Dynamic styling for active dragging states */
#vtt-svg-player g[style*="cursor:grab;"]:active[b-z64daiw14q] {
    cursor: grabbing !important;
}

/* Text styles injected via markup string rules inside SVG */
#vtt-svg-player text[b-z64daiw14q] {
    font-family: 'Segoe UI', Arial, sans-serif;
    pointer-events: none; /* Stop user names from intercepting clicks meant for token circles */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.8);
}
/* /Components/Pages/VttView.razor.rz.scp.css */
/* Base Layout */
:deep(body)[b-kszv914ldx] {
    background: #1e1e1e;
    color: #d4d4d4;
    font-family: 'Segoe UI', sans-serif;
}

.vtt-toolbar[b-kszv914ldx] {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background: #252526;
    border-bottom: 1px solid #333;
}

/* Buttons */
.btn[b-kszv914ldx] {
    background: #333;
    color: white;
    border: 1px solid #555;
    padding: 8px 16px;
    margin-right: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn:hover[b-kszv914ldx] {
    background: #444;
}

.btn-primary[b-kszv914ldx] {
    background: #007acc;
    border-color: #007acc;
    font-weight: bold;
}

.btn-primary:hover[b-kszv914ldx] {
    background: #0098ff;
}

.btn-primary:disabled[b-kszv914ldx] {
    background: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Form inputs matching the style */
[b-kszv914ldx] input[type="file"] {
    color: #d4d4d4;
    font-size: 13px;
}

[b-kszv914ldx] input[type="file"]::file-selector-button {
    background: #333;
    color: white;
    border: 1px solid #555;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 10px;
}

[b-kszv914ldx] input[type="file"]::file-selector-button:hover {
    background: #444;
}

/* Main Areas */
.vtt-container[b-kszv914ldx] {
    flex: 1;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 20px 20px;
    height: calc(100vh - 60px); /* Adjust based on toolbar height */
    display: flex;
    justify-content: center;
    align-items: center;
}

svg[b-kszv914ldx] {
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border: 1px solid #333;
}
/* /Components/Pages/Write.razor.rz.scp.css */
/* Clean, Single-Pane VS Code Aesthetic */
.app-container[b-dka7yfd7nz] { 
    display: flex; 
    flex-direction: column; 
    height: 100vh; 
    background: #1e1e1e; 
    font-family: 'Segoe UI', sans-serif; 
    color: #cccccc;
}

.tab-header[b-dka7yfd7nz] {
    display: flex; 
    background: #252526; 
    border-bottom: 1px solid #333;
    padding-left: 10px;
}

.tab-item[b-dka7yfd7nz] {
    padding: 10px 20px; 
    cursor: pointer; 
    background: #2d2d2d; 
    color: #969696;
    border-right: 1px solid #1e1e1e; 
    user-select: none; 
    font-size: 13px; 
    transition: all 0.2s;
}

.tab-item:hover[b-dka7yfd7nz] { 
    background: #323233; 
    color: #ffffff;
}

.tab-item.active[b-dka7yfd7nz] { 
    background: #1e1e1e; 
    color: #ffffff; 
    box-shadow: inset 0 -2px 0 #007acc; 
}

.content[b-dka7yfd7nz] { 
    flex: 1; 
    padding: 20px; 
    overflow-y: auto; 
    background: #1e1e1e; 
}

.status-msg[b-dka7yfd7nz] {
    color: #777;
    font-style: italic;
}
