/**
 * MILLE — Retail Pro (Fase 4)
 * Tiendas de celulares y electrónicos · oficina + vendedores
 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
	--ml-primary: #1e293b;
	--ml-primary-dark: #0f172a;
	--ml-action: #1e40af;
	--ml-action-hover: #1e3a8a;
	--ml-action-soft: #dbeafe;
	--ml-accent: #1d4ed8;
	--ml-success: #059669;
	--ml-danger: #991b1b;
	--ml-warning: #d97706;
	--ml-bg: #f4f6f9;
	--ml-surface: #ffffff;
	--ml-border: #e2e8f0;
	--ml-text: #0f172a;
	--ml-text-muted: #64748b;
	--ml-sidebar-bg: #ffffff;
	--ml-sidebar-hover: #f1f5f9;
	--ml-sidebar-active-bg: #eff6ff;
	--ml-sidebar-text: #334155;
	--ml-sidebar-muted: #64748b;
	--ml-radius: 10px;
	--ml-radius-sm: 6px;
	--ml-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	--ml-shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
	--ml-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Base ── */
body.mille-theme {
	font-family: var(--ml-font);
	background-color: var(--ml-bg);
	color: var(--ml-text);
	-webkit-font-smoothing: antialiased;
}

body.mille-theme .content-wrapper,
body.mille-theme .content-wrapper-2 {
	background-color: var(--ml-bg) !important;
}

body.mille-theme .content-header h1,
body.mille-theme h1, body.mille-theme h2, body.mille-theme h3 {
	font-weight: 700;
	color: var(--ml-text);
}

/* ── Header blanco ── */
body.mille-theme .main-header.navbar-mille,
body.mille-theme #header_app.navbar-mille {
	background: var(--ml-surface) !important;
	border-bottom: 1px solid var(--ml-border);
	box-shadow: var(--ml-shadow);
}

body.mille-theme .navbar-mille .nav-link {
	color: var(--ml-text) !important;
	font-weight: 500;
	font-size: 0.875rem;
	border-radius: var(--ml-radius-sm);
}

body.mille-theme .navbar-mille .nav-link:hover {
	color: var(--ml-action) !important;
	background: var(--ml-action-soft);
}

body.mille-theme .navbar-mille .form-control-navbar {
	background: var(--ml-bg);
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius-sm);
	color: var(--ml-text);
}

body.mille-theme .navbar-mille .dropdown-menu {
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	box-shadow: var(--ml-shadow-md);
}

body.mille-theme .navbar-mille .user-header.bg-dark {
	background: linear-gradient(135deg, var(--ml-primary) 0%, var(--ml-primary-dark) 100%) !important;
}

/* ── Sidebar claro ── */
body.mille-theme .main-sidebar.mille-sidebar {
	background: linear-gradient(180deg, var(--ml-sidebar-bg) 0%, #f8fafc 100%) !important;
	border-right: 1px solid var(--ml-border);
	box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.8);
}

body.mille-theme .mille-sidebar .brand-link {
	border-bottom: 1px solid var(--ml-border) !important;
	background: var(--ml-surface) !important;
	padding: 12px;
}

body.mille-theme .mille-sidebar .brand-text {
	font-weight: 600 !important;
	font-size: 1rem !important;
	color: var(--ml-text) !important;
	letter-spacing: 0.02em;
}

body.mille-theme .mille-sidebar .user-panel {
	border-bottom: 1px solid var(--ml-border);
}

body.mille-theme .mille-sidebar .user-panel .info a {
	color: var(--ml-sidebar-text) !important;
	font-size: 0.85rem;
	font-weight: 500;
}

body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link {
	color: var(--ml-sidebar-text);
	font-size: 0.84rem;
	font-weight: 500;
	border-radius: var(--ml-radius-sm);
	margin: 2px 8px;
}

body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link:hover {
	background: var(--ml-sidebar-hover) !important;
	color: var(--ml-text) !important;
}

body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.active,
body.mille-theme .mille-sidebar .nav-sidebar .menu-open > .nav-link {
	background: var(--ml-sidebar-active-bg) !important;
	color: var(--ml-action) !important;
	border-left: 3px solid var(--ml-action);
	margin-left: 5px;
	padding-left: calc(0.5rem + 3px);
	font-weight: 600;
}

body.mille-theme .mille-sidebar .nav-treeview > .nav-item > .nav-link {
	color: var(--ml-sidebar-muted);
	font-size: 0.82rem;
}

body.mille-theme .mille-sidebar .nav-treeview > .nav-item > .nav-link.active {
	color: var(--ml-action) !important;
	background: var(--ml-sidebar-active-bg) !important;
}

body.mille-theme .mille-sidebar .nav-icon {
	color: var(--ml-sidebar-muted);
	font-size: 0.9rem;
}

body.mille-theme .mille-sidebar .nav-link.active .nav-icon,
body.mille-theme .mille-sidebar .menu-open > .nav-link .nav-icon {
	color: var(--ml-action);
}

/* Accesos rápidos — azul oscuro (POS y similares con bg-primary) */
body.mille-theme .mille-sidebar .nav-link.bg-primary {
	background: linear-gradient(135deg, #1e3a8a, #1e40af) !important;
	color: #fff !important;
	font-weight: 700;
	margin: 8px;
	border-radius: var(--ml-radius-sm);
	box-shadow: 0 3px 10px rgba(30, 58, 138, 0.35);
	letter-spacing: 0.03em;
}

body.mille-theme .mille-sidebar .nav-link.bg-primary .nav-icon,
body.mille-theme .mille-sidebar .nav-link.bg-primary p {
	color: #fff !important;
}

body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-primary:hover,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-primary:focus,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-primary.active {
	background: linear-gradient(135deg, #172554, #1e3a8a) !important;
	color: #fff !important;
	border-left: none !important;
	margin-left: 8px !important;
	padding-left: 0.5rem !important;
}

body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-primary:hover .nav-icon,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-primary:hover p,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-primary:focus .nav-icon,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-primary:focus p,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-primary.active .nav-icon,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-primary.active p {
	color: #fff !important;
}

/* Accesos rápidos venta — rojo oscuro (Ventas, Ingreso IMEI, etc.) */
body.mille-theme .mille-sidebar .nav-link.bg-danger {
	background: linear-gradient(135deg, #b91c1c, var(--ml-danger)) !important;
	color: #fff !important;
	font-weight: 700;
	margin: 8px;
	border-radius: var(--ml-radius-sm);
	box-shadow: 0 3px 10px rgba(127, 29, 29, 0.35);
	letter-spacing: 0.03em;
}

body.mille-theme .mille-sidebar .nav-link.bg-danger .nav-icon,
body.mille-theme .mille-sidebar .nav-link.bg-danger p {
	color: #fff !important;
}

body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-danger:hover,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-danger:focus,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-danger.active {
	background: linear-gradient(135deg, var(--ml-danger), #7f1d1d) !important;
	color: #fff !important;
	border-left: none !important;
	margin-left: 8px !important;
	padding-left: 0.5rem !important;
}

body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-danger:hover .nav-icon,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-danger:hover p,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-danger:focus .nav-icon,
body.mille-theme .mille-sidebar .nav-sidebar > .nav-item > .nav-link.bg-danger:focus p {
	color: #fff !important;
}

/* Sidebar mini colapsado */
@media (min-width: 992px) {
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar:hover,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused {
		background: linear-gradient(180deg, var(--ml-sidebar-bg) 0%, #f8fafc 100%) !important;
		box-shadow: 2px 0 12px rgba(15, 23, 42, 0.1);
	}

	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar:hover .brand-text,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-link p,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar:hover .user-panel .info a,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .brand-text,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-link p,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .user-panel .info a {
		color: var(--ml-text) !important;
		width: auto !important;
	}

	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-sidebar > .nav-item > .nav-link,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-sidebar > .nav-item > .nav-link {
		color: var(--ml-sidebar-text) !important;
	}

	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-link.bg-primary,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-link.bg-primary p,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-link.bg-primary,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-link.bg-primary p,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-link.bg-danger,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-link.bg-danger p,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-link.bg-danger,
	body.mille-theme.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-link.bg-danger p {
		color: #fff !important;
	}
}

body.mille-theme .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
	background: var(--ml-sidebar-active-bg) !important;
	color: var(--ml-action) !important;
}

body.mille-theme .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active .nav-icon {
	color: var(--ml-action) !important;
}

/* ── Módulos globales ── */
body.mille-theme .content-header {
	padding: 14px 0.5rem 6px;
}

body.mille-theme .content-header h1 {
	font-size: 1.3rem;
	margin-bottom: 0;
}

body.mille-theme .content-header h1 small {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--ml-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

body.mille-theme .breadcrumb {
	background: transparent;
	padding: 0;
	font-size: 0.8rem;
}

body.mille-theme .breadcrumb-item a {
	color: var(--ml-action);
}

body.mille-theme .breadcrumb-item.active {
	color: var(--ml-text-muted);
}

body.mille-theme .card {
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	box-shadow: var(--ml-shadow);
	background: var(--ml-surface);
}

body.mille-theme .card-header {
	background: #fafbfc;
	border-bottom: 1px solid var(--ml-border);
	padding: 0.65rem 1rem;
}

body.mille-theme .btn {
	border-radius: var(--ml-radius-sm);
	font-weight: 600;
	font-size: 0.84rem;
}

body.mille-theme .btn-primary {
	background-color: var(--ml-action);
	border-color: var(--ml-action-hover);
}

body.mille-theme .btn-primary:hover,
body.mille-theme .btn-primary:focus {
	background-color: var(--ml-action-hover);
	border-color: var(--ml-action-hover);
}

body.mille-theme .btn-default,
body.mille-theme .btn-secondary {
	background: var(--ml-bg);
	border-color: var(--ml-border);
	color: var(--ml-text);
}

body.mille-theme .btn-success {
	background-color: var(--ml-success);
	border-color: #047857;
}

body.mille-theme .btn-info {
	background-color: var(--ml-accent);
	border-color: #1e40af;
}

body.mille-theme .form-control {
	border-radius: var(--ml-radius-sm);
	border-color: var(--ml-border);
	font-size: 0.875rem;
}

body.mille-theme .form-control:focus {
	border-color: var(--ml-action);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

body.mille-theme label,
body.mille-theme .form-group label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ml-text);
}

body.mille-theme .table thead th {
	background: #f1f5f9;
	color: var(--ml-text-muted);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 2px solid var(--ml-border);
	vertical-align: middle;
}

body.mille-theme .table-hover tbody tr:hover {
	background-color: var(--ml-action-soft);
}

body.mille-theme .table-striped tbody tr:nth-of-type(odd) {
	background-color: rgba(255, 255, 255, 0.7);
}

body.mille-theme .modal-content {
	border: none;
	border-radius: var(--ml-radius);
	box-shadow: var(--ml-shadow-md);
}

body.mille-theme .modal-header {
	background: linear-gradient(180deg, #e8eef7 0%, #dbeafe 100%);
	color: var(--ml-text);
	border-bottom: 1px solid #bfdbfe;
	border-radius: var(--ml-radius) var(--ml-radius) 0 0;
	padding: 14px 18px;
}

body.mille-theme .modal-header .modal-title {
	color: var(--ml-text);
	font-weight: 700;
	font-size: 1.05rem;
}

body.mille-theme .modal-header .mille-modal-header-user,
body.mille-theme .modal-header .modal-title[style*="color"] {
	color: var(--ml-action) !important;
	font-weight: 600;
}

body.mille-theme .modal-header .close {
	color: var(--ml-text-muted);
	opacity: 0.75;
	text-shadow: none;
}

body.mille-theme .modal-header .close:hover {
	color: var(--ml-text);
	opacity: 1;
}

body.mille-theme .modal-header.border-0 {
	border-bottom: 1px solid #bfdbfe !important;
}

/* Modal-header a ancho completo dentro de modal-body (forms cargados por AJAX) */
body.mille-theme .modal-body .modal-header.mille-modal-header-light {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	box-sizing: border-box;
	max-width: none;
	position: relative;
	z-index: 2;
}

body.mille-theme .modal-content > .modal-body:not([style*="padding:0"]) .modal-header.mille-modal-header-light {
	width: calc(100% + 2rem);
	margin: -1rem -1rem 1rem;
	border-radius: calc(var(--ml-radius) - 1px) calc(var(--ml-radius) - 1px) 0 0;
}

body.mille-theme .modal-body form .modal-header.mille-modal-header-light {
	width: calc(100% + 2rem);
	margin-left: -1rem;
	margin-right: -1rem;
	margin-top: -1rem;
	margin-bottom: 1rem;
}

body.mille-theme .modal-body .row > .modal-header.mille-modal-header-light {
	flex: 0 0 100%;
	max-width: 100%;
	width: calc(100% + 2rem);
	margin-left: -1rem;
	margin-right: -1rem;
	margin-top: -1rem;
	margin-bottom: 1rem;
}

body.mille-theme .modal-body[style*="padding:0"] .modal-header.mille-modal-header-light,
body.mille-theme .modal-body[style*="padding:0%"] .modal-header.mille-modal-header-light,
body.mille-theme .modal-body.mille-modal-body-flush .modal-header.mille-modal-header-light {
	width: 100%;
	margin: 0 0 1rem;
	border-radius: var(--ml-radius) var(--ml-radius) 0 0;
}

body.mille-theme .modal-body[style*="padding:0"] [class*="col-"] > .modal-header.mille-modal-header-light,
body.mille-theme .modal-body[style*="padding:0%"] [class*="col-"] > .modal-header.mille-modal-header-light,
body.mille-theme .modal-body.mille-modal-body-flush [class*="col-"] > .modal-header.mille-modal-header-light {
	width: calc(100% + 30px);
	margin-left: -15px;
	margin-right: -15px;
}

body.mille-theme .modal-body .modal-body {
	padding: 0;
}

body.mille-theme .modal-body .mille-modal-form-content {
	padding: 0 1rem 1rem;
}

body.mille-theme .modal-footer {
	background: var(--ml-bg);
	border-top: 1px solid var(--ml-border);
}

body.mille-theme .info-box {
	border-radius: var(--ml-radius);
	border: 1px solid var(--ml-border);
	box-shadow: var(--ml-shadow);
}

body.mille-theme .main-footer {
	background: var(--ml-surface);
	border-top: 1px solid var(--ml-border);
	font-size: 0.82rem;
	color: var(--ml-text-muted);
}

body.mille-theme .main-footer a {
	color: var(--ml-action);
}

body.mille-theme .ui-state-disabled {
	opacity: 0.55;
	pointer-events: none;
}

body.mille-theme .preloader {
	background: var(--ml-bg);
}

body.mille-theme .dataTables_wrapper .dataTables_filter input,
body.mille-theme .dataTables_wrapper .dataTables_length select {
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius-sm);
	padding: 4px 8px;
}

#contenido {
	overflow-x: hidden;
	max-width: 100%;
}

/* Toolbar reutilizable en listados — Fase 2 */
body.mille-theme .mille-page-header {
	padding-top: 0.75rem;
	padding-bottom: 0.5rem;
}

body.mille-theme .mille-page-header h1,
body.mille-theme .mille-page-header h5 {
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 0;
}

body.mille-theme .mille-page-header small {
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--ml-text-muted);
	margin-left: 0.35rem;
}

body.mille-theme .mille-module-card {
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	box-shadow: var(--ml-shadow);
	overflow: hidden;
	margin-bottom: 1rem;
}

body.mille-theme .mille-module-toolbar,
.mille-module-toolbar.card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	background: var(--ml-surface);
	border-bottom: 1px solid var(--ml-border);
	padding: 0.75rem 1rem;
}

body.mille-theme .mille-module-toolbar-left,
body.mille-theme .mille-module-toolbar-right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem;
}

body.mille-theme .mille-module-toolbar .btn {
	font-size: 0.84rem;
	font-weight: 600;
	border-radius: var(--ml-radius-sm);
}

body.mille-theme .mille-module-body {
	padding: 0;
	background: var(--ml-surface);
}

body.mille-theme .mille-module-filters {
	padding: 0.85rem 1rem 0.25rem;
	background: #f8fafc;
	border-bottom: 1px solid var(--ml-border);
}

body.mille-theme .mille-module-table-wrap {
	padding: 0;
}

body.mille-theme .mille-module-table-wrap .table-responsive {
	margin: 0;
}

body.mille-theme .mille-module .table {
	margin-bottom: 0;
	font-size: 0.84rem;
}

body.mille-theme .mille-module .table thead th {
	background: #1e293b;
	color: #f8fafc;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border: none;
	padding: 0.65rem 0.75rem;
	vertical-align: middle;
	white-space: nowrap;
}

body.mille-theme .mille-module .table tbody td {
	padding: 0.55rem 0.75rem;
	vertical-align: middle;
	border-color: var(--ml-border);
}

body.mille-theme .mille-module .table tbody tr:hover {
	background: var(--ml-action-soft);
}

body.mille-theme .mille-module .table-striped tbody tr:nth-of-type(odd) {
	background: #fafbfc;
}

body.mille-theme .mille-module .table-striped tbody tr:nth-of-type(odd):hover {
	background: var(--ml-action-soft);
}

/* Badges de estado */
body.mille-theme .ml-badge {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	font-size: 0.72rem;
	font-weight: 700;
	border-radius: 999px;
	line-height: 1.3;
	letter-spacing: 0.02em;
}

body.mille-theme .ml-badge-success { background: #d1fae5; color: #065f46; }
body.mille-theme .ml-badge-danger { background: #fee2e2; color: #991b1b; }
body.mille-theme .ml-badge-warning { background: #fef3c7; color: #92400e; }
body.mille-theme .ml-badge-info { background: #dbeafe; color: #1e40af; }
body.mille-theme .ml-badge-muted { background: #f1f5f9; color: #475569; }

/* KPI dashboard — Fase 2 */
body.mille-theme .mille-kpi-row {
	margin-bottom: 0.25rem;
}

body.mille-theme .mille-kpi-card {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	background: var(--ml-surface);
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	padding: 1rem 1.1rem;
	box-shadow: var(--ml-shadow);
	height: 100%;
	transition: box-shadow 0.15s ease;
}

body.mille-theme .mille-kpi-card:hover {
	box-shadow: var(--ml-shadow-md);
}

body.mille-theme .mille-kpi-icon {
	width: 46px;
	height: 46px;
	border-radius: var(--ml-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	flex-shrink: 0;
}

body.mille-theme .mille-kpi-primary .mille-kpi-icon { background: #dbeafe; color: #1e40af; }
body.mille-theme .mille-kpi-success .mille-kpi-icon { background: #d1fae5; color: #059669; }
body.mille-theme .mille-kpi-warning .mille-kpi-icon { background: #fef3c7; color: #d97706; }
body.mille-theme .mille-kpi-neutral .mille-kpi-icon { background: #f1f5f9; color: #475569; }

body.mille-theme .mille-kpi-content {
	min-width: 0;
}

body.mille-theme .mille-kpi-label {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ml-text-muted);
}

body.mille-theme .mille-kpi-value {
	display: block;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--ml-text);
	line-height: 1.2;
	margin-top: 0.15rem;
}

body.mille-theme .mille-kpi-meta {
	display: block;
	font-size: 0.76rem;
	color: var(--ml-text-muted);
	margin-top: 0.15rem;
}

body.mille-theme .mille-dashboard-alerts .alert {
	border: none;
	border-radius: var(--ml-radius-sm);
	font-size: 0.88rem;
}

body.mille-theme .mille-dash-role {
	font-size: 0.82rem;
}

body.mille-theme .mille-dash-quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

body.mille-theme .mille-dash-quick-link {
	border-radius: var(--ml-radius-sm);
	font-weight: 600;
}

body.mille-theme .mille-dash-chart-card,
body.mille-theme .mille-dash-info-card,
body.mille-theme .mille-dash-side-card {
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	box-shadow: var(--ml-shadow-sm);
}

body.mille-theme .mille-dash-chart-card .card-body {
	background: #fff;
}

body.mille-theme .mille-dash-chart-card .highcharts-background {
	fill: #ffffff !important;
}

body.mille-theme .mille-dash-summary-list .list-group-item {
	font-size: 0.88rem;
	padding: 0.65rem 1rem;
}

body.mille-theme .mille-dash-summary-list .list-group-item strong {
	color: var(--ml-text);
}

body.mille-theme .mille-dash-cronograma-card .card-header {
	background: var(--ml-surface);
	border-bottom: 1px solid var(--ml-border);
}

body.mille-theme .mille-dash-cronograma-card .card-body {
	background: #fff;
}

.mille-module-toolbar.card-header {
	background: var(--ml-surface);
	border-bottom: 1px solid var(--ml-border);
	padding: 10px 14px;
}

.mille-module-toolbar .btn {
	font-size: 0.85rem;
}

/* ── Selector de productos (compras / modales) ── */
body.mille-theme .modal-body.div_productomarca_form {
	padding: 0;
	overflow: hidden;
	border-radius: var(--ml-radius);
}

body.mille-theme .modal-body.div_productomarca_form .mille-product-picker-head {
	border-radius: var(--ml-radius) var(--ml-radius) 0 0;
}

body.mille-theme .modal-body.div_productomarca_form .mille-product-picker-foot {
	border-radius: 0 0 var(--ml-radius) var(--ml-radius);
}

body.mille-theme .modal-content > .modal-body.div_productomarca_form ~ br {
	display: none;
}

.mille-product-picker {
	background: var(--ml-bg);
	display: flex;
	flex-direction: column;
}

.mille-product-picker-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 14px 18px;
	background: linear-gradient(180deg, #e8eef7 0%, #dbeafe 100%);
	border-bottom: 1px solid #bfdbfe;
	flex-shrink: 0;
}

.mille-product-picker-head-text {
	min-width: 0;
}

.mille-product-picker-head h4 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ml-text);
	line-height: 1.3;
}

.mille-product-picker-head p {
	margin: 0.2rem 0 0;
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--ml-text-muted);
}

.mille-product-picker-head .close {
	margin: 0;
	padding: 0;
	color: var(--ml-text-muted);
	opacity: 0.75;
	text-shadow: none;
	font-size: 1.35rem;
	line-height: 1;
}

.mille-product-picker-head .close:hover {
	color: var(--ml-text);
	opacity: 1;
}

.mille-product-picker-body {
	padding: 1rem 1.25rem 0.75rem;
	flex: 1 1 auto;
}

.mille-product-picker-toolbar {
	background: var(--ml-surface);
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	box-shadow: var(--ml-shadow);
	padding: 1rem 1.15rem 0.85rem;
	margin-bottom: 1rem;
}

.mille-product-picker-toolbar-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin-bottom: 0.85rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--ml-border);
}

.mille-product-picker-toolbar-head > i {
	color: var(--ml-action);
	font-size: 1rem;
}

.mille-product-picker-toolbar-head strong {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--ml-text);
}

.mille-product-picker-toolbar-head small {
	font-size: 0.78rem;
	color: var(--ml-text-muted);
	margin-left: auto;
}

.mille-product-picker-filters label {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ml-text-muted);
	margin-bottom: 0.25rem;
}

.mille-product-picker-filters .form-control {
	font-size: 0.875rem;
	border-radius: var(--ml-radius-sm);
	height: calc(1.5em + 0.65rem + 2px);
}

.mille-product-picker-search-col {
	display: flex;
	align-items: flex-end;
}

.mille-product-picker-search {
	font-weight: 600;
	font-size: 0.85rem;
	border-radius: var(--ml-radius-sm);
	padding: 0.45rem 0.75rem;
	box-shadow: 0 1px 2px rgba(30, 64, 175, 0.15);
}

.mille-product-picker-search i {
	margin-right: 0.35rem;
}

.mille-product-picker-results {
	background: var(--ml-surface);
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	overflow: hidden;
	min-height: 180px;
}

.mille-product-picker-results.ui-state-disabled {
	opacity: 0.65;
	pointer-events: none;
}

.mille-product-picker-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.65rem 1rem;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border-bottom: 1px solid var(--ml-border);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--ml-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.mille-product-picker-results-head i {
	color: var(--ml-action);
	margin-right: 0.4rem;
}

.mille-product-picker-results #div_tablaproductos {
	padding: 0;
}

.mille-product-picker-results #div_tablaproductos .table-responsive {
	margin: 0;
}

.mille-product-picker-results #tabla_producto {
	margin-bottom: 0;
	font-size: 0.84rem;
}

.mille-product-picker-results #tabla_producto thead th {
	background: #1e293b;
	color: #f8fafc;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border: none;
	padding: 0.65rem 0.75rem;
	white-space: nowrap;
	vertical-align: middle;
}

.mille-product-picker-results #tabla_producto tbody td {
	padding: 0.55rem 0.75rem;
	vertical-align: middle;
	border-color: var(--ml-border);
}

.mille-product-picker-results #tabla_producto tbody tr:hover {
	background: var(--ml-action-soft);
}

.mille-product-picker-results #tabla_producto tbody tr:nth-of-type(even) {
	background: #fafbfc;
}

.mille-product-picker-results #tabla_producto tbody tr:nth-of-type(even):hover {
	background: var(--ml-action-soft);
}

.mille-product-picker-foot {
	padding: 0.75rem 1.25rem;
	background: var(--ml-surface);
	border-top: 1px solid var(--ml-border);
	text-align: right;
	flex-shrink: 0;
}

.mille-product-picker-results #tabla_producto tbody tr:only-child td {
	text-align: center;
	padding: 1.75rem 1rem !important;
	color: var(--ml-text-muted);
	font-size: 0.88rem;
}

@media (max-width: 767.98px) {
	.mille-product-picker-toolbar-head small {
		width: 100%;
		margin-left: 0;
		margin-top: 0.25rem;
	}

	.mille-product-picker-body {
		padding: 0.75rem 0.85rem 0.5rem;
	}
}

/* ── Login Retail Pro (claro) ── */
body.mille-login-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ml-bg);
	font-family: var(--ml-font);
	padding: 24px 16px;
}

body.mille-login-page .mille-login-wrap {
	width: 100%;
	max-width: 400px;
}

body.mille-login-page .mille-login-card {
	background: var(--ml-surface);
	border-radius: var(--ml-radius);
	box-shadow: var(--ml-shadow-md);
	border: 1px solid var(--ml-border);
	overflow: hidden;
}

body.mille-login-page .mille-login-head {
	text-align: center;
	padding: 28px 24px 16px;
	border-bottom: 1px solid var(--ml-border);
	background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

body.mille-login-page .mille-login-head img {
	max-width: 200px;
	max-height: 72px;
	object-fit: contain;
	margin-bottom: 12px;
}

body.mille-login-page .mille-login-head h1 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ml-text);
	margin: 0;
}

body.mille-login-page .mille-login-head p {
	font-size: 0.78rem;
	color: var(--ml-text-muted);
	margin: 4px 0 0;
}

body.mille-login-page .mille-login-body {
	padding: 24px;
}

body.mille-login-page .mille-login-body .form-control {
	height: 42px;
	background: var(--ml-bg);
}

body.mille-login-page .mille-field {
	margin-bottom: 14px;
}

body.mille-login-page .mille-field label {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ml-text-muted);
	margin-bottom: 4px;
}

body.mille-login-page .btn-login {
	height: 42px;
	font-weight: 700;
	font-size: 0.9rem;
	width: 100%;
	margin-top: 4px;
}

body.mille-login-page .mille-login-foot {
	text-align: center;
	padding: 14px;
	font-size: 0.75rem;
	color: var(--ml-text-muted);
	border-top: 1px solid var(--ml-border);
	background: #fafbfc;
}

body.mille-login-page .mille-login-foot a {
	color: var(--ml-action);
}

/* ── Fase 3: VENTA POS — barra de acción fija ── */
body.mille-theme .mille-pos-shell {
	padding-bottom: 76px;
}

body.mille-theme .mille-pos-search-bar {
	position: sticky;
	top: 57px;
	z-index: 100;
	background: var(--ml-surface);
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius-sm);
	padding: 0.65rem 0.75rem 0.5rem;
	margin-bottom: 0.5rem;
	box-shadow: var(--ml-shadow);
}

body.mille-theme .mille-pos-action-bar {
	position: fixed;
	left: 250px;
	right: 0;
	bottom: 0;
	z-index: 1035;
	background: var(--ml-surface);
	border-top: 1px solid var(--ml-border);
	box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
	padding: 0.55rem 1rem;
}

body.mille-theme.sidebar-collapse .mille-pos-action-bar,
body.mille-theme.sidebar-mini.sidebar-collapse .mille-pos-action-bar {
	left: 4.6rem;
}

@media (max-width: 991.98px) {
	body.mille-theme .mille-pos-action-bar {
		left: 0 !important;
	}
}

body.mille-theme .mille-pos-action-inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	max-width: 100%;
	flex-wrap: nowrap;
}

body.mille-theme .mille-pos-action-client,
body.mille-theme .mille-pos-action-total {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

body.mille-theme .mille-pos-action-label {
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ml-text-muted);
	line-height: 1;
}

body.mille-theme .mille-pos-action-value {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ml-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.mille-theme .mille-pos-total-amt {
	font-size: 1.25rem;
	font-weight: 700;
	color: #991b1b;
}

body.mille-theme .mille-pos-btn-pay {
	font-weight: 700;
	padding: 0.55rem 1.5rem;
	border-radius: var(--ml-radius-sm);
	white-space: nowrap;
	flex-shrink: 0;
}

body.mille-theme .mille-pos-btn-search {
	flex-shrink: 0;
	border-radius: var(--ml-radius-sm);
}

body.mille-theme .mille-pos-shell .div_botones_venta {
	display: none !important;
}

/* ── Fase 3: panel de totales ── */
body.mille-theme .mille-totals-panel {
	background: #f8fafc;
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	padding: 0.85rem 1rem;
	margin-top: 0.5rem;
}

body.mille-theme .mille-totals-panel .mille-totals-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 0.65rem;
}

body.mille-theme .mille-totals-panel .mille-totals-item {
	flex: 1;
	min-width: 90px;
}

body.mille-theme .mille-totals-panel .mille-totals-item label,
body.mille-theme .mille-totals-panel .mille-totals-label {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ml-text-muted);
	margin-bottom: 0.2rem;
}

body.mille-theme .mille-totals-panel .mille-totals-input {
	text-align: right;
	font-weight: 600;
	font-size: 0.9rem;
	border-color: var(--ml-border);
	background: var(--ml-surface);
}

body.mille-theme .mille-totals-panel .mille-totals-grand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 0.65rem;
	border-top: 2px solid var(--ml-border);
}

body.mille-theme .mille-totals-panel .mille-totals-grand-label {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ml-text);
}

body.mille-theme .mille-totals-panel .mille-totals-grand-input {
	max-width: 180px;
	text-align: right;
	font-weight: 700;
	font-size: 1.35rem;
	color: #991b1b;
	border: 2px solid #fecaca;
	background: #fff;
	border-radius: var(--ml-radius-sm);
}

body.mille-theme .mille-totals-panel .mille-totals-cash-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 0.65rem;
	padding-top: 0.65rem;
	border-top: 1px dashed var(--ml-border);
}

body.mille-theme .mille-totals-panel .mille-totals-cash-row .mille-totals-item {
	flex: 1;
	min-width: 120px;
}

body.mille-theme .mille-product-type-badges {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-left: 0.35rem;
	vertical-align: middle;
}

body.mille-theme #tabla_venta_car .ml-badge,
body.mille-theme #tabla_cotizacion_car .ml-badge {
	font-size: 0.68rem;
}

/* ── Fase 4: toasts unificados ── */
/* El logo/icono viene de toastr.min.css (PNG embebido). Solo corregimos
   repeat, tamaño y colores — no reemplazar background-image. */
body.mille-theme #toast-container > div.toast {
	font-family: var(--ml-font);
	font-size: 0.875rem !important;
	border-radius: var(--ml-radius-sm);
	box-shadow: var(--ml-shadow-md);
	border: none;
	padding: 0.75rem 2rem 0.75rem 3.25rem !important;
	opacity: 1 !important;
	width: 340px;
	max-width: calc(100vw - 24px);
	background-repeat: no-repeat !important;
	background-size: 25px 28px !important;
	background-position: 14px center !important;
	overflow: hidden;
	color: #fff !important;
}

body.mille-theme #toast-container > .toast-success,
body.mille-theme #toast-container > .toast-error,
body.mille-theme #toast-container > .toast-info,
body.mille-theme #toast-container > .toast-warning {
	background-repeat: no-repeat !important;
	background-size: 25px 28px !important;
	background-position: 14px center !important;
}

body.mille-theme #toast-container > .toast-success {
	background-color: #059669 !important;
}

body.mille-theme #toast-container > .toast-error {
	background-color: #dc2626 !important;
}

body.mille-theme #toast-container > .toast-info {
	background-color: #2563eb !important;
}

body.mille-theme #toast-container > .toast-warning {
	background-color: #d97706 !important;
}

body.mille-theme #toast-container .toast-title {
	font-weight: 700;
	font-size: 0.88rem !important;
	line-height: 1.3;
	margin-bottom: 0.1rem;
	color: #fff !important;
}

body.mille-theme #toast-container .toast-message {
	font-size: 0.84rem !important;
	font-weight: 500 !important;
	line-height: 1.45;
	word-wrap: break-word;
	color: rgba(255, 255, 255, 0.95) !important;
}

body.mille-theme #toast-container .toast-message a,
body.mille-theme #toast-container .toast-message label {
	color: #fff !important;
	text-decoration: underline;
}

body.mille-theme #toast-container .toast-close-button {
	color: #fff !important;
	opacity: 0.75;
	text-shadow: none !important;
	font-size: 1.15rem !important;
	font-weight: 700;
	line-height: 1;
	top: 0.35rem;
	right: 0.4rem;
}

body.mille-theme #toast-container .toast-close-button:hover {
	opacity: 1;
	color: #fff !important;
}

body.mille-theme #toast-container .toast-progress {
	opacity: 0.35;
	height: 3px;
	background-color: #fff !important;
}

/* ── Fase 4: estados vacíos ── */
body.mille-theme .mille-empty-state {
	text-align: center;
	padding: 2rem 1.25rem;
	color: var(--ml-text-muted);
}

body.mille-theme .mille-empty-state-table {
	padding: 1.75rem 1rem;
}

body.mille-theme .mille-empty-state-icon {
	width: 52px;
	height: 52px;
	margin: 0 auto 0.75rem;
	border-radius: 50%;
	background: #f1f5f9;
	color: #64748b;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
}

body.mille-theme .mille-empty-state-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ml-text);
	margin: 0 0 0.35rem;
}

body.mille-theme .mille-empty-state-hint {
	font-size: 0.82rem;
	margin: 0;
	line-height: 1.45;
	max-width: 320px;
	margin-left: auto;
	margin-right: auto;
}

body.mille-theme .mille-cart-summary {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ml-success);
	margin: 0.5rem 0 0;
	padding: 0.35rem 0.5rem;
}

body.mille-theme .mille-datatable-wrap .dataTables_empty {
	padding: 0 !important;
	border: none !important;
}

body.mille-theme .mille-datatable-wrap .dataTables_empty .mille-empty-state {
	padding: 1.5rem 1rem;
}

body.mille-theme .mille-datatable-module .dataTables_filter input {
	border-radius: var(--ml-radius-sm);
	border: 1px solid var(--ml-border);
	padding: 0.35rem 0.65rem;
	font-size: 0.84rem;
}

body.mille-theme .mille-datatable-module .dataTables_info,
body.mille-theme .mille-datatable-module .dataTables_length,
body.mille-theme .mille-datatable-module .dataTables_paginate {
	font-size: 0.78rem;
	color: var(--ml-text-muted);
}

body.mille-theme .mille-dt-loading {
	font-size: 0.85rem;
	color: var(--ml-text-muted);
}

/* ── Fase 4: responsive tablet / touch (vendedores) ── */
@media (max-width: 1024px) {
	body.mille-theme .mille-module-toolbar {
		padding: 0.65rem 0.75rem;
	}

	body.mille-theme .mille-module-toolbar .btn {
		min-height: 40px;
		padding: 0.4rem 0.75rem;
	}

	body.mille-theme .mille-module .table thead th,
	body.mille-theme .mille-module .table tbody td {
		padding: 0.5rem 0.55rem;
		font-size: 0.8rem;
	}

	body.mille-theme .mille-kpi-value {
		font-size: 1.15rem;
	}

	body.mille-theme .mille-pos-search-bar .form-control-sm {
		font-size: 0.9rem;
		min-height: 38px;
	}

	body.mille-theme .mille-pos-shell .col-lg-8,
	body.mille-theme .mille-pos-shell .col-lg-4 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	body.mille-theme .mille-totals-panel .mille-totals-grand-input {
		max-width: 100%;
		font-size: 1.2rem;
	}

	body.mille-theme .mille-pos-action-inner {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	body.mille-theme .mille-pos-action-client {
		order: 3;
		flex: 1 1 100%;
	}

	body.mille-theme .mille-pos-action-total {
		flex: 1;
		min-width: 100px;
	}

	body.mille-theme .mille-pos-btn-pay {
		flex: 1 1 auto;
		min-width: 110px;
		min-height: 44px;
	}

	body.mille-theme .mille-pos-btn-search,
	body.mille-theme .mille-pos-action-bar .btn_cancel {
		min-height: 44px;
		min-width: 44px;
	}

	body.mille-theme #tabla_venta_car td,
	body.mille-theme #tabla_cotizacion_car td {
		font-size: 0.78rem;
	}
}

@media (max-width: 767.98px) {
	body.mille-theme .mille-page-header h1,
	body.mille-theme .mille-page-header h5 {
		font-size: 1.1rem;
	}

	body.mille-theme .mille-module-filters .form-control,
	body.mille-theme .mille-module-filters .btn {
		margin-bottom: 0.35rem;
	}

	body.mille-theme .mille-pos-action-client {
		display: none;
	}

	body.mille-theme .mille-pos-action-bar {
		padding: 0.45rem 0.65rem;
	}

	body.mille-theme .content-header.mille-page-header .breadcrumb {
		display: none;
	}

	#toast-container.toast-top-right {
		top: 60px;
		right: 8px;
		left: 8px;
	}

	body.mille-theme #toast-container > div.toast {
		width: 100%;
		max-width: none;
	}
}

@media (hover: none) and (pointer: coarse) {
	body.mille-theme .btn,
	body.mille-theme .mille-module-toolbar .btn,
	body.mille-theme #tabla_venta_car .btn-sm,
	body.mille-theme #tabla_cotizacion_car .btn-sm {
		min-height: 44px;
		min-width: 44px;
	}

	body.mille-theme .mille-sidebar .nav-link {
		padding-top: 0.65rem;
		padding-bottom: 0.65rem;
	}
}

/* ── Estados y meta de documentos (traspaso, nota almacén) ── */
body.mille-theme .mille-doc-estado {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	line-height: 1.2;
	border: 1px solid transparent;
}

body.mille-theme .mille-doc-estado--transito {
	background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
	color: #c2410c;
	border-color: #fdba74;
}

body.mille-theme .mille-doc-estado--registrada {
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	color: #1d4ed8;
	border-color: #93c5fd;
}

body.mille-theme .mille-doc-estado--validado {
	background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
	color: #047857;
	border-color: #6ee7b7;
}

body.mille-theme .mille-doc-estado--cancelada {
	background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
	color: #b91c1c;
	border-color: #fca5a5;
}

body.mille-theme .mille-doc-estado--anulada {
	background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
	color: #6d28d9;
	border-color: #c4b5fd;
}

body.mille-theme .mille-doc-meta-wrap {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0.35rem 0 0.15rem;
	padding: 0;
}

body.mille-theme .mille-doc-meta {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.28rem 0.6rem;
	border-radius: 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	border-left: 3px solid transparent;
	box-shadow: none;
	white-space: nowrap;
}

body.mille-theme .mille-doc-meta--registro {
	background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
	color: #312e81;
	border-left-color: #4338ca;
}

body.mille-theme .mille-doc-meta--pendiente {
	background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
	color: #9a3412;
	border-left-color: #ea580c;
}

body.mille-theme .mille-doc-meta--validado {
	background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
	color: #9d174d;
	border-left-color: #db2777;
}
