/* ═══════════════════════════════════════════════
   MANTENIMIENTO BASE — estilos globales de página
   (layout de componentes → MantList/MantEdit/MantKpiCard .razor.css)
═══════════════════════════════════════════════ */

.mant-edit-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
}
.mant-section-title {
	font-size: 11px;
	font-weight: 600;
	color: #3a3a3c;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 0.25rem;
	padding: 5px 10px;
	background: linear-gradient(180deg, #ebebeb, #d0d0d0);
	border: 1px solid #c8c8c8;
	border-radius: 3px;
}
.mant-edit-row {
	display: flex;
	gap: 1rem;
}
.mant-edit-switch-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.25rem 0;
}

/* Login: padding-left para el ícono (RadzenTextBox/RadzenPassword en Login.razor) */
.login-field .rz-textbox {
	padding-left: 2.2rem !important;
}
.login-field .rz-password .rz-inputtext {
	padding-left: 2.2rem !important;
}

/* Badge estatus */
.mant-badge {
	font-size: 0.7rem;
	padding: 2px 8px;
	border-radius: 10px;
	white-space: nowrap;
	font-weight: 500;
}
.mant-badge.activo {
	background: #e8f5e9;
	color: #2e7d32;
}
.mant-badge.inactivo {
	background: #fce4ec;
	color: #c62828;
}

/* Sort bar */
.mant-sort-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.35rem 0.6rem;
	border-bottom: 1px solid #e8e8e8;
	background: #fafafa;
}
.mant-sort-label {
	font-size: 0.78rem;
	color: #666;
	white-space: nowrap;
}

/* Celda entidad con avatar */
.grid-cliente-cell {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}
.grid-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(135deg, #052767, #3a0647);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 700;
	flex-shrink: 0;
	text-transform: uppercase;
}
.grid-cliente-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.grid-cliente-nombre {
	font-weight: 600;
	font-size: 0.875rem;
	color: #1a1a1a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.grid-cliente-doc {
	font-size: 0.75rem;
	color: #888;
}

/* Diálogo genérico overlay */
.mant-dlg-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mant-dlg-panel {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 16px 48px rgba(0,0,0,0.35);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	max-height: 90vh;
}

/* ── MantList: estado vacío — oculta el mensaje default de Radzen ── */
.mant-is-empty .rz-data-empty {
	display: none !important;
}
