/* Business component styles on Bootstrap 5 / AdminLTE 4. */
body { --bs-body-font-family: Inter, system-ui, sans-serif; }
.rns-erp .app-main { min-width: 0; padding: 1rem; background: #f4f6f9; }
.rns-erp .app-header { gap: .75rem; }
.rns-erp .main-header > .logo { display: none; }
.rns-erp .main-header > .navbar { width: 100%; gap: .75rem; padding: 0; }
.rns-erp .navbar-custom-menu { display: flex; align-items: center; flex-wrap: wrap; margin-inline-start: auto; }
.rns-erp .navbar-nav { flex-direction: row; gap: .75rem; align-items: center; }
.rns-erp .navbar-nav .dropdown-menu { position: absolute; }
.rns-erp .app-sidebar .logo { display: block; padding: 1rem; color: white; font-weight: 700; text-decoration: none; }
.rns-erp .sidebar-toggle { padding: .5rem .75rem; font-size: 1.25rem; text-decoration: none; }
.rns-erp .app-footer { padding: 1rem; }
.user-image { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; }
.user-header { padding: 1rem; text-align: center; }
.user-header img { max-width: 6rem; max-height: 6rem; }
.user-footer { padding: .75rem; display: flex; justify-content: space-between; gap: 1rem; }
.dropdown-menu > li > a { display: block; padding: .4rem 1rem; color: var(--bs-dropdown-link-color); text-decoration: none; }
.dropdown-menu > li > a:hover { background: var(--bs-dropdown-link-hover-bg); }
.dropdown-menu > .divider { border-top: 1px solid var(--bs-border-color); margin: .5rem 0; }
.box, .nav-tabs-custom { position: relative; background: white; border: 1px solid var(--bs-border-color); border-radius: .5rem; margin-bottom: 1.25rem; box-shadow: 0 1px 3px #18253b0a; }
.box-header { padding: 1rem; display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--bs-border-color); }
.box-title { font-size: 1.15rem; margin: 0; }
.box-header .box-tools { margin-inline-start: auto; }
.box-body, .nav-tabs-custom > .tab-content { padding: 1rem; }
.box-footer { padding: .75rem 1rem; border-top: 1px solid var(--bs-border-color); }
.box.collapsed-box > .box-body, .box.collapsed-box > .box-footer { display: none; }
.box-primary { border-top: 3px solid var(--bs-primary); }
.box-success { border-top: 3px solid var(--bs-success); }
.box-warning { border-top: 3px solid var(--bs-warning); }
.content-header { padding: .5rem 0 1rem; }
.content-header h1 { font-size: 1.6rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { margin-bottom: .35rem; font-weight: 600; }
.help-block { display: block; margin-top: .35rem; color: var(--bs-secondary-color); }
.has-error .help-block, .has-error .control-label { color: var(--bs-danger); }
.has-error .form-control { border-color: var(--bs-danger); }
.input-group-addon { display: flex; align-items: center; padding: .375rem .75rem; background: var(--bs-tertiary-bg); border: 1px solid var(--bs-border-color); border-radius: .375rem; }
.input-group-btn { display: flex; }
.input-group .select2-container { flex: 1 1 auto; width: 1% !important; }
.select2-container--default .select2-selection--single { min-height: 2.4rem; padding: .2rem; border-color: var(--bs-border-color); }
.select2-dropdown { z-index: 1060; }
.btn-default { --bs-btn-color: #253448; --bs-btn-bg: #f8fafc; --bs-btn-border-color: #cbd5e1; --bs-btn-hover-bg: #e2e8f0; --bs-btn-hover-border-color: #94a3b8; }
.btn-xs { --bs-btn-padding-y: .125rem; --bs-btn-padding-x: .35rem; --bs-btn-font-size: .75rem; }
.btn-block { display: block; width: 100%; }
.btn-flat { border-radius: .25rem; }
.btn-box-tool { color: var(--bs-secondary-color); }
.close { border: 0; background: transparent; font-size: 1.5rem; margin-inline-start: auto; line-height: 1; }
.modal-header { align-items: center; }
.modal-header .close { order: 2; }
.modal-title { font-size: 1.25rem; }
.label { display: inline-block; padding: .25em .5em; font-weight: 600; border-radius: .25rem; color: white; }
.label-default { background: #64748b; }
.label-primary, .bg-light-blue { background: var(--bs-primary); color: white; }
.label-success, .bg-green { background: var(--bs-success); color: white; }
.label-danger, .bg-red { background: var(--bs-danger); color: white; }
.label-warning, .bg-yellow { background: #e2a008; color: #172033; }
.label-info, .bg-aqua { background: #087990; color: white; }
.text-bold { font-weight: 700; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.pull-left { float: left; }
.pull-right { float: right; }
.hide, .hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.row > .clearfix { flex-basis: 100%; height: 0; }
.table-condensed > :not(caption) > * > * { padding: .3rem; }
.well { padding: 1rem; border: 1px solid var(--bs-border-color); border-radius: .5rem; background: var(--bs-tertiary-bg); }
.small-box { padding: 1rem; border-radius: .5rem; position: relative; margin-bottom: 1rem; }
.small-box .icon { position: absolute; top: 1rem; right: 1rem; font-size: 3rem; opacity: .2; }
.small-box-footer { display: block; padding-top: .5rem; }
#calculator .row { display: flex; justify-content: center; margin: 0; }
#calculator .row > button { flex: 0 0 3rem; width: 3rem; height: 3rem; }
#calculator .screen { width: 100%; padding: .75rem; font-size: 1.2rem; text-align: right; }
@media (max-width: 767.98px) { .hidden-xs { display: none !important; } .rns-erp .app-main { padding: .5rem; } }
@media (min-width: 768px) { .visible-xs { display: none !important; } }
@media print { .no-print, .app-sidebar, .app-header, .app-footer { display: none !important; } .app-wrapper { display: block; } }

.rns-erp { margin: 0; padding: 0; }
.rns-erp .app-sidebar { padding-top: 0; background: #f7f8fa !important; }
.rns-erp .app-sidebar .logo { height: auto; line-height: 1.4; padding: 1.25rem 1rem; }
.rns-erp .sidebar-menu, .rns-erp .nav-treeview { list-style: none; }
.rns-erp .sidebar-menu .nav-link { color: #424a57; text-decoration: none; white-space: normal; }
.rns-erp .sidebar-menu .nav-link p { margin: 0; }
.rns-erp .sidebar-menu .nav-link:hover, .rns-erp .sidebar-menu .nav-link.active { background: #e8eef8; color: #164e9c; }
.rns-erp .sidebar-menu .nav-treeview { display: none; background: transparent; padding-inline-start: .5rem; }
.rns-erp .sidebar-menu .menu-open > .nav-treeview { display: block; }
.rns-erp .treeview-menu a::before { content: none; }
.rns-erp .info-box-new-style { display: flex; flex-wrap: wrap; gap: .75rem; padding: 1rem !important; transform: none; }
.rns-erp .info-box-new-style:hover { transform: none; }
.rns-erp .info-box-new-style .info-box-icon { flex: 0 0 3rem; width: 3rem; height: 3rem; line-height: 3rem; }
.rns-erp .info-box-new-style .info-box-content { margin: 0; padding: 0; min-width: 0; flex: 1 1 7rem; }
.rns-erp .info-box-new-style > p { flex-basis: 100%; }
.rns-erp .main-header .navbar a:not(.dropdown-item):not(.btn) { color: #253448; text-decoration: none; }
.rns-erp .main-header .navbar-custom-menu { height: auto; }
.rns-erp .main-header > .navbar { height: auto; min-height: 3.5rem; }
:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }

.rns-native-check { appearance: auto !important; opacity: 1 !important; position: static !important; width: 1.15rem; height: 1.15rem; margin: 0 .35rem 0 0; vertical-align: middle; accent-color: #0b63ce; cursor: pointer; }
.rns-native-check:disabled { cursor: not-allowed; opacity: .5 !important; }

.flatpickr-calendar.open { z-index: 1090; }

.rns-pos .app-wrapper { display: block; min-height: 100vh; }
.rns-pos .content { padding: 1rem; }

@media (max-width: 991.98px) {
  .rns-erp.sidebar-open .app-header { transform: none !important; margin-left: 0 !important; }
  .rns-erp .app-header { min-width: 0; }
  .rns-erp .navbar-nav { flex-wrap: wrap; }
}

/* Shared ERP design: comfortable controls, clear hierarchy, contained data grids. */
.rns-erp {
  --rns-ink: #202833;
  --rns-muted: #5c6573;
  --rns-border: #e1e5eb;
  --rns-surface: #f5f6f8;
  color: var(--rns-ink);
}
.rns-erp .app-main { background: var(--rns-surface); padding: 1.25rem; }
.rns-erp .content-wrapper > .content,
.rns-erp .content-wrapper > .content-header { padding-inline: 0; }
.rns-erp .content-header { padding-block: .5rem 1rem; }
.rns-erp .content-header h1 { color: #182b45; font-size: 1.55rem; font-weight: 650; line-height: 1.35; margin-bottom: .25rem; }
.rns-erp .content-header h1 small { display: block; margin-top: .35rem; color: var(--rns-muted); font-size: .875rem; font-weight: 400; }
.rns-erp .content-custom > br { display: none; }
.rns-erp .app-header { padding: .5rem 1rem; border-bottom: 1px solid var(--rns-border); box-shadow: 0 1px 4px #182b4505; }
.rns-erp .main-header > .navbar { min-height: 2.75rem; border: 0 !important; flex-wrap: nowrap; }
.rns-erp .sidebar-toggle { width: 2.75rem; height: 2.75rem; flex-shrink: 0; justify-content: center; border-radius: .6rem; padding: 0; }
.rns-erp .sidebar-toggle:hover { background: #edf2f8; }
.rns-erp .navbar-custom-menu { gap: .5rem; min-width: 0; }
.rns-erp .navbar-custom-menu > .btn,
.rns-erp .navbar-custom-menu > .btn-group > .btn { margin: 0 !important; min-height: 2.5rem; border-radius: .5rem; padding: .5rem .75rem; }
.rns-erp .navbar-custom-menu .btn-success { color: #334155; background: #f4f6f9; border-color: #e1e5eb; }
.rns-erp .navbar-custom-menu .btn-success:hover { color: #164e9c; background: #e8eef8; border-color: #cad9f0; }
.rns-erp .rns-header-date { color: var(--rns-muted); font-size: .8125rem; white-space: nowrap; margin-inline: .5rem; font-variant-numeric: tabular-nums; }
.rns-erp .navbar-nav { gap: .5rem; }
.rns-erp .navbar-nav > li > a { display: flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: .25rem .5rem; border-radius: .5rem; }
.rns-erp .navbar-nav > li > a:hover { background: #edf2f8; }
.rns-erp .rns-user-avatar { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: #e6edf7; color: #294a71; font-size: .75rem; font-weight: 700; }
.rns-erp .rns-user-name { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; }
.rns-erp .notifications_count:empty { display: none; }
.rns-erp .dropdown-menu { border-color: var(--rns-border); border-radius: .65rem; box-shadow: 0 .5rem 1.5rem #182b451f; }
.rns-erp .navbar-nav .dropdown-menu { max-width: calc(100vw - 2rem); }
.rns-erp .user-menu > .dropdown-menu { min-width: 17rem; }
.rns-erp .user-header { background: #f3f6fa; color: var(--rns-ink); }
.rns-erp .user-header p { margin-block: .5rem 0; overflow-wrap: anywhere; }
.rns-erp .app-sidebar .logo { text-align: start; font-size: 1.05rem; font-weight: 700; border-bottom: 1px solid #ffffff14; margin-bottom: .75rem; overflow-wrap: anywhere; }
.rns-erp .sidebar-menu .nav-link { display: flex; align-items: center; gap: .65rem; padding: .7rem .85rem; border-radius: .5rem; font-size: .9rem; }
.rns-erp .sidebar-menu .nav-link > i { flex: 0 0 1.25rem; width: 1.25rem; text-align: center; margin: 0; }
.rns-erp .sidebar-menu .nav-link > p { flex: 1; min-width: 0; }
.rns-erp .sidebar-menu .pull-right-container { margin-inline-start: auto; display: inline-flex; }
.rns-erp .sidebar-menu .nav-arrow { position: static; margin: 0; font-size: .8rem; }
.rns-erp .sidebar-menu li.active > .nav-link { background: #e8eef8; color: #164e9c; font-weight: 600 !important; }
.rns-erp .sidebar-menu .nav-treeview { margin-block: .25rem; border-radius: .5rem; }
.rns-erp .sidebar-menu .nav-treeview .nav-link { padding-inline-start: 1.75rem; font-size: .85rem; }
.rns-erp .box, .rns-erp .nav-tabs-custom, .rns-erp .info-box-new-style { border-color: var(--rns-border); border-radius: .75rem; box-shadow: 0 2px 6px #182b4508; }
.rns-erp .box-header { padding: 1rem 1.15rem; }
.rns-erp .box-title { color: var(--rns-ink); font-size: 1.05rem; font-weight: 600; }
.rns-erp .box-title a { text-decoration: none; }
.rns-erp .box-body, .rns-erp .nav-tabs-custom > .tab-content { padding: 1.15rem; }
.rns-erp .info-box-new-style { min-height: 9.5rem; margin-bottom: 1.25rem; align-content: start; }
.rns-erp .info-box-new-style .info-box-icon { border-radius: .75rem; box-shadow: none; }
.rns-erp .info-box-new-style .info-box-text { white-space: normal; color: var(--rns-muted); font-size: .8125rem; }
.rns-erp .info-box-new-style .info-box-number { color: var(--rns-ink); font-size: 1.25rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.rns-erp .info-box-new-style .fs-10 { font-size: .75rem !important; line-height: 1.55; }
.rns-erp .form-group > label { color: var(--rns-ink); font-size: .875rem; line-height: 1.5; }
.rns-erp .form-control, .rns-erp .form-select { border-color: #cbd5e1; border-radius: .5rem; min-height: 2.5rem; }
.rns-erp .form-control:focus, .rns-erp .form-select:focus { border-color: #6d98d1; box-shadow: 0 0 0 .2rem #2563eb20; }
.rns-erp .input-group > .form-control { min-width: 0; }
.rns-erp .input-group-addon { color: var(--rns-muted); background: #f4f7fb; border-color: #cbd5e1; }
.rns-erp .select2-container { max-width: 100%; }
.rns-erp .select2-container--default .select2-selection--single { min-height: 2.5rem; border-color: #cbd5e1; border-radius: .5rem; display: flex; align-items: center; }
.rns-erp .select2-container--default .select2-selection--single .select2-selection__rendered { padding-inline-end: 1.5rem; }
.rns-erp .select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; }
.rns-erp .help-block { color: var(--rns-muted); font-size: .8125rem; }
.rns-erp .has-error .help-block { color: #b42318; }
.rns-erp .btn { border-radius: .5rem; }
.rns-erp .table { color: var(--rns-ink); font-size: .875rem; }
.rns-erp .table > thead > tr > th { background-color: #f3f6fa; color: #35465b; font-weight: 600; vertical-align: middle; }
.rns-erp .table > :not(caption) > * > * { border-color: var(--rns-border); }
.rns-erp .dt-container { min-width: 0; }
.rns-erp .dt-container > .row:first-child { row-gap: .75rem; align-items: center; text-align: start !important; }
.rns-erp .dt-container > .row:first-child > :has(.dt-length) { width: auto; flex: 0 0 auto; }
.rns-erp .dt-container > .row:first-child > :has(.dt-buttons) { width: auto; flex: 1 1 26rem; }
.rns-erp .dt-container > .row:first-child > :has(.dt-search) { width: auto; flex: 1 1 10rem; }
.rns-erp .dt-length label { white-space: nowrap; margin: 0; }
.rns-erp .dt-buttons { display: flex; flex-wrap: wrap; gap: .3rem; }
.rns-erp .dt-buttons > .btn { flex: 0 1 auto; margin: 0 !important; border: 1px solid #cbd5e1; border-radius: .4rem !important; background: #fff; color: #35465b; }
.rns-erp .dt-buttons > .btn:hover { background: #eaf0f7; border-color: #9cadc1; }
.rns-erp .dt-search input { width: 100%; margin: 0; min-height: 2.25rem; }
.rns-erp .dt-info { padding-block: .75rem; color: var(--rns-muted); font-size: .8125rem; }
.rns-erp .dt-paging .pagination { flex-wrap: wrap; gap: .2rem; }
.rns-erp .dt-paging .page-link { border-radius: .4rem; font-size: .8125rem; }
.rns-erp .label { background-color: #526277; line-height: 1.4; }
.rns-erp .label-primary { background-color: #1d5eaa; }
.rns-erp .label-success { background-color: #18794e; }
.rns-erp .label-danger { background-color: #b42318; }
.rns-erp .label-warning { background-color: #ffd478; }
.rns-erp .label-info { background-color: #086a80; }
.rns-erp .modal-content { border: 1px solid var(--rns-border); border-radius: .85rem; box-shadow: 0 1rem 3rem #182b4533; }
.rns-erp .modal-header { padding: 1rem 1.25rem; }
.rns-erp .modal-body { padding: 1.25rem; }
.rns-erp .modal-footer { padding: .85rem 1.25rem; background: #f7f9fc; border-radius: 0 0 .85rem .85rem; }
/* Old settings markup used floated grid columns; keep tabs beside their pane. */
.rns-erp .pos-tab-container { display: flex; align-items: stretch; border-color: var(--rns-border); border-radius: .75rem; box-shadow: 0 2px 6px #182b4508; }
.rns-erp .pos-tab-container > .pos-tab-menu { flex: 0 0 13rem; width: 13rem; border-inline-end: 1px solid var(--rns-border); }
.rns-erp .pos-tab-container > .pos-tab { flex: 1; width: auto; min-width: 0; }
.rns-erp .pos-tab-content { padding: 1.25rem; }
.rns-erp .pos-tab-menu .list-group > a { text-align: start !important; padding: .75rem 1rem; font-size: .875rem; border: 0; border-bottom: 1px solid #edf1f6; overflow-wrap: anywhere; }
.rns-erp .pos-tab-menu .list-group > a.active { background: #edf3fc; color: #1d4e91; font-weight: 600; border-inline-start: 3px solid #2463b7; }
.rns-erp .pos-tab-menu .list-group > a.active::after { content: none; }
/* Secondary module navigation retains the existing Bootstrap collapse behavior. */
.rns-erp .navbar-default { border: 1px solid var(--rns-border); border-radius: .65rem; padding: .75rem; margin: 0 0 1rem !important; }
.rns-erp .navbar-default .navbar-header { display: flex; align-items: center; gap: .75rem; }
.rns-erp .navbar-default .navbar-brand { font-size: 1rem; color: var(--rns-ink); }
.rns-erp .navbar-default .navbar-toggle { border: 1px solid #cbd5e1; background: #fff; border-radius: .4rem; width: 2.5rem; height: 2.5rem; padding: .6rem; }
.rns-erp .navbar-default .icon-bar { display: block; height: 2px; background: #35465b; margin-block: 4px; }
.rns-erp .navbar-default .navbar-nav { flex-wrap: wrap; gap: .25rem; }
.rns-erp .navbar-default .navbar-nav > .active > a { color: #1d4e91; background: #edf3fc; }
.rns-pos .pos-header { background: #fff; border-bottom: 1px solid var(--rns-border); padding: .75rem 1rem; }
.rns-pos .pos-header > .row { align-items: center; row-gap: .75rem; }
.rns-pos .pos-header > .row > :last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.rns-pos .pos-header .btn { min-height: 2.5rem; min-width: 2.5rem; margin: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
.rns-pos .pos-header p { margin-bottom: 0; font-size: .875rem; }
@media (min-width: 1200px) {
  .rns-erp .navbar-default .navbar-toggle { display: none; }
  .rns-erp .navbar-default .navbar-collapse { display: flex !important; flex-basis: auto; justify-content: flex-end; }
}
@media (max-width: 1199.98px) {
  .rns-erp .rns-user-name { display: none; }
  .rns-erp .pos-tab-container > .pos-tab-menu { flex-basis: 11rem; width: 11rem; }
}
@media (max-width: 767.98px) {
  .rns-erp .app-main { padding: .75rem; }
  .rns-erp .app-header { padding: .4rem .5rem; }
  .rns-erp .main-header > .navbar { gap: .4rem; align-items: flex-start; }
  .rns-erp .navbar-custom-menu { gap: .35rem; justify-content: flex-end; }
  .rns-erp .navbar-nav { gap: .2rem; }
  .rns-erp .content-header h1 { font-size: 1.3rem; }
  .rns-erp .box-body, .rns-erp .nav-tabs-custom > .tab-content { padding: .85rem; }
  .rns-erp .info-box-new-style { min-height: auto; }
  .rns-erp .pos-tab-container { flex-direction: column; }
  .rns-erp .pos-tab-container > .pos-tab-menu { width: 100%; flex-basis: auto; border-inline-end: 0; border-bottom: 1px solid var(--rns-border); }
  .rns-erp .pos-tab-menu .list-group { flex-direction: row; overflow-x: auto; flex-wrap: nowrap; border-radius: .75rem .75rem 0 0; }
  .rns-erp .pos-tab-menu .list-group > a { flex: 0 0 auto; white-space: nowrap; }
  .rns-erp .pos-tab-menu .list-group > a.active { border-inline-start: 0; border-bottom: 3px solid #2463b7; }
  .rns-erp .pos-tab-content { padding: 1rem; }
  .rns-erp .dt-container > .row:first-child > :has(.dt-buttons),
  .rns-erp .dt-container > .row:first-child > :has(.dt-search) { flex-basis: 100%; }
  .rns-pos .pos-header > .row > :last-child { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .rns-erp .app-sidebar, .rns-erp .app-header, .rns-erp .nav-link { transition: none !important; }
}
/* Width declarations on the original select must not enlarge the page. */
.rns-erp .select2-hidden-accessible { max-width: 1px !important; }
.rns-erp .form-group > label { overflow-wrap: anywhere; }
.rns-erp .file-input .input-group { display: flex; width: 100%; flex-wrap: nowrap; }
.rns-erp .file-input .file-caption { width: 100%; }
.rns-erp .file-input .file-caption-name { flex: 1 1 0; width: 0; min-width: 0; }
.rns-erp .file-input .btn-file { flex: 0 0 auto; min-height: 2.5rem; display: inline-flex; align-items: center; gap: .35rem; }
.rns-erp .file-input .btn-file .hidden-xs { display: inline !important; }
.rns-erp .dt-buttons > .btn-group > .btn { border: 1px solid #cbd5e1; border-radius: .4rem !important; background: #fff; color: #35465b; }
.rns-erp .dt-search { display: flex; justify-content: flex-end; }
.rns-erp .dt-search label { width: 100%; }
.rns-erp .pos-tab { container-type: inline-size; }
@container (max-width: 640px) {
  .rns-erp .pos-tab-content > .row > :is(.col-sm-4, .col-md-4) { width: 50%; }
  .rns-erp .pos-tab-content > .row > .clearfix { display: none; }
}
@container (max-width: 440px) {
  .rns-erp .pos-tab-content > .row > :is(.col-sm-4, .col-md-4, .col-sm-6, .col-md-6) { width: 100%; }
}
.rns-pos { background: var(--rns-surface); }
.rns-pos .pos-form-actions { inset-inline: 0; width: auto; padding: .75rem 1rem; background: #fff; border-top: 1px solid var(--rns-border); box-shadow: 0 -.25rem 1rem #182b4508; }
.rns-pos .pos-form-actions > .col-md-12 { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.rns-pos .pos-form-actions .btn { min-height: 2.5rem; }
.rns-pos .pos-form-actions .pos-total { background: #edf3fc; color: #243247 !important; border-radius: .5rem; margin: 0; padding: .35rem .75rem; }
.rns-pos .pos-form-actions .pos-total .number { font-size: 1.3rem; }
.rns-pos .pos-form-actions #recent-transactions { margin-inline-start: auto; }
@media (max-width: 767.98px) {
  .rns-pos .pos-form-actions { position: static; margin-top: 1rem; }
  .rns-pos .pos-form-actions .btn { flex: 1 1 8rem; width: auto; }
  .rns-pos .pos-header .curr_datetime { white-space: nowrap; }
}
@media (min-width: 992px) {
  .rns-erp.sidebar-collapse .app-sidebar:not(:hover) .logo-lg { display: block; width: 1ch; white-space: nowrap; overflow: hidden; }
}

/* The ERP uses one light palette; AdminLTE's automatic mode is disabled in layouts. */
html[data-lte-color-mode="off"][data-bs-theme="light"] { color-scheme: only light; }
.rns-erp :is(.form-control, .form-select, .select2-search__field, .flatpickr-input),
.rns-erp :where(input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="button"], [type="submit"], [type="reset"], [type="range"], [type="color"], [type="file"]), select, textarea) {
  background-color: #fbfcfe;
  color: #243247;
  caret-color: #243247;
  color-scheme: only light;
}
.rns-erp :is(input, textarea)::placeholder { color: #65748a; opacity: 1; }
.rns-erp :is(.form-control, .form-select, .select2-search__field):focus { background-color: #fff; color: #243247; }
.rns-erp :is(input, select, textarea):disabled,
.rns-erp :is(input, textarea)[readonly]:not(.flatpickr-input) { background-color: #eef2f6; color: #536278; opacity: 1; }
.rns-erp .select2-container--default :is(.select2-selection--single, .select2-selection--multiple),
.rns-erp .select2-dropdown { background-color: #fbfcfe; color: #243247; border-color: #cbd5e1; }
.rns-erp .select2-container--default .select2-selection--single .select2-selection__rendered { color: #243247; }
.rns-erp .select2-container--default .select2-selection__placeholder { color: #65748a; }
.rns-erp .select2-container--default .select2-selection__choice { background-color: #eaf0f7; color: #243247; border-color: #cbd5e1; }
.rns-erp .select2-container--default .select2-results__option[aria-selected="true"] { background-color: #eaf0f7; color: #243247; }
.rns-erp .select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: #dceafb; color: #173e6c; }
.rns-erp .select2-container--disabled .select2-selection--single { background-color: #eef2f6; }
.rns-erp .tagify { --tags-border-color: #cbd5e1; --tag-bg: #eaf0f7; --tag-text-color: #243247; --placeholder-color: #65748a; background-color: #fbfcfe; color: #243247; }
.rns-erp .table {
  --bs-table-color: #243247;
  --bs-table-bg: #fff;
  --bs-table-striped-color: #243247;
  --bs-table-striped-bg: #fafbfc;
  --bs-table-hover-color: #243247;
  --bs-table-hover-bg: #f0f5fc;
  --bs-table-active-color: #243247;
  --bs-table-active-bg: #e4edf8;
}
.rns-erp .table > tfoot > tr > :is(td, th) { color: #243247; background-color: #edf2f8; font-weight: 600; }

/* Shared date filters: readable preset buttons and explicit apply/clear. */
.rns-date-range .rns-date-presets { display:flex; flex-wrap:wrap; gap:.25rem; padding:.5rem; border-bottom:1px solid #dbe3ed; }
.rns-date-range .rns-date-presets .btn { font-size:.75rem; }
.rns-date-range .rns-date-actions { display:flex; justify-content:space-between; gap:.5rem; padding:.5rem; border-top:1px solid #dbe3ed; }
.rns-date-range { max-width:calc(100vw - 20px); }

/* Quiet, light workspace. Scope all visual changes to the authenticated ERP. */
.rns-erp {
  --bs-body-font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, "Segoe UI", sans-serif;
  font-family: var(--bs-body-font-family);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
.rns-erp .app-sidebar { border-inline-end: 1px solid var(--rns-border); box-shadow: none; }
.rns-erp .app-sidebar .logo { display: flex; align-items: center; gap: .65rem; min-height: 4.5rem; padding: 1rem .65rem; margin-bottom: .25rem; color: var(--rns-ink); border-bottom: 0; font-size: .95rem; letter-spacing: -.025em; }
.rns-erp .rns-brand-mark { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 2rem; height: 2rem; border: 1px solid #d5deec; border-radius: .6rem; background: #fff; color: #2261b5; font-size: 1rem; }
.rns-erp .rns-menu-search { position: relative; margin: .25rem .4rem 1rem; }
.rns-erp .rns-menu-search > i { position: absolute; inset-inline-start: .7rem; top: .65rem; color: var(--rns-muted); pointer-events: none; }
.rns-erp #rns-menu-search { width: 100%; min-height: 2.75rem; border: 1px solid #d8dee7; border-radius: .65rem; padding: .5rem .65rem .5rem 2rem; font: inherit; font-size: .8125rem; background: #fff; }
.rns-erp .rns-sidebar-caption { margin: 0 1rem .4rem; font-size: .6875rem; font-weight: 650; color: var(--rns-muted); letter-spacing: .075em; text-transform: uppercase; }
.rns-erp .rns-menu-empty { padding: 1rem; font-size: .875rem; color: var(--rns-muted); }
.rns-erp .sidebar-menu .nav-link { min-height: 2.75rem; margin-bottom: .15rem; padding: .6rem .8rem; font-weight: 500; font-size: .875rem; border-radius: .65rem; }
.rns-erp .sidebar-menu .nav-link > i { display: inline-block; font-size: 1.05rem; color: #667386; }
.rns-erp .sidebar-menu .nav-link.active > i,
.rns-erp .sidebar-menu .active > .nav-link > i { color: #2261b5; }
.rns-erp .sidebar-menu .nav-treeview { padding-inline-start: .9rem; margin-inline-start: .8rem; border-inline-start: 1px solid #dce2eb; border-radius: 0; }
.rns-erp .sidebar-menu .nav-treeview .nav-link { padding: .45rem .6rem !important; min-height: 2.5rem; font-size: .8125rem !important; font-weight: 400; }
.rns-erp .sidebar-menu .nav-treeview .nav-link > i { display: inline-block !important; font-size: .9rem; flex-basis: 1rem; width: 1rem; }
.rns-erp .sidebar-menu .rns-filter-open > .nav-treeview { display: block !important; height: auto !important; }
.rns-erp .sidebar-menu [hidden], .rns-erp .rns-menu-empty[hidden] { display: none !important; }
.rns-erp .sidebar-toggle { display: inline-flex; align-items: center; background: transparent; border: 0; color: #495568; font-size: 1.2rem; }
.rns-erp .navbar-custom-menu > .btn,
.rns-erp .navbar-custom-menu > .btn-group > .btn { min-height: 2.75rem; box-shadow: none; border-radius: .65rem; }
.rns-erp .navbar-custom-menu strong { font-weight: 550; }
.rns-erp .navbar-nav > li > a { min-height: 2.75rem; }
.rns-erp .content-header h1 { font-weight: 650; letter-spacing: -.035em; font-size: 1.75rem; color: #202833; }
.rns-erp .content-header h1 small { letter-spacing: normal; }
.rns-erp .box, .rns-erp .nav-tabs-custom { border-radius: .9rem; box-shadow: 0 2px 8px #182b4505; }
.rns-erp .nav-tabs { padding: .4rem .6rem 0; gap: .25rem; border-bottom-color: var(--rns-border); }
.rns-erp .nav-tabs .nav-link { color: var(--rns-muted); font-size: .9rem; padding: .65rem .85rem; border-radius: .6rem .6rem 0 0; }
.rns-erp .nav-tabs .nav-link.active { color: #1759aa; font-weight: 600; background: #f7f9fc; border-color: var(--rns-border) var(--rns-border) #f7f9fc; }
.rns-erp .table { font-variant-numeric: tabular-nums; border-color: var(--rns-border); }
.rns-erp .table > :not(caption) > * > * { padding: .7rem .65rem; border-inline-width: 0; }
.rns-erp .table > thead > tr > th { background: #f5f7fa; font-size: .8125rem; color: #495568; line-height: 1.45; }
.rns-erp .table .btn { min-height: 2rem; }
.rns-erp .table .btn-info { color: #1759aa; background: #edf3fb; border-color: #d1e0f4; }
.rns-erp .table .btn-info:hover { background: #deebfc; color: #123f79; }
.rns-erp .dt-buttons .btn { min-height: 2.25rem; font-size: .75rem; box-shadow: none; }
.rns-erp .dt-search input { min-height: 2.5rem; border-radius: .6rem; }
.rns-erp .dt-paging .page-link { min-width: 2.25rem; min-height: 2.25rem; text-align: center; }
.rns-erp :is(.form-control, .form-select, .select2-selection) { font-size: .9rem; }
.rns-erp .navbar-default { background: #fff; border-radius: .8rem; }
.rns-erp .navbar-default .navbar-nav > li > a { font-size: .875rem; padding: .55rem .75rem; }
.rns-erp .dropdown-menu .dropdown-item { border-radius: .4rem; font-size: .875rem; padding-block: .6rem; }
.rns-erp .dropdown-menu { padding: .4rem; }
.rns-erp :is(button, a, input, select, textarea):focus-visible { outline: 3px solid #2775d8; outline-offset: 2px; }
@media (min-width: 992px) {
  .rns-erp.sidebar-collapse .app-sidebar:not(:hover) :is(.rns-menu-search, .rns-sidebar-caption, .rns-menu-empty, .logo-lg) { display: none; }
  .rns-erp.sidebar-collapse .app-sidebar:not(:hover) .logo { justify-content: center; padding-inline: 0; }
}
@media (max-width: 767.98px) {
  .rns-erp .content-header h1 { font-size: 1.5rem; }
  .rns-erp .dt-buttons .btn, .rns-erp .dt-paging .page-link, .rns-erp .table .btn { min-height: 2.75rem; }
  .rns-erp .sidebar-menu .nav-treeview .nav-link { min-height: 2.75rem; }
}

.rns-erp .app-sidebar[data-bs-theme="light"] {
  --lte-sidebar-menu-hover-bg: #edf1f7;
  --lte-sidebar-menu-hover-color: #164e9c;
  --lte-sidebar-menu-active-bg: #e8eef8;
  --lte-sidebar-menu-active-color: #164e9c;
  --lte-sidebar-submenu-color: #4d596a;
  --lte-sidebar-submenu-hover-color: #164e9c;
  --lte-sidebar-submenu-hover-bg: #edf1f7;
  --lte-sidebar-submenu-active-color: #164e9c;
  --lte-sidebar-submenu-active-bg: #e8eef8;
}
.rns-erp .table { --dt-row-stripe: 92, 121, 164; --dt-row-hover: 38, 105, 190; }
.rns-erp .info-box-new-style .info-box-icon.bg-aqua { color: #146b91 !important; background: #e9f5fb !important; }
.rns-erp .info-box-new-style .info-box-icon.bg-green { color: #237454 !important; background: #eaf6ef !important; }
.rns-erp .info-box-new-style .info-box-icon.bg-red { color: #b44453 !important; background: #fceef0 !important; }
.rns-erp .info-box-new-style .info-box-icon.bg-yellow { color: #98661a !important; background: #fff5df !important; }

/* Cash register workspace and focused closing workflow. */

  .rns-register-shell {
    max-width: 980px;
    margin: 0 auto;
  }
  .rns-register-panel {
    border: 1px solid #d9e2ec;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
  }
  .rns-register-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: #f7fafc;
    border-bottom: 1px solid #d9e2ec;
  }
  .rns-register-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #102a43;
  }
  .rns-register-body {
    padding: 22px;
  }
  .rns-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .rns-register-full {
    grid-column: 1 / -1;
  }
  .rns-register-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
  }
  .rns-register-metric {
    border: 1px solid #d9e2ec;
    border-radius: 6px;
    padding: 14px;
    background: #fbfdff;
  }
  .rns-register-metric span {
    display: block;
    color: #627d98;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .rns-register-metric strong {
    display: block;
    margin-top: 6px;
    color: #102a43;
    font-size: 20px;
    font-weight: 800;
  }
  .rns-register-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 22px;
    background: #f7fafc;
    border-top: 1px solid #d9e2ec;
  }
  .rns-register-hint {
    margin-top: 6px;
    color: #627d98;
    font-size: 12px;
  }
  .rns-register-status {
    display: none;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
  }
  .rns-register-status.is-open {
    display: block;
    color: #0f766e;
  }
  .rns-register-status.is-new {
    display: block;
    color: #2563eb;
  }
	  .rns-register-status.is-empty {
	    display: block;
	    color: #b45309;
	  }
	  .rns-register-status.is-error {
	    display: block;
	    color: #b91c1c;
	  }
  .rns-register-difference-positive {
    color: #0f766e !important;
  }
  .rns-register-difference-negative {
    color: #b91c1c !important;
  }
  @media (max-width: 767px) {
    .rns-register-header,
    .rns-register-actions {
      display: block;
    }
    .rns-register-grid,
    .rns-register-summary {
      grid-template-columns: 1fr;
    }
    .rns-register-actions .btn {
      width: 100%;
      margin-top: 8px;
    }
  }


.rns-erp .rns-cash-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-bottom:1.25rem; }
.rns-erp .rns-cash-metrics > div { position:relative; padding:1.2rem; border:1px solid var(--rns-border); background:#fff; border-radius:.9rem; }
.rns-erp .rns-cash-metrics :is(span,strong,small) { display:block; }
.rns-erp .rns-cash-metrics span { font-size:.875rem; color:var(--rns-muted); }
.rns-erp .rns-cash-metrics strong { margin:.35rem 0; font-size:1.6rem; font-weight:650; font-variant-numeric:tabular-nums; }
.rns-erp .rns-cash-metrics small { color:var(--rns-muted); font-size:.75rem; }
.rns-erp .rns-cash-metrics i { float:right; color:#2261b5; font-size:1.2rem; }
.rns-erp .rns-cash-toolbar { display:flex; gap:.5rem; flex-wrap:wrap; }
.rns-erp .rns-cash-toolbar .btn { min-height:2.75rem; }
.rns-erp .rns-cash-hint { color:var(--rns-muted); font-size:.875rem; }
.rns-erp .rns-cash-status { display:inline-block; padding:.3rem .65rem; background:#edf0f5; color:#526071; border-radius:2rem; font-size:.75rem; font-weight:600; white-space:nowrap; }
.rns-erp .rns-cash-status.is-active { color:#216044; background:#eaf5ee; }
.rns-erp .rns-cash-workspace .btn-danger { color:#a62929; background:#fff4f3; border-color:#efd3d1; }
.rns-erp .rns-register-panel { border-color:var(--rns-border); border-radius:1rem; box-shadow:0 3px 12px #182b4508; }
.rns-erp .rns-register-header { background:#fff; padding:1.4rem; }
.rns-erp .rns-register-header h3 { font-size:1.15rem; color:var(--rns-ink); font-weight:600; }
.rns-erp .rns-register-header p { margin:.4rem 0 0; color:var(--rns-muted); font-size:.875rem; }
.rns-erp .rns-register-actions { background:#fafbfc; }
.rns-erp .rns-register-actions .btn { min-height:2.75rem; }
.rns-erp .rns-register-hint, .rns-erp .rns-register-status { font-size:.8125rem; color:var(--rns-muted); }
.rns-erp .rns-register-metric { border-radius:.75rem; border-color:var(--rns-border); background:#f7f9fc; }
.rns-erp .rns-register-metric span { text-transform:none; font-weight:500; font-size:.8125rem; }
.rns-erp .rns-register-metric strong { font-size:1.3rem; font-weight:650; }
.rns-erp .rns-cash-dialog .modal-content { max-height:calc(100dvh - 3rem); overflow:hidden; }
.rns-erp .rns-cash-dialog form { display:flex; flex-direction:column; min-height:0; max-height:inherit; }
.rns-erp .rns-cash-dialog .modal-body { overflow-y:auto; overscroll-behavior:contain; }
.rns-erp .rns-cash-dialog :is(.modal-header,.modal-footer) { flex-shrink:0; }
.rns-erp .rns-cash-dialog .modal-title { font-size:1.15rem; font-weight:600; }
.rns-erp .rns-cash-period { display:block; color:var(--rns-muted); font-size:.8125rem; margin-top:.3rem; }
.rns-erp .rns-cash-dialog .modal-footer .btn { min-height:2.75rem; }
.rns-erp .rns-cash-dialog .rns-cash-totals :is(#display_currency, #closing_amount, #total_cash_money, #remaining_change) { font-size:1.25rem; font-weight:600; background:#f5f8fc; }
.rns-erp .rns-cash-breakdown { border:1px solid var(--rns-border); border-radius:.75rem; padding:.85rem; margin-top:1rem; }
.rns-erp .rns-cash-breakdown > summary { cursor:pointer; color:#225faa; font-weight:600; padding:.25rem; }
.rns-erp .rns-cash-breakdown[open] > summary { margin-bottom:1rem; }
.rns-erp .rns-cash-breakdown .table-responsive { max-width:100%; }
.rns-erp .rns-cash-breakdown table { min-width:28rem; }
.rns-erp .rns-cash-metadata { color:var(--rns-muted); font-size:.8125rem; margin-top:1rem; overflow-wrap:anywhere; }
@media(max-width:767.98px) {
 .rns-erp .rns-cash-metrics { grid-template-columns:1fr; gap:.6rem; }
 .rns-erp .rns-cash-metrics > div { padding:1rem; }
 .rns-erp .rns-cash-metrics strong { font-size:1.35rem; }
 .rns-erp .rns-cash-dialog .modal-content { max-height:calc(100dvh - 1rem); }
 .rns-erp .rns-cash-dialog .modal-footer { gap:.4rem; }
 .rns-erp .rns-cash-dialog .modal-footer .btn { flex:1 1 auto; margin:0; }
 .rns-erp .rns-register-body { padding:1rem; }
}
@media print {
 .rns-erp .rns-cash-dialog :is(.modal-content,form,.modal-body) { max-height:none; overflow:visible; }
 .rns-erp .rns-cash-breakdown > summary { display:none; }
 .rns-erp .rns-cash-breakdown > *:not(summary) { display:block !important; }
}

/* Highcharts 13 uses CSS variables even for SVG charts without styledMode. */
.rns-erp .highcharts-container {
  color-scheme: light;
  --highcharts-background-color: #ffffff;
  --highcharts-neutral-color-100: #1e293b;
  --highcharts-neutral-color-80: #334155;
  --highcharts-neutral-color-60: #596b82;
  --highcharts-neutral-color-40: #64748b;
  --highcharts-neutral-color-20: #cbd5e1;
  --highcharts-neutral-color-10: #e8edf3;
  --highcharts-neutral-color-5: #f1f5f9;
  --highcharts-neutral-color-3: #f8fafc;
  --highcharts-highlight-color-100: #2563eb;
  --highcharts-highlight-color-80: #3b82f6;
  --highcharts-highlight-color-60: #93c5fd;
  --highcharts-highlight-color-20: #cbd5e1;
  --highcharts-highlight-color-10: #eff6ff;
  --highcharts-color-0: #3874cb;
  --highcharts-color-1: #138579;
  --highcharts-color-2: #8862bd;
  --highcharts-color-3: #b76b19;
  --highcharts-color-4: #ba5671;
  --highcharts-color-5: #477b99;
  --highcharts-color-6: #68863b;
  --highcharts-color-7: #985c46;
  --highcharts-color-8: #7770a7;
  --highcharts-color-9: #517881;
  --highcharts-positive-color: #138579;
  --highcharts-negative-color: #bc4352;
}
.rns-erp .rns-chart { min-width: 0; border-radius: .75rem; overflow: hidden; background: #fff; }
.rns-erp .highcharts-axis-labels text { font-size: .75rem; }
/* Shared in-page module navigation, including older CRM/HRM/cash-book bars. */
.rns-erp .rns-module-nav { margin: 0 1rem 1rem; padding: 1rem; border: 1px solid var(--rns-border); border-radius: .9rem; background: #fff; }
.rns-erp .rns-module-title { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .15rem .85rem; color: var(--rns-ink); font-size: 1.05rem; font-weight: 650; text-decoration: none; }
.rns-erp .rns-module-links,
.rns-erp .navbar-default .navbar-nav { display: flex; flex-flow: row wrap; align-items: stretch; gap: .5rem; }
.rns-erp .rns-module-links > a,
.rns-erp .navbar-default .navbar-nav > li > a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .65rem .85rem;
  color: #334155; background: #f7f9fc; border: 1px solid #dce3ec; border-radius: .65rem;
  text-decoration: none; line-height: 1.4; font-size: .875rem; font-weight: 550;
}
.rns-erp .rns-module-links > a:hover,
.rns-erp .navbar-default .navbar-nav > li > a:hover { color: #174f98; background: #edf4ff; border-color: #adc8ef; }
.rns-erp .rns-module-links > a[aria-current="page"],
.rns-erp .navbar-default .navbar-nav > .active > a,
.rns-erp .navbar-default .navbar-nav > li > a.active { color: #174f98; background: #eaf2ff; border-color: #97b9ed; box-shadow: inset 0 -2px 0 #3874cb; font-weight: 650; }
.rns-erp .rns-module-title[aria-current="page"] { color: #1759aa; }
.rns-erp .rns-module-nav a:focus-visible,
.rns-erp .navbar-default a:focus-visible { outline: 3px solid #84b4f6; outline-offset: 2px; }
.rns-erp .navbar-default .container-fluid { display: flex; flex-wrap: wrap; gap: .75rem; }
.rns-erp .navbar-default .navbar-collapse { display: block !important; flex-basis: 100%; width: 100%; }
.rns-erp .navbar-default .navbar-toggle { display: none; }
@media (max-width: 575.98px) {
  .rns-erp .rns-module-nav { margin-inline: .75rem; padding: .85rem; }
  .rns-erp .rns-module-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rns-erp .rns-module-links > a { min-width: 0; overflow-wrap: anywhere; }
  .rns-erp .rns-module-links > a > i { flex-shrink: 0; }
  .rns-erp .navbar-default .navbar-nav > li { flex: 1 1 140px; }
  .rns-erp .navbar-default .navbar-nav > li > a { width: 100%; }
}

.rns-erp .rns-repair-status { background: #fff; color: #334155; border: 1px solid #dce3ec; border-left-width: 4px; border-radius: .75rem; box-shadow: none; }
.rns-erp .rns-repair-status p { color: #334155; font-weight: 550; }
.rns-erp .rns-repair-status h3 { color: #1e293b; }
@media (max-width: 420px) {
  .rns-erp .rns-module-links { grid-template-columns: minmax(0, 1fr); }
}

/* Staff shortcuts: a clear primary action, calm surfaces and colorful wayfinding. */
.rns-erp .rns-repair-shortcuts { display: grid; gap: .5rem; padding: .3rem .75rem 1rem; margin-bottom: .25rem; border-bottom: 1px solid #e0e6ef; }
.rns-erp .rns-repair-shortcut { display: flex; align-items: center; gap: .65rem; min-height: 2.875rem; padding: .65rem .8rem; border: 1px solid transparent; border-radius: .75rem; font-size: .875rem; font-weight: 650; line-height: 1.35; text-decoration: none; transition: background-color .15s ease, box-shadow .15s ease; }
.rns-erp .rns-repair-shortcut > i { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 1.5rem; font-size: 1.15rem; }
.rns-erp .rns-repair-shortcut-create { color: #fff; background: #0867cf; border-color: #0867cf; box-shadow: 0 3px 8px #0867cf20; }
.rns-erp .rns-repair-shortcut-create:hover { color: #fff; background: #0757b0; border-color: #0757b0; }
.rns-erp .rns-repair-shortcut-create[aria-current="page"] { background: #0757b0; border-color: #06478f; }
.rns-erp .rns-repair-shortcut-list { color: #205397; background: #edf4ff; border-color: #d3e3f8; }
.rns-erp .rns-repair-shortcut-list > i { color: #0867cf; }
.rns-erp .rns-repair-shortcut-list:hover,
.rns-erp .rns-repair-shortcut-list[aria-current="page"] { color: #143e79; background: #dceaff; border-color: #accbf1; }
.rns-erp .sidebar-menu .nav-link > i { --rns-icon-color: #1768bb; --rns-icon-surface: #e7f1ff; color: var(--rns-icon-color); }
.rns-erp .sidebar-menu > .nav-item > .nav-link > i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 2rem; width: 2rem; height: 2rem; border-radius: .65rem; background: var(--rns-icon-surface); }
.rns-erp .sidebar-menu .nav-link > :is(.bi-tools, .bi-wrench, .bi-clipboard-check) { --rns-icon-color: #b55b08; --rns-icon-surface: #fff0dc; }
.rns-erp .sidebar-menu .nav-link > :is(.bi-people, .bi-person-lines-fill, .bi-person-gear, .bi-person, .bi-megaphone) { --rns-icon-color: #7651b7; --rns-icon-surface: #f0eafa; }
.rns-erp .sidebar-menu .nav-link > :is(.bi-boxes, .bi-box-seam, .bi-truck, .bi-box-arrow-in-down) { --rns-icon-color: #067e88; --rns-icon-surface: #dff5f4; }
.rns-erp .sidebar-menu .nav-link > :is(.bi-bank, .bi-cash-stack, .bi-cash, .bi-wallet2, .bi-cart3, .bi-whatsapp) { --rns-icon-color: #087c53; --rns-icon-surface: #e2f4e9; }
.rns-erp .sidebar-menu .nav-link > :is(.bi-gear, .bi-gear-wide-connected, .bi-sliders) { --rns-icon-color: #52617a; --rns-icon-surface: #e9eef5; }
.rns-erp .sidebar-menu .nav-link.active > i,
.rns-erp .sidebar-menu .active > .nav-link > i { color: var(--rns-icon-color); }
.rns-erp .rns-brand-mark { color: #fff; border-color: #0867cf; background: #0867cf; }
.rns-erp .info-box-new-style .info-box-icon.bg-aqua { color: #0878b6 !important; background: #e2f3ff !important; }
.rns-erp .info-box-new-style .info-box-icon.bg-green { color: #087c53 !important; background: #e2f6eb !important; }
.rns-erp .info-box-new-style .info-box-icon.bg-red { color: #b33254 !important; background: #ffe8ee !important; }
.rns-erp .info-box-new-style .info-box-icon.bg-yellow { color: #95610a !important; background: #fff2cf !important; }
@media (min-width: 992px) {
  .rns-erp.sidebar-collapse .app-sidebar:not(:hover) .rns-repair-shortcuts { padding-inline: .45rem; }
  .rns-erp.sidebar-collapse .app-sidebar:not(:hover) .rns-repair-shortcut { justify-content: center; padding-inline: .35rem; }
  .rns-erp.sidebar-collapse .app-sidebar:not(:hover) .rns-repair-shortcut > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rns-erp .rns-repair-shortcut { transition: none; }
}

.rns-erp .sidebar-menu .nav-link > p { white-space: normal; text-overflow: clip; line-height: 1.4; overflow-wrap: anywhere; hyphens: auto; }

/* Multi-device intake: clear light cards and visible keyboard focus. */
.rns-erp .rns-device-card { padding: 1.25rem; border: 1px solid #cbd8e8; border-radius: 16px; background: #f6f9fd; min-width: 0; }
.rns-erp .rns-device-card legend { float: none; width: auto; padding: 0 .4rem; color: #124b85; font-weight: 700; }
.rns-erp .rns-device-card label { display: block; margin-bottom: .4rem; }
.rns-erp .rns-imei-status { color: #23496c; overflow-wrap: anywhere; }
.rns-erp .rns-intake-link { display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1rem; border: 1px solid #cbd8e8; border-radius: 14px; background: #f6f9fd; color: #23496c; text-decoration: none; overflow-wrap: anywhere; }
.rns-erp .rns-intake-link:hover, .rns-erp .rns-intake-link.is-current { border-color: #0867cf; background: #eaf3ff; }
.rns-erp .rns-intake-link:focus-visible { outline: 3px solid #0867cf; outline-offset: 3px; }
@media (max-width: 575.98px) {
    .rns-erp .rns-device-card .input-group { gap: .5rem; }
    .rns-erp .rns-device-card .input-group > .form-control,
    .rns-erp .rns-device-card .input-group > .btn { flex: 0 0 100%; width: 100%; border-radius: 10px; margin-left: 0; }
}
