/* /Components/Layouts/MainLayout.razor.rz.scp.css */
/* Layout positioning only � let MudBlazor theme control colors and component styling */

.app-layout .page[b-pp1ervfine] {
    position: relative;
    display: flex;
    flex-direction: column;
    /* Use MudBlazor theme variables for background and text so theme (dark/light) is respected */
    background: var(--mud-palette-background, transparent);
    color: var(--mud-palette-text-primary, inherit);
    min-height: 100vh;
}

@media (min-width:641px) {
    /*.app-layout .page {
        flex-direction: row;
    }*/

    .top-row[b-pp1ervfine] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-pp1ervfine], article[b-pp1ervfine] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Keep Blazor error UI untouched */
#blazor-error-ui[b-pp1ervfine] {
    display: none;
}
/* /Components/Pages/Pins/Edit.razor.rz.scp.css */
.media-action-row[b-dhveccp0fh] {
    display: flex;
    gap: .5rem;
    margin-top: .5rem;
}

.media-action[b-dhveccp0fh] {
    flex: 1;
    display: flex;
    justify-content: center;
}

    .media-action .full-width[b-dhveccp0fh] {
        width: 100%;
    }

@@media (max-width:600px) {
    .media-action-row[b-dhveccp0fh] {
        flex-direction: column;
    }

    .media-action[b-dhveccp0fh] {
        width: 100%;
    }

        .media-action .full-width[b-dhveccp0fh] {
            width: 100%;
        }
}

.suggestions-popover[b-dhveccp0fh] {
    box-shadow: 06px 18px rgba(0, 0, 0, 0.12);
}

.suggestions-list[b-dhveccp0fh] {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--mud-typography-font-family, monospace);
}

.suggestion-item[b-dhveccp0fh] {
    padding: .5rem .75rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.suggestion-item:hover[b-dhveccp0fh] {
    background: rgba(0, 0, 0, 0.03);
}

.suggestion-no-results[b-dhveccp0fh] {
    padding: .5rem .75rem;
    color: rgba(0, 0, 0, 0.6);
}
/* /Components/Pages/Pins/Index.razor.rz.scp.css */
.pins-summary[b-c6hwocbera] {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: stretch;
}

.summary-card[b-c6hwocbera] {
    flex: 11220px;
    padding: 12px;
    border-radius: 10px;
    background: var(--mud-palette-surface);
    box-shadow: 06px18px rgba(0,0,0,0.06);
}

.footer-nav[b-c6hwocbera] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: var(--mud-palette-surface);
    border-top: 1px solid rgba(0,0,0,0.06);
    z-index: 1000;
}

.content-with-footer[b-c6hwocbera] {
    padding-bottom: 72px;
    width: 100%;
}

.status-dot[b-c6hwocbera] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block
}
/* /Components/Pages/Upload.razor.rz.scp.css */
.dropzone[b-ym5ry9r1ng] {
    position: relative;
    display: block;
    min-height: 200px;
    border: 2px dashed #9bb9ff;
    border-radius: 12px;
    background: #fff;
    padding: 16px;
}

.drop-input[b-ym5ry9r1ng] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2; /* must be above .drop-inner */
}

.drop-inner[b-ym5ry9r1ng] {
    position: relative;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    height: 100%;
    color: #2563eb;
}

    .drop-inner.is-over[b-ym5ry9r1ng] {
        filter: brightness(1.05);
    }

.drop-title[b-ym5ry9r1ng] {
    font-weight: 700;
    margin-bottom: .15rem;
}

.drop-icon[b-ym5ry9r1ng] {
    font-size: 1.35rem;
    line-height: 1;
}




/* Thumbs */
.thumb-grid[b-ym5ry9r1ng] {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(2,minmax(0,1fr));
}

@media (min-width:640px) {
    .thumb-grid[b-ym5ry9r1ng] {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media (min-width:960px) {
    .thumb-grid[b-ym5ry9r1ng] {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
}

.thumb[b-ym5ry9r1ng] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .6rem;
    overflow: hidden;
}

.media-thumb[b-ym5ry9r1ng] {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

@media (min-width:640px) {
    .media-thumb[b-ym5ry9r1ng] {
        height: 160px;
    }
}
/* /Components/Pages/UploadQR.razor.rz.scp.css */
.qr-img[b-5l5r0is5qd] {
    display: block;
    width: 260px;
    max-width: 75vw;
    height: auto;
    margin: 0 auto 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

.wrap[b-5l5r0is5qd] {
    word-break: break-word;
}

.center[b-5l5r0is5qd] {
    text-align: center;
}
/* /Components/Shared/BusyOverlay.razor.rz.scp.css */
.busy-overlay[b-dur0p1khy7] {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.busy-backdrop[b-dur0p1khy7] {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.busy-panel[b-dur0p1khy7] {
    position: relative;
    z-index: 10001;
    background: var(--mud-palette-surface);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    min-width: 160px;
    max-width: 86vw;
    max-height: 60vh;
    overflow: auto;
}

.busy-nonblocking[b-dur0p1khy7] {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    z-index: 10001;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text);
    padding: 0.4rem 0.6rem;
    border-radius: 24px;
    display: flex;
    gap: 0.4rem;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    max-width: 92vw;
}

.busy-nonblocking-text[b-dur0p1khy7] {
    font-size: 0.88rem;
    /* clamp to two lines to avoid very tall boxes on mobile */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(92vw - 56px);
}

/* reduce size on small screens */
@media (max-width: 420px) {
    .busy-panel[b-dur0p1khy7] {
        padding: 0.75rem;
        min-width: 140px;
        max-width: 90vw;
    }

    .busy-nonblocking[b-dur0p1khy7] {
        left: 12px;
        right: 12px;
        transform: none;
        justify-content: flex-start;
        padding: 0.4rem 0.6rem;
        gap: 0.5rem;
        border-radius: 16px;
    }

    /* target circular svg inside MudBlazor component to reduce visual size */
    .busy-nonblocking svg[b-dur0p1khy7] {
        width: 20px !important;
        height: 20px !important;
    }

    .busy-nonblocking-text[b-dur0p1khy7] {
        font-size: 0.82rem;
        max-width: calc(100% - 44px);
    }
}
/* /Components/Shared/DrawerMenu.razor.rz.scp.css */
/* Scoped CSS for DrawerMenu */

/* When collapsed, hide nav text and group titles but keep icons visible */
.sidebar.collapsed .mud-nav-link .mud-nav-link-text[b-ny9331ri5m],
.sidebar.collapsed .mud-nav-group .mud-nav-group-title[b-ny9331ri5m] { display: none !important; }

/* Ensure drawer and its children use box-sizing and allow internal scrolling without overflow */
.drawer-menu-wrap[b-ny9331ri5m], .drawer-menu[b-ny9331ri5m], .mud-drawer[b-ny9331ri5m], .mud-drawer .mud-drawer-content[b-ny9331ri5m] {
 box-sizing: border-box;
 min-height:0; /* allow flex children to shrink and avoid overflow */
}

/* Drawer wrapper: use full height of the MudDrawer container and be positioned relative so bottom block can be absolute */
.drawer-menu-wrap[b-ny9331ri5m] { display: flex; flex-direction: column; height:100%; position: relative; }

/* Nav area should take remaining space and scroll; add bottom padding to accommodate absolute bottom block */
.drawer-menu[b-ny9331ri5m] { flex:11 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; margin:0; padding-bottom:96px; }

/* Bottom block absolutely positioned inside the wrapper so it is always pinned to the drawer bottom */
.drawer-bottom-trigger[b-ny9331ri5m] {
 position: absolute;
 left:8px;
 right:8px;
 bottom:8px;
 display: flex;
 flex-direction: column;
 gap:8px;
 align-items: stretch;
 padding:12px;
 z-index:3000;
 background: transparent;
}

.drawer-display-name[b-ny9331ri5m] { font-weight:600; padding:4px8px; color: var(--mud-palette-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.drawer-btn-row[b-ny9331ri5m] { display: flex; gap:8px; align-items: center; }
.drawer-btn-row.stacked[b-ny9331ri5m] { flex-direction: column; }

.drawer-primary-btn[b-ny9331ri5m] { height:36px; padding:012px; color: #fff !important; background: linear-gradient(90deg,#4C6EF50%,#7950F2100%); border: none; display: flex; align-items: center; gap:8px; border-radius:6px; width:100%; }
.drawer-secondary-btn[b-ny9331ri5m] { height:36px; padding:4px12px; border-radius:4px; width:100%; }

.drawer-profile-row[b-ny9331ri5m] { display: flex; gap:8px; align-items: center; justify-content: space-between; }

@media (max-width:420px) {
 .drawer-bottom-trigger[b-ny9331ri5m] { gap:6px; left:6px; right:6px; bottom:6px; }
 .drawer-btn-row.stacked[b-ny9331ri5m] { gap:6px; }
}
