#incomingTable .react-bs-table {
  width: 1500px;
}

.planning {
  display: 'block';
  padding: 0;
  margin: 0;
  background: 'transparent';
  height: '30px';
  border: 'none';
  border-radius: 0;
  border-Bottom: '1px solid #ccc';
  outline: 'none';
  box-shadow: 'none';
}

.modal-90w {
  width: 90%;
  max-width: none !important;
}

body {
  font-family: Helvetica, sans-serif;
}

.toRight {
  width: 100%;
  text-align: right;
}

.react-autosuggest__container {
  position: relative;
}

.react-autosuggest__input {
  width: 240px;
  height: 30px;
  padding: 10px 20px;
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  font-size: 16px;
  border: 1px solid #aaa;
  border-radius: 4px;
}

.react-autosuggest__input--focused {
  outline: none;
}

.react-autosuggest__input--open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.react-autosuggest__suggestions-container {
  display: none;
}

.react-autosuggest__suggestions-container--open {
  display: block;
  position: absolute;
  top: 31px;
  width: 280px;
  border: 1px solid #aaa;
  background-color: #fff;
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  font-size: 16px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  z-index: 2;
}

.react-autosuggest__suggestions-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.react-autosuggest__suggestion {
  cursor: pointer;
  padding: 10px 20px;
}

.react-autosuggest__suggestion--highlighted {
  background-color: #ddd;
}

.multi-select {
  position: relative;
  background-color: #fff;
  border-radius: 4px;
  width: 70%;
  outline: none;
  display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* height: 28px; */
}

.multi-select .selected-options {
  vertical-align: middle;
  height: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: inline-block;
  /* padding: 5px 0px 5px 10px; */
  width: 100%;
  padding: 0 0 0 10px;
}

.file-list {
  list-style: none;
  padding: 0;
}

.file-list li {
  padding-left: 1.3em;
}

.file-list li:before {
  font-family: "Material Icons";
  content: "\e9fc";
  font-weight: 900;
  display: inline-block;
  margin-left: -1.3em;
  /* same as padding-left set on li */
  width: 1.3em;
  /* same as padding-left set on li */
}

.file-list li .glyphicon {
  float: right;
  margin-top: 5px;
  cursor: pointer;
}

.bom-input-border {
  border: 1px solid #ccc !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #ccc !important;
}

.bom-input-border:focus {
  border: 1px solid #66afe9 !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #66afe9 !important;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.form-control.bom-input-border {
  border: 1px solid #ccc !important;
}

select.bom-input-border {
  border: 1px solid #ccc !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input.bom-input-border {
  border: 1px solid #ccc !important;
}

/* Override form-control-plaintext for modal inputs */
.modal .form-control:not(.form-control-plaintext) {
  border: 2px solid #999 !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: #999 !important;
}

.modal select.form-control:not(.form-control-plaintext) {
  border: 2px solid #999 !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: #999 !important;
}

.modal input.form-control:not(.form-control-plaintext) {
  border: 2px solid #999 !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: #999 !important;
}

.select__menu,
.select__menu-list {
  z-index: 1000 !important;
}

/* Ensure react-select dropdown container has proper positioning */
.select__menu {
  position: absolute !important;
}

/* Fix MaterialReactTable toolbar z-index to be lower than dropdowns */
.MuiToolbar-root {
  z-index: 1 !important;
  position: relative;
}

/* Ensure MaterialReactTable edit modals appear above react-select dropdowns */
.MuiDialog-root,
.MuiModal-root {
  z-index: 1300 !important;
}

.MuiDialog-container {
  z-index: 1300 !important;
}

/* Ensure MaterialReactTable doesn't create overflow issues */
.MuiPaper-root {
  overflow: visible !important;
}

/* Container for select should allow overflow */
.container {
  overflow: visible !important;
}

#RBS-Scheduler-root {
  .ant-row {
    pointer-events: none !important;
  }
}

/* --- Multi-level dropdown helpers --- */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-top: -0.25rem;
  margin-left: 0.1rem;
  z-index: 2000;
  display: none;
  min-width: 220px;
}

.dropdown-submenu:hover>.dropdown-menu,
.dropdown-submenu.show>.dropdown-menu {
  display: block;
}

.caret-right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  opacity: 0.8;
  transition: transform 0.2s ease-in-out;
}

.dropdown-submenu:hover .caret-right,
.dropdown-submenu.show .caret-right {
  transform: rotate(90deg);
}

/* Responsive: collapse submenu inline on small/mobile screens */
@media (max-width: 991.98px) {
  .dropdown-submenu>.dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin: 0;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    background-color: transparent;
  }
}
/* ══════════════════════════════════════════════
   Search bar
══════════════════════════════════════════════ */
.cl-search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    height: 40px;
    transition: border-color 0.15s ease;
    position: relative;
}

.cl-search-bar:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.cl-search-input {
    border: none;
    outline: none;
    background: transparent;
    padding: 0 8px;
    font-size: 14px;
    color: #334155;
    flex: 1;
    min-width: 0;
}

.cl-search-divider {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 8px;
    flex-shrink: 0;
}

/* Search type picker */
.cl-search-type-wrap {
    position: relative;
    display: flex;
    align-items: center;
    padding-right: 12px;
    flex-shrink: 0;
}

.cl-search-type-btn {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    padding: 0 4px;
    cursor: pointer;
    white-space: nowrap;
}

.cl-search-chevron {
    color: #94a3b8;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.cl-search-chevron.open {
    transform: rotate(180deg);
}

/* ── Portal dropdown (rendered on document.body — escapes overflow:hidden) ── */
.cl-type-dropdown-portal {
    position: absolute;
    /* fixed so it sits above everything */
    z-index: 99999;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.14);
    min-width: 160px;
    max-height: 400px;
    overflow-y: auto;
}

.cl-type-dropdown-option {
    padding: 9px 14px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.cl-type-dropdown-option:hover {
    background: #f8fafc;
    color: #0f172a;
}

.cl-type-dropdown-option.selected {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

/* ══════════════════════════════════════════════
   Toolbar buttons
══════════════════════════════════════════════ */
.cl-btn-reset,
.cl-btn-add {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.cl-btn-reset {
    background: #fff;
    border: 1px solid #e8edf3;
    color: #64748b;
}

.cl-btn-reset:hover {
    background: #f8fafc;
    color: #334155;
    border-color: #cbd5e1;
}

.cl-btn-add {
    background: #2563eb;
    border: 1px solid #2563eb;
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.20);
}

.cl-btn-add:hover {
    background: #1d4ed8;
}

/* ══════════════════════════════════════════════
   Table
══════════════════════════════════════════════ */
.cl-table {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
}

.cl-table-box {
    border: 1px solid #e8edf3;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.cl-table th {
    background: #f7f9fc;
    padding: 11px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    border-bottom: 1px solid #cbd5e1;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cl-table-container {
    flex: 1;
    min-width: 0;
}

.cl-table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 12px;
}

.cl-th-sortable {
    cursor: pointer;
    transition: color 0.15s;
    user-select: none;
}

.cl-th-sortable:hover {
    color: #0f172a;
}

.cl-sort-icon {
    display: inline-flex;
    margin-left: 4px;
    opacity: 0.3;
}

.cl-sort-icon.active {
    opacity: 1;
    color: #2563eb;
}

.cl-table td {
    padding: 14px 14px;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px solid #cbd5e1;
}

.cl-table tbody tr:last-child td {
    border-bottom: none;
}

.cl-table-row {
    cursor: pointer;
    transition: background 0.12s;
}

.cl-table-row:hover td {
    background: #f0f7ff;
}

.cl-table-row.selected td {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.cl-table-row.selected td:first-child {
    border-left: 3px solid #2563eb;
}

.cl-td-strong {
    font-weight: 600;
    color: #0f172a;
}

.cl-td-muted {
    color: #94a3b8;
    font-size: 12px;
}

.cl-empty {
    text-align: center;
    padding: 48px;
    color: #94a3b8;
    font-size: 13px;
}

/* ══════════════════════════════════════════════
   Pagination
══════════════════════════════════════════════ */
.cl-pagination {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: #f7f9fc;
    border-top: 1px solid #e8edf3;
    flex-wrap: wrap;
}

.cl-rows-label {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cl-rows-select {
    border: 1px solid #e8edf3;
    border-radius: 6px;
    padding: 3px 6px;
    font-size: 12px;
    color: #334155;
    background: #fff;
    outline: none;
    cursor: pointer;
}

.cl-page-info {
    font-size: 12px;
    color: #64748b;
    min-width: 90px;
    text-align: center;
}

.cl-page-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8edf3;
    background: #fff;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.cl-page-btn:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.cl-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ══════════════════════════════════════════════
   Preview panel (right side)
══════════════════════════════════════════════ */
.cl-preview-panel {
    width: 300px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 140px);
    transition: width 0.3s ease, margin 0.3s ease;
    z-index: auto;
}

.cl-preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid #e8edf3;
    background: linear-gradient(135deg, #f0f7ff 0%, #fafbff 100%);
}

.cl-preview-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 14px 12px;
}

.cl-preview-footer {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid #e8edf3;
    background: #f7f9fc;
}

.cl-preview-btn-primary,
.cl-preview-btn-secondary {
    flex: 1;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.cl-preview-btn-primary {
    background: #2563eb;
    border: none;
    color: #fff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.22);
}

.cl-preview-btn-primary:hover {
    background: #1d4ed8;
}

.cl-preview-btn-secondary {
    background: #fff;
    border: 1.5px solid #fecaca;
    color: #dc2626;
}

.cl-preview-btn-secondary:hover {
    background: #fef2f2;
}

/* ══════════════════════════════════════════════
   Delete modal
══════════════════════════════════════════════ */
.cl-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cl-modal {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.15);
}

.cl-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.cl-modal-close:hover {
    color: #475569;
    background: #f1f5f9;
}

.cl-modal-icon {
    color: #ef4444;
    background: #fef2f2;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 18px;
}

.cl-modal-msg {
    font-size: 15px;
    color: #334155;
    margin-bottom: 16px;
    line-height: 1.5;
}

.cl-modal-warning {
    background: #fff8eb;
    border: 1px solid #ffd8a8;
    border-radius: 8px;
    padding: 10px 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.cl-modal-warning-title {
    font-size: 12px;
    font-weight: 600;
    color: #d97706;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cl-modal-warning-text {
    font-size: 12px;
    color: #92400e;
}

.cl-modal-actions {
    display: flex;
    gap: 10px;
}

.cl-modal-btn-cancel,
.cl-modal-btn-confirm {
    flex: 1;
    height: 40px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.cl-modal-btn-cancel {
    background: #fff;
    border: 1.5px solid #e8edf3;
    color: #64748b;
}

.cl-modal-btn-cancel:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.cl-modal-btn-confirm {
    background: #ef4444;
    border: 1.5px solid #ef4444;
    color: #fff;
}

.cl-modal-btn-confirm:hover {
    background: #dc2626;
}

/* ══════════════════════════════════════════════
   Responsive
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cl-content-wrapper {
        flex-direction: column !important;
        padding-bottom: 100px;
    }

    .cl-preview-panel {
        width: 100% !important;
        position: static !important;
        max-height: none !important;
        margin-top: 16px;
    }
}

@media (max-width: 768px) {
    .cl-pagination {
        justify-content: center;
        gap: 6px;
    }
}

/* ══════════════════════════════════════════════
   Layout & Sticky Positioning
   ══════════════════════════════════════════════ */

/* Content Wrapper */
.cl-content-wrapper {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* Toolbar */
.cl-toolbar-sticky {
    background: #ffffff !important;
    border-bottom: 2px solid #cbd5e1 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Table Headers */
.cl-table thead th {
    background: #f8fafc !important;
    border-bottom: 2px solid #cbd5e1 !important;
}

/* Ensure data rows don't overlap */
.cl-table tbody tr {
    position: relative;
    z-index: 1;
}

/* Prevent container overflow issues */
.cl-table-container {
    max-width: 100%;
}

/*# sourceMappingURL=main-c71fd7bd.324bc3b0.css.map*/