/* Styles for NavMenu.razor */
.nav-menu {
    width: 250px; /* Adjust width as needed */
    height: 100vh; /* full height */
    background-color: #f8f9fa; /* Light background */
    border-right: 1px solid #dee2e6; /* Light border */
    display: flex;
    flex-direction: column;
}

.app-logo {
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.dxbl-nav-item {
    padding: 0.75rem 1rem;
}

.dxbl-nav-item-has-items > .dxbl-nav-item-content {
    padding-right: 2.5rem; /* Adjust for the expand/collapse icon */
}

.dxbl-nav-item .dxbl-nav-item-content {
    text-decoration: none;
    color: #343a40; /* Dark text */
}

    .dxbl-nav-item .dxbl-nav-item-content:hover {
        background-color: #e9ecef; /* Light hover background */
    }

.dxbl-nav-item.nav-logout {
    margin-top: auto; /* Push logout to the bottom */
    border-top: 1px solid #dee2e6;
}

.dxbl-nav-item--expanded > .dxbl-nav-item-content {
    background-color: #e9ecef; /* Keep expanded item highlighted */
}

/* Styles for Home.razor */
.top-bar {
    background-color: #f8f9fa;
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 2rem;
}

.search-box {
    max-width: 300px;
    margin-right: auto;
}

.user-info {
    display: flex;
    align-items: center;
}

.welcome {
    margin-right: 1rem;
}

.dashboard-container {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.dashboard-content h2 {
    margin-bottom: 1.5rem;
}

.row {
    display: flex;
    gap: 1.5rem;
}

.col-md-4 {
    flex: 1;
}

.col-md-6 {
    flex: 1;
}

.status-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

    .status-list li {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
    }

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

    .status-indicator.new {
        background-color: #007bff;
    }

    .status-indicator.in-progress {
        background-color: #ffc107;
    }

    .status-indicator.approved {
        background-color: #28a745;
    }

    .status-indicator.rejected {
        background-color: #dc3545;
    }

.requests-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

    .requests-list li {
        margin-bottom: 0.5rem;
    }

.recent-requests-list {
    list-style: none;
    padding: 0;
}

.notification-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.notification-icon {
    margin-right: 0.5rem;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

    .quick-actions .dx-btn {
        margin-bottom: 0.5rem;
    }

/* Added styles for home page 08/04/2025 */
.pos {
    position: absolute;
    top: 70px;
}

.border {
    border: none !important;
}

.dxbl-gridlayout > .dxbl-gridlayout-root, .dxbl-stacklayout > .dxbl-stacklayout-root {
    width: 99% !important;
}

.menu-item {
    padding: 8px 0px 8px 50px;
    text-decoration: none;
}

.listbox-item-template {
    display: flex;
    align-items: center;
}

    .listbox-item-template > img {
        border-radius: 50%;
        width: 2rem;
        height: 2rem;
    }

img + .listbox-item-template-text {
    margin-left: 0.5rem;
}

.dxbl-sm img + .listbox-item-template-text {
    margin-left: 0.375rem;
}

.dxbl-lg img + .listbox-item-template-text {
    margin-left: 0.625rem;
}

.listbox-item-template-text {
    display: flex;
    flex-flow: column;
}

.listbox-item-template-text-phone {
    opacity: 0.65;
}

.txt-bold {
    font-weight: bold;
}

/* Plant CSS start */

.h-400 {
    height: 400px !important;
}

.p-20 {
    padding: 20px !important;
}

.icon {
    width: 16px;
    height: 16px;
    background-color: currentColor;
    text-align: center;
}

.icon-edit {
    -webkit-mask-image: url("../images/edit.svg");
    mask-image: url("../images/edit.svg");
}

.icon-plus {
    -webkit-mask-image: url("../images/add.svg");
    mask-image: url("../images/add.svg");
}

.icon-save {
    -webkit-mask-image: url("../images/check.svg");
    mask-image: url("../images/check.svg");
}

.icon-cancel {
    -webkit-mask-image: url("../images/clear.svg");
    mask-image: url("../images/clear.svg");
}

.icon-delete {
    -webkit-mask-image: url("../images/delete.svg");
    mask-image: url("../images/delete.svg");
}

.icon-info {
    -webkit-mask-image: url("../images/info.svg");
    mask-image: url("../images/info.svg");
}

.cw-320 {
    max-width: 320px;
    width: 100%;
}

.cw-150 {
    max-width: 150px;
    width: 100%;
}

.fl-lt {
    float: left;
}

.fl-rt {
    float: right;
}

.w-150 {
    width: 150% !important;
}

.mr-4 {
    margin-right: 4px;
}

.pt-15 {
    padding-top: 15px;
}

.dis-inline {
    display: inline-table;
}

.w-250 {
    width: 250px;
}

.w-80 {
    width: 80px;
}

.textarea {
    width: 100% !important;
    height: 200px;
}
/* Plant css end*/

.menu-button[b-axosmzugur] {
    padding: 0.375rem;
    width: auto !important;
    height: auto !important;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    background: #ffffff !important;
    color: #1e4080 !important;
    border-bottom: 1px solid #e8eaf0 !important;
}

.dxbl-grid-header, .dxbl-grid-header-row {
    background-color: #cccc99 !important;
}

.menu-item-icons {
    color: #1e4080;
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
}

.fnt-13 {
    font-size: 13pt;
}

.dis-none {
    display: none !important;
}

.dis-flex {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    height: calc(100vh - 58px);
    max-height: calc(100vh - 58px);
    width: 3.25rem;
    min-width: 3.25rem;
    max-width: 3.25rem;
    border-right: 1px solid #e8eaf0;
}

.pt-10 {
    padding-top: 10px;
}

hr {
    margin: 5px 0 !important;
    color: #fff;
    opacity: 1;
}

:root, [data-bs-theme=light] {
    --bs-primary: #df6c32;
    --bs-primary-rgb: 223,108,50;
    --portal-primary: #df6c32;
    --portal-primary-hover: #c95d27;
    --portal-danger: #c93c3c;
    --portal-shell-blue: #162e62;
}

/* ── Page background ── */
body {
    background-color: #f4f6f9;
}

.content {
    background-color: #f4f6f9;
}

.menu-item:hover {
    background-color: #eef2fb !important;
    color: #1e4080 !important;
    border-left-color: #df6c32 !important;
}

.menu-item-icons:hover {
    background: #eef2fb;
    color: #df6c32 !important;
}

/* ── Sidebar: white clean nav ── */
.layout-sidebar,
.sbar {
    background-color: #ffffff;
}

#sidebar {
    background: #ffffff;
    border-right: 1px solid #e8eaf0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-logo {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e8eaf0;
    background: #fff;
    flex-shrink: 0;
}

    .sidebar-logo span {
        font-size: 0.95rem;
        font-weight: 700;
        color: #1e4080;
        letter-spacing: 0.03em;
    }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    overflow-y: auto;
    flex: 1;
}

/* Sidebar icons: orange accent */
#sidebar .fa,
.dis-flex .fa {
    color: #df6c32;
}

#sidebar .menu-item .fa {
    width: 1.25rem;
    min-width: 1.25rem;
    margin-right: 0.55rem;
    text-align: center;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 9px 16px;
    font-size: 0.875rem;
    color: #3a3a3a !important;
    text-decoration: none !important;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #edf0f5;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item:hover {
        background-color: #eef2fb;
        color: #1e4080 !important;
    }

    /* D — Stronger active highlight */
    .menu-item.active {
        background-color: #dce8f8 !important;
        color: #1e4080 !important;
        border-left: 3px solid #df6c32 !important;
        border-bottom-color: #d6dfec;
        font-weight: 700;
    }

.dxbl-group > .dxbl-group-header {
    border: none !important;
}

.active {
    border-color: #0d6efd;
}

.pl-10 {
    padding-left: 10px !important;
}

.ddlmenu {
    background: #ffffff !important;
    color: #3a3a3a !important;
}

.h-250 {
    height: 250px !important;
}

.h-130 {
    height: 180px !important;
}

.card-container .card-body {
    height: 240px !important;
}

.loginDis {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    color: #fff;
    flex-direction: row;
    float: right;
    left: calc(100% - 198px);
}

.cw {
    color: #fff !important;
    font-style: italic;
}

.p-10 {
    padding: 10px;
}
/*.compHome{
    width: 500px !important;
    
    position: absolute;
    left: 413px;
    TOP: 100px;
}*/

.custom-combobox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 250px;
    padding: 8px 36px 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
}

.portal-topbar .custom-combobox {
    min-width: 220px;
    max-width: min(340px, 38vw);
    height: 38px;
    color: #fff;
    background-color: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.28);
    box-shadow: none;
}

    .portal-topbar .custom-combobox:focus {
        border-color: rgba(255,255,255,0.62);
        box-shadow: 0 0 0 3px rgba(223,108,50,0.28);
        outline: none;
    }

    .portal-topbar .custom-combobox option {
        color: #172033;
        background: #fff;
    }

.btn-primary,
.dxbl-btn-primary,
.dxbl-btn.dxbl-btn-primary {
    background-color: var(--portal-primary) !important;
    border-color: var(--portal-primary) !important;
    color: #fff !important;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .dxbl-btn-primary:hover,
    .dxbl-btn-primary:focus,
    .dxbl-btn.dxbl-btn-primary:hover,
    .dxbl-btn.dxbl-btn-primary:focus {
        background-color: var(--portal-primary-hover) !important;
        border-color: var(--portal-primary-hover) !important;
        color: #fff !important;
    }

.btn-success,
.dxbl-btn-success,
.dxbl-btn.dxbl-btn-success {
    background-color: var(--portal-primary) !important;
    border-color: var(--portal-primary) !important;
    color: #fff !important;
}

.btn-danger,
.dxbl-btn-danger,
.dxbl-btn.dxbl-btn-danger {
    background-color: var(--portal-danger) !important;
    border-color: var(--portal-danger) !important;
}

@media (max-width: 768px) {
    .portal-topbar .custom-combobox {
        max-width: 100%;
        min-width: min(100%, 260px);
    }
}

.custom-combobox:focus {
    border-color: #0078d4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,120,212,0.3);
}

/* ── Dropdown inside the dark top bar ── */
.top-row .custom-combobox {
    background-color: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    box-shadow: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") !important;
}

    .top-row .custom-combobox option {
        background-color: #162e62;
        color: #ffffff;
    }

.Appl_frmlayout_YesNoBtn {
    width: 80px !important;
}

.bpjph-popup-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
}

    .bpjph-popup-actions .Appl_frmlayout_YesNoBtn {
        width: auto !important;
        min-width: 96px;
        white-space: nowrap;
    }

        .bpjph-popup-actions .Appl_frmlayout_YesNoBtn:has(.dxbl-btn-caption),
        .bpjph-popup-actions .dxbl-btn {
            white-space: nowrap;
        }

.Appl_HeaderCaption {
    background-color: #154995 !important;
    font-weight: bolder !important;
    color: white !important;
}

.Appl_frmlayout {
    width: 100% !important;
    padding-top: 10px !important;
}

.Appl_captionWidth {
    width: 98% !important;
    line-break: auto !important;
}

.Appl_caption_Button {
    width: 98% !important;
    line-break: auto !important;
    vertical-align: top !important;
    align-items: end !important;
}

.Appl_captionFullWidth {
    background-color: cornflowerblue !important;
    font-weight: bolder !important;
    color: white !important;
}

.Grid-EditFormTemplate {
    min-width: 800px !important;
}

.Appl_FooterContent {
    font-weight: bold !important;
}

.Appl_FooterInfo {
    padding-top: calc(.2rem + var(--bs-border-width)) !important;
}

.Appl_FC_Instruction {
    font-weight: bold !important;
    text-align: center !important;
    background-color: gold !important;
    min-width: 1200px !important;
    width: 1200px !important;
}

.Appl_WrapText {
    /* text-wrap: auto !important; */
    white-space: normal !important;
    width: 76px !important;
}

.Appl_WrapText_FullWidth {
    /* text-wrap: auto !important; */
    white-space: normal !important;
    width: 100% !important;
    padding-top: 10px !important;
}

.Appl_WrapText_ShippingMethod {
    white-space: normal !important;
    width: 98% !important;
    line-break: auto !important;
}

.Appl_AlighCheckBox {
    width: 40px !important;
}

.Appl_ToggleInput {
    position: relative;
    height: 30px;
    width: 60px;
    -webkit-appearance: none;
    background: purple;
    border-radius: 15px;
}

    .Appl_ToggleInput: before {
        cursor: pointer;
        content: '';
        position: absolute;
        top: 0 px;
        left: 0 px;
        height: 30px;
        width: 30px;
        transform: scale(0,85);
        border-radius: 50%;
        background: white;
        transition: .5s
    }

    .Appl_ToggleInput:checked:before {
        left: 30px;
    }

.Appl_HeaderCaption_HLink {
    height: 30px !important;
}


.Appl_frmlayout_BulkProducts {
    width: 100% !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    align-items: inherit !important;
    text-align: end !important;
}

.Appl_frmlayout_Btn {
    width: 150px !important;
}

.Appl_frmlayout_ImportBtn {
    width: 80px !important;
}

.text-warn {
    font-size: 14pt;
    color: #f44621;
    font-style: italic;
    font-weight: bold;
}

.text-success {
    font-size: 14pt;
    color: #378217;
    font-style: italic;
    font-weight: bold;
}

.alignPopupButtons {
    text-align: end !important;
}

.dxbl-office-ribbon {
    display: none !important;
}

.inner {
    display: inline-block;
}


/* .dxbl-tabs-item {
	background-color:darkkhaki;
	} */

.dxbl-tabs.dxbl-tabs-top > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active,
.dxbl-tabs.dxbl-tabs-top > .dxbl-tabs-tablist > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active {
    background: #df6c32 !important;
    color: #fff !important;
}

.disabled-tablink {
    cursor: default;
    pointer-events: none;
    text-decoration: none;
    color: grey !important;
}

.p-10 {
    padding-left: 10px;
}

.ImportBtnAlignment, .dxbl-upload {
    padding-top: 0px !important;
    padding-bottom: 10px !important;
}

.Appl_Quote_AlignRight {
    float: right;
}

.Appl_Quote_Button_Align {
    text-align: left;
    width: 380px;
    height: 50px;
    color: white;
    float: right;
    display: flex;
    justify-content: flex-start; /* Aligns content to the start (left) */
    align-items: center;
    font-weight: bolder;
}

.Appl_Quote_Rvw2Button_Align {
    text-align: left;
    width: 260px;
    height: 50px;
    color: white;
    float: right;
    display: flex;
    justify-content: flex-start; /* Aligns content to the start (left) */
    align-items: center;
    font-weight: bolder;
}


.Appl_Quote_Rvw3Button_Align {
    text-align: left;
    width: 210px;
    height: 50px;
    color: white;
    float: right;
    display: flex;
    justify-content: flex-start; /* Aligns content to the start (left) */
    align-items: center;
    font-weight: bolder;
}

/* ── E: Page header bar (Profile, Invoices, etc.) ── */
.page-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid #e8eaf0;
    padding: 16px 20px 14px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.page-header-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e4080;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-header-subtitle {
    font-size: 0.82rem;
    color: #999;
    margin-top: 3px;
    padding-left: 2px;
}

/* ── F: Content card shadows (DxFormLayoutGroup panels) ── */
.dxbl-group {
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07) !important;
    overflow: hidden;
    border: 1px solid #eaecf0 !important;
}

    .dxbl-group > .dxbl-group-header {
        background: #f8f9fc !important;
        border-bottom: 1px solid #eaecf0 !important;
        font-weight: 600;
        color: #333 !important;
        padding: 12px 16px !important;
    }

/* ── Dashboard card styles ── */
.dash-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    height: 100%;
    box-sizing: border-box;
}

    .dash-card h3 {
        font-size: 0.95rem;
        font-weight: 700;
        color: #444;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 16px;
        padding-bottom: 10px;
        border-bottom: 1px solid #f0f0f0;
    }

.dash-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f5f5f5;
}

    .dash-card-row:last-child {
        border-bottom: none;
    }

.dash-badge {
    background: #fff3ec;
    color: #df6c32;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 12px;
    border: 1px solid #f5c6a8;
}

.dash-badge-blue {
    background: #e8f1fb;
    color: #2e6dbf;
    border-color: #b3cfed;
}

.dash-stat-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.dash-stat {
    flex: 1;
    text-align: center;
    background: #f9f9f9;
    border-radius: 6px;
    padding: 8px 4px;
    font-size: 0.82rem;
    color: #555;
}

    .dash-stat strong {
        display: block;
        font-size: 1.1rem;
        color: #333;
    }

.dash-action-btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: opacity 0.15s ease;
}

    .dash-action-btn:hover {
        opacity: 0.88;
    }

.dash-action-primary {
    background: #df6c32;
    color: #fff;
}

.dash-action-secondary {
    background: #2e6dbf;
    color: #fff;
}

.dash-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid #f5f5f5;
}

    .dash-notif-item:last-child {
        border-bottom: none;
    }

.dash-notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

    .dash-notif-dot.info {
        background: #2e6dbf;
    }

    .dash-notif-dot.warning {
        background: #e8a020;
    }

    .dash-notif-dot.success {
        background: #3c9e5f;
    }

.dash-page-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c2c3e;
    margin-bottom: 20px;
    padding: 16px 10px 10px;
}

.plant-page-shell {
    padding: 18px 22px 28px;
    background: #f4f6f9;
    min-height: calc(100vh - 58px);
}

.plant-header-bar {
    border-radius: 8px;
    margin-bottom: 14px;
}

.plant-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.certificate-selected-count {
    color: #174d95;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.certificate-package-details {
    display: grid;
    gap: 8px;
    padding: 8px 4px;
}

.certificate-downloads-panel {
    border-top: 1px solid #e4e9f2;
    margin-top: 18px;
    padding-top: 16px;
}

.certificate-downloads-header {
    padding: 0 0 12px;
}

.certificate-downloads-grid {
    border: 1px solid #dce3ef;
    border-radius: 4px;
    overflow: hidden;
}

.certificate-downloads-empty {
    color: #6d7890;
    padding: 12px 4px;
}

.certificate-download-status-failed {
    color: #b42318;
    font-weight: 600;
}

.certificate-download-status-pending {
    color: #475467;
    font-weight: 600;
}

.certificate-header-actions {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.certificate-action-help {
    color: #6d7890;
    font-size: 12px;
    line-height: 1.35;
    max-width: min(760px, 70vw);
    text-align: right;
    white-space: nowrap;
}

.plant-status-message {
    margin: 0 0 12px;
}

.plant-page-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.plant-list-panel,
.plant-detail-panel {
    min-width: 0;
}

.plant-list-panel {
    background: #fff;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
}

.plant-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #e8eaf0;
    background: #fff;
}

.plant-panel-title {
    color: #1e4080;
    font-weight: 700;
    font-size: 0.95rem;
}

.plant-panel-subtitle {
    color: #7a8290;
    font-size: 0.78rem;
    margin-top: 2px;
}

.plant-count {
    min-width: 2rem;
    padding: 3px 9px;
    text-align: center;
    border-radius: 999px;
    background: #fff3ec;
    color: #df6c32;
    border: 1px solid #f5c6a8;
    font-size: 0.8rem;
    font-weight: 700;
}

.plant-listbox {
    border: none !important;
    height: 520px !important;
    max-height: calc(100vh - 245px);
}

.plant-detail-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plant-selected-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.plant-summary-label {
    display: block;
    color: #7a8290;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plant-summary-name {
    color: #172033;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 2px;
}

.plant-detail-layout .dxbl-group {
    height: 100%;
}

.plant-empty-state {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    border: 1px dashed #cfd6e3;
    border-radius: 8px;
    color: #7a8290;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

    .plant-empty-state .fa {
        color: #df6c32;
        font-size: 2rem;
    }

.plant-record-detail {
    padding: 16px;
    background: #fff;
}

.plant-record-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #edf0f5;
}

.plant-record-title {
    color: #172033;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.plant-record-subtitle {
    color: #7a8290;
    font-size: 0.82rem;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.plant-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.plant-fact {
    min-width: 0;
}

    .plant-fact span {
        display: block;
        color: #7a8290;
        font-size: 0.74rem;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 3px;
    }

    .plant-fact strong {
        display: block;
        color: #172033;
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

.plant-fact-wide {
    grid-column: 1 / -1;
}

.management-page-shell {
    padding: 18px 22px 28px;
    background: #f4f6f9;
    min-height: calc(100vh - 58px);
}

.management-header-bar {
    border-radius: 8px;
    margin-bottom: 14px;
}

.management-grid-panel {
    background: #fff;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    min-width: 0;
}

.management-grid-body {
    padding: 14px;
    min-width: 0;
    overflow-x: auto;
}

    .management-grid-body .dxbl-grid,
    .management-grid-body .grid-container,
    .management-grid-body .mw-1100 {
        width: 100%;
        max-width: 100%;
    }

    .management-grid-body .dxbl-grid {
        border-radius: 6px;
    }

        .management-grid-body .dxbl-grid .dxbl-grid-table > thead {
            background: #f8f9fc;
        }

    .management-grid-body .dxbl-toolbar {
        margin-bottom: 10px;
    }

.management-detail-row {
    margin: 10px 6px 14px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
}

.management-page-shell .dxbl-popup .dxbl-popup-header {
    background: #f8f9fc;
}

.management-page-shell .text-success,
.management-page-shell .text-warn {
    padding: 10px 12px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e3e7ef;
}

.management-page-shell .text-success {
    border-left: 4px solid #3c9e5f;
}

.management-page-shell .text-warn {
    border-left: 4px solid #df6c32;
}

.bulk-products-popup .dxbl-popup-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e8ef !important;
    color: #172033 !important;
    font-weight: 700 !important;
    padding: 14px 18px !important;
}

.bulk-products-popup .dxbl-popup-body {
    padding: 0 !important;
}

.bulk-upload-content {
    padding: 20px 22px 18px;
    background: #f8f9fc;
}

.bulk-upload-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

    .bulk-upload-step + .bulk-upload-step {
        margin-top: 12px;
    }

.bulk-step-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--portal-primary);
    color: #fff;
    font-weight: 700;
}

.bulk-step-title {
    color: #172033;
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.bulk-step-text {
    color: #687385;
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 12px;
}

.bulk-download-link {
    display: inline-flex;
    text-decoration: none;
}

.bulk-action-btn,
.bulk-footer-btn {
    min-width: 128px;
}

.bulk-file-input {
    max-width: 360px;
}

.bulk-upload-warning {
    margin-top: 12px;
    padding: 10px 12px;
    border-left: 4px solid #df6c32;
    background: #fff7f2;
    color: #7d3b19;
    border-radius: 6px;
    font-size: 0.85rem;
}

.bulk-upload-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e3e7ef;
}

.bpjph-page-shell {
    padding: 18px 22px 28px;
    background: #f4f6f9;
    min-height: calc(100vh - 58px);
}

.bpjph-header-bar {
    border-radius: 8px;
    margin-bottom: 14px;
}

.bpjph-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bpjph-scheme-pill,
.bpjph-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #f5c6a8;
    background: #fff3ec;
    color: var(--portal-primary);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.bpjph-content-card,
.bpjph-grid-panel,
.bpjph-summary-card {
    background: #fff;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    min-width: 0;
}

.bpjph-card-header,
.bpjph-grid-panel-header,
.bpjph-summary-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e8eaf0;
    background: #fff;
}

.bpjph-card-title {
    color: #1e4080;
    font-size: 0.98rem;
    font-weight: 700;
}

.bpjph-card-subtitle {
    color: #7a8290;
    font-size: 0.8rem;
    margin-top: 2px;
}

.bpjph-card-body,
.bpjph-grid-panel-body,
.bpjph-summary-card-body {
    padding: 14px 16px 16px;
}

.bpjph-control-row {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(240px, 420px);
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.bpjph-field-label {
    color: #172033;
    font-size: 0.88rem;
    font-weight: 700;
}

.bpjph-country-select {
    max-width: 420px;
}

.bpjph-pdf-frame {
    width: 100%;
    height: min(72vh, 760px);
    border: 1px solid #dce3ef;
    border-radius: 6px;
    background: #fff;
}

.bpjph-empty-state {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px dashed #cfd6e3;
    border-radius: 8px;
    color: #7a8290;
    text-align: center;
    background: #fbfcfe;
}

    .bpjph-empty-state .fa {
        color: var(--portal-primary);
        font-size: 2rem;
    }

.bpjph-two-column-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.bpjph-grid-panel-body {
    overflow-x: auto;
}

    .bpjph-grid-panel-body .dxbl-grid,
    .bpjph-grid-panel-body .mw-1100 {
        width: 100%;
        max-width: 100%;
    }

.bpjph-page-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e3e7ef;
    flex-wrap: wrap;
}

.bpjph-status-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.bpjph-stat-card {
    min-width: 180px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

    .bpjph-stat-card span {
        display: block;
        color: #7a8290;
        font-size: 0.74rem;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 4px;
    }

    .bpjph-stat-card strong {
        color: #172033;
        font-size: 1.05rem;
        font-weight: 700;
    }

.bpjph-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bpjph-option-card {
    padding: 14px;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    background: #fbfcfe;
}

.bpjph-option-title {
    color: #172033;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.bpjph-copy-input {
    max-width: 140px;
}

.bpjph-summary-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .bpjph-summary-list li {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        padding: 9px 0;
        border-bottom: 1px solid #edf0f5;
        color: #172033;
        font-size: 0.86rem;
    }

        .bpjph-summary-list li:last-child {
            border-bottom: none;
        }

.bpjph-summary-total {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #e3e7ef;
    color: #172033;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .plant-page-grid {
        grid-template-columns: 1fr;
    }

    .bpjph-two-column-grid,
    .bpjph-options-grid {
        grid-template-columns: 1fr;
    }

    .plant-listbox {
        height: 340px !important;
        max-height: 340px;
    }
}

@media (max-width: 768px) {
    .plant-page-shell,
    .management-page-shell,
    .bpjph-page-shell {
        padding: 12px;
    }

    .plant-header-bar,
    .management-header-bar,
    .bpjph-header-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .plant-header-actions,
    .bpjph-header-actions {
        width: 100%;
    }

    .bpjph-control-row {
        grid-template-columns: 1fr;
    }

    .bpjph-page-actions {
        flex-direction: column;
    }

    .plant-facts-grid {
        grid-template-columns: 1fr;
    }

    .bulk-upload-step {
        grid-template-columns: 1fr;
    }

    .bulk-upload-footer {
        flex-direction: column;
    }

    .bulk-footer-btn,
    .bulk-action-btn,
    .bulk-file-input {
        width: 100%;
        max-width: 100%;
    }

    .bpjph-summary-list li {
        grid-template-columns: 1fr;
    }
}
