/* _content/DMB/Components/CharacterCreation.razor.rz.scp.css */
/* ---------- premium dark theme wrapper ---------- */
.char-editor[b-417zj6p6wt] {
    --panel: #1d2a39;
    --panel-2: #162332;
    --border: #2b3641;
    --text: #eef5ff;
    --muted: #9fb2c5;
    --accent: #6ea8fe;
    color: var(--text);
    height:100%;
}

    .char-editor .rz-card[b-417zj6p6wt] {
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(0,0,0,.28);
    }

    /* image area polish */
    .char-editor .image-uploader[b-417zj6p6wt] {
        border-radius: 12px;
        background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
        border: 1px solid var(--border);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    }

    .char-editor .top-center-name[b-417zj6p6wt] {
        background: rgba(13, 22, 33, .65);
        border: 1px solid rgba(110,168,254,.25);
        border-radius: 10px;
        box-shadow: 0 6px 16px rgba(0,0,0,.25);
    }

    .char-editor .image-uploader .overlay[b-417zj6p6wt] {
        background: rgba(0,0,0,.18);
        border: 1px dashed rgba(110,168,254,.45);
        border-radius: 12px;
        transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    }

        .char-editor .image-uploader .overlay:hover[b-417zj6p6wt] {
            background: rgba(110,168,254,.08);
            box-shadow: 0 0 0 2px rgba(110,168,254,.3), 0 8px 22px rgba(0,0,0,.35);
        }
.stat-chip[b-417zj6p6wt] {
    z-index: 5;
}
    /* ---------- floating stat chips (AC/HP/etc.) ---------- */
    .char-editor .stat-chip .rz-card[b-417zj6p6wt] {
        width: 84px;
        padding: 6px 6px 8px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        background: linear-gradient(180deg, #182634 0%, #111c28 100%);
        border: 1px solid #254055;
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(0,0,0,.28);
    }

    .char-editor .stat-chip-label[b-417zj6p6wt] {
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .4px;
        color: #cfe0f0;
        margin-bottom: 2px;
    }

    .char-editor .stat-chip .rz-numeric[b-417zj6p6wt],
    .char-editor .stat-chip input[b-417zj6p6wt] {
        width: 100%;
        min-height: 28px;
        text-align: center;
        background: #0e1722;
        border: 1px solid #29465e;
        color: var(--text);
        border-radius: 8px;
    }

    /* ---------- ability tiles (abbr + box) ---------- */
    .char-editor .ability-tile[b-417zj6p6wt] {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .char-editor .ability-tile > .rz-card:first-child[b-417zj6p6wt] {
            width: 84px;
            height: 30px;
            display: grid;
            place-items: center;
            font-weight: 800;
            letter-spacing: .6px;
            color: #0f1a24;
            background: linear-gradient(180deg, #e9f0ff 0%, #d7e6ff 100%);
            border: 1px solid #b9c9e4;
            border-radius: 10px 10px 0 0;
        }

        .char-editor .ability-tile > .rz-card:last-child[b-417zj6p6wt] {
            width: 84px;
            height: 84px;
            display: grid;
            place-items: center;
            background: #0f1a24;
            border: 1px solid #314a62;
            border-top: none;
            border-radius: 0 0 12px 12px;
        }

        .char-editor .ability-tile .rz-dropdown[b-417zj6p6wt],
        .char-editor .ability-tile .rz-numeric[b-417zj6p6wt] {
            width: 72px;
            background: #121f2b;
            border: 1px solid #39546c;
            color: var(--text);
            border-radius: 10px;
            text-align: center;
            font-weight: 800;
            font-size: 1.1rem;
        }

    /* ---------- tabs polish ---------- */
    .char-editor .rz-tabview-nav[b-417zj6p6wt] {
        background: #0f1822;
        border-bottom: 1px solid var(--border);
        border-radius: 10px 10px 0 0;
    }

    .char-editor .rz-tabview-selected a[b-417zj6p6wt] {
        color: var(--text);
        border-bottom: 2px solid var(--accent);
    }

    .char-editor .rz-tabview-panels[b-417zj6p6wt] {
        background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    }

        .char-editor .rz-tabview-panels > div[b-417zj6p6wt] {
            min-height: 0;
            overflow: auto;
        }

    /* inputs unified */
    .char-editor .rz-textarea[b-417zj6p6wt],
    .char-editor .rz-inputtext[b-417zj6p6wt],
    .char-editor .rz-dropdown[b-417zj6p6wt] {
        background: #101b27;
        border: 1px solid #2b3f54;
        color: var(--text);
        border-radius: 10px;
    }

        .char-editor .rz-inputtext[b-417zj6p6wt]::placeholder,
        .char-editor .rz-textarea[b-417zj6p6wt]::placeholder {
            color: #91a6ba;
        }

    /* bottom sticky actions */
    .char-editor .rz-card[style*="position:sticky"][b-417zj6p6wt] {
        background: #0e1720;
        border: 1px solid #233241;
        box-shadow: 0 -8px 20px rgba(0,0,0,.35);
    }

    .char-editor .rz-button.rz-button-secondary[b-417zj6p6wt] {
        background: #1b2836;
        border-color: #30465c;
        color: #d8e6f5;
    }

    .char-editor .rz-button:not(.rz-button-secondary)[b-417zj6p6wt] {
        background: #3a66a6;
        border-color: #3a66a6;
    }

    /* layout hygiene */
    .char-editor .rz-stack[b-417zj6p6wt], .char-editor .rz-card[b-417zj6p6wt], .char-editor .rz-fieldset[b-417zj6p6wt] {
        min-width: 0;
    }

.image-uploader[b-417zj6p6wt] {
    position: relative;
    width: 100%;
    height: 100%;
}

    .image-uploader .overlay[b-417zj6p6wt] {
        position: absolute;
        inset: 0; /* top:0; right:0; bottom:0; left:0 */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 2;
        color: #fff;
        background: rgba(0,0,0,0.20); /* see-through so image is visible */
        text-align: center;
        cursor: pointer;
        transition: background .2s ease;
    }

        .image-uploader .overlay:hover[b-417zj6p6wt] {
            border-color: var(--rz-primary);
            background-color: rgba(255,255,255,0.05);
            box-shadow: 0 0 10px var(--rz-primary);
        }

.top-center-name[b-417zj6p6wt] {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200; /* above the upload overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(29, 42, 57, 0.75); /* subtle translucent panel */
    backdrop-filter: blur(2px);
}
/* _content/DMB/Components/CharactersManager.razor.rz.scp.css */
.character-notes-wrapper[b-icx55nsy5j] {
    display: flex;
    flex-direction: column;

}

.top-bar[b-icx55nsy5j] {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.character-grid[b-icx55nsy5j] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}
.character-scroll-container[b-icx55nsy5j] {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
    gap: 1.2rem;
    max-height: 70vh; /* Adjust this to your layout */
    padding: 1rem;
}
.character-card[b-icx55nsy5j] {
    flex: 0 0 auto;
    width: 180px;
    background-color: #2a2a2a;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    color: white;
    transition: transform 0.2s ease;
    position: relative;
}
    .character-card:hover[b-icx55nsy5j] {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    }

    .character-card img[b-icx55nsy5j] {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }


.note-actions[b-icx55nsy5j] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.action-wrapper[b-icx55nsy5j] {
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 6px;
}

    .action-wrapper:hover[b-icx55nsy5j] {
        transform: scale(1.1);
        box-shadow: 0 0 6px #00e676;
        border: 1px solid #00e676;
    }



.char-name[b-icx55nsy5j] {
    font-weight: bold;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.char-role[b-icx55nsy5j] {
    font-size: 0.85rem;
    color: #ccc;
    margin-top: 0.25rem;
}
.char-class[b-icx55nsy5j] {
    font-size: 0.85rem;
    color: #9eeaf9;
    font-style: italic;
    margin-top: 0.25rem;
}
/* _content/DMB/Components/Notes/GeneralNotes.razor.rz.scp.css */
.journal-scrollable[b-eo5zfuihdp] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    min-height: 0; /* important for scroll constraint */
}

.journal-container[b-eo5zfuihdp] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.note-entry[b-eo5zfuihdp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
    margin: 1rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
    height:10rem;
}

    .note-entry:hover[b-eo5zfuihdp] {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    }

        .note-entry:hover .rz-button[b-eo5zfuihdp] {
            transition: border 0.2s ease, transform 0.2s ease;
            border: 2px solid transparent;
            border-radius: 6px;
        }

.note-actions[b-eo5zfuihdp] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 0.5rem;
    z-index:10;
}

.action-wrapper[b-eo5zfuihdp] {
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 6px;
}

    .action-wrapper:hover[b-eo5zfuihdp] {
        transform: scale(1.1);
        box-shadow: 0 0 6px #00e676;
        border: 1px solid #00e676;
    }

.note-text[b-eo5zfuihdp] {
    flex: 1;
    z-index: 1;
}

.note-category[b-eo5zfuihdp] {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 0.25rem;
}

.note-title[b-eo5zfuihdp] {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.note-description[b-eo5zfuihdp] {
    font-size: 0.95rem;
    color: #aaa;
}

.note-image[b-eo5zfuihdp] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.notes-wrapper[b-eo5zfuihdp] {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 23rem); /* leave some space from top/bottom */
    margin: 2rem; /* space from all window edges */
    overflow: hidden;
    background-color: #1f1f1f;
    border-radius: 8px;
}

.scroll-area[b-eo5zfuihdp] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    color: white;
    min-height: 0; /* critical for flex scroll */

}

.add-entry-bar[b-eo5zfuihdp] {
    padding: 1rem;
    background-color: #181139;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}
/* _content/DMB/Components/Notes/JournalNotes.razor.rz.scp.css */
.journal-scrollable[b-134dilhkbf] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    min-height: 0; /* important for scroll constraint */
}
.journal-container[b-134dilhkbf] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.note-entry[b-134dilhkbf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin:1rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
}

    .note-entry:hover[b-134dilhkbf] {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    }
        .note-entry:hover .rz-button[b-134dilhkbf] {
            transition: border 0.2s ease, transform 0.2s ease;
            border: 2px solid transparent;
            border-radius: 6px;
        }
.note-actions[b-134dilhkbf] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 0.5rem;
}
.action-wrapper[b-134dilhkbf] {
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 6px;
}

    .action-wrapper:hover[b-134dilhkbf] {
        transform: scale(1.1);
        box-shadow: 0 0 6px #00e676;
        border: 1px solid #00e676;
    }

.note-text[b-134dilhkbf] {
    flex: 1 1 auto;
    min-width: 0; /* prevents overflow with long titles */
}

.note-category[b-134dilhkbf] {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 0.25rem;
}

.note-content[b-134dilhkbf] {
    display: flex;
    align-items: center; /* or flex-start if you prefer */
    gap: 12px;
    width: 100%;
}

.note-title[b-134dilhkbf] {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.note-description[b-134dilhkbf] {
    font-size: 0.95rem;
    color: #aaa;
}

.note-image[b-134dilhkbf] {
    width: 140px;
    height: 100px;
    border-radius: 6px;
    object-fit: contain;
    flex: 0 0 140px; /* don't shrink; fixed width */
    margin-left: auto; /* pushes it to the far right */
}
.notes-wrapper[b-134dilhkbf] {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 23rem); /* leave some space from top/bottom */
    margin: 2rem; /* space from all window edges */
    overflow: hidden;
    background-color: #1f1f1f;
    border-radius: 8px;
}
.scroll-area[b-134dilhkbf] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    color: white;
    min-height: 0; /* critical for flex scroll */
}

.add-entry-bar[b-134dilhkbf] {
    padding: 1rem;
    background-color: #181139;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}
/* _content/DMB/Components/PinInfoPanel.razor.rz.scp.css */
.pin-info-container[b-wrz5vrhntw] {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #253529;
    color: #ffffff;
    /*    padding: 1rem;*/
    border-radius: 15px;
    max-width: 320px;
    width: 100%;
    height: 100%;
    max-height: 85vh;
    transition: transform 0.3s ease, opacity 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    overflow-x: hidden;
    margin-top:0.5rem;
}

    .pin-info-container.closed[b-wrz5vrhntw] {
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        height: calc(100% - 40px);
    }

    .pin-info-container.open[b-wrz5vrhntw] {
        transform: translateX(0%);
        opacity: 1;
        visibility: visible;
        height: 95vh; /* fallback */
        height: -webkit-fill-available;
        overflow-y: auto;
    }

.pin-info-panel .pin-description[b-wrz5vrhntw] {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #ccc;
}

.pin-info-container[b-wrz5vrhntw]::-webkit-scrollbar {
    width: 8px;
}

.pin-info-container[b-wrz5vrhntw]::-webkit-scrollbar-track {
    background: transparent;
}

.pin-info-container[b-wrz5vrhntw]::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

/* Firefox scrollbar styles */
.pin-info-container[b-wrz5vrhntw] {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.pin-info[b-wrz5vrhntw] {
    height: 100%;
    width: 100%;
}

    .pin-info .card-root[b-wrz5vrhntw] {
        background: linear-gradient(180deg, #243126 0%, #1f2a22 100%);
        border: 1px solid #2f3a31;
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(0,0,0,.25);
        padding: 1rem;
        color: #e6eae7;
        overflow: hidden; /* header sticky + inner scroll area */
        display: flex;
        flex-direction: column;
    }

    .pin-info .header[b-wrz5vrhntw] {
        position: sticky;
        top: 0;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: .5rem;
        margin: -1rem -1rem 0;
        padding: .75rem 1rem;
        background: linear-gradient(180deg, rgba(31,42,34,0.9) 0%, rgba(31,42,34,0.6) 100%);
        border-bottom: 1px solid #334238;
        backdrop-filter: blur(2px);
    }

    .pin-info .content[b-wrz5vrhntw] {
        margin-top: 0.75rem;
        overflow: auto; /* only the content scrolls */
        padding-right: .25rem;
    }

    /* Fieldset polish */
    .pin-info .rz-fieldset[b-wrz5vrhntw] {
        background: #151e19;
        border: 1px solid #2d3b34;
        border-radius: 12px;
        color: #dfe7e2;
    }

        .pin-info .rz-fieldset .rz-fieldset-legend[b-wrz5vrhntw] {
            background: #151e19;
            border: 1px solid #2d3b34;
            color: #cfe0d6;
            font-weight: 600;
            border-radius: 10px;
            padding: .25rem .6rem;
        }

    .pin-info .rz-fieldset-content[b-wrz5vrhntw] {
        padding: .75rem 1rem 1rem;
    }

    /* Inner cards for visual grouping */
    .pin-info .pane[b-wrz5vrhntw] {
        background: #0f1613;
        border: 1px solid #27342c;
        border-radius: 10px;
        padding: .75rem;
    }

    /* Media containers */
    .pin-info .media[b-wrz5vrhntw] {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        background: #0b120f;
        border: 1px solid #223028;
    }

        .pin-info .media img[b-wrz5vrhntw] {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    /* Subtle separators for stacks */
    .pin-info .list-item[b-wrz5vrhntw] {
        background: #111922;
        border: 1px solid #26323e;
        border-radius: .6rem;
        padding: .5rem;
    }

/* _content/DMB/Components/SlideShow/SlideShowManagerComp.razor.rz.scp.css */
/* Target the buttons INSIDE the component using ::deep */
.fantasy-split-wrapper[b-gikjmji1gm]  .rz-button {
    background-color: transparent !important;
    background: transparent !important; /* Force reset */
    color: #8899a6 !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    transition: all 0.2s ease;
}

/* Hover State - Pink Neon Effect */
.fantasy-split-wrapper:hover[b-gikjmji1gm]  .rz-button {
    color: #ffb3f7 !important; /* Pale pink text */
    text-shadow: 0 0 8px #ff00de !important; /* Neon pink glow */
    background-color: rgba(255, 0, 222, 0.05) !important; /* Subtle pink tint */
    border-color: rgba(255, 0, 222, 0.2) !important;
}

/* Rounding the Left Button */
.fantasy-split-wrapper[b-gikjmji1gm]  .rz-splitbutton-button {
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
    padding-left: 16px !important;
    padding-right: 8px !important;
}

/* Rounding the Right Button (Arrow) */
.fantasy-split-wrapper[b-gikjmji1gm]  .rz-splitbutton-menubutton {
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    padding-left: 4px !important;
    padding-right: 12px !important;
    margin-left: -1px !important;
}

/* Icon Color - Inherits the pink hover */
.fantasy-split-wrapper[b-gikjmji1gm]  .rz-button-icon-left {
    color: inherit !important;
    font-size: 1.1rem !important;
    margin-right: 6px !important;
}
/* _content/DMB/Components/SlideShow/SlideShowStrip.razor.rz.scp.css */
.rz-fieldset-content[b-nm4qjdxl8r] {
    /*overflow-x: auto;*/
}

.rz-button.rz-button-danger[b-nm4qjdxl8r] {
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    font-size: 14px;
    line-height: 1;
}

.rz-fileupload-files .rz-fileupload-row > div:nth-child(2)[b-nm4qjdxl8r],
.rz-fileupload-files .rz-fileupload-row > div:nth-child(3)[b-nm4qjdxl8r] {
    display: none;
}

.rz-fileupload-files[b-nm4qjdxl8r] {
    display: none;
    !important
}

.rz-dropzone-dragover[b-nm4qjdxl8r] {
    outline: 3px dashed var(--rz-primary);
    box-shadow: 0 0 6px var(--rz-primary);
    border-radius: 6px;
    transition: box-shadow 0.2s ease, outline 0.2s ease;
    background-color: rgba(0, 123, 255, 0.1); /* soft blue tint */
}

.rz-dropzone-container .rz-card[b-nm4qjdxl8r] {
    cursor: grab;
    transition: transform 0.2s ease;
}

    .rz-dropzone-container .rz-card:active[b-nm4qjdxl8r] {
        cursor: grabbing;
        transform: scale(0.98);
    }

.rz-button img[b-nm4qjdxl8r] {
    object-fit: cover !important;
    width: 150px !important;
    height: 150px !important;
}

.rz-dropzone-item[b-nm4qjdxl8r] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.rz-card.rz-variant-filled[b-nm4qjdxl8r] {
    box-shadow: var(--rz-card-shadow);
    /*     width: calc(100vw - 9rem); */
}

.rz-p-md-12[b-nm4qjdxl8r] {
    display: flex;
}

.highlighted-button[b-nm4qjdxl8r] {
    border: 3px solid var(--rz-primary);
    box-shadow: 0 0 8px var(--rz-primary);
    border-radius: 6px;
    outline: none;
    transition: box-shadow 0.2s ease, border 0.2s ea
}

.upload-box[b-nm4qjdxl8r] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem; /* reduced vertical padding */
    background-color: rgba(255,255,255,0.03);
    color: white;
    font-weight: 500;
    text-align: center;
    width: 100%; /* full width */
    transition: border-color 0.3s ease, background-color 0.3s ease;
    margin-bottom: 1rem;
    cursor: pointer;
    min-height: 90px; /* optional for consistent look */
}

    .upload-box:hover[b-nm4qjdxl8r] {
        border-color: var(--rz-primary);
        background-color: rgba(255,255,255,0.05);
        box-shadow: 0 0 10px var(--rz-primary);
    }

    .upload-box input[type="file"][b-nm4qjdxl8r] {
        display: none;
    }

.slideshow-scroll-container[b-nm4qjdxl8r] {
    overflow-x: auto;
    padding-bottom: 1rem;
    max-width: 100vw;
    white-space: nowrap;
}
/* _content/DMB/Components/TopBar.razor.rz.scp.css */
/* --- TOP BAR CONTAINER --- */
.topbar-container[b-wuumnirbp7] {
    position: relative;
    width: 100%;
    padding: 0.5rem 1rem;
    background: #111922; /* Dark Navy Base */
    border-bottom: 2px solid #384f69;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 200;
}

/* --- LEFT: Brand & Nav --- */
.topbar-left[b-wuumnirbp7] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.brand-avatar-wrapper[b-wuumnirbp7] {
    position: relative;
    width: 70px;
    height: 70px;
    overflow: hidden;
    background: transparent;
    flex-shrink: 0;
}

.brand-avatar[b-wuumnirbp7] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* --- NAV PILLS (Replacements for buttons) --- */
.nav-pills[b-wuumnirbp7] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-pill[b-wuumnirbp7] {
    background: transparent;
    border: 1px solid transparent;
    color: #8899a6; /* Default unselected color */
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

    /* --- THE PINK HOVER EFFECT --- */
    .nav-pill:hover[b-wuumnirbp7] {
        color: #ffb3f7; /* Pale pink text */
        text-shadow: 0 0 8px #ff00de; /* Neon pink glow */
        background: rgba(255, 0, 222, 0.05); /* Subtle pink tint background */
        border-color: rgba(255, 0, 222, 0.2);
    }

    /* Active State (Keeps the Gold/Navy look) */
    .nav-pill.active[b-wuumnirbp7] {
        background: #1d2a39;
        border-color: #384f69;
        color: #ffc107; /* Gold Text */
        box-shadow: 0 0 8px rgba(0,0,0,0.2);
        text-shadow: none; /* Remove pink glow if active */
    }
        /* Ensure hover on active doesn't turn it pink */
        .nav-pill.active:hover[b-wuumnirbp7] {
            color: #ffc107;
            background: #1d2a39;
            border-color: #384f69;
            text-shadow: none;
        }

.slideshow-wrapper[b-wuumnirbp7] {
    display: flex;
    align-items: center;
}

/* --- RIGHT: Tools & Profile --- */
.topbar-right[b-wuumnirbp7] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.utility-group[b-wuumnirbp7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-right: 1px solid #384f69;
    padding-right: 1rem;
}

/* Custom styled Radzen buttons */
.fantasy-utility-btn[b-wuumnirbp7] {
    border-color: #384f69 !important;
    color: #ccc !important;
    font-size: 0.85rem !important;
    padding: 0 12px !important;
    height: 32px !important;
    line-height: 30px !important;
}

    .fantasy-utility-btn:hover[b-wuumnirbp7] {
        border-color: #ffc107 !important;
        color: white !important;
    }

.fantasy-icon-btn[b-wuumnirbp7] {
    color: #ffc107 !important; /* Gold Icon */
    font-size: 1.2rem !important;
}

.mode-toggle-btn[b-wuumnirbp7] {
    font-size: 0.85rem !important;
    font-weight: bold !important;
    letter-spacing: 0.5px;
    height: 36px !important;
    border-radius: 4px !important;
}

/* Profile */
.profile-avatar-frame[b-wuumnirbp7] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #384f69;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

    .profile-avatar-frame:hover[b-wuumnirbp7] {
        border-color: #ffc107;
        cursor: pointer;
    }

.profile-img[b-wuumnirbp7] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
/* _content/DMB/Dialogues/EditPinDialog.razor.rz.scp.css */
/* Shell */
.pin-form[b-okemrsn02g] {
    background: #0D1B2A;
    color: #EAF2F8;
    padding: 14px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

    /* Panels / fieldsets */
    .pin-form .rz-fieldset[b-okemrsn02g] {
        background: #10263A; /* slightly lighter than bg */
        border: 1px solid #1B3A55;
        border-radius: 12px;
        color: #EAF2F8;
    }

    .pin-form .rz-fieldset-legend[b-okemrsn02g] {
        background: #0F2132;
        border: 1px solid #1B3A55;
        color: #CFE0F0;
        font-weight: 600;
        border-radius: 10px;
        padding: .25rem .6rem;
    }

    /* Inputs unify */
    .pin-form .rz-inputtext[b-okemrsn02g],
    .pin-form .rz-textarea[b-okemrsn02g],
    .pin-form .rz-dropdown[b-okemrsn02g],
    .pin-form .rz-fileupload .rz-button[b-okemrsn02g],
    .pin-form .rz-numeric[b-okemrsn02g] {
        background: #1B263B;
        border: 1px solid #415A77;
        color: #EEF5FF;
        border-radius: 10px;
        width: 100%;
    }

        .pin-form .rz-inputtext[b-okemrsn02g]::placeholder,
        .pin-form .rz-textarea[b-okemrsn02g]::placeholder {
            color: #A9B8C8;
            opacity: .85;
        }

    /* Switch + labels inline */
    .pin-form .opt-row[b-okemrsn02g] {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: .75rem 1rem;
    }

        .pin-form .opt-row .rz-switch[b-okemrsn02g] {
            transform: translateY(1px);
        }

    /* Buttons */
    .pin-form .rz-button.rz-button-text[b-okemrsn02g] {
        color: #EAF2F8;
    }

    .pin-form .rz-button:not(.rz-button-secondary)[b-okemrsn02g] {
        background: #415A77;
        border-color: #415A77;
    }

    .pin-form .rz-button-secondary[b-okemrsn02g] {
        background: #132238;
        border-color: #2A3D58;
        color: #D8E6F5;
    }

    /* Media preview */
    .pin-form .img-box[b-okemrsn02g] {
        background: #0F2132;
        border: 1px solid #1B3A55;
        border-radius: 12px;
        padding: .5rem;
        display: flex;
        justify-content: center;
    }

    /* Small gaps */
    .pin-form .gap-10[b-okemrsn02g] {
        gap: 10px;
    }
/* _content/DMB/Pages/Index.razor.rz.scp.css */
html[b-9ywbd3sghe], body[b-9ywbd3sghe], #app[b-9ywbd3sghe] {
    height: 100%;
    margin: 0;
}

/* column that always matches the viewport height */
.full-page-col[b-9ywbd3sghe] {
    display: flex;
    flex-direction: column;
}

/* area that scrolls only when necessary */
.scroll-zone[b-9ywbd3sghe] {
    overflow: auto;
    min-height: 0;
}

.calendar-widget-overlay[b-9ywbd3sghe] {
    position: fixed;
    right: 24px; /* adjust to hit the red area */
    bottom: 24px;
    width: 520px; /* tweak as you like */
    max-height: 48vh; /* scroll if it gets tall */
    overflow: auto;
    z-index: 3000; /* above sidebars, map, etc. */
    border-radius: 20px; /* match your rounded look */
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

@media (max-width: 1200px) {
    .calendar-widget-overlay[b-9ywbd3sghe] {
        width: 92vw; /* responsive width */
        max-width: 520px; /* but never wider than desktop size */
        right: 12px;
        bottom: 12px;
    }
}

/*.calendar-widget-bottom {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5000;*/ /* above map/sidebars */
/*}*/

/*    .calendar-widget-bottom .rz-card {
        width: 100%;
        border-radius: 18px 18px 0 0;
        border-left: 0;
        border-right: 0;
        margin: 0;
    }*/
:root[b-9ywbd3sghe] {
    --cw-handle-height: 15px; /* visible when collapsed */
}

/* The outer hover zone fixed at bottom */
.calendar-drawer[b-9ywbd3sghe] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5000;
    height:  22px; /* 260 panel + 22 handle */
    pointer-events: auto; /* make events fire */
}

/* The actual sliding element (re-enables events) */
.calendar-drawer-inner[b-9ywbd3sghe] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transition: transform 220ms ease-in-out;
    will-change: transform;
    pointer-events: auto;
}

    /* When closed, leave only the handle visible */
    .calendar-drawer-inner.cw-closed[b-9ywbd3sghe] {
        transform: translateY(calc(100% - 22px));
    }

    /* When open, show fully */
    .calendar-drawer-inner.cw-open[b-9ywbd3sghe] {
        transform: translateY(0);
    }


.calendar-widget-bottom .rz-card[b-9ywbd3sghe] {
    width: 100%;
    height: 100%; /* let the card fill the panel */
    border-radius: 18px 18px 0 0;
    border-left: 0;
    border-right: 0;
    margin: 0;
    overflow: auto; /* scroll widget content if tall */
}

/* Handle strip that’s always visible when closed */
.calendar-handle[b-9ywbd3sghe] {
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #121512;
    color: #cfd8d3;
    border-top: 1px solid #1b201b;
    font-size: 12px;
    letter-spacing: .2px;
}

    .calendar-handle .hint[b-9ywbd3sghe] {
        opacity: .7;
        font-size: 11px;
    }


/* stop horizontal creep + unify sizing */
/* Title style */
.sidepane-title[b-9ywbd3sghe] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #eaf3ee;
}

/* Radzen's inner content host: make it a flex column */
.sidepane-shell .rz-sidebar-content[b-9ywbd3sghe] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0; /* critical */
    overflow: hidden; /* prevent X bleed here */
}

/* Sticky header look */
.sidepane-shell .sidepane-header[b-9ywbd3sghe] {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem .9rem;
    background: linear-gradient(180deg, rgba(30,31,30,.95) 0%, rgba(30,31,30,.75) 100%);
    border-bottom: 1px solid #343b33;
    backdrop-filter: blur(2px);
}

/* Content wrapper under header */
.sidepane-shell .sidepane-scroll[b-9ywbd3sghe] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* was hidden */
    overflow-x: hidden;
    padding: 1rem .9rem 2rem;
}


/* Make the pane the ONLY vertical scroller */
.sidepane-shell .section.pane[b-9ywbd3sghe] {
    flex: 0 0 auto; /* drop flex:1 so it doesn't cap itself */
    min-height: auto; /* drop min-height:0 cap */
    overflow: visible; /* was overflow-y:auto */
    background: #0f1613;
    border: 1px solid #27342c;
    border-radius: 12px;
    padding: .9rem;
    flex-direction:column;
}

/* Fieldset polish (optional) */
.sidepane-shell .rz-fieldset[b-9ywbd3sghe] {
    background: #151e19;
    border: 1px solid #2d3b34;
    border-radius: 12px;
    color: #dfe7e2;
}

.sidepane-shell .rz-fieldset-legend[b-9ywbd3sghe] {
    background: #151e19;
    border: 1px solid #2d3b34;
    color: #cfe0d6;
    font-weight: 600;
    border-radius: 10px;
    padding: .25rem .6rem;
}

/* Prevent children from forcing x-overflow */
.sidepane-shell .rz-stack[b-9ywbd3sghe],
.sidepane-shell .rz-card[b-9ywbd3sghe],
.sidepane-shell .rz-fieldset[b-9ywbd3sghe],
.sidepane-shell .section[b-9ywbd3sghe] {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.sidepane-shell img[b-9ywbd3sghe], .sidepane-shell .rz-image[b-9ywbd3sghe] {
    display: block;
    max-width: 100%;
    height: auto;
}
/* _content/DMB/Shared/AutoHideSideBar.razor.rz.scp.css */
.auto-hiding-nav-menu[b-soxixcax0l] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: max-width 0.3s ease;
    background-color: #253529;
    color: #fff;
    padding: 1rem;
    border-radius: 15px;
    margin-top: 90px;
    max-height: fit-content;
    height: fit-content;
}

.nav-menu[b-soxixcax0l] {
    overflow: hidden;
    height: 100%;
}

.collapsed[b-soxixcax0l] {
    width: auto;
    height: auto;
    max-width: fit-content;
    overflow: hidden;
    white-space: nowrap;
}

.expand[b-soxixcax0l] {
    width: auto;
    min-width: 150px;
    max-width: fit-content;
    height: auto;
    display: flex;
    padding: 0 10px;
    align-items: flex-start;
    justify-content: flex-start;
}



.nav-item-text[b-soxixcax0l] {
    visibility: hidden;
    position: absolute;
    margin-left: 3rem;
    font-size: 16px;
    margin-top: 4px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: left center;
}

.bi[b-soxixcax0l] {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.expand .nav-item-text[b-soxixcax0l] {
    visibility: visible;
    opacity: 0.5;
}

.nav-link:hover .nav-item-text[b-soxixcax0l] {
    opacity: 1;
    transform: scale(1.2);
    color: #DAF7A6;
}

.nav-item[b-soxixcax0l] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-item-icon[b-soxixcax0l] {
    color: white;
    font-size: 20px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: left center;
    margin-bottom: 5px;
}

.nav-link:hover .nav-item-icon[b-soxixcax0l] {
    color: #DAF7A6;
    transform: scale(1.2);
}

.nav-link > *[b-soxixcax0l] {
    align-self: flex-start;
}
/* _content/DMB/Shared/MainLayout.razor.rz.scp.css */
.page[b-a4ett3cf18] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-a4ett3cf18] {
    flex: 1;
}

.sidebar[b-a4ett3cf18] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-a4ett3cf18] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-a4ett3cf18]  a, .top-row .btn-link[b-a4ett3cf18] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-a4ett3cf18] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-a4ett3cf18] {
        display: none;
    }

    .top-row.auth[b-a4ett3cf18] {
        justify-content: space-between;
    }

    .top-row a[b-a4ett3cf18], .top-row .btn-link[b-a4ett3cf18] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-a4ett3cf18] {
        flex-direction: row;
    }

    .sidebar[b-a4ett3cf18] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-a4ett3cf18] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-a4ett3cf18], article[b-a4ett3cf18] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/DMB/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-8hck34frgm] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-8hck34frgm] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-8hck34frgm] {
    font-size: 1.1rem;
}

.oi[b-8hck34frgm] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-8hck34frgm] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-8hck34frgm] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-8hck34frgm] {
        padding-bottom: 1rem;
    }

    .nav-item[b-8hck34frgm]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-8hck34frgm]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-8hck34frgm]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-8hck34frgm] {
        display: none;
    }

    .collapse[b-8hck34frgm] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
