/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-ulabhj5wth] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ulabhj5wth] {
    flex: 1;
}

.sidebar[b-ulabhj5wth] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ulabhj5wth] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ulabhj5wth]  a, .top-row[b-ulabhj5wth]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ulabhj5wth]  a:hover, .top-row[b-ulabhj5wth]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ulabhj5wth]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ulabhj5wth] {
        justify-content: space-between;
    }

    .top-row[b-ulabhj5wth]  a, .top-row[b-ulabhj5wth]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ulabhj5wth] {
        flex-direction: row;
    }

    .sidebar[b-ulabhj5wth] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ulabhj5wth] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ulabhj5wth]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ulabhj5wth], article[b-ulabhj5wth] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-8sfgzoq3mt] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-8sfgzoq3mt] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-8sfgzoq3mt] {
    font-size: 1.1rem;
}

.bi[b-8sfgzoq3mt] {
    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-8sfgzoq3mt] {
    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-8sfgzoq3mt] {
    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-8sfgzoq3mt] {
    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-8sfgzoq3mt] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-8sfgzoq3mt] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-8sfgzoq3mt] {
        padding-bottom: 1rem;
    }

    .nav-item[b-8sfgzoq3mt]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-8sfgzoq3mt]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-8sfgzoq3mt]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-8sfgzoq3mt] {
        display: none;
    }

    .collapse[b-8sfgzoq3mt] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-8sfgzoq3mt] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/61 Logistics/Export/Yarn/Components/Export_YarnInvoiceDialog.razor.rz.scp.css */
/* ===== Dialog Container ===== */
.erp-dialog.e-dialog[b-6e0spugati] {
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

.erp-dialog .e-dlg-header[b-6e0spugati] {
    padding: 14px 18px !important;
    background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
    border-bottom: 1px solid #eef0f4;
}

.dialog-header-wrap[b-6e0spugati] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dialog-header[b-6e0spugati] {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .2px;
    color: #1f2937;
}

.erp-dialog .e-dlg-content[b-6e0spugati] {
    padding: 16px !important;
    background: #fafbfc;
}

.erp-dialog .e-footer-content[b-6e0spugati] {
    padding: 12px 16px !important;
    border-top: 1px solid #eef0f4;
    background: #fff;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== Layout: two columns ===== */
.dialog-content[b-6e0spugati] {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 16px;
}

/* ===== Cards ===== */
.card[b-6e0spugati] {
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.04);
    padding: 14px;
}

.form-card[b-6e0spugati] {
    min-height: 420px;
}

.grid-card[b-6e0spugati] {
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.card-title[b-6e0spugati] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e6e9f0;
}

    .card-title > span:first-child[b-6e0spugati] {
        font-weight: 700;
        color: #0f172a;
    }

.card-subtitle[b-6e0spugati] {
    font-size: 12px;
    color: #6b7280;
}

/* ===== Form Grid ===== */
.dialog-form[b-6e0spugati] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    margin-top: 4px;
}

.form-row[b-6e0spugati] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label[b-6e0spugati] {
    font-weight: 600;
    font-size: 12px;
    color: #334155;
    letter-spacing: .2px;
}

.fullwidth[b-6e0spugati] {
    width: 100%;
}

/* Yarn dropdown item template */
.ddl-yarn-item[b-6e0spugati] {
    line-height: 1.15;
}

    .ddl-yarn-item .yarn-name[b-6e0spugati] {
        font-weight: 600;
    }

    .ddl-yarn-item .yarn-code[b-6e0spugati] {
        font-size: 12px;
        color: #6b7280;
    }

/* ===== Grid ===== */
.duca-grid .e-gridheader[b-6e0spugati] {
    border-radius: 10px 10px 0 0;
}

.duca-grid .e-gridcontent[b-6e0spugati] {
    background: #fff;
    border-radius: 0 0 10px 10px;
}

.duca-grid .e-toolbar[b-6e0spugati] {
    border: none;
    background: transparent;
    padding: 0 0 6px 0;
}

.duca-grid .e-rowcell[b-6e0spugati], .duca-grid .e-headercell[b-6e0spugati] {
    font-size: 13px;
}

/* ===== Buttons ===== */
.btn-primary[b-6e0spugati] {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-weight: 600 !important;
}

    .btn-primary:hover[b-6e0spugati] {
        filter: brightness(0.96);
    }

.btn-ghost[b-6e0spugati] {
    background: #f3f4f6 !important;
    color: #111827 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-weight: 600 !important;
    border: 1px solid #e5e7eb !important;
}

.btn-danger[b-6e0spugati] {
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-weight: 700 !important;
}

/* ===== Delete ===== */
.delete-card[b-6e0spugati] {
    padding: 22px;
    font-size: 14px;
    color: #7f1d1d;
    font-weight: 700;
    background: #fff1f2;
    border: 1px solid #ffe4e6;
}

/* ===== Toast ===== */
.toast-wrap[b-6e0spugati] {
    position: relative;
    z-index: 9999;
}

#toast_type.e-toast[b-6e0spugati] {
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}

#toast_type .e-toast-message[b-6e0spugati] {
    font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .dialog-content[b-6e0spugati] {
        grid-template-columns: 1fr;
    }

    .form-card[b-6e0spugati], .grid-card[b-6e0spugati] {
        min-height: auto;
    }
}

@media (max-width: 680px) {
    .dialog-form[b-6e0spugati] {
        grid-template-columns: 1fr;
    }
}
