/* /Components/Layout/NavMenu.razor.rz.scp.css */
.kast-sub-nav[b-t5qtghm0yl]  .mud-nav-link {
    padding-left: 32px !important;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
#components-reconnect-modal[b-77s33dfirb] {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1400;
    overflow: hidden;
    background-color: transparent;
    border: none;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
}

    #components-reconnect-modal[b-77s33dfirb]::backdrop {
        background: rgba(10, 16, 28, 0.5);
    }

    #components-reconnect-modal.components-reconnect-show[b-77s33dfirb],
    #components-reconnect-modal[open][b-77s33dfirb],
    #components-reconnect-modal.components-reconnect-failed[b-77s33dfirb],
    #components-reconnect-modal.components-reconnect-repeated-attempt[b-77s33dfirb],
    #components-reconnect-modal.components-reconnect-paused[b-77s33dfirb],
    #components-reconnect-modal.components-reconnect-resume-failed[b-77s33dfirb],
    #components-reconnect-modal.components-pause[b-77s33dfirb],
    #components-reconnect-modal.components-resume-failed[b-77s33dfirb] {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.components-reconnect-backdrop[b-77s33dfirb] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(90% 60% at 80% 0%, color-mix(in srgb, var(--mud-palette-primary, #594AE2) 12%, transparent), transparent 60%), radial-gradient(80% 55% at 0% 100%, color-mix(in srgb, var(--mud-palette-info, #2196f3) 16%, transparent), transparent 62%), rgba(8, 12, 20, 0.5);
}

.components-reconnect-surface[b-77s33dfirb] {
    width: min(480px, 100%);
    border-radius: var(--mud-default-borderradius, 12px);
    border: 1px solid color-mix(in srgb, var(--mud-palette-lines-default, #e0e0e0) 70%, transparent);
    background: var(--mud-palette-surface, #fff);
    box-shadow: var(--mud-elevation-24, 0 16px 30px rgba(0, 0, 0, 0.28));
    color: var(--mud-palette-text-primary, #1f2937);
    padding: 20px 20px 18px;
}

.components-reconnect-header[b-77s33dfirb] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .components-reconnect-header h2[b-77s33dfirb] {
        margin: 0;
        font-size: 1.05rem;
        font-weight: 600;
        line-height: 1.3;
    }

.components-reconnect-status-dot[b-77s33dfirb] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--mud-palette-warning, #f59e0b);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--mud-palette-warning, #f59e0b) 25%, transparent);
}

.components-reconnect-supporting[b-77s33dfirb],
.components-reconnect-message[b-77s33dfirb] {
    margin: 0;
    line-height: 1.45;
    font-size: 0.95rem;
}

.components-reconnect-supporting[b-77s33dfirb] {
    color: var(--mud-palette-text-secondary, #52607a);
    margin-bottom: 14px;
}

.components-reconnect-message[b-77s33dfirb] {
    font-weight: 500;
}

.components-reconnect-danger[b-77s33dfirb] {
    color: var(--mud-palette-error, #b00020);
}

.components-reconnect-actions[b-77s33dfirb] {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.components-reconnect-first-attempt-visible[b-77s33dfirb],
.components-reconnect-repeated-attempt-visible[b-77s33dfirb],
.components-reconnect-failed-visible[b-77s33dfirb],
.components-pause-visible[b-77s33dfirb],
.components-resume-failed-visible[b-77s33dfirb] {
    display: none;
}

dialog[open].components-reconnect-show .components-reconnect-first-attempt-visible[b-77s33dfirb] {
    display: block;
}

dialog[open].components-reconnect-show .components-rejoin-loader[b-77s33dfirb] {
    display: inline-flex;
}

dialog[open].components-reconnect-failed .components-reconnect-failed-visible[b-77s33dfirb] {
    display: block;
}

dialog[open].components-reconnect-failed #components-reconnect-button[b-77s33dfirb] {
    display: block;
}

dialog[open].components-reconnect-repeated-attempt .components-reconnect-repeated-attempt-visible[b-77s33dfirb] {
    display: block;
}

dialog[open].components-reconnect-repeated-attempt .components-rejoin-loader[b-77s33dfirb] {
    display: inline-flex;
}

dialog[open].components-reconnect-paused .components-pause-visible[b-77s33dfirb],
dialog[open].components-pause .components-pause-visible[b-77s33dfirb] {
    display: block;
}

dialog[open].components-reconnect-paused #components-resume-button[b-77s33dfirb],
dialog[open].components-pause #components-resume-button[b-77s33dfirb],
dialog[open].components-reconnect-resume-failed #components-resume-button[b-77s33dfirb],
dialog[open].components-resume-failed #components-resume-button[b-77s33dfirb] {
    display: block;
}

dialog[open].components-reconnect-resume-failed .components-resume-failed-visible[b-77s33dfirb],
dialog[open].components-resume-failed .components-resume-failed-visible[b-77s33dfirb] {
    display: block;
}

.components-rejoin-loader[b-77s33dfirb] {
    display: none;
    margin-bottom: 10px;
    gap: 8px;
}

    .components-rejoin-loader div[b-77s33dfirb] {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background-color: var(--mud-palette-primary, #594AE2);
        animation: reconnect-pulse-b-77s33dfirb 1.2s infinite ease-in-out both;
    }

        .components-rejoin-loader div:nth-child(1)[b-77s33dfirb] {
            animation-delay: -0.24s;
        }

        .components-rejoin-loader div:nth-child(2)[b-77s33dfirb] {
            animation-delay: -0.12s;
        }

@keyframes reconnect-pulse-b-77s33dfirb {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

#components-reconnect-button[b-77s33dfirb],
#components-resume-button[b-77s33dfirb] {
    display: none;
    min-width: 92px;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background-color: var(--mud-palette-primary, #594AE2);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    transition: filter 140ms ease, transform 140ms ease;
}

    #components-reconnect-button:hover[b-77s33dfirb],
    #components-resume-button:hover[b-77s33dfirb] {
        filter: brightness(0.95);
    }

    #components-reconnect-button:active[b-77s33dfirb],
    #components-resume-button:active[b-77s33dfirb] {
        transform: translateY(1px);
    }

@media (max-width: 600px) {
    .components-reconnect-backdrop[b-77s33dfirb] {
        padding: 14px;
    }

    .components-reconnect-surface[b-77s33dfirb] {
        padding: 16px;
    }
}
/* /Components/Pages/Mods.razor.rz.scp.css */
/* ── Downloads fixed overlay panel ─────────────────────────────────────── */
/* Sits above the scrollable content, below the footer (z:1200) */
.dl-fixed-panel[b-hhk6nr4poh] {
    position: fixed;
    bottom: 28px;
    left: var(--mud-drawer-width-left, 0px);
    right: 0;
    z-index: 1100;
    padding: 0 16px;
}

/* Scrollable download rows inside the expansion panel body */
.dl-body[b-hhk6nr4poh] {
    max-height: 200px;
    overflow-y: auto;
    padding: 0 4px;
}

.dl-empty[b-hhk6nr4poh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.dl-row[b-hhk6nr4poh] {
    display: flex;
    gap: 10px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--mud-palette-divider);
    align-items: flex-start;
}

.dl-row:last-child[b-hhk6nr4poh] {
    border-bottom: none;
}

.dl-thumb[b-hhk6nr4poh] {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}

.dl-thumb-img[b-hhk6nr4poh] {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 5px;
}

.dl-thumb-placeholder[b-hhk6nr4poh] {
    width: 44px;
    height: 44px;
    border-radius: 5px;
    background: var(--mud-palette-background-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dl-info[b-hhk6nr4poh] {
    flex: 1;
    min-width: 0;
}

/* ── Mod description BBCode renderer ─────────────────────────────────── */
.mod-description[b-hhk6nr4poh] {
    font-size: .875rem;
    line-height: 1.6;
    word-break: break-word;
}

.mod-description .bb-h1[b-hhk6nr4poh] {
    display: block;
    font-size: 1.15em;
    font-weight: 700;
    margin: .6em 0 .2em;
}

.mod-description .bb-h2[b-hhk6nr4poh] {
    display: block;
    font-size: 1.05em;
    font-weight: 700;
    margin: .5em 0 .2em;
}

.mod-description .bb-h3[b-hhk6nr4poh] {
    display: block;
    font-size: .95em;
    font-weight: 600;
    margin: .4em 0 .15em;
}

.mod-description .bb-hr[b-hhk6nr4poh] {
    border: 0;
    border-top: 1px solid var(--mud-palette-divider);
    margin: .6em 0;
}

.mod-description .bb-img[b-hhk6nr4poh] {
    max-width: 100%;
    max-height: 260px;
    border-radius: 4px;
    display: block;
    margin: .4em 0;
}

.mod-description .bb-list[b-hhk6nr4poh] {
    margin: .3em 0;
    padding-left: 1.4em;
}

.mod-description .bb-list li[b-hhk6nr4poh] {
    margin-bottom: .1em;
}

.mod-description .bb-quote[b-hhk6nr4poh] {
    border-left: 3px solid var(--mud-palette-divider);
    padding: .3em .75em;
    margin: .5em 0;
    opacity: .85;
    border-radius: 0 4px 4px 0;
}

.mod-description .bb-code[b-hhk6nr4poh] {
    display: block;
    background: rgba(0, 0, 0, .25);
    padding: .5em .75em;
    border-radius: 4px;
    overflow-x: auto;
    font-family: monospace;
    font-size: .85em;
    white-space: pre;
    margin: .4em 0;
}

.mod-description .bb-table[b-hhk6nr4poh] {
    border-collapse: collapse;
    margin: .5em 0;
    font-size: .875em;
}

.mod-description .bb-table th[b-hhk6nr4poh],
.mod-description .bb-table td[b-hhk6nr4poh] {
    border: 1px solid var(--mud-palette-divider);
    padding: .2em .5em;
}

.mod-description .bb-table th[b-hhk6nr4poh] {
    background: rgba(128, 128, 128, .12);
    font-weight: 600;
}

.mod-description a[b-hhk6nr4poh] {
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.mod-description a:hover[b-hhk6nr4poh] {
    text-decoration: underline;
}
/* /Components/Pages/ServerEdit.razor.rz.scp.css */
/* ── MudStepper nav bar spacing — compact ── */
.kast-stepper-nav[b-sre3ztraic] {
    padding: 6px 6px 2px;
}

/* ── MudStepper step panel — compact ── */
.kast-stepper-step[b-sre3ztraic] {
    padding-top: 0 !important;
}

/* ── Install container — flex column ── */
.kast-install-container[b-sre3ztraic] {
    display: flex;
    flex-direction: column;
}

/* ── Install log — fixed viewport-relative height ── */
.kast-install-log[b-sre3ztraic] {
    height: calc(100vh - 480px);
    min-height: 150px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 12px;
    background: var(--mud-palette-background-grey);
    border-radius: 0 0 4px 4px;
}

/* ── Server console — resizable ── */
.kast-console[b-sre3ztraic] {
    height: calc(100vh - 400px);
    min-height: 160px;
    min-width: 300px;
    max-width: 100%;
    overflow: auto;
    resize: both;
    box-sizing: border-box;
}

/* ── Mod drag items — ensure the full MudBlazor wrapper is grabbable ── */
[b-sre3ztraic] .mud-drop-item {
    cursor: grab;
    margin-bottom: 2px;
}

[b-sre3ztraic] .mud-drop-item:active {
    cursor: grabbing;
}

/* ── Mod column container ── */
.mod-col[b-sre3ztraic] {
    flex: 1;
    min-width: 0;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

/* ── Drop zone fill ── */
[b-sre3ztraic] .mod-dropzone {
    min-height: 200px;
}

/* ── Individual mod row ── */
.mod-item[b-sre3ztraic] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 4px;
    user-select: none;
}

.mod-item:hover[b-sre3ztraic] {
    background: rgba(255, 255, 255, 0.04);
}

.mod-item-name[b-sre3ztraic] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    line-height: 1.4;
}
/* /Components/Pages/ServerEditTabs/InstallTab.razor.rz.scp.css */
/* ── MudStepper nav bar spacing — compact ── */
.kast-stepper-nav[b-xrplfusqgg] {
    padding: 6px 6px 2px;
}

/* ── MudStepper step panel — compact ── */
.kast-stepper-step[b-xrplfusqgg] {
    padding-top: 0 !important;
}

/* ── Install container — flex column ── */
.kast-install-container[b-xrplfusqgg] {
    display: flex;
    flex-direction: column;
}

/* ── Install log — fixed viewport-relative height ── */
.kast-install-log[b-xrplfusqgg] {
    height: calc(100vh - 480px);
    min-height: 150px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 12px;
    background: var(--mud-palette-background-grey);
    border-radius: 0 0 4px 4px;
}
/* /Components/Pages/ServerEditTabs/ModsTab.razor.rz.scp.css */
/* ── Mod drag items — ensure the full MudBlazor wrapper is grabbable ── */
[b-d4j6978t6k] .mud-drop-item {
    cursor: grab;
    margin-bottom: 2px;
}

[b-d4j6978t6k] .mud-drop-item:active {
    cursor: grabbing;
}

/* ── Mod column container ── */
.mod-col[b-d4j6978t6k] {
    flex: 1;
    min-width: 0;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

/* ── Drop zone fill ── */
[b-d4j6978t6k] .mod-dropzone {
    flex: 1;
    min-height: 300px;
}

/* ── Individual mod row ── */
.mod-item[b-d4j6978t6k] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 4px;
    user-select: none;
}

.mod-item:hover[b-d4j6978t6k] {
    background: rgba(255, 255, 255, 0.04);
}

.mod-item-name[b-d4j6978t6k] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    line-height: 1.4;
}
/* /Components/Pages/ServerEditTabs/MonitorTab.razor.rz.scp.css */
/* ── Server console — resizable ── */
.kast-console[b-uyx51fktoc] {
    height: calc(100vh - 400px);
    min-height: 160px;
    min-width: 300px;
    max-width: 100%;
    overflow: auto;
    resize: both;
    box-sizing: border-box;
}
