/* _content/MotorInsuranceAdmin.Web/Pages/BillingInvoicing/CreateInvoice.razor.rz.scp.css */
.policy-suggestions[b-kvi7x7gxqd] {
    z-index: 2000; /* higher than form controls/cards */
    background: #fff;
    border: 1px solid #dee2e6;
    max-height: 260px;
    overflow-y: auto;
}

.position-relative.form-group[b-kvi7x7gxqd] {
    overflow: visible !important;
}

.card[b-kvi7x7gxqd], .card-body[b-kvi7x7gxqd], .row[b-kvi7x7gxqd], .col[b-kvi7x7gxqd], .container[b-kvi7x7gxqd], .container-fluid[b-kvi7x7gxqd] {
    overflow: visible;
}

.policy-suggestions .list-group-item[b-kvi7x7gxqd] {
    cursor: pointer;
    padding-top: .6rem;
    padding-bottom: .6rem;
}

.invoice-to-wrap[b-kvi7x7gxqd] {
    overflow: visible !important;
}

    /* the suggestion box itself */
    .invoice-to-wrap .policy-suggestions[b-kvi7x7gxqd] {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 2px);
        z-index: 99999 !important;
        background: #fff;
        max-height: 260px;
        overflow-y: auto;
        border: 1px solid #dee2e6;
    }




/* _content/MotorInsuranceAdmin.Web/Shared/MainLayout.razor.rz.scp.css */
/* ================================
   LAYOUT SHELL
   ================================ */

.page[b-nk5flfipm8] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main[b-nk5flfipm8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Sidebar */
.sidebar[b-nk5flfipm8] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

/* Legacy top-row (Blazor template) */
.top-row[b-nk5flfipm8] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-nk5flfipm8]  a,
    .top-row .btn-link[b-nk5flfipm8] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-nk5flfipm8] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Mobile behavior for legacy top-row */
@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-nk5flfipm8] {
        display: none;
    }

    .top-row.auth[b-nk5flfipm8] {
        justify-content: space-between;
    }

    .top-row a[b-nk5flfipm8],
    .top-row .btn-link[b-nk5flfipm8] {
        margin-left: 0;
    }
}

/* Desktop layout */
@media (min-width: 641px) {
    .page[b-nk5flfipm8] {
        flex-direction: row;
    }

    .sidebar[b-nk5flfipm8] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-nk5flfipm8] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    /* Keep your original content padding */
    .main > div[b-nk5flfipm8] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* ================================
   NEW TOP TOOLBAR (Welcome / Logout)
   (submenu removed; now lives in NavMenu)
   ================================ */

.app-toolbar[b-nk5flfipm8] {
    padding: .5rem 1rem;
    background: linear-gradient(90deg, #3a0647 0%, #1e2750 100%);
    border-bottom: 1px solid #2b2f3a;
    color: #fff;
}

    /* Welcome badge */
    .app-toolbar .badge.rounded-pill[b-nk5flfipm8] {
        border: 1px solid #e5e9f2;
        background-color: #f8f9fb !important;
        color: #2b2f3a !important;
    }

/* Mobile spacing */
@media (max-width: 767.98px) {
    .app-toolbar[b-nk5flfipm8] {
        padding: .5rem .75rem;
    }
}



/*.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
   
    display: flex;
    flex-direction: column;
    padding: 0;
}


.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.main-top-bundle {
    display: flex;
    flex-direction: column;
}

.main-top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
}

.submenu-container {
    display: flex;
    width: 100%;
}

.submenu {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem 0;
    width: 100%;
}

    .submenu .nav-link {
        padding: 0.5rem 1rem;
        color: #333;
        text-decoration: none;
        font-size: 1rem;
    }

        .submenu .nav-link:hover {
            background-color: #f0f0f0;
        }

        .submenu .nav-link.active {
            font-weight: bold;
            color: #007bff;
        }

.submenu-toggler {
    display: none;
    margin-right: 1rem;
}

@media (max-width: 767.98px) {
    .main {
        display: flex !important;
        width: 100%;
        margin-top: 60px;
    }

    .main-top-row {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .submenu-toggler {
        display: inline-block;
    }

    .submenu-container {
        display: none;
    }

        .submenu-container:not(.collapse) {
            display: flex;
        }

    .submenu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

        .submenu .nav-link {
            width: 100%;
            text-align: left;
        }
}



.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}


.app-toolbar {
    padding: .5rem 1rem;
    background: linear-gradient(90deg, #3a0647 0%, #1e2750 100%); 
    border-bottom: 1px solid #2b2f3a;
    color: #fff;
}

    
    .app-toolbar .submenu {
        display: flex;
        align-items: center;
        gap: .5rem;
        padding: .5rem 0;
        margin: 0;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: thin;
        scrollbar-color: #d6dbe6 transparent;
    }

      
        .app-toolbar .submenu::-webkit-scrollbar {
            height: 8px;
        }

        .app-toolbar .submenu::-webkit-scrollbar-thumb {
            background: #d6dbe6;
            border-radius: 8px;
        }

        
        .app-toolbar .submenu .nav-link {
            display: inline-block;
            padding: .38rem .85rem;
            font-size: .95rem;
            color: #f1f1f1;
            text-decoration: none;
            border: 1px solid #e5e9f2;
            border-radius: 999px;
            transition: background-color .2s ease, border-color .2s ease;
        }

            .app-toolbar .submenu .nav-link:hover {
                background-color: #f7f9fc;
                border-color: #d8dee9;
            }

            .app-toolbar .submenu .nav-link.active {
                font-weight: 600;
                color: #0b5ed7;
                background: #1f6feb10;
                border-color: #1f6feb55;
            }

    
    .app-toolbar .badge.rounded-pill {
        border: 1px solid #e5e9f2;
        background-color: #f8f9fb !important;
        color: #2b2f3a !important;
    }


@media (min-width: 768px) {
    .app-toolbar .submenu {
        display: flex !important;
    }
}


@media (max-width: 767.98px) {
    .app-toolbar {
        padding: .5rem .75rem;
    }

        .app-toolbar .submenu {
            display: none; 
        }

            .app-toolbar .submenu.is-open {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                white-space: nowrap;
                -webkit-overflow-scrolling: touch;
                gap: .4rem;
                padding: .4rem 0;
            }

                .app-toolbar .submenu .nav-link,
                .app-toolbar .submenu.is-open .nav-link {
                    flex: 0 0 auto;
                    padding: .34rem .7rem;
                    font-size: .9rem;
                }
}





*/
/* _content/MotorInsuranceAdmin.Web/Shared/NavMenu.razor.rz.scp.css */
/* ================================
   BASE NAV
   ================================ */

.navbar-toggler[b-o5j4cpko7t] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-o5j4cpko7t] {
    height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.4);
}

.navbar-brand[b-o5j4cpko7t] {
    font-size: 1.1rem;
}

.oi[b-o5j4cpko7t] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-o5j4cpko7t] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-o5j4cpko7t] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-o5j4cpko7t] {
        padding-bottom: 1rem;
    }

    /* Normal links */
    .nav-item[b-o5j4cpko7t]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        padding: 0 0.75rem; /*newly added after the level 2*/
    }

        .nav-item[b-o5j4cpko7t]  a:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: gray;
        }

        .nav-item[b-o5j4cpko7t]  a.active {
            background-color: rgba(255, 255, 255, 0.25);
            color: white;
        }

/* Desktop behavior */
@media (min-width: 641px) {
    .navbar-toggler[b-o5j4cpko7t] {
        display: none;
    }

    /* Never collapse sidebar on wide screens */
    .collapse[b-o5j4cpko7t] {
        display: block;
    }
}

/* ================================
   SUBMENU / GROUP SUPPORT
   ================================ */

/* Group header button should look like a normal NavLink */
.nav-item[b-o5j4cpko7t]  .nav-group {
    width: 100%;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    padding: 0 0.75rem;
    /*padding: 0 0.5rem 0 0.75rem;*/
}

    .nav-item[b-o5j4cpko7t]  .nav-group:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: gray;
    }

/* Chevron (right side) */
.nav-item[b-o5j4cpko7t]  .nav-chevron {
    margin-left: auto;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: transform 150ms ease-in-out;
}

    .nav-item[b-o5j4cpko7t]  .nav-chevron.open {
        transform: rotate(90deg);
    }

/* Submenu wrapper */
.nav-submenu[b-o5j4cpko7t] {
    /*padding-left: 1.25rem;*/
    padding-left: 0;
    margin: 0.25rem 0;
}

    /* Submenu links slightly smaller */
    .nav-submenu .nav-item[b-o5j4cpko7t]  a {
        height: 2.6rem;
        line-height: 2.6rem;
        font-size: 0.88rem;
    }

/* Mobile tweak */
@media (max-width: 640px) {
    .nav-submenu[b-o5j4cpko7t] {
        padding-left: 1rem;
    }
}

.nav-submenu-l2[b-o5j4cpko7t] {
    padding-left: 1.25rem;
}

.nav-group-l2[b-o5j4cpko7t] {
    font-size: 0.95rem;
    opacity: 0.95;
}

.nav-submenu-l3[b-o5j4cpko7t] {
    padding-left: 2.25rem;
}
.nav-group-l3[b-o5j4cpko7t] {
    font-size: 0.88rem;
    opacity: 0.9;
}




/*.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand {
    font-size: 1.1rem;
}

.oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-item ::deep a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item ::deep a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item ::deep a:hover {
    background-color: rgba(255,255,255,0.1);
    color: gray;
}

@media (min-width: 641px) {
    .navbar-toggler {
        display: none;
    }

    .collapse {
        display: block;
    }
}


.nav-item ::deep .nav-group {
    width: 100%;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    padding-left: 0.75rem;
}

    .nav-item ::deep .nav-group:hover {
        background-color: rgba(255,255,255,0.1);
        color: gray;
    }


.nav-item ::deep .nav-chevron {
    margin-left: auto;
    padding-right: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: transform 150ms ease-in-out;
}

    .nav-item ::deep .nav-chevron.open {
        transform: rotate(90deg);
    }


.nav-submenu {
    padding-left: 1.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

    
    .nav-submenu .nav-item ::deep a {
        height: 2.6rem;
        line-height: 2.6rem;
        font-size: 0.88rem;
    }

       
        .nav-submenu .nav-item ::deep a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }


@media (max-width: 640px) {
    .nav-submenu {
        padding-left: 1rem;
    }
}
*/
