.ui-autocomplete {
	z-index: 10000;
}

/* Forzar que los modales y backdrop cubran el 100% de la pantalla incluso con escala/zoom reducido */
.modal,
body>.modal {
	z-index: 1060 !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100vw !important;
	min-height: 100vh !important;
}

.modal-backdrop,
body>.modal-backdrop {
	z-index: 1050 !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 250vw !important;
	height: 250vh !important;
	min-width: 100% !important;
	min-height: 100% !important;
}

body.modal-open {
	overflow: hidden !important;
}



.dt-buttons .btn-secondary {
	width: 40px;
	margin: 0px;
	padding: 0px;
}

.branch-select-native {
	display: none !important;
}

.branch-select-enhanced {
	position: relative;
	width: 190px;
}

.branch-select-button {
	align-items: center;
	background: #ffffff;
	border: 1px solid rgba(103, 119, 239, .2);
	border-radius: 10px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
	color: #263043;
	display: flex;
	font-size: 13px;
	font-weight: 800;
	gap: 10px;
	height: 42px;
	justify-content: space-between;
	line-height: 1.1;
	padding: 0 12px 0 14px;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
	width: 100%;
}

.branch-select-button:hover,
.branch-select-enhanced.is-open .branch-select-button {
	border-color: rgba(103, 119, 239, .55);
	box-shadow: 0 12px 26px rgba(103, 119, 239, .16);
	transform: translateY(-1px);
}

.branch-select-button i {
	color: #6777ef;
	font-size: 11px;
	transition: transform .2s ease;
}

.branch-select-enhanced.is-open .branch-select-button i {
	transform: rotate(180deg);
}

.branch-select-current {
	overflow: hidden;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.branch-select-menu {
	background: #ffffff;
	border: 1px solid rgba(103, 119, 239, .18);
	border-radius: 10px;
	box-shadow: 0 16px 34px rgba(15, 23, 42, .18);
	display: none;
	left: 0;
	margin-top: 7px;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 1060;
}

.branch-select-enhanced.is-open .branch-select-menu {
	display: block;
}

.branch-select-option {
	align-items: center;
	background: transparent;
	border: 0;
	color: #263043;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	justify-content: space-between;
	padding: 10px 12px;
	text-align: left;
	width: 100%;
}

.branch-select-option:hover {
	background: #f4f6ff;
	color: #6777ef;
}

.branch-select-option.is-active {
	background: #6777ef;
	color: #ffffff;
}

.branch-select-option.is-active::after {
	content: "\f00c";
	font-family: "Font Awesome 5 Free";
	font-size: 10px;
	font-weight: 900;
}

#tblProductos tfoot th {
	background: #f8fafc;
	border-top: 2px solid #dbe4f0;
	color: #263043;
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
}

#tblProductos tfoot th:nth-child(10),
#tblProductos tfoot th:nth-child(11),
#tblProductos tfoot th:nth-child(12) {
	background: #eef2ff;
	color: #273469;
	text-align: right;
}

@media (max-width: 768px) {
	.branch-select-enhanced {
		width: 156px;
	}
}


.pendiente {
	background-color: red;
}

.en_proceso {
	background-color: yellow;
	color: black;
}

.en_espera {
	background-color: orange;
}

.reparado {
	background-color: blue;
}

.entregado {
	background-color: green;
}

.cancelado {
	background-color: black;
}

.no_reparable {
	background-color: firebrick;
}

.pos-mode .navbar-bg,
.pos-mode .main-navbar,
.pos-mode .main-sidebar,
.pos-mode .settingSidebar {
	display: none !important;
}

.pos-mode .main-wrapper,
.pos-mode .main-content {
	margin-left: 0 !important;
	padding-left: 0 !important;
}

.pos-mode .main-content {
	padding-top: 0 !important;
}

.pos-mode .section {
	padding: 0 !important;
}

.pos-page {
	min-height: 100vh;
	background: #f5f6f8;
	overflow-x: hidden;
}

.pos-mode form.contents {
	display: contents;
}

.pos-topbar {
	position: sticky;
	top: 0;
	z-index: 1020;
	background: #ffffff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	padding: 12px 16px;
}

.pos-title {
	font-weight: 700;
	letter-spacing: 0.2px;
}

.pos-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
	gap: 16px;
	padding: 16px;
}

@media (max-width: 1200px) {
	.pos-grid {
		grid-template-columns: 1fr;
	}
}

.pos-panel {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	padding: 14px;
}

.pos-sticky {
	position: sticky;
	top: 76px;
	align-self: start;
}

.pos-kpi {
	background: #f8f9fa;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 14px;
	padding: 12px;
}

.pos-kpi .pos-kpi-label {
	font-size: 12px;
	color: rgba(0, 0, 0, 0.55);
}

.pos-kpi .pos-kpi-value {
	font-size: 34px;
	font-weight: 900;
	letter-spacing: 0.2px;
	color: #198754;
}

.pos-kpi .pos-kpi-sub {
	font-size: 12px;
	color: rgba(0, 0, 0, 0.55);
}

.pos-cart-table thead th {
	white-space: nowrap;
}

.pos-product-img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
}

.pos-product-name {
	font-weight: 800;
	line-height: 1.1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 420px;
}

.pos-total {
	font-size: 28px;
	font-weight: 800;
	color: #198754;
	background: rgba(25, 135, 84, 0.08);
	padding: 4px 10px;
	border-radius: 12px;
	display: inline-block;
}

.pos-panel .table {
	margin-bottom: 0;
}

.pos-panel #tablaFormasPago th,
.pos-panel #tablaFormasPago td {
	vertical-align: middle;
}

.pos-panel #tablaFormasPago .form-control {
	min-width: 140px;
}

.pos-panel #tablaFormasPago input[name$="[referencia]"] {
	min-width: 200px;
}

.pos-panel #tablaFormasPago .pos-efectivo-row td {
	background: rgba(25, 135, 84, 0.06);
}

.pos-panel #tablaFormasPago .pos-efectivo-row .input-monto {
	font-size: 18px;
	font-weight: 800;
	border-color: rgba(25, 135, 84, 0.35);
	height: 44px;
}

@media (max-width: 1400px) {

	.pos-mode #tablaFormasPago th:nth-child(3),
	.pos-mode #tablaFormasPago td:nth-child(3),
	.pos-mode #tablaFormasPago th:nth-child(4),
	.pos-mode #tablaFormasPago td:nth-child(4) {
		display: none;
	}
}

@media (max-width: 1280px) {

	.pos-mode #tablaFormasPago th:nth-child(3),
	.pos-mode #tablaFormasPago td:nth-child(3),
	.pos-mode #tablaFormasPago th:nth-child(4),
	.pos-mode #tablaFormasPago td:nth-child(4) {
		display: none;
	}
}

.pos-mode .pos-panel .form-control,
.pos-mode .pos-panel .form-select,
.pos-mode .pos-panel .input-group-text {
	font-size: 16px;
	height: 42px;
}

.pos-mode .pos-panel textarea.form-control {
	height: auto;
}

.pos-mode #btnAccion {
	height: 52px;
	font-size: 18px;
	font-weight: 800;
}

.pos-panel #tablaFormasPago .btn {
	min-width: 40px;
}

.pos-panel .table-responsive {
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
	.pos-mode form.contents {
		display: block;
	}

	.pos-sticky {
		position: static;
	}

	.pos-grid {
		grid-template-columns: 1fr;
		padding: 10px;
		gap: 10px;
		justify-items: center;
	}

	.pos-panel {
		width: 100%;
		max-width: 720px;
		margin-left: auto;
		margin-right: auto;
	}

	.pos-kpi {
		text-align: center;
	}

	.pos-topbar {
		padding: 10px;
	}

	.pos-topbar {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.pos-topbar .pos-title {
		text-align: center;
	}

	.pos-topbar>a.btn {
		width: 100%;
		justify-content: center;
	}

	.pos-topbar .ms-auto {
		width: 100%;
		justify-content: space-between;
	}

	.pos-topbar .input-group {
		width: 100% !important;
	}

	.pos-topbar .text-end {
		text-align: center !important;
		width: 100%;
	}

	.pos-topbar .btn {
		height: 42px;
		display: inline-flex;
		align-items: center;
	}

	.pos-total {
		font-size: 26px;
	}

	.pos-mode .pos-panel {
		padding: 12px;
		border-radius: 12px;
		min-width: 0;
	}

	.pos-mode .pos-panel * {
		min-width: 0;
	}

	.pos-mode .pos-panel .form-control,
	.pos-mode .pos-panel .form-select,
	.pos-mode .pos-panel .input-group-text {
		font-size: 16px;
		height: 46px;
	}

	.pos-mode #btnAccion {
		height: 56px;
		font-size: 18px;
	}

	/* Carrito: tabla a cards */
	.pos-mode #tblNuevaVenta {
		border: 0;
	}

	.pos-mode #tblNuevaVenta thead {
		display: none;
	}

	.pos-mode #tblNuevaVenta,
	.pos-mode #tblNuevaVenta tbody,
	.pos-mode #tblNuevaVenta tr,
	.pos-mode #tblNuevaVenta td {
		display: block;
		width: 100%;
	}

	.pos-mode #tblNuevaVenta tr {
		background: #fff;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 14px;
		padding: 10px;
		margin-bottom: 10px;
	}

	.pos-mode #tblNuevaVenta td {
		border: 0;
		padding: 8px 6px;
	}

	.pos-mode #tblNuevaVenta td:nth-child(1) {
		padding-top: 2px;
	}

	.pos-mode #tblNuevaVenta td:nth-child(2)::before {
		content: 'Precio';
		display: block;
		font-size: 12px;
		color: rgba(0, 0, 0, .55);
		margin-bottom: 4px;
	}

	.pos-mode #tblNuevaVenta td:nth-child(3)::before {
		content: 'Cantidad';
		display: block;
		font-size: 12px;
		color: rgba(0, 0, 0, .55);
		margin-bottom: 4px;
	}

	.pos-mode #tblNuevaVenta td:nth-child(4)::before {
		content: 'Subtotal';
		display: block;
		font-size: 12px;
		color: rgba(0, 0, 0, .55);
		margin-bottom: 4px;
	}

	.pos-mode #tblNuevaVenta td:nth-child(5) {
		padding-bottom: 2px;
	}

	.pos-mode #tblNuevaVenta td:nth-child(5) .btn {
		width: 100%;
		height: 46px;
		font-weight: 800;
	}

	.pos-mode #tblNuevaVenta td:nth-child(2) select,
	.pos-mode #tblNuevaVenta td:nth-child(3) input {
		width: 100%;
	}

	.pos-mode #tblNuevaVenta td:nth-child(4) {
		font-weight: 800;
		font-size: 18px;
	}

	.pos-product-img {
		width: 54px;
		height: 54px;
		border-radius: 14px;
	}

	.pos-product-name {
		max-width: 240px;
	}

	/* Buscador productos: evitar overflow */
	.pos-mode .btn-group-toggle,
	.pos-mode .btn-group {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
	}

	.pos-mode .btn-group-toggle .btn,
	.pos-mode .btn-group .btn {
		flex: 1 1 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: 14px;
		padding: 10px 8px;
	}

	.pos-mode .btn-group-toggle .btn input[type="radio"] {
		margin-right: 6px;
	}

	.pos-mode #containerCodigo,
	.pos-mode #containerNombre {
		width: 100%;
	}

	.pos-mode #containerCodigo .input-group-text,
	.pos-mode #containerNombre .input-group-text {
		flex: 0 0 auto;
	}

	.pos-mode #containerCodigo input,
	.pos-mode #containerNombre input {
		flex: 1 1 auto;
		width: 1%;
	}

	/* Pagos: evitar overflow, ocultar columnas pesadas */
	.pos-mode #tablaFormasPago th:nth-child(3),
	.pos-mode #tablaFormasPago td:nth-child(3),
	.pos-mode #tablaFormasPago th:nth-child(4),
	.pos-mode #tablaFormasPago td:nth-child(4),
	.pos-mode #tablaFormasPago th:nth-child(5),
	.pos-mode #tablaFormasPago td:nth-child(5) {
		display: none;
	}

	.pos-mode .pos-panel #tablaFormasPago .form-control {
		min-width: 0;
		width: 100%;
	}

	.pos-mode .pos-panel #tablaFormasPago .btn {
		min-width: 44px;
		height: 44px;
	}

	.pos-mode .pos-panel .table-responsive {
		max-height: none !important;
		overflow: visible !important;
	}
}

@media (max-width: 576px) {

	/* Pagos: tabla a cards para pantallas muy pequeñas */
	.pos-mode #tablaFormasPago thead {
		display: none;
	}

	.pos-mode #tablaFormasPago,
	.pos-mode #tablaFormasPago tbody,
	.pos-mode #tablaFormasPago tr,
	.pos-mode #tablaFormasPago td {
		display: block;
		width: 100%;
	}

	.pos-mode #tablaFormasPago tr {
		background: #fff;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 14px;
		padding: 10px;
		margin-bottom: 10px;
	}

	.pos-mode #tablaFormasPago td {
		border: 0;
		padding: 6px 4px;
	}

	.pos-mode #tablaFormasPago td:nth-child(1)::before {
		content: 'Forma';
		display: block;
		font-size: 12px;
		color: rgba(0, 0, 0, .55);
		margin-bottom: 4px;
	}

	.pos-mode #tablaFormasPago td:nth-child(2)::before {
		content: 'Recibido';
		display: block;
		font-size: 12px;
		color: rgba(0, 0, 0, .55);
		margin-bottom: 4px;
	}

	.pos-mode #tablaFormasPago td:nth-child(6)::before {
		content: 'Acción';
		display: block;
		font-size: 12px;
		color: rgba(0, 0, 0, .55);
		margin-bottom: 4px;
	}

	.pos-mode #tablaFormasPago td:nth-child(6) .btn {
		width: 100%;
		font-weight: 800;
	}
}

.bg-light-alt {
	background-color: #f4f6f9 !important;
}

/* Egresos Mobile Date Fixes */
@media (max-width: 576px) {
	.input-group-sm>.form-control[type="date"] {
		min-width: 130px;
		/* Ensure enough space for DD/MM/YYYY */
	}
}

.dashboard-warranty-card {
	border: 0;
	border-left: 4px solid #f59e0b;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	margin-bottom: 22px;
}

.dashboard-expiration-card {
	border-left-color: #2563eb;
}

.dashboard-warranty-icon {
	align-items: center;
	border-radius: 14px;
	display: flex;
	flex: 0 0 52px;
	height: 52px;
	justify-content: center;
	width: 52px;
}

.dashboard-warranty-icon i {
	font-size: 22px;
}

.dashboard-warranty-icon.is-warning {
	background: #fff7ed;
	color: #ea580c;
}

.dashboard-warranty-icon.is-ok {
	background: #ecfdf5;
	color: #16a34a;
}

.dashboard-warranty-icon.is-expiration {
	background: #eff6ff;
	color: #2563eb;
}

.dashboard-warranty-label {
	color: #64748b;
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .6px;
	text-transform: uppercase;
}

.dashboard-warranty-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.dashboard-warranty-count {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	min-width: 92px;
	padding: 8px 10px;
	text-align: center;
}

.dashboard-warranty-count strong {
	color: #0f172a;
	display: block;
	font-size: 20px;
	line-height: 1;
}

.dashboard-warranty-count span {
	color: #64748b;
	display: block;
	font-size: 11px;
	font-weight: 700;
	margin-top: 2px;
}

.dashboard-warranty-count.critical {
	background: #fff1f2;
	border-color: #fecdd3;
}

.dashboard-warranty-count.critical strong,
.dashboard-warranty-count.critical span {
	color: #be123c;
}

.dashboard-warranty-modal-header {
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

.dashboard-warranty-modal-header p {
	color: #64748b;
	font-size: 13px;
}

.dashboard-alert-modal {
	z-index: 1085 !important;
}

.dashboard-alert-modal .modal-dialog {
	margin: 1.75rem auto;
	pointer-events: auto;
}

.modal-backdrop.dashboard-alert-backdrop {
	z-index: 1075 !important;
}

.dashboard-warranty-table thead th {
	background: #f1f5f9;
	border-bottom: 1px solid #e2e8f0;
	color: #334155;
	font-size: 12px;
	letter-spacing: .3px;
	text-transform: uppercase;
}

.dashboard-warranty-empty {
	color: #64748b;
	padding: 34px 16px;
	text-align: center;
}

.dashboard-warranty-empty i {
	color: #16a34a;
	font-size: 34px;
	margin-bottom: 10px;
}

@media (max-width: 768px) {
	.dashboard-warranty-actions {
		justify-content: flex-start;
		width: 100%;
	}

	.dashboard-warranty-actions .btn {
		width: 100%;
	}
}

.producto-stock-desactivado label {
	color: #94a3b8;
}

.producto-stock-desactivado .input-group {
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px #e2e8f0;
}

.producto-stock-desactivado input[disabled] {
	background-color: #f8fafc !important;
	color: #94a3b8;
	cursor: not-allowed;
}

/* Adaptabilidad Responsiva para Menú y Header */
@media (max-width: 575.98px) {
	.main-navbar {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	.branch-select-enhanced {
		width: 125px !important;
	}

	.branch-select-button {
		font-size: 11px !important;
		padding: 0 8px !important;
		height: 36px !important;
	}

	.main-navbar .navbar-nav {
		flex-direction: row;
		align-items: center;
	}

	.main-navbar .nav-link-user {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
}

/* Espaciado para el botón expansor (+) de DataTables Responsive en todas las tablas colapsadas */
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control,
table.dataTable.dtr-inline.collapsed tbody td:first-child,
table.dataTable tbody td.dtr-control,
table.dataTable tbody th.dtr-control {
	padding-left: 42px !important;
	position: relative !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
	left: 10px !important;
}

/* ==========================================================================
   ESTILOS DE VISIBILIDAD Y BORDES REDONDEADOS - PRECIOS Y MODALIDADES
   ========================================================================== */
#preciosVentaContainer .precio-item {
	background: #ffffff !important;
	border: 1px solid #dee2e6 !important;
	border-radius: 8px !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

#preciosVentaContainer .precio-item label {
	color: #1e293b !important;
	font-weight: 600 !important;
	font-size: 12px !important;
	margin-bottom: 3px !important;
}

#preciosVentaContainer .precio-item .form-control,
#preciosVentaContainer .precio-item .form-select {
	color: #212529 !important;
	background-color: #ffffff !important;
	border: 1px solid #ced4da !important;
	font-size: 13px !important;
}

#preciosVentaContainer .precio-item .input-group > .form-select:first-child,
#preciosVentaContainer .precio-item .input-group > .input-group-text:first-child {
	border-top-left-radius: 6px !important;
	border-bottom-left-radius: 6px !important;
}

#preciosVentaContainer .precio-item .input-group > .form-control:last-child {
	border-top-right-radius: 6px !important;
	border-bottom-right-radius: 6px !important;
}

#preciosVentaContainer .precio-item .btnRemovePrecio {
	border-radius: 6px !important;
}

/* ==========================================================================
   ESCALA COMPACTA DEL SISTEMA ADMINISTRATIVO (ZOOM)
   ========================================================================== */
html.admin-layout {
	zoom: 0.90;
	-webkit-text-size-adjust: 100%;
}

.nav-link-zoom {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 0 10px !important;
	color: #6777ef !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	cursor: pointer;
	transition: all 0.2s ease;
	border-radius: 8px;
}

.nav-link-zoom:hover {
	background-color: rgba(103, 119, 239, 0.08) !important;
}

.nav-link-zoom .badge-zoom {
	background: #6777ef;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	padding: 3px 7px;
	border-radius: 12px;
	letter-spacing: 0.3px;
	box-shadow: 0 2px 5px rgba(103, 119, 239, 0.25);
}

.dropdown-zoom-menu {
	border: 0 !important;
	border-radius: 12px !important;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15) !important;
	min-width: 190px !important;
	padding: 8px 0 !important;
}

.dropdown-zoom-menu .dropdown-item {
	font-size: 12.5px !important;
	padding: 7px 16px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	transition: background 0.15s ease;
	color: #334155 !important;
}

.dropdown-zoom-menu .dropdown-item:hover {
	background-color: #f1f5f9 !important;
	color: #1e293b !important;
}

.dropdown-zoom-menu .dropdown-item.active {
	background-color: #eef2ff !important;
	color: #4f46e5 !important;
	font-weight: 700 !important;
}

/* Evitar scroll horizontal no deseado en modales */
.modal-body {
	overflow-x: hidden !important;
}

/* ==========================================================================
   SWITCH TOGGLE MODERNO (Aislado de conflictos de Bootstrap / Stisla)
   ========================================================================== */
.switch-toggle-btn {
	position: relative !important;
	display: inline-block !important;
	width: 48px !important;
	height: 26px !important;
	margin: 0 !important;
	padding: 0 !important;
	cursor: pointer !important;
	vertical-align: middle !important;
	flex-shrink: 0 !important;
}

.switch-toggle-btn input[type="checkbox"] {
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	position: absolute !important;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none !important;
}

.switch-toggle-btn .switch-slider {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background-color: #cbd5e1 !important;
	border-radius: 26px !important;
	transition: background-color 0.25s ease, box-shadow 0.25s ease !important;
	display: block !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.switch-toggle-btn .switch-slider:before {
	position: absolute !important;
	content: "" !important;
	height: 20px !important;
	width: 20px !important;
	left: 3px !important;
	bottom: 3px !important;
	background-color: #ffffff !important;
	border-radius: 50% !important;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) !important;
}

.switch-toggle-btn input[type="checkbox"]:checked + .switch-slider {
	background-color: #2563eb !important;
}

.switch-toggle-btn input[type="checkbox"]:checked + .switch-slider:before {
	transform: translateX(22px) !important;
}

/* ==========================================================================
   SWITCH TOGGLE SKEWED (VENTA POR CAJA / PAQUETE)
   ========================================================================== */
.checkbox-wrapper-8 .tgl {
    display: none;
}

.checkbox-wrapper-8 .tgl,
.checkbox-wrapper-8 .tgl:after,
.checkbox-wrapper-8 .tgl:before,
.checkbox-wrapper-8 .tgl *,
.checkbox-wrapper-8 .tgl *:after,
.checkbox-wrapper-8 .tgl *:before,
.checkbox-wrapper-8 .tgl+.tgl-btn {
    box-sizing: border-box;
}

.checkbox-wrapper-8 .tgl::-moz-selection,
.checkbox-wrapper-8 .tgl:after::-moz-selection,
.checkbox-wrapper-8 .tgl:before::-moz-selection,
.checkbox-wrapper-8 .tgl *::-moz-selection,
.checkbox-wrapper-8 .tgl *:after::-moz-selection,
.checkbox-wrapper-8 .tgl *:before::-moz-selection,
.checkbox-wrapper-8 .tgl+.tgl-btn::-moz-selection,
.checkbox-wrapper-8 .tgl::selection,
.checkbox-wrapper-8 .tgl:after::selection,
.checkbox-wrapper-8 .tgl:before::selection,
.checkbox-wrapper-8 .tgl *::selection,
.checkbox-wrapper-8 .tgl *:after::selection,
.checkbox-wrapper-8 .tgl *:before::selection,
.checkbox-wrapper-8 .tgl+.tgl-btn::selection {
    background: none;
}

.checkbox-wrapper-8 .tgl+.tgl-btn {
    outline: 0;
    display: block;
    width: 4.5em;
    height: 2.2em;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-wrapper-8 .tgl+.tgl-btn:after,
.checkbox-wrapper-8 .tgl+.tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}

.checkbox-wrapper-8 .tgl+.tgl-btn:after {
    left: 0;
}

.checkbox-wrapper-8 .tgl+.tgl-btn:before {
    display: none;
}

.checkbox-wrapper-8 .tgl:checked+.tgl-btn:after {
    left: 50%;
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn {
    overflow: hidden;
    transform: skew(-10deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: all 0.2s ease;
    font-family: inherit;
    background: #888;
    border-radius: 4px;
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:after,
.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:before {
    transform: skew(10deg);
    display: inline-block;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
    position: absolute;
    line-height: 2.2em;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:after {
    left: 100%;
    content: attr(data-tg-on);
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:before {
    left: 0;
    content: attr(data-tg-off);
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:active {
    background: #888;
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:active:before {
    left: -10%;
}

.checkbox-wrapper-8 .tgl-skewed:checked+.tgl-btn {
    background: #86d993;
}

.checkbox-wrapper-8 .tgl-skewed:checked+.tgl-btn:before {
    left: -100%;
}

.checkbox-wrapper-8 .tgl-skewed:checked+.tgl-btn:after {
    left: 0;
}

.checkbox-wrapper-8 .tgl-skewed:checked+.tgl-btn:active:after {
    left: 10%;
}

/* Banner Total Unidades */
.banner-total-unidades {
    background: linear-gradient(135deg, #0097a7, #00838f);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 2px 8px rgba(0, 151, 167, 0.25);
}

/* Campo IVA en Nuevo/Editar Producto - Alto contraste (elimina cualquier texto blanco o pálido) */
#colIva #lblIva {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}
#colIva #lblIva i {
    color: #0f172a !important;
}
#colIva #iva {
    color: #0f172a !important;
    font-weight: 700 !important;
    background-color: #ffffff !important;
}
#colIva .input-group-text {
    color: #0f172a !important;
    font-weight: 800 !important;
    background-color: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
    font-size: 0.95rem !important;
}
#colIva small {
    color: #334155 !important;
    font-weight: 600 !important;
}

/* Sección Precios de Venta - Estilo exacto de captura */
#seccionPreciosVenta label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2e384d;
}

.fila-precio-item {
    margin-bottom: 8px !important;
}

.fila-precio-item .precio-nombre-input {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
    font-size: 0.9rem !important;
    height: 38px !important;
}

.fila-precio-item .precio-nombre-input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

.fila-precio-item .precio-monto-input {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
    font-size: 0.9rem !important;
    height: 38px !important;
}

.fila-precio-item .precio-monto-input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

.fila-precio-item .btn-eliminar-precio {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 38px !important;
    background-color: #ea5455 !important;
    border-color: #ea5455 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.fila-precio-item .btn-eliminar-precio:hover {
    background-color: #d63031 !important;
    border-color: #d63031 !important;
    color: #ffffff !important;
}

#btnAgregarPrecio {
    background-color: #4e73df !important;
    border-color: #4e73df !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 7px 18px !important;
    border-radius: 4px !important;
}

#btnAgregarPrecio:hover {
    background-color: #3b5ecc !important;
    border-color: #3b5ecc !important;
}

