/* /Components/Menu/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-bu50s5vmsc] {
    font-size: 15px;
    background-color: #444444;
}

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

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

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

.bi[b-bu50s5vmsc] {
    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-bu50s5vmsc] {
    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-bu50s5vmsc] {
    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-bu50s5vmsc] {
    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");
}

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

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

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

.nav-item[b-bu50s5vmsc]  a {
    color: #4f4f4f;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item[b-bu50s5vmsc]  a.active {
    background-color: #002073;
    color: white;
}

.nav-item[b-bu50s5vmsc]  a:hover {
    background-color: #002073;
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-bu50s5vmsc] {
        display: none;
    }

    .collapse[b-bu50s5vmsc] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-bu50s5vmsc] {
        border-radius: 10px;
        margin-top: 10px !important;
        margin-right: 10px !important;
        background-color: #EEF1F6;
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* /Components/Menu/SlideDropdown.razor.rz.scp.css */
.navbar-toggler[b-xey6rg8b0b] {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.bi[b-xey6rg8b0b] {
    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-xey6rg8b0b] {
    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-xey6rg8b0b] {
    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-xey6rg8b0b] {
    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");
}

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

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

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

.nav-item[b-xey6rg8b0b]  a {
    color: #4f4f4f;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item[b-xey6rg8b0b]  a.active {
    background-color: #002073;
    color: white;
}

.nav-item[b-xey6rg8b0b]  a:hover {
    background-color: #cccccc;
    color: black;
}

@media (min-width: 641px) {
    .navbar-toggler[b-xey6rg8b0b] {
        display: none;
    }

    .collapse[b-xey6rg8b0b] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-xey6rg8b0b] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}


.dropdown-slide-open[b-xey6rg8b0b] {
    max-height: 500px;
    opacity: 1;
    transition: all 0.3s ease;
}

.dropdown-slide-closed[b-xey6rg8b0b] {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* /Components/Shared/DropDown/DropdownMenu.razor.rz.scp.css */
/* Make the dropdown button slimmer, add border-radius, and hide Bootstrap default caret */
.custom-dropdown .btn[b-hxx8un8p3m] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    /* thinner button: reduce vertical padding and slightly smaller font */
    padding: 0.18rem 0.5rem;
    font-size: 0.9rem;
    border-radius: 0.45rem;
    /* keep Bootstrap color but soften background slightly when applicable */
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

/* remove Bootstrap's default caret */
.custom-dropdown .btn.dropdown-toggle[b-hxx8un8p3m]::after {
    display: none;
}

/* round the menu corners a bit */
.custom-dropdown .dropdown-menu[b-hxx8un8p3m] {
    border-radius: 0.5rem;
    padding: 0.35rem 0;
    min-width: 10rem;
    box-shadow: 0 12px 30px rgba(8, 15, 30, 0.06);
}

/* small hover lift but subtle to match slimmer button */
.custom-dropdown .btn:hover[b-hxx8un8p3m],
.custom-dropdown .btn:focus[b-hxx8un8p3m] {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(8, 15, 30, 0.08);
}

/* keep dropdown items styling compatible with Bootstrap but slightly adjusted */
.custom-dropdown .dropdown-item[b-hxx8un8p3m] {
    padding: 0.4rem 1rem;
    border-radius: 0.25rem;
}

.custom-dropdown .dropdown-item:hover[b-hxx8un8p3m],
.custom-dropdown .dropdown-item:focus[b-hxx8un8p3m] {
    background-color: rgba(0,0,0,0.03);
}
/* /Components/Shared/StatCard.razor.rz.scp.css */
/* Dashboard small style helpers using Bootstrap-like naming */
.dashboard-card[b-prtqnqcp1d] {
    font-size: 12px;
    min-height: 120px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.icon-badge[b-prtqnqcp1d] {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    font-size: 18px
}

.dashboard-value[b-prtqnqcp1d] {
    font-weight: 600;
    font-size: 1.125rem
}

.card-title[b-prtqnqcp1d] {
    font-weight: 500
}

/* Soft background helpers (Bootstrap-like names) */
.bg-soft-primary[b-prtqnqcp1d] {
    background-color: rgba(56,100,255,0.08);
    color: #3864ff
}

.bg-soft-success[b-prtqnqcp1d] {
    background-color: rgba(16,185,129,0.08);
    color: #10b981
}

.bg-soft-warning[b-prtqnqcp1d] {
    background-color: rgba(245,158,11,0.08);
    color: #f59e0b
}

.bg-soft-info[b-prtqnqcp1d] {
    background-color: rgba(59,130,246,0.08);
    color: #3b82f6
}

.bg-soft-danger[b-prtqnqcp1d] {
    background-color: rgba(239,68,68,0.08);
    color: #ef4444
}

@@media (max-width:576px) {
    .dashboard-card[b-prtqnqcp1d] {
        min-height: 100px
    }

    .icon-badge[b-prtqnqcp1d] {
        width: 32px;
        height: 32px;
        font-size: 16px
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-c44tvpx96v] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

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

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

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

    .sidebar[b-c44tvpx96v] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

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

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

    .top-row[b-c44tvpx96v], article[b-c44tvpx96v] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/MarketPlace/InvoicePrint.razor.rz.scp.css */
/* /Pages/ProjectManager/Components/MultiSelectDashboard.razor.rz.scp.css */
.none-style-list[b-cu5q0dvqpg] {
    list-style: none;
}

/* New styles for collapsible tree (improved spacing + checkbox alignment) */
.tree-details[b-cu5q0dvqpg] {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0; /* summary provides the padding */
    background: #fff;
    position: relative; /* anchor for the absolute dropdown panel */
}

.tree-summary[b-cu5q0dvqpg] {
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    color: #212529;
    border-radius: 6px;
    font-size: 14px;
}

/* Make the closed summary a bit more compact (Bootstrap-like feel) */
.tree-details:not([open]) .tree-summary[b-cu5q0dvqpg] {
    padding: 0.25rem 0.5rem;
    font-size: 16px;
}

.tree-summary:hover[b-cu5q0dvqpg] {
    background: #f8f9fa;
}

/* Floating dropdown panel: doesn't affect page flow when closed */
.tree-dropdown-panel[b-cu5q0dvqpg] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: auto;
    min-width: 320px; /* reasonable default width */
    max-width: 640px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    z-index: 1100;
    max-height: 60vh; /* keep it inside viewport */
    overflow: auto; /* internal scroll so page height doesn't change */
    padding: 0.5rem 0.75rem 0.75rem 0.75rem;
}

/* Hide dropdown panel when details is closed */
.tree-details:not([open]) .tree-dropdown-panel[b-cu5q0dvqpg] {
    display: none;
}

/* rotate chevron when open (target the icon inside the summary title) */
.tree-details[open] .summary-title i[b-cu5q0dvqpg] {
    transform: rotate(180deg);
    transition: transform 0.18s ease-in-out;
}

/* Previously used inline container is no longer shown; keep it removed */

.tree-container ul[b-cu5q0dvqpg] {
    margin: 0;
    padding-left: 0;
}

.tree-container .none-style-list[b-cu5q0dvqpg] {
    margin-bottom: 0.5rem; /* more breathing room between items */
}

.tree-container .item-root[b-cu5q0dvqpg] {
    padding: 0.35rem 0;
}

.tree-container .item-pages[b-cu5q0dvqpg] {
    padding-right: 1rem;
}

/* Mirror layout rules for the floating dropdown panel */
.tree-dropdown-panel ul[b-cu5q0dvqpg] {
    margin: 0;
    padding-left: 0;
}

.tree-dropdown-panel .none-style-list[b-cu5q0dvqpg] {
    margin-bottom: 0.5rem;
}

.tree-dropdown-panel .item-root[b-cu5q0dvqpg] {
    padding: 0.35rem 0;
}

.tree-dropdown-panel .item-pages[b-cu5q0dvqpg] {
    padding-right: 1rem;
}

/* Use a reusable row class to ensure perfect vertical centering (Bootstrap-style) */
.tree-item-row[b-cu5q0dvqpg] {
    display: flex;
    align-items: center; /* ensures checkbox and text align vertically */
    gap: 0.5rem; /* consistent horizontal spacing */
}

/* Align checkboxes vertically and size them similar to Bootstrap forms */
.tree-container input[type="checkbox"][b-cu5q0dvqpg],
.tree-dropdown-panel input[type="checkbox"][b-cu5q0dvqpg] {
    margin: 0; /* reset default margins */
    width: 1rem;
    height: 1rem;
    /* nudge vertically just a little to perfectly center with text */
    position: relative;
    top: -1px;
    accent-color: #0d6efd; /* bootstrap primary color for modern browsers */
}

/* Ensure label text aligns nicely next to checkbox */
.tree-container .label-wrapper[b-cu5q0dvqpg],
.tree-dropdown-panel .label-wrapper[b-cu5q0dvqpg] {
    /* use gap on the parent; keep wrapper simple */
    margin-left: 0;
    margin-right: 0;
    display: inline-block;
    line-height: 1.2;
}
/* /Pages/ProjectManager/Login.razor.rz.scp.css */
.pm-login-root[b-hdo13efm4g] {
    direction: ltr !important;
}

.pm-right[b-hdo13efm4g] {
    direction: rtl !important;
}
/* /Pages/ProjectManager/Otp.razor.rz.scp.css */
.pm-login-root[b-bx2l3y4z96] {
    direction: ltr !important;
}

.pm-right[b-bx2l3y4z96] {
    direction: rtl !important;
}
/* /Pages/Ticketing/TicketMessages.razor.rz.scp.css */
/* Outer unified page card */
.single-page-wrap[b-4cu0drsohv] {
    background: #f6f7f9;
    padding: 1.25rem;
}

.page-card[b-4cu0drsohv] {
    background: #ffffff;
    border-radius: .65rem;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
    /* keep the page card within viewport and prevent whole-page scroll */
    max-height: 100vh;
    overflow: hidden;
}

/* inside the unified card, suppress inner .card chrome to avoid extra borders */
.page-card .card[b-4cu0drsohv] {
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* center the inner messages area and constrain width for a minimal layout */
.messages-inner[b-4cu0drsohv] {
    max-width: 760px;
    margin: 0 auto;
}

/* messages container: make this the only scrollable area */
.messages-container[b-4cu0drsohv] {
    max-height: calc(100vh - 260px); /* header + reply form + paddings ~= 260px; tweak if needed */
    overflow: auto;
}

.messages-container[b-4cu0drsohv]::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.messages-container[b-4cu0drsohv]::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

/* chat bubbles: narrower and cleaner */
.chat-bubble[b-4cu0drsohv] {
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04);
    width: 100%;
}

.message-row[b-4cu0drsohv] {
    width: 100%;
}

/* the bubble itself sits inside messages-inner and therefore is constrained */
.bubble-right[b-4cu0drsohv] {
    color: #222;
}

.bubble-left[b-4cu0drsohv] {
    color: #222;
}

.message-text[b-4cu0drsohv] {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.95rem;
    line-height: 1.4;
}

.badge-name[b-4cu0drsohv] {
    color: #444444;
    background: #ffffff;
    border: 0;
}

.time-badge[b-4cu0drsohv] {
    color: #666;
    background: #ffffff;
    border: 0;
}

/* reply form tweaks */
.reply-card[b-4cu0drsohv] {
    background: transparent;
    border: none;
    padding-left: 0;
    padding-right: 0;
}

.attach-btn[b-4cu0drsohv], .btn-send[b-4cu0drsohv] {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

/* icon-only button, no border/background */
.icon-btn[b-4cu0drsohv] {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
}

.icon-btn .bi[b-4cu0drsohv] {
    font-size: 1.05rem;
}

.send-icon[b-4cu0drsohv] {
    transform: rotate(-90deg);
}

/* place icons visually inside the textarea */
.reply-input-wrapper[b-4cu0drsohv] {
    position: relative;
}

/* place icons inside the textarea at bottom-left (overlay) */
/* keep the textarea height unchanged: only small bottom padding */
.reply-textarea.with-inline-actions[b-4cu0drsohv] {
    padding-left: 48px;
    padding-bottom: 6px;
}

.inline-actions[b-4cu0drsohv] {
    position: absolute;
    left: 10px;
    bottom: 10px;
    right: auto;
    transform: none;
    display: flex;
    gap: 6px;
    align-items: center;
    z-index: 5;
}

.inline-actions .attach-btn[b-4cu0drsohv], .inline-actions .btn-send[b-4cu0drsohv] {
    width: 22px;
    height: 22px;
}

.inline-actions .attach-btn .bi[b-4cu0drsohv], .inline-actions .btn-send .bi[b-4cu0drsohv] {
    font-size: 0.95rem;
}

.reply-textarea[b-4cu0drsohv] {
    position: relative;
    z-index: 1;
}

/* no extra wrapper margin so layout doesn't shift down */
.reply-input-wrapper[b-4cu0drsohv] {
    margin-bottom: 0;
}

/* make icons visually minimal (no border, no bg) */
.icon-btn[b-4cu0drsohv] {
    border: none;
    background: transparent;
    color: #495057;
}

.icon-btn:hover[b-4cu0drsohv] {
    color: #0d6efd;
}

/* ensure bubbles look good on mobile */
@media (max-width: 576px) {
    .messages-inner[b-4cu0drsohv] {
        padding: 0 8px;
    }

    .chat-bubble[b-4cu0drsohv] {
        width: 100%;
    }

    .btn-send[b-4cu0drsohv] {
        padding-left: .6rem;
        padding-right: .6rem;
    }
}

/* subtle hover */
.attach-btn:hover[b-4cu0drsohv], .btn-send:hover[b-4cu0drsohv] {
    filter: brightness(0.95);
}
