#new-customers-page,
#newCustomerModal,
#newCustomerHistoryModal,
#newCustomerStatusModal {
    --nc-burgundy: #8B1E1E;
    --nc-burgundy-secondary: #9C3131;
    --nc-active: #33B35A;
    --nc-green-cta: #1D9A5B;
    --nc-canvas: #F4F6F9;
    --nc-panel: #F9FAFB;
    --nc-white: #FFFFFF;
    --nc-border: #E2E8F0;
    --nc-input-border: #D1D5DB;
    --nc-muted: #9CA3AF;
    --nc-text: #374151;
    --nc-green: #10B981;
    --nc-blue: #3B82F6;
}

body.new-customers-theme nav.navbar { background: #8B1E1E; }
body.new-customers-theme nav.navbar .brand-text span { color: #FFFFFF; font-weight: 700; }

#new-customers-page {
    background: var(--nc-canvas);
    color: var(--nc-text);
    min-height: calc(100vh - 40px);
    padding: 0 !important;
}

#new-customers-page .nc-workspace {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 16px 8px 24px;
}

#new-customers-page .nc-toolbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

#new-customers-page .nc-toolbar .nc-filter-panel { margin-bottom: 0; }

#new-customers-page .nc-add-button {
    align-items: center !important;
    background: #1D9A5B !important;
    border: 0 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(29, 154, 91, .2);
    color: #FFFFFF !important;
    cursor: pointer;
    display: inline-flex !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    height: 42px !important;
    justify-content: center !important;
    max-width: 173px !important;
    min-width: 173px !important;
    padding: 0 16px !important;
    width: 173px !important;
}

#new-customers-page .nc-add-button:hover {
    background: #167A47 !important;
    color: #FFFFFF !important;
}

#new-customers-page .nc-filter-panel {
    margin-bottom: 18px;
}

#new-customers-page .nc-search-control {
    height: 34px !important;
    max-width: 341px !important;
    position: relative;
    width: 341px !important;
}

#new-customers-page .nc-search-control i {
    color: #9CA3AF !important;
    font-size: 17px;
    left: 13px;
    position: absolute;
    top: 10px;
}

#new-customers-page .nc-search-control input.form-control {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: #1F2937 !important;
    font-size: 13px !important;
    height: 34px !important;
    padding-left: 34px !important;
}

#new-customers-page .nc-search-control input.form-control::placeholder { color: #9CA3AF !important; }

#new-customers-page .nc-search-control input.form-control:focus {
    border-color: #33B35A !important;
    box-shadow: 0 0 0 2px rgba(51, 179, 90, .15) !important;
}

#new-customers-page .nc-filter-panel .form-control,
#newCustomerModal .form-control {
    background: var(--nc-white);
    border: 1px solid var(--nc-input-border);
    border-radius: 6px;
    box-shadow: none;
    color: var(--nc-text);
    font-size: 16px;
    height: 40px;
}

#new-customers-page .nc-filter-panel input.form-control,
#new-customers-page .nc-filter-panel select.form-control {
    border-color: #E2E8F0;
    border-radius: 6px !important;
    color: #1F2937;
    min-width: 0;
}

#newCustomerModal textarea.form-control {
    height: auto;
    min-height: 62px;
}

#new-customers-page .nc-filter-panel .form-control:focus,
#newCustomerModal .form-control:focus {
    border-color: var(--nc-active);
    box-shadow: 0 0 0 2px rgba(51, 179, 90, .13);
}

#new-customers-page .nc-table-panel {
    background: var(--nc-white);
    border: 1px solid var(--nc-border);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
    overflow: hidden;
}

#new-customers-page .nc-table-scroll {
    max-height: calc(100vh - 254px);
    overflow: auto;
    position: relative;
}

#new-customers-page #new-customers-table {
    --nc-code-width: 122px;
    --nc-company-width: 200px;
    --nc-status-width: 140px;
    --nc-action-width: 147.5px;
    --nc-table-width: 1562px;
    border: 0;
    color: var(--nc-text);
    font-family: Inter, Roboto, Helvetica, "Segoe UI", sans-serif;
    font-size: 13px;
    margin: 0;
    min-width: var(--nc-table-width);
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    width: var(--nc-table-width);
    width: 100%;
    min-width: 1200px;
}

#new-customers-page #new-customers-table col.nc-contacts-column { width: 200px; }
#new-customers-page #new-customers-table col.nc-email-column { width: 240px; }

#new-customers-page #new-customers-table thead th {
    background: #E5E7EB;
    border-color: #CDCDCD;
    color: #1F2937;
    font-size: 14px;
    font-weight: 700;
    height: 50px;
    padding: 10px 12px;
    position: sticky;
    top: 0;
    vertical-align: middle;
    white-space: nowrap;
    z-index: 8;
}

#new-customers-page #new-customers-table tbody td {
    background: #FFFFFF;
    border-color: #E5E7EB;
    color: #374151;
    font-size: 14px;
    font-weight: 400;
    height: 60px;
    padding: 8px 10px;
    vertical-align: middle;
}

#new-customers-page #new-customers-table tbody tr:nth-child(odd) td { background: #F3F4F6 !important; }
#new-customers-page #new-customers-table tbody tr:nth-child(even) td { background: #FFFFFF !important; }

#new-customers-page #new-customers-table tbody a {
    color: #3B82F6;
    font-size: 13px;
    text-decoration: none;
}

#new-customers-page #new-customers-table tbody a:hover { color: #1D4ED8; text-decoration: underline; }

#new-customers-page #new-customers-table tbody a.nc-shipping-note-link {
    color: #3B82F6;
    font-size: 13px;
    text-decoration: underline;
}

#new-customers-page .nc-cell-ellipsis {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#new-customers-page .nc-company-name {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
    word-break: break-word;
}

#new-customers-page .nc-contact-list {
    display: block;
}

#new-customers-page .nc-contact-list-item + .nc-contact-list-item { margin-top: 3px; }
#new-customers-page .nc-email-list-item + .nc-email-list-item { margin-top: 3px; }

#new-customers-page .nc-qc-cell {
    text-align: left;
    white-space: nowrap;
}

#new-customers-page .nc-text-left { text-align: left; }
#new-customers-page .nc-money-header,
#new-customers-page .nc-money-cell {
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

#new-customers-page .nc-code-cell,
#new-customers-page .nc-money-cell { font-size: 13px; font-weight: 600; }

#new-customers-page .nc-status-header,
#new-customers-page .nc-status-cell,
#new-customers-page .nc-action-header,
#new-customers-page .nc-action-cell { text-align: center; }

#new-customers-page .nc-history-text-button {
    background: transparent;
    border: 0;
    color: #397FE8;
    cursor: pointer;
    display: block;
    font-size: 12px;
    line-height: 16px;
    margin: 3px auto 0;
    padding: 0;
    text-decoration: underline;
}

#new-customers-page .nc-history-text-button:hover,
#new-customers-page .nc-history-text-button:focus { color: #2563EB; }

#newCustomerHistoryModal .modal-dialog { max-width: 1100px; }
#newCustomerHistoryModal .modal-header { align-items: center; background: #F9FAFB; border-bottom-color: #E2E8F0; }
#newCustomerHistoryModal .modal-title { color: #1F2937; font-size: 18px; font-weight: 700; }
#newCustomerHistoryModal #newCustomerHistoryTable { color: #374151; font-size: 13px; }
#newCustomerHistoryModal #newCustomerHistoryTable thead th { background: #E5E7EB; border-color: #CDCDCD; color: #1F2937; font-weight: 700; vertical-align: middle; }
#newCustomerHistoryModal #newCustomerHistoryTable th:nth-child(1) { width: 52px; }
#newCustomerHistoryModal #newCustomerHistoryTable th:nth-child(2) { width: 150px; }
#newCustomerHistoryModal #newCustomerHistoryTable th:nth-child(3) { width: 160px; }
#newCustomerHistoryModal #newCustomerHistoryTable th:nth-child(4) { width: 150px; }
#newCustomerHistoryModal #newCustomerHistoryTable td { vertical-align: top; }
#newCustomerHistoryModal .nc-history-change + .nc-history-change { border-top: 1px solid #E5E7EB; margin-top: 8px; padding-top: 8px; }
#newCustomerHistoryModal .nc-history-change strong { color: #1F2937; display: block; margin-bottom: 3px; }
#newCustomerHistoryModal .nc-history-change span { color: #6B7280; display: inline-block; font-weight: 600; min-width: 34px; }
#newCustomerHistoryModal .nc-history-change pre { display: inline-block; font-family: inherit; font-size: 12px; margin: 0; max-width: calc(100% - 40px); overflow-wrap: anywhere; vertical-align: top; white-space: pre-wrap; }

#new-customers-page #new-customers-table tbody tr.table-secondary td {
    background: #F3F4F6;
}

#new-customers-page .nc-sticky-right-1,
#new-customers-page .nc-sticky-right-2 {
    background: var(--nc-white);
    display: table-cell;
    position: sticky;
    z-index: 6;
}

#new-customers-page #new-customers-table td.nc-sticky-right-1,
#new-customers-page #new-customers-table th.nc-sticky-right-1 {
    min-width: var(--nc-action-width);
    right: 0;
    width: var(--nc-action-width);
}

#new-customers-page #new-customers-table td.nc-sticky-right-2,
#new-customers-page #new-customers-table th.nc-sticky-right-2 {
    border-left: 1px solid #E5E7EB;
    min-width: var(--nc-status-width);
    right: var(--nc-action-width);
    width: var(--nc-status-width);
}

#new-customers-page #new-customers-table thead .nc-sticky-right-1,
#new-customers-page #new-customers-table thead .nc-sticky-right-2 {
    background: #E5E7EB;
    z-index: 9;
}

#new-customers-page #new-customers-table thead th.nc-sticky-right-2 {
    border-left: 1px solid #E5E7EB !important;
}

#new-customers-page #new-customers-table tbody tr:nth-child(even) .nc-sticky-right-1,
#new-customers-page #new-customers-table tbody tr:nth-child(even) .nc-sticky-right-2 {
    background: #FFFFFF !important;
}

#new-customers-page #new-customers-table tbody tr:nth-child(odd) .nc-sticky-right-1,
#new-customers-page #new-customers-table tbody tr:nth-child(odd) .nc-sticky-right-2 {
    background: #F3F4F6 !important;
}

#new-customers-page #new-customers-table tbody tr.table-secondary .nc-sticky-right-1,
#new-customers-page #new-customers-table tbody tr.table-secondary .nc-sticky-right-2 {
    background: #F3F4F6;
}

#new-customers-page .nc-status-chip {
    align-items: center;
    box-sizing: border-box;
    display: inline-flex !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    height: 28px !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 auto !important;
    max-height: 28px !important;
    max-width: 105px !important;
    min-height: 28px !important;
    min-width: 105px !important;
    padding: 0 8px !important;
    text-align: center !important;
    width: 105px !important;
}

#new-customers-page .nc-status-cooperating {
    background: #E8F8E8;
    border: 1px dashed #4CAF50 !important;
    border-radius: 10.5px !important;
    color: #2E7D32;
}

#new-customers-page .nc-status-restricted {
    background: #FFD3D3;
    border: 1px solid #FF4D4F !important;
    border-radius: 999px !important;
    color: #B71C1C;
}

#new-customers-page .nc-status-exploring {
    background: #FFEFD3;
    border: 1px solid #FFA726 !important;
    border-radius: 999px !important;
    color: #E65100;
}

#new-customers-page .nc-status-new {
    background: #E3F2FD;
    border: 1px solid #90CAF9 !important;
    border-radius: 999px !important;
    color: #1565C0;
}

#new-customers-page .nc-edit-text-button {
    align-items: center !important;
    background: #4285F4 !important;
    border: 1px solid #4285F4 !important;
    border-radius: 6px !important;
    color: #FFFFFF !important;
    cursor: pointer;
    display: inline-flex !important;
    font-size: 13px !important;
    font-weight: bold !important;
    height: 34px !important;
    justify-content: center !important;
    margin: 0 auto !important;
    max-height: 34px !important;
    max-width: 93px !important;
    min-height: 34px !important;
    min-width: 93px !important;
    padding: 0 !important;
    transition: all .15s ease-in-out;
    white-space: nowrap !important;
    width: 93px !important;
}

#new-customers-page .nc-status-cell,
#new-customers-page .nc-action-cell { padding-left: 8px; padding-right: 8px; }

#new-customers-page .nc-edit-text-button:hover,
#new-customers-page .nc-edit-text-button:focus {
    background: #EFF6FF !important;
    border-color: #1D4ED8 !important;
    color: #1D4ED8 !important;
    outline: 0;
}

#new-customers-page .nc-pagination .page-link {
    align-items: center;
    background: var(--nc-white);
    border: 1px solid #D1D5DB;
    border-radius: 6px !important;
    color: #4B5563;
    display: flex;
    font-size: 13px;
    height: 29px;
    justify-content: center;
    margin: 0 2px;
    min-width: 30px !important;
    padding: 0 6px;
}

#new-customers-page .nc-pagination .page-item.active .page-link { background: #3B82F6; border-color: #3B82F6; color: var(--nc-white); font-weight: 600; }
#new-customers-page .nc-pagination .page-item.disabled .page-link { background: var(--nc-white); color: #9CA3AF; cursor: default; pointer-events: none; }

#new-customers-page .nc-table-footer {
    align-items: center;
    background: var(--nc-white);
    border-top: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    min-height: 48px;
    padding: 8px 24px;
}

#new-customers-page .nc-footer-summary { color: #6B7280; font-size: 12px; }

#new-customers-page .nc-footer-limit {
    align-items: center;
    display: flex;
    gap: 6px;
}

#new-customers-page .nc-footer-info {
    align-items: center;
    display: flex;
    flex: 1;
    gap: 18px;
}

#new-customers-page .nc-footer-limit label,
#new-customers-page .nc-footer-limit span,
#new-customers-page .nc-footer-shortcut-hint {
    color: #6B7280;
    font-size: 12px;
    margin: 0;
}

#new-customers-page .nc-footer-shortcut-hint { flex: 1; text-align: right; }

#new-customers-page .nc-footer-limit select {
    background: #FFFFFF;
    border: 1px solid #6B7280;
    border-radius: 6px;
    color: #374151;
    font-size: 12px;
    height: 21px;
    padding: 0 4px;
    width: 41.55px;
}

#new-customers-page .nc-table-footer nav { flex: 0 0 auto; }
#new-customers-page .nc-pagination-placeholder { min-height: 29px; }

#newCustomerModal .modal-dialog {
    display: block;
    margin: 28px auto;
    max-width: 1280px;
    text-align: left;
    vertical-align: initial;
    width: min(1280px, calc(100vw - 48px));
}
#newCustomerHistoryModal .modal-dialog,
#newCustomerStatusModal .modal-dialog {
    display: block;
    margin: 28px auto;
    text-align: left;
    vertical-align: initial;
    width: min(900px, calc(100vw - 48px));
}

#newCustomerHistoryModal .modal-dialog { max-width: min(900px, calc(100vw - 48px)); }
#newCustomerStatusModal .modal-dialog { max-width: min(440px, calc(100vw - 32px)); }

#newCustomerModal,
#newCustomerHistoryModal,
#newCustomerStatusModal { text-align: initial; }

#newCustomerModal::before,
#newCustomerHistoryModal::before,
#newCustomerStatusModal::before { display: none; }

#newCustomerModal .modal-content {
    background: #F9FAFB;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    overflow: hidden;
}
#newCustomerHistoryModal .modal-content,
#newCustomerStatusModal .modal-content {
    background: var(--nc-panel);
    border: 0;
    border-radius: 6px;
    overflow: hidden;
}

#newCustomerModal .modal-header {
    align-items: center;
    background: #FFFFFF;
    border-bottom: 0;
    min-height: 52px;
    padding: 14px 24px 8px;
}
#newCustomerHistoryModal .modal-header,
#newCustomerStatusModal .modal-header {
    align-items: center;
    background: var(--nc-white);
    border-bottom: 1px solid #E6E6E6;
    min-height: 57px;
    padding: 0 24px;
}

#newCustomerModal .modal-title { color: #111827; font-size: 18px; font-weight: 700; }
#newCustomerModal .modal-header .close { color: #444748; opacity: 1; }
#newCustomerHistoryModal .modal-title,
#newCustomerStatusModal .modal-title { color: #222; font-size: 16px; font-weight: 600; }

#newCustomerModal .modal-body { max-height: calc(100vh - 180px); overflow-y: auto; padding: 8px 18px 16px; }
#newCustomerHistoryModal .modal-body,
#newCustomerStatusModal .modal-body { max-height: calc(100vh - 180px); overflow-y: auto; padding: 24px; }

#newCustomerModal .modal-footer {
    align-items: center;
    background: #FFFFFF;
    border-top: 1px solid #E6E6E6;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    min-height: 70px;
    padding: 12px 18px;
}
#newCustomerHistoryModal .modal-footer,
#newCustomerStatusModal .modal-footer {
    background: var(--nc-white);
    border-top: 1px solid #E6E6E6;
    min-height: 70px;
    padding: 14px 24px;
}
#newCustomerModal .nc-modal-section { margin-top: 10px; }
#newCustomerModal .nc-modal-section:first-child { margin-top: 0; }
#newCustomerModal .nc-section-title { color: #111827 !important; font-size: 14px; font-weight: 700; margin: 0 0 8px !important; }
#newCustomerModal label { color: #1F2937; font-size: 13px; font-weight: 500; margin-bottom: 5px; }
#newCustomerModal .nc-required-mark { color: #EF4444; }
#newCustomerModal .form-control { border: 1px solid #D1D5DB; border-radius: 6px; box-shadow: none; color: #1F2937; font-size: 13px; height: 31px; }
#newCustomerModal .form-control::placeholder { color: #9CA3AF; }
#newCustomerModal .form-control:focus { border-color: #397FE8; box-shadow: 0 0 0 2px rgba(57, 127, 232, .13); }
#newCustomerModal .form-control[readonly] { background: #E4E4E4; color: #1B1C1C; }
#newCustomerModal textarea.form-control { height: auto; min-height: 71px; padding-top: 8px; }
#newCustomerModal .nc-general-row { display: grid; gap: 8px; }
#newCustomerModal .nc-general-row-primary { grid-template-columns: 232px 232px minmax(0, 367px) minmax(0, 367px); }
#newCustomerModal .nc-general-row-secondary { grid-template-columns: minmax(0, 736px) minmax(0, 236.5px) minmax(0, 236.5px); margin-top: 8px; }
#newCustomerModal .nc-inline-list { display: grid; gap: 6px; }
#newCustomerModal .nc-inline-row { align-items: end; display: grid; gap: 8px; }
#newCustomerModal .nc-contact-row { grid-template-columns: minmax(180px, 299.5px) minmax(180px, 299.5px) minmax(190px, 310px) minmax(150px, 259.5px) 31px; }
#newCustomerModal .nc-address-row { grid-template-columns: minmax(0, 815px) minmax(240px, 359px) 31px; }
#newCustomerModal .nc-contact-field label,
#newCustomerModal .nc-inline-field label,
#newCustomerModal .nc-phone-group > label { display: block; }
#newCustomerModal .nc-contact-field,
#newCustomerModal .nc-inline-field,
#newCustomerModal .nc-phone-group { display: flex; flex-direction: column; min-width: 0; }
#newCustomerModal .nc-address-row .new-customer-select-box,
#newCustomerModal .nc-address-row .select2-container,
#newCustomerModal .nc-address-row .select2-selection--single { height: 31px !important; }
#newCustomerModal .nc-phone-inputs { align-items: stretch; display: grid; grid-template-columns: 65px minmax(0, 1fr); height: 31px; }
#newCustomerModal .nc-phone-inputs .new-customer-select-box,
#newCustomerModal .nc-phone-inputs .select2-container,
#newCustomerModal .nc-phone-inputs .select2-selection--single { height: 31px !important; }
#newCustomerModal .nc-phone-inputs .contact-calling-code { border-radius: 6px 0 0 6px; }
#newCustomerModal .nc-phone-inputs .contact-phone { border-left: 0; border-radius: 0 6px 6px 0; }
#newCustomerModal .nc-calling-code-box .select2-selection--single { border-radius: 6px 0 0 6px !important; }
#newCustomerModal .nc-add-link { background: transparent; border: 0; color: #397FE8; cursor: pointer; font-size: 13px; font-weight: 500; margin-top: 6px; padding: 0; }
#newCustomerModal .nc-add-link:hover { color: #0056DB; text-decoration: underline; }
#newCustomerModal .nc-row-delete { align-items: center; background: transparent; border: 0; color: #EF4444; display: inline-flex; font-size: 15px; height: 31px; justify-content: center; padding: 0; width: 31px; }
#newCustomerModal .nc-row-delete:hover { color: #F87171; }
#newCustomerModal .nc-drop-zone { align-items: center; background: #FFFFFF; border: 2px dashed #E5E7EB; border-radius: 6px; color: #6B7280; cursor: pointer; display: flex; flex-direction: column; justify-content: center; min-height: 70px; padding: 10px 12px; }
#newCustomerModal .nc-drop-zone:hover { border-color: #397FE8; }
#newCustomerModal .nc-drop-zone.dragging { background: #EFF6FF; border-color: #397FE8; color: #397FE8; }
#newCustomerModal .nc-drop-icon { font-size: 16px; margin-bottom: 3px; }
#newCustomerModal .nc-drop-title { color: #374151; font-size: 13px; font-weight: 600; }
#newCustomerModal .nc-drop-sub { color: #6B7280; font-size: 12px; }
#newCustomerModal .nc-upload-list { margin-top: 8px; }
#newCustomerModal .nc-note-group { margin-top: 14px; }
#newCustomerModal .nc-shipping-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#newCustomerModal .nc-production-top { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#newCustomerModal .nc-production-bottom { align-items: start; display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 10px; }
#newCustomerModal .nc-product-builder { align-items: end; display: grid; gap: 8px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
#newCustomerModal .nc-product-builder .form-group { margin-bottom: 0; min-width: 0; }
#newCustomerModal .nc-product-builder .select2-container,
#newCustomerModal .nc-product-builder .select2-selection--single,
#newCustomerModal .nc-product-builder .form-control,
#newCustomerModal .nc-btn-add-to-list { height: 31px !important; }
#newCustomerModal .nc-btn-add-to-list { align-self: end; background: #1D9A5B; border: 0; border-radius: 6px; color: #FFFFFF; font-size: 13px; font-weight: 500; justify-self: start; min-width: 166px; padding: 0 16px; }
#newCustomerModal .nc-btn-add-to-list:hover { background: #167A47; }
#newCustomerModal .table { background: #FFFFFF; border-color: #E5E7EB; font-size: 13px; }
#newCustomerModal #newCustomerProductTable thead th { background: #E5E7EB; border-color: #CDCDCD; color: #1F2937; font-size: 13px; font-weight: 700; padding: 10px; }
#newCustomerModal .table td { border-color: #E5E7EB; padding: 7px 8px; vertical-align: middle; }
#newCustomerModal .nc-empty-product-cell { color: #6B7280; height: 45px; text-align: center; }
#newCustomerModal .nc-btn-cancel { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 6px; color: #374151; font-size: 13px; font-weight: 500; height: 38px; min-width: 58.67px; }
#newCustomerModal .nc-btn-save { background: #397FE8; border: 0; border-radius: 6px; color: #FFFFFF; font-size: 13px; font-weight: 600; height: 38px; min-width: 57px; padding: 0 20px; }
#newCustomerModal .nc-btn-save:hover { background: #2563EB; }

#newCustomerModal .form-group { position: relative; }

#newCustomerModal .new-customer-select-box {
    min-width: 0;
    position: relative;
    width: 100%;
}

#newCustomerModal .new-customer-select-box .select2-container {
    display: block;
    min-width: 0;
    width: 100% !important;
}

#newCustomerModal .new-customer-select-box > select.select2-hidden-accessible {
    height: 31px !important;
    width: 100% !important;
}

#newCustomerModal .select2-container--bootstrap4 { width: 100% !important; }
#newCustomerModal .select2-container--bootstrap4 .select2-selection--single {
    border: 1px solid var(--nc-input-border);
    border-radius: 6px;
    height: 31px !important;
}
#newCustomerModal .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    color: var(--nc-text);
    font-size: 13px;
    line-height: 29px;
}
#newCustomerModal .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow { height: 16px !important; }
#newCustomerModal .new-customer-select-box .select2-container--bootstrap4 .select2-selection--single {
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

#newCustomerModal .select2-container--bootstrap4 .select2-selection__arrow,
#newCustomerModal .new-customer-select-box .select2-container--bootstrap4 .select2-selection__arrow {
    align-items: center;
    display: flex;
    height: 16px !important;
    justify-content: center;
    margin: 0;
    position: absolute;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
#newCustomerModal .select2-dropdown {
    border-color: var(--nc-input-border);
    border-radius: 6px;
    font-size: 13px;
}

#newCustomerModal .nc-btn-save.nc-btn-saving,
#newCustomerModal .nc-btn-save:disabled {
    cursor: wait !important;
    opacity: .78;
    pointer-events: none !important;
}

#newCustomerStatusModal .nc-status-confirm-button {
    background: var(--nc-burgundy);
    border: 0;
    border-radius: 6px;
    color: var(--nc-white);
    height: 38px;
    min-width: 100px;
}

#newCustomerStatusModal .nc-status-confirm-button.is-restore { background: var(--nc-green); }
#newCustomerStatusModal .nc-status-cancel-button { background: var(--nc-white); border: 1px solid var(--nc-border); border-radius: 6px; color: #4B5563; height: 38px; }

@media (max-width: 991.98px) {
    #new-customers-page .nc-workspace { padding: 16px; }
    #newCustomerModal .modal-dialog,
    #newCustomerHistoryModal .modal-dialog,
    #newCustomerStatusModal .modal-dialog { margin: 12px auto; max-width: calc(100vw - 24px); }
    #newCustomerModal .modal-body,
    #newCustomerHistoryModal .modal-body,
    #newCustomerStatusModal .modal-body { padding: 18px; }
    #newCustomerModal .nc-general-row-primary,
    #newCustomerModal .nc-general-row-secondary,
    #newCustomerModal .nc-contact-row,
    #newCustomerModal .nc-address-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #newCustomerModal .nc-phone-group { grid-column: span 1; }
    #newCustomerModal .nc-row-delete { justify-self: end; }
}

@media (max-width: 767.98px) {
    #new-customers-page .nc-toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
    #new-customers-page .nc-add-button { width: 100%; }
    #new-customers-page .nc-search-control { max-width: none; }
    #new-customers-page .nc-table-scroll { max-height: calc(100vh - 316px); }
    #new-customers-page .nc-table-scroll { max-height: calc(100vh - 316px); }
    #new-customers-page .nc-table-footer { align-items: flex-start; display: flex; flex-direction: column; gap: 10px; }
    #new-customers-page .nc-footer-shortcut-hint { text-align: left; }
    #newCustomerModal .modal-body,
    #newCustomerHistoryModal .modal-body,
    #newCustomerStatusModal .modal-body { max-height: calc(100vh - 130px); padding: 14px; }
    #newCustomerModal .modal-header, #newCustomerModal .modal-footer,
    #newCustomerHistoryModal .modal-header, #newCustomerHistoryModal .modal-footer,
    #newCustomerStatusModal .modal-header, #newCustomerStatusModal .modal-footer { padding-left: 14px; padding-right: 14px; }
    #newCustomerModal .nc-save-button { flex: 1; min-width: 0; }
    #newCustomerModal .nc-general-row-primary,
    #newCustomerModal .nc-general-row-secondary,
    #newCustomerModal .nc-contact-row,
    #newCustomerModal .nc-address-row,
    #newCustomerModal .nc-shipping-grid,
    #newCustomerModal .nc-production-top,
    #newCustomerModal .nc-production-bottom,
    #newCustomerModal .nc-product-builder { grid-template-columns: 1fr; }
    #newCustomerModal .nc-phone-inputs { grid-template-columns: 65px minmax(0, 1fr); }
    #newCustomerModal .nc-btn-add-to-list { width: 100%; }
}
