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46c8Nܣ{t|'fXvMV1f_	@b@Z>UPm!4e׺-Ês$d^%m[W\&:a7 SB,6ӟ
`{Mޜv)&I+^' (7I鞙p=U'6z~)NiJyY@}U$PWnŮ49%ʝz<{'x~=l̐c4VJYlyt6x?eČo{[+Iea1ʆ4$JF13}FbDpH<0>l3Ժ6te0-]i\ǷL$E0
UPm!4f@~n\vP@3ЕU߿#5Y/r2Ai*0S,6ӟ
`{Mޜv)f@x/a-H,u3mFz,[tBYQWԊ;#U A,))}lq($UUb<ꚋR;Nz8<hʸGK3;2ٿX\aыC49X BN	$ܢu˵%,v/ k妊$jN~ި4x[֖])㾜r7޿V5M{zd07OIMcgl3jǬDRjo!_vGCjX9͗A~3eL֟jn߰B]]1qʽMŉ6L[n78X)Else㼕5hm3Q]+OC]gmi]<6Pg+MzZ໽a#YYj4m-r!Ѣ`DFk/
ΛHh/%iUa4QDh tEa7aED:SPBQl}wT1SU Ci	&CjXH:G3]@uƳhͺF>\6wLKB$'m`'xm,RQo$mm΃g<[>윱d~iHS+&TTL|{/E@%pY/pAe%}͡3ďR尥jNXτ9hRf{ϊj/U|~)SP{Z[z6?UdPG"A0me6h:lg4
J"A0me6uzBu0=VKfkK~=,6ӟ
`{Mޜv)ظt u,u3mFIˊ^4T=M`fi%a'_TC	GoƼ []N朧#x/5E0ON~ި4xҰ?>OR?y-=V5M{zd07OIMcgl3d߻PnT]"اI42UD,mAs!`meg[1Iڍ Dz[Šm'm`'xm,&q;2.ƾ#TO͗A~3er{c:^a_ʽMŉ6L[kG-UpuAkzElse㼕5hZ&=EþFi.]4P_/*aE_7Ǻ.V(r+-I״̧AۇTT08=lc7[cd~}'@Ce\D(3Cj$~vder: 1px solid #da3633 !important;
}
body.dark-mode .btn-danger:hover,
body.dark-mode .btn-danger:focus {
  background: #f85149 !important;
  background-color: #f85149 !important;
  color: #fff !important;
}

body.dark-mode .btn-link {
  background: transparent !important;
  color: #58a6ff !important;
  border: none !important;
}
body.dark-mode .btn-link:hover {
  color: #79c0ff !important;
}

body.dark-mode .btn-xs {
  font-size: 11px !important;
}

body.dark-mode .btn-sm {
  font-size: 12px !important;
}

/* Boton de tema oscuro */
body.dark-mode #darkModeToggle {
  background: rgba(255,255,255,0.08) !important;
  color: #f0c040 !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}

/* ---------- Inputs / Form controls ---------- */
body.dark-mode .form-control,
body.dark-mode input[type="text"],
body.dark-mode input[type="number"],
body.dark-mode input[type="search"],
body.dark-mode input[type="date"],
body.dark-mode input[type="password"],
body.dark-mode input[type="email"],
body.dark-mode input[type="tel"],
body.dark-mode select,
body.dark-mode textarea {
  background: #161b22 !important;
  color: #c9d1d9 !important;
  border: 1px solid #30363d !important;
  border-radius: 6px !important;
}

body.dark-mode .form-control:focus,
body.dark-mode input:focus,
body.dark-mode select:focus,
body.dark-mode textarea:focus {
  background: #0d1117 !important;
  color: #e6edf3 !important;
  border-color: #58a6ff !important;
  box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.2) !important;
  outline: none !important;
}

body.dark-mode .form-control[readonly],
body.dark-mode .form-control[disabled],
body.dark-mode input[readonly],
body.dark-mode input[disabled] {
  background: #21262d !important;
  color: #8b949e !important;
  border-color: #30363d !important;
}

body.dark-mode .input-xs {
  background: #161b22 !important;
  color: #c9d1d9 !important;
  border: 1px solid #30363d !important;
}

/* Placeholder en dark mode */
body.dark-mode ::placeholder {
  color: #484f58 !important;
}

/* ---------- Tablas ---------- */
body.dark-mode table,
body.dark-mode .table {
  color: #c9d1d9 !important;
  background: transparent !important;
}

body.dark-mode #lista thead th {
  background: #21262d !important;
  color: #8b949e !important;
  border-bottom: 2px solid #30363d !important;
}

body.dark-mode table th,
body.dark-mode .table th,
body.dark-mode .table > thead > tr > th {
  background: #21262d !important;
  color: #8b949e !important;
  border-bottom: 2px solid #30363d !important;
  font-weight: 600 !important;
}

body.dark-mode table td,
body.dark-mode .table td,
body.dark-mode .table > tbody > tr > td {
  color: #c9d1d9 !important;
  border-top: 1px solid #30363d !important;
}

body.dark-mode .table-striped > tbody > tr:nth-of-type(odd) {
  background: #1c1f26 !important;
}
body.dark-mode .table-striped > tbody > tr:nth-of-type(even) {
  background: #16181d !important;
}

body.dark-mode .table > tbody > tr:hover {
  background: #21262d !important;
}

body.dark-mode .table-bordered,
body.dark-mode .table-bordered > thead > tr > th,
body.dark-mode .table-bordered > tbody > tr > td {
  border-color: #30363d !important;
}

/* ---------- Modales ---------- */
body.dark-mode .modal-content {
  background: #1c1f26 !important;
  border: 1px solid #30363d !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.60) !important;
}

body.dark-mode .modal-header {
  background: linear-gradient(135deg, #21262d, #2c313a) !important;
  color: #c9d1d9 !important;
  border-bottom: 1px solid #30363d !important;
}

body.dark-mode .modal-header .modal-title,
body.dark-mode .modal-header h1,
body.dark-mode .modal-header h2,
body.dark-mode .modal-header h3,
body.dark-mode .modal-header h4 {
  color: #e6edf3 !important;
}

body.dark-mode .modal-header .close {
  color: #8b949e !important;
  text-shadow: none !important;
  opacity: 0.8 !important;
}
body.dark-mode .modal-header .close:hover {
  color: #e6edf3 !important;
  opacity: 1 !important;
}

body.dark-mode .modal-body {
  background: #1c1f26 !important;
  color: #c9d1d9 !important;
}

body.dark-mode .modal-footer {
  background: #21262d !important;
  border-top: 1px solid #30363d !important;
  color: #8b949e !important;
}

body.dark-mode .modal-backdrop.in {
  opacity: 0.75 !important;
}

/* Ajustes para modales con headers de colores especificos en linea */
body.dark-mode .modal-header[style*="background:#f0ad4e"] {
  background: linear-gradient(135deg, #6b4a0a, #8b6914) !important;
}
body.dark-mode .modal-header[style*="background:#f5f5f5"] {
  background: #21262d !important;
}
body.dark-mode .modal-header[style*="background:#5cb85c"] {
  background: linear-gradient(135deg, #1a3a2a, #1c4d32) !important;
}

/* ---------- Dropdown menus ---------- */
body.dark-mode .dropdown-menu {
  background: #21262d !important;
  border: 1px solid #30363d !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
}

body.dark-mode .dropdown-menu > li > a {
  color: #c9d1d9 !important;
  background: transparent !important;
}
body.dark-mode .dropdown-menu > li > a:hover,
body.dark-mode .dropdown-menu > li > a:focus {
  background: #30363d !important;
  color: #e6edf3 !important;
}

body.dark-mode .dropdown-menu .divider {
  background-color: #30363d !important;
}

/* ---------- Textos utilitarios ---------- */
body.dark-mode .text-muted {
  color: #8b949e !important;
}
body.dark-mode .text-primary {
  color: #58a6ff !important;
}
body.dark-mode .text-success {
  color: #3fb950 !important;
}
body.dark-mode .text-info {
  color: #58a6ff !important;
}
body.dark-mode .text-warning {
  color: #d29922 !important;
}
body.dark-mode .text-danger {
  color: #f85149 !important;
}

body.dark-mode small {
  color: #8b949e !important;
}

/* ---------- Labels / Badges ---------- */
body.dark-mode .label,
body.dark-mode .badge {
  color: #fff !important;
}

/* ---------- Enlaces generales ---------- */
body.dark-mode a {
  color: #58a6ff !important;
}
body.dark-mode a:hover {
  color: #79c0ff !important;
}
body.dark-mode a.text-danger {
  color: #f85149 !important;
}
body.dark-mode a.text-danger:hover {
  color: #ff7b72 !important;
}

/* ---------- Well ---------- */
body.dark-mode .well {
  background: #21262d !important;
  border-color: #30363d !important;
  color: #c9d1d9 !important;
}

/* ---------- List group ---------- */
body.dark-mode .list-group-item {
  background: #1c1f26 !important;
  border-color: #30363d !important;
  color: #c9d1d9 !important;
}
body.dark-mode .list-group-item:hover {
  background: #21262d !important;
}

/* ---------- Alertify / Toastr ---------- */
body.dark-mode .alertify .ajs-dialog {
  background: #1c1f26 !important;
  color: #c9d1d9 !important;
  border-color: #30363d !important;
}
body.dark-mode .alertify .ajs-header {
  background: #21262d !important;
  color: #e6edf3 !important;
  border-bottom-color: #30363d !important;
}
body.dark-mode .alertify .ajs-footer {
  background: #21262d !important;
  border-top-color: #30363d !important;
}

body.dark-mode #toast-container > div {
  box-shadow: 0 4px 16px rgba(0,0,0,0.5) !important;
}

/* ---------- Autocomplete de productos (#ac-productos) ---------- */
body.dark-mode #ac-productos {
  background: #21262d !important;
  border-color: #30363d !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.55) !important;
}
body.dark-mode #ac-productos li {
  background: transparent !important;
  color: #c9d1d9 !important;
  border-bottom-color: #30363d !important;
}
body.dark-mode #ac-productos li:hover,
body.dark-mode #ac-productos li[style*="background:#dff0d8"] {
  background: #2c313a !important;
}

/* ---------- Items de ventas pendientes (.esp-*) ---------- */
body.dark-mode .esp-item {
  background: transparent !important;
  color: #c9d1d9 !important;
  border-bottom-color: #30363d !important;
}
body.dark-mode .esp-item:hover {
  background: #21262d !important;
  color: #e6edf3 !important;
}
body.dark-mode .esp-item-name {
  color: #e6edf3 !important;
}
body.dark-mode .esp-item-meta {
  color: #8b949e !important;
}
body.dark-mode .esp-item-price {
  color: #e6edf3 !important;
}
body.dark-mode .esp-dash-card.active {
  background: #2c313a !important;
  color: #e6edf3 !important;
}
body.dark-mode .esp-empty {
  color: #8b949e !important;
}

/* ---------- Carrito (#lista .car-table) — quitar striped ---------- */
body.dark-mode .car-table > tbody > tr:nth-child(odd) {
  background: transparent !important;
}
body.dark-mode .car-table > tbody > tr:nth-child(even) {
  background: transparent !important;
}
body.dark-mode .car-table > tbody > tr {
  background: transparent !important;
}
body.dark-mode .car-table > tbody > tr > td {
  color: #c9d1d9 !important;
  border-top-color: #21262d !important;
}
body.dark-mode .car-table > thead > tr > th {
  color: #8b949e !important;
  border-bottom-color: #30363d !important;
}
body.dark-mode .car-name { color: #c9d1d9 !important; }
body.dark-mode .car-code { color: #3fb950 !important; }
body.dark-mode .car-qty {
  background: #161b22 !important;
  color: #f85149 !important;
  border-color: #30363d !important;
}
body.dark-mode .car-qty[readonly] {
  background: #21262d !important;
  color: #8b949e !important;
}
body.dark-mode .car-table > tbody > tr:hover {
  background: #262c36 !important;
}

/* ---------- Va-table (ventas abiertas) ---------- */
body.dark-mode .va-table > thead > tr > th {
  background: #21262d !important;
  color: #8b949e !important;
  border-bottom-color: #30363d !important;
}
body.dark-mode .va-table > tbody > tr > td {
  color: #c9d1d9 !important;
  border-top-color: #30363d !important;
}
body.dark-mode .va-table > tbody > tr:nth-child(odd) {
  background: #1a1d22 !important;
}
body.dark-mode .va-table > tbody > tr:hover {
  background: #21262d !important;
}
body.dark-mode .va-badge {
  color: #c9d1d9 !important;
}
body.dark-mode .va-badge.espera {
  background: #3f330a !important;
  color: #d29922 !important;
}
body.dark-mode .va-badge.espera2 {
  background: #0d2f4b !important;
  color: #58a6ff !important;
}
body.dark-mode .va-badge.otro {
  background: #21262d !important;
  color: #8b949e !important;
}

/* ---------- Bp-table (buscar producto modal) ---------- */
body.dark-mode .bp-table {
  color: #c9d1d9 !important;
}
body.dark-mode .bp-table th {
  background: #21262d !important;
  color: #8b949e !important;
  border-bottom-color: #30363d !important;
}
body.dark-mode .bp-table td {
  border-top-color: #30363d !important;
}
body.dark-mode .bp-table tr:nth-child(odd) {
  background: #1a1d22 !important;
}

/* ---------- hr ---------- */
body.dark-mode hr {
  border-top-color: #30363d !important;
}

/* ---------- Total panel ---------- */
body.dark-mode #lb-total {
  color: #3fb950 !important;
}

/* ---------- Subtotal / ITBIS ---------- */
body.dark-mode #ft-subtotal,
body.dark-mode #ft-itbis {
  color: #c9d1d9 !important;
}

/* ---------- Items / Margen ---------- */
body.dark-mode #items {
  color: #c9d1d9 !important;
}
body.dark-mode #ganancias {
  color: #c9d1d9 !important;
}

/* ---------- Cliente header info ---------- */
body.dark-mode #cliente-header-info {
  background: #1a3a2a !important;
  border-color: #2ea043 !important;
  color: #3fb950 !important;
}
body.dark-mode #cliente-header-nombre {
  color: #3fb950 !important;
}
body.dark-mode #cliente-header-rnc {
  color: #8b949e !important;
}

/* ---------- Reenviadas panel ---------- */
body.dark-mode #reenviadas-panel {
  background: #3f330a !important;
  border-color: #9e6a03 !important;
}
body.dark-mode #reenviadas-lista {
  color: #c9d1d9 !important;
}
body.dark-mode #reenviadas-panel strong {
  color: #d29922 !important;
}
body.dark-mode #reenviadas-panel small {
  color: #d29922 !important;
}
body.dark-mode #reenviadas-panel i.fa {
  color: #d29922 !important;
}

/* ---------- cajEnviarInput ---------- */
body.dark-mode #cajEnviarInput {
  background: #0d2f4b !important;
  border-color: #1f6feb !important;
}

/* ---------- Navbar/Top bar (barra de titulo) ---------- */
body.dark-mode #barra,
body.dark-mode .navbar.navbar-default,
body.dark-mode .navbar.navbar-default.fixed-top {
  background: #0d1117 !important;
  border-bottom: 1px solid #21262d !important;
}
body.dark-mode .navbar.navbar-default .navbar-nav > li > a {
  color: #c9d1d9 !important;
}
body.dark-mode .navbar.navbar-default .navbar-nav > li > a:hover {
  background: #21262d !important;
  color: #e6edf3 !important;
}
body.dark-mode .navbar-text {
  color: #c9d1d9 !important;
}
body.dark-mode .navbar-brand {
  color: #e6edf3 !important;
}

/* ---------- Select2 ---------- */
body.dark-mode .select2-container--default .select2-selection--single {
  background: #161b22 !important;
  border-color: #30363d !important;
  color: #c9d1d9 !important;
}
body.dark-mode .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #c9d1d9 !important;
}
body.dark-mode .select2-dropdown {
  background: #21262d !important;
  border-color: #30363d !important;
}
body.dark-mode .select2-container--default .select2-results__option {
  color: #c9d1d9 !important;
  background: #21262d !important;
}
body.dark-mode .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #30363d !important;
  color: #e6edf3 !important;
}
body.dark-mode .select2-search--dropdown .select2-search__field {
  background: #161b22 !important;
  color: #c9d1d9 !important;
  border-color: #30363d !important;
}

/* ---------- Datatables ---------- */
body.dark-mode .dataTables_wrapper .dataTables_length,
body.dark-mode .dataTables_wrapper .dataTables_filter,
body.dark-mode .dataTables_wrapper .dataTables_info,
body.dark-mode .dataTables_wrapper .dataTables_paginate {
  color: #8b949e !important;
}
body.dark-mode .dataTables_wrapper .dataTables_filter input {
  background: #161b22 !important;
  border-color: #30363d !important;
  color: #c9d1d9 !important;
}
body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #8b949e !important;
  background: transparent !important;
  border-color: #30363d !important;
}
body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #21262d !important;
  color: #e6edf3 !important;
}
body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #30363d !important;
  color: #e6edf3 !important;
}

/* ---------- Sidebar ---------- */
body.dark-mode #sidebar {
  background: #0d1117 !important;
  border-right: 1px solid #21262d !important;
}
body.dark-mode .sb-head {
  background: rgba(255,255,255,0.03) !important;
  border-bottom: 1px solid #21262d !important;
}
body.dark-mode .sb-user {
  background: rgba(255,255,255,0.03) !important;
}
body.dark-mode .sb-accordion-header {
  color: #8b949e !important;
}
body.dark-mode .sb-accordion-header:hover {
  background: #21262d !important;
  color: #e6edf3 !important;
}
body.dark-mode .sb-item {
  color: #8b949e !important;
}
body.dark-mode .sb-item:hover {
  background: #21262d !important;
  color: #e6edf3 !important;
}

/* ---------- Recuadro de medidas en modal detalle ---------- */
body.dark-mode #medidas-body {
  background: #161b22 !important;
  border-color: #2ea043 !important;
  color: #3fb950 !important;
}

/* ---------- Subtextos en modal cobrar ---------- */
body.dark-mode #lb-total002 {
  color: #3fb950 !important;
}

/* ---------- Overlay de espera (AJAX loader) si existe ---------- */
body.dark-mode .ajax-loading-overlay {
  background: rgba(0,0,0,0.6) !important;
}

/* ---------- Diseño de toggle button (boton luna/sol) ---------- */
#darkModeToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.05);
  color: #555;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  transition: all 0.25s ease;
  vertical-align: middle;
}
#darkModeToggle:hover {
  background: rgba(0,0,0,0.12);
  color: #222;
}
